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

Unified Diff: tools/idl_parser/idl_lexer.py

Issue 653343002: Support Promise<T> syntax in the IDL parser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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_parser.py » ('j') | tools/idl_parser/test_parser/struct_ppapi.idl » ('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 9c320d6e3c8e0cc0f093fb37b5a0b7e557670bf4..5ba1d4e4e9e74ef34d6912451cefeb70e881b7f3 100755
--- a/tools/idl_parser/idl_lexer.py
+++ b/tools/idl_parser/idl_lexer.py
@@ -93,7 +93,8 @@ class IDLLexer(object):
'octet' : 'OCTET',
'optional' : 'OPTIONAL',
'or' : 'OR',
- 'partial' : 'PARTIAL',
+ 'partial' : 'PARTIAL',
+ 'Promise' : 'PROMISE',
'readonly' : 'READONLY',
'RegExp' : 'REGEXP',
'sequence' : 'SEQUENCE',
« no previous file with comments | « no previous file | tools/idl_parser/idl_parser.py » ('j') | tools/idl_parser/test_parser/struct_ppapi.idl » ('J')

Powered by Google App Engine
This is Rietveld 408576698