Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: tools/idl_parser/idl_lexer.py

Issue 329853005: IDL parser: align with current Web IDL specification (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: fix another spec link Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/idl_parser/idl_node.py » ('j') | tools/idl_parser/idl_parser.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/idl_parser/idl_lexer.py
diff --git a/tools/idl_parser/idl_lexer.py b/tools/idl_parser/idl_lexer.py
index d7311df1ca6023a16d4957913401c173402d5599..9c320d6e3c8e0cc0f093fb37b5a0b7e557670bf4 100755
--- a/tools/idl_parser/idl_lexer.py
+++ b/tools/idl_parser/idl_lexer.py
@@ -67,6 +67,7 @@ class IDLLexer(object):
'attribute' : 'ATTRIBUTE',
'boolean' : 'BOOLEAN',
'byte' : 'BYTE',
+ 'ByteString' : 'BYTESTRING',
'callback' : 'CALLBACK',
'const' : 'CONST',
'creator' : 'CREATOR',
@@ -94,7 +95,9 @@ class IDLLexer(object):
'or' : 'OR',
'partial' : 'PARTIAL',
'readonly' : 'READONLY',
+ 'RegExp' : 'REGEXP',
'sequence' : 'SEQUENCE',
+ 'serializer' : 'SERIALIZER',
'setter': 'SETTER',
'short' : 'SHORT',
'static' : 'STATIC',
« no previous file with comments | « no previous file | tools/idl_parser/idl_node.py » ('j') | tools/idl_parser/idl_parser.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698