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

Side by Side Diff: ppapi/generators/test_lex.in

Issue 8161006: Allow enum values in IDL files to be simple arithmetic expressions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/test_cgen/enum_typedef.idl ('k') | ppapi/generators/test_parser/enum.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 INT 1 INT 123 INT 12345 1 INT 1 INT 123 INT 12345
2 SYMBOL A123 SYMBOL A_A 2 SYMBOL A123 SYMBOL A_A
3 3
4 COMMENT /*XXXX*/ 4 COMMENT /*XXXX*/
5 COMMENT //XXXX 5 COMMENT //XXXX
6 6
7 COMMENT /*MULTI LINE*/ 7 COMMENT /*MULTI LINE*/
8 8
9 [ [ 9 [ [
10 ] ] 10 ] ]
11 * * 11 * *
12 . . 12 . .
13 ( ( 13 ( (
14 ) ) 14 ) )
15 { { 15 { {
16 } } 16 } }
17 [ [ 17 [ [
18 ] ] 18 ] ]
19 , , 19 , ,
20 ; ; 20 ; ;
21 : : 21 : :
22 = = 22 = =
23 + + 23 + +
24 - - 24 - -
25 / /
26 ~ ~
27 | |
28 & &
29 ^ ^
30 << <<
31 >> >>
25 32
26 FLOAT 1.1 33 FLOAT 1.1
27 FLOAT 1e1 34 FLOAT 1e1
28 FLOAT -1.1 35 FLOAT -1.1
29 FLOAT -1e1 36 FLOAT -1e1
30 FLOAT 1e-1 37 FLOAT 1e-1
31 FLOAT -1e-1 38 FLOAT -1e-1
32 FLOAT 1.0e1 39 FLOAT 1.0e1
33 FLOAT -1.0e-1 40 FLOAT -1.0e-1
34 41
(...skipping 14 matching lines...) Expand all
49 This is an inline block. 56 This is an inline block.
50 57
51 Contains /* Comments */ 58 Contains /* Comments */
52 Contains // Comments 59 Contains // Comments
53 Contains /* Multi-line 60 Contains /* Multi-line
54 Comment */ 61 Comment */
55 62
56 #endinl 63 #endinl
57 SYMBOL blah 64 SYMBOL blah
58 65
OLDNEW
« no previous file with comments | « ppapi/generators/test_cgen/enum_typedef.idl ('k') | ppapi/generators/test_parser/enum.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698