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

Unified Diff: tools/json_schema_compiler/test/idl_reserved_words.idl

Issue 11565053: Allow leading underscore on identifier names in IDL parser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added test file that I forgot in first patchset Created 8 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 | « tools/json_schema_compiler/idl_schema_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/json_schema_compiler/test/idl_reserved_words.idl
diff --git a/tools/json_schema_compiler/test/idl_reserved_words.idl b/tools/json_schema_compiler/test/idl_reserved_words.idl
new file mode 100644
index 0000000000000000000000000000000000000000..61ddabd48a5d17bebd9474b95b7f7211d2b6e422
--- /dev/null
+++ b/tools/json_schema_compiler/test/idl_reserved_words.idl
@@ -0,0 +1,25 @@
+// Copyright (c) 2012 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.
+
+namespace reserved_words {
+
+ enum Foo { _float, _DOMString };
+
+ enum _enum {
+ _callback,
+ _namespace
+ };
+
+ dictionary _dictionary {
+ long _long;
+ };
+
+ dictionary MyType {
+ DOMString _interface;
+ };
+
+ interface Functions {
+ static void _static(Foo foo, _enum e);
+ };
+};
« no previous file with comments | « tools/json_schema_compiler/idl_schema_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698