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

Unified Diff: tools/idl_parser/idl_ppapi_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
Index: tools/idl_parser/idl_ppapi_lexer.py
diff --git a/tools/idl_parser/idl_ppapi_lexer.py b/tools/idl_parser/idl_ppapi_lexer.py
index 3d5d39e0584bde18ac1f750dfcfa869cbe16126a..ac6f42cc2a427356c88f6a14573ac8795c77e689 100755
--- a/tools/idl_parser/idl_ppapi_lexer.py
+++ b/tools/idl_parser/idl_ppapi_lexer.py
@@ -59,8 +59,8 @@ class IDLPPAPILexer(IDLLexer):
# Remove JS types
self._DelKeywords(['boolean', 'byte', 'ByteString', 'Date', 'DOMString',
- 'double', 'float', 'long', 'object', 'octet', 'RegExp',
- 'short', 'unsigned'])
+ 'double', 'float', 'long', 'object', 'octet', 'Promise',
+ 'RegExp', 'short', 'unsigned'])
# If run by itself, attempt to build the lexer

Powered by Google App Engine
This is Rietveld 408576698