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

Unified Diff: ppapi/generators/test_lex.in

Issue 7272043: Update Lexer/Parser to support '#inline' and 'label' (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | « ppapi/generators/test_cgen/structs.idl ('k') | ppapi/generators/test_namespace/foo.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/generators/test_lex.in
===================================================================
--- ppapi/generators/test_lex.in (revision 90352)
+++ ppapi/generators/test_lex.in (working copy)
@@ -1,20 +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 /*XXXX*/
+COMMENT //XXXX
+COMMENT /*MULTI LINE*/
-COMMENT /*abc*/ COMMENT /* abc */ COMMENT /* abc
- */
-COMMENT /* abc def */ COMMENT /* abc def
-*/ COMMENT // abc def
+[ [
+] ]
+* *
+. .
+( (
+) )
+{ {
+} }
+[ [
+] ]
+, ,
+; ;
+: :
+= =
++ +
+- -
-
FLOAT 1.1
FLOAT 1e1
FLOAT -1.1
@@ -37,3 +45,14 @@
OCT 01
OCT 0123
+INLINE #inline C
+This is an inline block.
+
+Contains /* Comments */
+Contains // Comments
+Contains /* Multi-line
+ Comment */
+
+#endinl
+SYMBOL blah
+
« no previous file with comments | « ppapi/generators/test_cgen/structs.idl ('k') | ppapi/generators/test_namespace/foo.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698