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

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
Index: ppapi/generators/test_lex.in
===================================================================
--- ppapi/generators/test_lex.in (revision 90352)
+++ ppapi/generators/test_lex.in (working copy)
@@ -1,20 +1,26 @@
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 /*abc*/ COMMENT /* abc */ COMMENT /* abc
- */
-COMMENT /* abc def */ COMMENT /* abc def
-*/ COMMENT // abc def
-
-
FLOAT 1.1
FLOAT 1e1
FLOAT -1.1
@@ -37,3 +43,10 @@
OCT 01
OCT 0123
+INLINE #inline C
+This is an inline block.
+
+Contains /* Comments */
sehr (please use chromium) 2011/06/29 16:43:06 Your matcher includes C-style comments that break
noelallen1 2011/06/29 18:59:01 Done.
+Contains // Comments
+#endinl
+

Powered by Google App Engine
This is Rietveld 408576698