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

Unified Diff: ppapi/generators/test_parser/enum.idl

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_namespace/foo.idl ('k') | ppapi/generators/test_parser/interface.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/generators/test_parser/enum.idl
===================================================================
--- ppapi/generators/test_parser/enum.idl (revision 90352)
+++ ppapi/generators/test_parser/enum.idl (working copy)
@@ -20,8 +20,8 @@
/* OK Enum(Es3) */
enum Es3 {
- E5 = 5,
- E6 = 6
+ E5 = 1 << 1,
+ E6 = 3 << 2
};
/* FAIL Unexpected empty block. */
@@ -48,3 +48,17 @@
/* OK EnumItem(E11) */
E11 = 11
};
+
+
+/* OK Enum(Es8) */
+enum Es8 {
+ /* OK EnumItem(E12) */
+ E12 = 12,
+ /* OK EnumItem(E13) */
+ E13 = 13.0,
+ /* FAIL Unexpected string "hello" after "=". */
+ /* OK EnumItem(E14) */
+ E14 = "hello",
+ /* OK EnumItem(E15) */
+ E15 = 0x400
+};
« no previous file with comments | « ppapi/generators/test_namespace/foo.idl ('k') | ppapi/generators/test_parser/interface.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698