Index: tools/dom/scripts/idlparser.py |
diff --git a/tools/dom/scripts/idlparser.py b/tools/dom/scripts/idlparser.py |
index e3c47b39f23f475b756fa8dd48940c7562095ca5..3535360a99ce128863904173cac6997d3d975769 100755 |
--- a/tools/dom/scripts/idlparser.py |
+++ b/tools/dom/scripts/idlparser.py |
@@ -74,7 +74,7 @@ class IDLParser(object): |
def Enum(): |
def StringLiteral(): |
- return re.compile(r'"\w+"') |
+ return re.compile(r'"\w*"') |
return ['enum', Id, '{', MAYBE(MANY(StringLiteral, ',')), '}', ';'] |