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

Unified Diff: tools/idl_parser/idl_ppapi_lexer.py

Issue 2708173002: idl_parser: Add support for the record<K, V> WebIDL type. (Closed)
Patch Set: Created 3 years, 10 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 ac6f42cc2a427356c88f6a14573ac8795c77e689..a13c4e4ac95545a1efe914c1e3ed02ba8c8bac1e 100755
--- a/tools/idl_parser/idl_ppapi_lexer.py
+++ b/tools/idl_parser/idl_ppapi_lexer.py
@@ -9,7 +9,7 @@ The lexer uses the PLY library to build a tokenizer which understands both
WebIDL and Pepper tokens.
WebIDL, and WebIDL regular expressions can be found at:
- http://www.w3.org/TR/2012/CR-WebIDL-20120419/
+ http://heycam.github.io/webidl/
PLY can be found at:
http://www.dabeaz.com/ply/
"""
@@ -60,7 +60,7 @@ class IDLPPAPILexer(IDLLexer):
# Remove JS types
self._DelKeywords(['boolean', 'byte', 'ByteString', 'Date', 'DOMString',
'double', 'float', 'long', 'object', 'octet', 'Promise',
- 'RegExp', 'short', 'unsigned'])
+ 'record', 'RegExp', 'short', 'unsigned', 'USVString'])
# If run by itself, attempt to build the lexer

Powered by Google App Engine
This is Rietveld 408576698