Mercurial > hg > Members > nobuyasu > myCompiler
comparison Bison-Flex/Compiler-StackBase/UTF8/script-parser.hh @ 6:86c0a38332fe
update
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 17 May 2011 18:26:00 +0900 |
parents | caede627f691 |
children |
comparison
equal
deleted
inserted
replaced
5:caede627f691 | 6:86c0a38332fe |
---|---|
170 TK_BREAK = 281, | 170 TK_BREAK = 281, |
171 TK_RETURN = 282, | 171 TK_RETURN = 282, |
172 TK_INTEGER = 283, | 172 TK_INTEGER = 283, |
173 TK_STRING = 284, | 173 TK_STRING = 284, |
174 TK_VOID = 285, | 174 TK_VOID = 285, |
175 TK_CODE = 286, | 175 TK_GOTO = 286, |
176 NEG = 287 | 176 TK_CODE = 287, |
177 TK_EXIT = 288, | |
178 NEG = 289 | |
177 }; | 179 }; |
178 | 180 |
179 }; | 181 }; |
180 /// Token type. | 182 /// Token type. |
181 typedef token::yytokentype token_type; | 183 typedef token::yytokentype token_type; |
248 /// Internal symbol numbers. | 250 /// Internal symbol numbers. |
249 typedef unsigned char token_number_type; | 251 typedef unsigned char token_number_type; |
250 /* Tables. */ | 252 /* Tables. */ |
251 /// For a state, the index in \a yytable_ of its portion. | 253 /// For a state, the index in \a yytable_ of its portion. |
252 static const short int yypact_[]; | 254 static const short int yypact_[]; |
253 static const signed char yypact_ninf_; | 255 static const short int yypact_ninf_; |
254 | 256 |
255 /// For a state, default rule to reduce. | 257 /// For a state, default rule to reduce. |
256 /// Unless\a yytable_ specifies something else to do. | 258 /// Unless\a yytable_ specifies something else to do. |
257 /// Zero means the default is an error. | 259 /// Zero means the default is an error. |
258 static const unsigned char yydefact_[]; | 260 static const unsigned char yydefact_[]; |