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

Side by Side Diff: ppapi/generators/test_cgen/interface.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, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/generators/idl_parser.py ('k') | ppapi/generators/test_cgen/structs.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /* This file will test that the IDL snippet matches the comment */ 7 /* This file will test that the IDL snippet matches the comment */
8 8
9 /* struct ist { void* X; }; */ 9 /* struct ist { void* X; }; */
10 struct ist { 10 struct ist {
11 mem_t X; 11 mem_t X;
12 }; 12 };
13 13
14 /* struct iface1 { 14 /* struct iface1 {
15 int8_t (*mem1)(int16_t x, int32_t y); 15 int8_t (*mem1)(int16_t x, int32_t y);
16 int32_t (*mem2)(const ist* a); 16 int32_t (*mem2)(const struct ist* a);
17 int32_t (*mem3)(ist* b); 17 int32_t (*mem3)(struct ist* b);
18 18
19 }; */ 19 }; */
20 interface iface1 { 20 interface iface1 {
21 int8_t mem1([in] int16_t x, [in] int32_t y); 21 int8_t mem1([in] int16_t x, [in] int32_t y);
22 int32_t mem2([in] ist a); 22 int32_t mem2([in] ist a);
23 int32_t mem3([out] ist b); 23 int32_t mem3([out] ist b);
24 }; 24 };
25 25
OLDNEW
« no previous file with comments | « ppapi/generators/idl_parser.py ('k') | ppapi/generators/test_cgen/structs.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698