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

Unified Diff: ppapi/generators/test_lex.in

Issue 6697028: Add IDL Lexer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed debug print of sys.path Created 9 years, 9 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
« ppapi/generators/idl_lexer.py ('K') | « ppapi/generators/idl_lexer.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/generators/test_lex.in
diff --git a/ppapi/generators/test_lex.in b/ppapi/generators/test_lex.in
new file mode 100644
index 0000000000000000000000000000000000000000..4230843abcb2dda81203a58aa59d7cf0c5aea78d
--- /dev/null
+++ b/ppapi/generators/test_lex.in
@@ -0,0 +1,28 @@
+INT 1 INT 123 INT 12345
+SYMBOL A123 SYMBOL A_A
+COMMENT //abc
+COMMENT // abc
+COMMENT // abc
+COMMENT //abc def
+
+COMMENT // abc def
+COMMENT // abc def
+
+
+COMMENT /*abc*/ COMMENT /* abc */ COMMENT /* abc
+ */
+COMMENT /* abc def */ COMMENT /* abc def
+*/ COMMENT // abc def
+
+
+FLOAT 1.1
+FLOAT 1e1
+FLOAT -1.1
+FLOAT -1e1
+FLOAT 1e-1
+FLOAT -1e-1
+
+HEX 0x1
+HEX 0x0
+HEX 0x10
+HEX 0x112312
« ppapi/generators/idl_lexer.py ('K') | « ppapi/generators/idl_lexer.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698