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

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

Issue 101623003: PPAPI idl parser was missing error handler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: PPAPI dictionary error handling support Created 7 years 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/idl_parser.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_parser/dictionary.idl
diff --git a/ppapi/generators/test_parser/dictionary.idl b/ppapi/generators/test_parser/dictionary.idl
new file mode 100644
index 0000000000000000000000000000000000000000..8fc6f156378ad329f8a249e3267c20bc3b13dcb7
--- /dev/null
+++ b/ppapi/generators/test_parser/dictionary.idl
@@ -0,0 +1,17 @@
+/* Copyright (c) 2013 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+dictionary MyDict {
+ /* OK Member(setString) */
+ DOMString setString;
+ /* OK Member(unsetLong) */
+ long unsetLong;
+};
+
+/* FAIL Unexpected "}" after symbol unsetLong. */
+dictionary MyDict {
+ DOMString setString;
+ long unsetLong
+};
« no previous file with comments | « ppapi/generators/idl_parser.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698