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

Unified Diff: ppapi/generators/test_parser/typedef.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_parser/struct.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/generators/test_parser/typedef.idl
===================================================================
--- ppapi/generators/test_parser/typedef.idl (revision 90352)
+++ ppapi/generators/test_parser/typedef.idl (working copy)
@@ -7,7 +7,7 @@
/* OK Typedef(T1) */
typedef int32_t T1;
-/* FAIL Unexpected comment "/*" after symbol T2. */
+/* FAIL Unexpected comment after symbol T2. */
typedef int32_t T2
/* OK Typedef(T3) */
@@ -16,28 +16,28 @@
/* OK Typedef(T4) */
typedef int32_t[][4] T4;
-/* OK Typedef(T5) */
-typedef int32_t[][4] T5();
+/* FAIL Unexpected "(" after symbol T5. */
+typedef int32_t[4] T5();
/* OK Typedef(T6) */
-typedef int32_t[][4] T6(int x);
+typedef int32_t T6([in] int32_t x);
/* OK Typedef(T7) */
-typedef int32_t[][4] T7(
+typedef int32_t T7(
/* OK Param(x) */
- int x,
+ [in] int32_t x,
/* OK Param(y) */
- int y);
+ [in] int32_t y);
/* OK Typedef(T8) */
-typedef int32_t[][4][5] T8(
+typedef T3 T8(
/* OK Param(x) */
- int x,
+ [in] int x,
/* OK Param(y) */
- int y,
+ [in] int y,
/* OK Param(z) */
/* FAIL Missing argument. */
- int z,);
+ [in] int z,);
/* FAIL Unexpected keyword "enum" after symbol int32_t. */
typedef int32_t enum;
« no previous file with comments | « ppapi/generators/test_parser/struct.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698