Index: tools/js2c.py |
diff --git a/tools/js2c.py b/tools/js2c.py |
index c72afbc5d66a9b8d34e81abf75b2ec2b3b203cb4..d0484b5d4acc1b50029643b8ba82fd00a586e473 100755 |
--- a/tools/js2c.py |
+++ b/tools/js2c.py |
@@ -192,7 +192,7 @@ def ReadMacros(lines): |
return (constants, macros) |
-TEMPLATE_PATTERN = re.compile(r'^\s+T\(([a-zA-Z]+), ".+"\)') |
+TEMPLATE_PATTERN = re.compile(r'^\s+T\(([A-Z][a-zA-Z]*),') |
def ReadMessageTemplates(lines): |
templates = [] |