comparison: src/LexerScanner.cc
src/LexerScanner.cc
- changeset 91
- 427eb377d53e
- parent 88
- 5def6ff8b466
- child 98
- ea02b78a737a
equal
deleted
inserted
replaced
34 #include "LexerScanner.h" |
34 #include "LexerScanner.h" |
35 #include "Lexer.h" |
35 #include "Lexer.h" |
36 |
36 |
37 static const String gTokenStrings[] = |
37 static const String gTokenStrings[] = |
38 { |
38 { |
|
39 "<<=", |
|
40 ">>=", |
39 "==", |
41 "==", |
|
42 "!=", |
40 "[]", |
43 "[]", |
41 "+=", |
44 "+=", |
42 "-=", |
45 "-=", |
43 "*=", |
46 "*=", |
44 "/=", |
47 "/=", |
45 "%=", |
48 "%=", |
|
49 "<<", |
|
50 ">>", |
|
51 ">=", |
|
52 "<=", |
|
53 "&&", |
|
54 "||", |
46 "'", |
55 "'", |
47 "$", |
56 "$", |
48 "(", |
57 "(", |
49 ")", |
58 ")", |
50 "[", |
59 "[", |
63 ".", |
72 ".", |
64 ":", |
73 ":", |
65 ";", |
74 ";", |
66 "#", |
75 "#", |
67 "!", |
76 "!", |
|
77 "&", |
|
78 "|", |
|
79 "^", |
|
80 "?", |
68 "->", |
81 "->", |
69 "bool", |
82 "bool", |
70 "break", |
83 "break", |
71 "case", |
84 "case", |
72 "continue", |
85 "continue", |
87 "state", |
100 "state", |
88 "switch", |
101 "switch", |
89 "str", |
102 "str", |
90 "void", |
103 "void", |
91 "while", |
104 "while", |
|
105 "true", |
|
106 "false", |
92 "enum", |
107 "enum", |
93 "func", |
108 "func", |
94 "return", |
109 "return", |
95 }; |
110 }; |
96 |
111 |