Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1 | #define yy_create_buffer Upgrade_create_buffer |
| 2 | #define yy_delete_buffer Upgrade_delete_buffer |
| 3 | #define yy_scan_buffer Upgrade_scan_buffer |
| 4 | #define yy_scan_string Upgrade_scan_string |
| 5 | #define yy_scan_bytes Upgrade_scan_bytes |
| 6 | #define yy_flex_debug Upgrade_flex_debug |
| 7 | #define yy_init_buffer Upgrade_init_buffer |
| 8 | #define yy_flush_buffer Upgrade_flush_buffer |
| 9 | #define yy_load_buffer_state Upgrade_load_buffer_state |
| 10 | #define yy_switch_to_buffer Upgrade_switch_to_buffer |
| 11 | #define yyin Upgradein |
| 12 | #define yyleng Upgradeleng |
| 13 | #define yylex Upgradelex |
| 14 | #define yyout Upgradeout |
| 15 | #define yyrestart Upgraderestart |
| 16 | #define yytext Upgradetext |
| 17 | #define yylineno Upgradelineno |
| 18 | |
| 19 | #line 20 "UpgradeLexer.cpp" |
| 20 | /* A lexical scanner generated by flex*/ |
| 21 | |
| 22 | /* Scanner skeleton version: |
| 23 | * $Header$ |
| 24 | */ |
| 25 | |
| 26 | #define FLEX_SCANNER |
| 27 | #define YY_FLEX_MAJOR_VERSION 2 |
| 28 | #define YY_FLEX_MINOR_VERSION 5 |
| 29 | |
| 30 | #include <stdio.h> |
| 31 | #include <unistd.h> |
| 32 | |
| 33 | |
| 34 | /* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */ |
| 35 | #ifdef c_plusplus |
| 36 | #ifndef __cplusplus |
| 37 | #define __cplusplus |
| 38 | #endif |
| 39 | #endif |
| 40 | |
| 41 | |
| 42 | #ifdef __cplusplus |
| 43 | |
| 44 | #include <stdlib.h> |
| 45 | |
| 46 | /* Use prototypes in function declarations. */ |
| 47 | #define YY_USE_PROTOS |
| 48 | |
| 49 | /* The "const" storage-class-modifier is valid. */ |
| 50 | #define YY_USE_CONST |
| 51 | |
| 52 | #else /* ! __cplusplus */ |
| 53 | |
| 54 | #if __STDC__ |
| 55 | |
| 56 | #define YY_USE_PROTOS |
| 57 | #define YY_USE_CONST |
| 58 | |
| 59 | #endif /* __STDC__ */ |
| 60 | #endif /* ! __cplusplus */ |
| 61 | |
| 62 | #ifdef __TURBOC__ |
| 63 | #pragma warn -rch |
| 64 | #pragma warn -use |
| 65 | #include <io.h> |
| 66 | #include <stdlib.h> |
| 67 | #define YY_USE_CONST |
| 68 | #define YY_USE_PROTOS |
| 69 | #endif |
| 70 | |
| 71 | #ifdef YY_USE_CONST |
| 72 | #define yyconst const |
| 73 | #else |
| 74 | #define yyconst |
| 75 | #endif |
| 76 | |
| 77 | |
| 78 | #ifdef YY_USE_PROTOS |
| 79 | #define YY_PROTO(proto) proto |
| 80 | #else |
| 81 | #define YY_PROTO(proto) () |
| 82 | #endif |
| 83 | |
| 84 | /* Returned upon end-of-file. */ |
| 85 | #define YY_NULL 0 |
| 86 | |
| 87 | /* Promotes a possibly negative, possibly signed char to an unsigned |
| 88 | * integer for use as an array index. If the signed char is negative, |
| 89 | * we want to instead treat it as an 8-bit unsigned char, hence the |
| 90 | * double cast. |
| 91 | */ |
| 92 | #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) |
| 93 | |
| 94 | /* Enter a start condition. This macro really ought to take a parameter, |
| 95 | * but we do it the disgusting crufty way forced on us by the ()-less |
| 96 | * definition of BEGIN. |
| 97 | */ |
| 98 | #define BEGIN yy_start = 1 + 2 * |
| 99 | |
| 100 | /* Translate the current start state into a value that can be later handed |
| 101 | * to BEGIN to return to the state. The YYSTATE alias is for lex |
| 102 | * compatibility. |
| 103 | */ |
| 104 | #define YY_START ((yy_start - 1) / 2) |
| 105 | #define YYSTATE YY_START |
| 106 | |
| 107 | /* Action number for EOF rule of a given start state. */ |
| 108 | #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) |
| 109 | |
| 110 | /* Special action meaning "start processing a new file". */ |
| 111 | #define YY_NEW_FILE yyrestart( yyin ) |
| 112 | |
| 113 | #define YY_END_OF_BUFFER_CHAR 0 |
| 114 | |
| 115 | /* Size of default input buffer. */ |
| 116 | #define YY_BUF_SIZE (16384*64) |
| 117 | |
| 118 | typedef struct yy_buffer_state *YY_BUFFER_STATE; |
| 119 | |
| 120 | extern int yyleng; |
| 121 | extern FILE *yyin, *yyout; |
| 122 | |
| 123 | #define EOB_ACT_CONTINUE_SCAN 0 |
| 124 | #define EOB_ACT_END_OF_FILE 1 |
| 125 | #define EOB_ACT_LAST_MATCH 2 |
| 126 | |
| 127 | /* The funky do-while in the following #define is used to turn the definition |
| 128 | * int a single C statement (which needs a semi-colon terminator). This |
| 129 | * avoids problems with code like: |
| 130 | * |
| 131 | * if ( condition_holds ) |
| 132 | * yyless( 5 ); |
| 133 | * else |
| 134 | * do_something_else(); |
| 135 | * |
| 136 | * Prior to using the do-while the compiler would get upset at the |
| 137 | * "else" because it interpreted the "if" statement as being all |
| 138 | * done when it reached the ';' after the yyless() call. |
| 139 | */ |
| 140 | |
| 141 | /* Return all but the first 'n' matched characters back to the input stream. */ |
| 142 | |
| 143 | #define yyless(n) \ |
| 144 | do \ |
| 145 | { \ |
| 146 | /* Undo effects of setting up yytext. */ \ |
| 147 | *yy_cp = yy_hold_char; \ |
| 148 | YY_RESTORE_YY_MORE_OFFSET \ |
| 149 | yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \ |
| 150 | YY_DO_BEFORE_ACTION; /* set up yytext again */ \ |
| 151 | } \ |
| 152 | while ( 0 ) |
| 153 | |
| 154 | #define unput(c) yyunput( c, yytext_ptr ) |
| 155 | |
| 156 | /* Some routines like yy_flex_realloc() are emitted as static but are |
| 157 | not called by all lexers. This generates warnings in some compilers, |
| 158 | notably GCC. Arrange to suppress these. */ |
| 159 | #ifdef __GNUC__ |
| 160 | #define YY_MAY_BE_UNUSED __attribute__((unused)) |
| 161 | #else |
| 162 | #define YY_MAY_BE_UNUSED |
| 163 | #endif |
| 164 | |
| 165 | /* The following is because we cannot portably get our hands on size_t |
| 166 | * (without autoconf's help, which isn't available because we want |
| 167 | * flex-generated scanners to compile on their own). |
| 168 | */ |
| 169 | typedef unsigned int yy_size_t; |
| 170 | |
| 171 | |
| 172 | struct yy_buffer_state |
| 173 | { |
| 174 | FILE *yy_input_file; |
| 175 | |
| 176 | char *yy_ch_buf; /* input buffer */ |
| 177 | char *yy_buf_pos; /* current position in input buffer */ |
| 178 | |
| 179 | /* Size of input buffer in bytes, not including room for EOB |
| 180 | * characters. |
| 181 | */ |
| 182 | yy_size_t yy_buf_size; |
| 183 | |
| 184 | /* Number of characters read into yy_ch_buf, not including EOB |
| 185 | * characters. |
| 186 | */ |
| 187 | int yy_n_chars; |
| 188 | |
| 189 | /* Whether we "own" the buffer - i.e., we know we created it, |
| 190 | * and can realloc() it to grow it, and should free() it to |
| 191 | * delete it. |
| 192 | */ |
| 193 | int yy_is_our_buffer; |
| 194 | |
| 195 | /* Whether this is an "interactive" input source; if so, and |
| 196 | * if we're using stdio for input, then we want to use getc() |
| 197 | * instead of fread(), to make sure we stop fetching input after |
| 198 | * each newline. |
| 199 | */ |
| 200 | int yy_is_interactive; |
| 201 | |
| 202 | /* Whether we're considered to be at the beginning of a line. |
| 203 | * If so, '^' rules will be active on the next match, otherwise |
| 204 | * not. |
| 205 | */ |
| 206 | int yy_at_bol; |
| 207 | |
| 208 | /* Whether to try to fill the input buffer when we reach the |
| 209 | * end of it. |
| 210 | */ |
| 211 | int yy_fill_buffer; |
| 212 | |
| 213 | int yy_buffer_status; |
| 214 | #define YY_BUFFER_NEW 0 |
| 215 | #define YY_BUFFER_NORMAL 1 |
| 216 | /* When an EOF's been seen but there's still some text to process |
| 217 | * then we mark the buffer as YY_EOF_PENDING, to indicate that we |
| 218 | * shouldn't try reading from the input source any more. We might |
| 219 | * still have a bunch of tokens to match, though, because of |
| 220 | * possible backing-up. |
| 221 | * |
| 222 | * When we actually see the EOF, we change the status to "new" |
| 223 | * (via yyrestart()), so that the user can continue scanning by |
| 224 | * just pointing yyin at a new input file. |
| 225 | */ |
| 226 | #define YY_BUFFER_EOF_PENDING 2 |
| 227 | }; |
| 228 | |
| 229 | static YY_BUFFER_STATE yy_current_buffer = 0; |
| 230 | |
| 231 | /* We provide macros for accessing buffer states in case in the |
| 232 | * future we want to put the buffer states in a more general |
| 233 | * "scanner state". |
| 234 | */ |
| 235 | #define YY_CURRENT_BUFFER yy_current_buffer |
| 236 | |
| 237 | |
| 238 | /* yy_hold_char holds the character lost when yytext is formed. */ |
| 239 | static char yy_hold_char; |
| 240 | |
| 241 | static int yy_n_chars; /* number of characters read into yy_ch_buf */ |
| 242 | |
| 243 | |
| 244 | int yyleng; |
| 245 | |
| 246 | /* Points to current character in buffer. */ |
| 247 | static char *yy_c_buf_p = (char *) 0; |
| 248 | static int yy_init = 1; /* whether we need to initialize */ |
| 249 | static int yy_start = 0; /* start state number */ |
| 250 | |
| 251 | /* Flag which is used to allow yywrap()'s to do buffer switches |
| 252 | * instead of setting up a fresh yyin. A bit of a hack ... |
| 253 | */ |
| 254 | static int yy_did_buffer_switch_on_eof; |
| 255 | |
| 256 | void yyrestart YY_PROTO(( FILE *input_file )); |
| 257 | |
| 258 | void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer )); |
| 259 | void yy_load_buffer_state YY_PROTO(( void )); |
| 260 | YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size )); |
| 261 | void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b )); |
| 262 | void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file )); |
| 263 | void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b )); |
| 264 | #define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer ) |
| 265 | |
| 266 | YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size )); |
| 267 | YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str )); |
| 268 | YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len )); |
| 269 | |
| 270 | static void *yy_flex_alloc YY_PROTO(( yy_size_t )); |
| 271 | static inline void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )) YY_MAY_BE_UNUSED; |
| 272 | static void yy_flex_free YY_PROTO(( void * )); |
| 273 | |
| 274 | #define yy_new_buffer yy_create_buffer |
| 275 | |
| 276 | #define yy_set_interactive(is_interactive) \ |
| 277 | { \ |
| 278 | if ( ! yy_current_buffer ) \ |
| 279 | yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ |
| 280 | yy_current_buffer->yy_is_interactive = is_interactive; \ |
| 281 | } |
| 282 | |
| 283 | #define yy_set_bol(at_bol) \ |
| 284 | { \ |
| 285 | if ( ! yy_current_buffer ) \ |
| 286 | yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \ |
| 287 | yy_current_buffer->yy_at_bol = at_bol; \ |
| 288 | } |
| 289 | |
| 290 | #define YY_AT_BOL() (yy_current_buffer->yy_at_bol) |
| 291 | |
| 292 | |
| 293 | #define YY_USES_REJECT |
| 294 | |
| 295 | #define yywrap() 1 |
| 296 | #define YY_SKIP_YYWRAP |
| 297 | typedef unsigned char YY_CHAR; |
| 298 | FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; |
| 299 | typedef int yy_state_type; |
| 300 | extern int yylineno; |
| 301 | int yylineno = 1; |
| 302 | extern char *yytext; |
| 303 | #define yytext_ptr yytext |
| 304 | |
| 305 | static yy_state_type yy_get_previous_state YY_PROTO(( void )); |
| 306 | static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state )); |
| 307 | static int yy_get_next_buffer YY_PROTO(( void )); |
| 308 | static void yy_fatal_error YY_PROTO(( yyconst char msg[] )); |
| 309 | |
| 310 | /* Done after the current pattern has been matched and before the |
| 311 | * corresponding action - sets up yytext. |
| 312 | */ |
| 313 | #define YY_DO_BEFORE_ACTION \ |
| 314 | yytext_ptr = yy_bp; \ |
| 315 | yyleng = (int) (yy_cp - yy_bp); \ |
| 316 | yy_hold_char = *yy_cp; \ |
| 317 | *yy_cp = '\0'; \ |
| 318 | yy_c_buf_p = yy_cp; |
| 319 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 320 | #define YY_NUM_RULES 131 |
| 321 | #define YY_END_OF_BUFFER 132 |
| 322 | static yyconst short int yy_acclist[209] = |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 323 | { 0, |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 324 | 132, 130, 131, 129, 130, 131, 129, 131, 130, 131, |
| 325 | 130, 131, 130, 131, 130, 131, 130, 131, 130, 131, |
| 326 | 122, 130, 131, 122, 130, 131, 1, 130, 131, 130, |
| 327 | 131, 130, 131, 130, 131, 130, 131, 130, 131, 130, |
| 328 | 131, 130, 131, 130, 131, 130, 131, 130, 131, 130, |
| 329 | 131, 130, 131, 130, 131, 130, 131, 130, 131, 130, |
| 330 | 131, 130, 131, 130, 131, 130, 131, 130, 131, 130, |
| 331 | 131, 121, 119, 118, 118, 125, 123, 127, 122, 1, |
| 332 | 103, 39, 73, 23, 121, 118, 118, 126, 127, 20, |
| 333 | 127, 128, 61, 72, 37, 32, 40, 64, 3, 52, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 334 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 335 | 63, 81, 68, 102, 97, 98, 62, 74, 120, 127, |
| 336 | 127, 99, 47, 82, 83, 67, 111, 71, 112, 54, |
| 337 | 100, 22, 124, 66, 86, 70, 24, 4, 60, 65, |
| 338 | 53, 69, 46, 11, 85, 127, 34, 2, 5, 56, |
| 339 | 88, 58, 48, 76, 80, 78, 79, 77, 75, 50, |
| 340 | 113, 84, 49, 55, 21, 110, 43, 57, 28, 107, |
| 341 | 42, 90, 89, 7, 105, 31, 109, 36, 59, 96, |
| 342 | 92, 104, 25, 26, 91, 106, 51, 101, 95, 41, |
| 343 | 6, 27, 87, 35, 8, 16, 9, 94, 10, 93, |
| 344 | 33, 12, 14, 13, 30, 38, 15, 29, 108, 114, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 345 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 346 | 116, 117, 17, 44, 115, 18, 45, 19 |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 347 | } ; |
| 348 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 349 | static yyconst short int yy_accept[568] = |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 350 | { 0, |
| 351 | 1, 1, 1, 2, 4, 7, 9, 11, 13, 15, |
| 352 | 17, 19, 21, 24, 27, 30, 32, 34, 36, 38, |
| 353 | 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, |
| 354 | 60, 62, 64, 66, 68, 70, 72, 72, 73, 73, |
| 355 | 74, 75, 76, 77, 77, 78, 78, 79, 80, 80, |
| 356 | 81, 81, 81, 81, 81, 81, 81, 81, 81, 82, |
| 357 | 82, 83, 83, 83, 83, 83, 83, 83, 83, 83, |
| 358 | 83, 83, 83, 83, 83, 83, 83, 83, 83, 83, |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 359 | 83, 83, 83, 83, 83, 83, 83, 83, 83, 84, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 360 | 84, 84, 84, 84, 84, 84, 84, 84, 84, 84, |
| 361 | |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 362 | 84, 84, 84, 84, 84, 85, 85, 85, 85, 85, |
| 363 | 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, |
| 364 | 85, 86, 87, 89, 90, 91, 92, 92, 93, 94, |
| 365 | 94, 94, 95, 95, 95, 96, 96, 97, 97, 97, |
| 366 | 97, 97, 98, 98, 98, 98, 98, 98, 98, 99, |
| 367 | 99, 99, 100, 100, 100, 100, 100, 100, 100, 100, |
| 368 | 100, 100, 100, 100, 100, 100, 101, 101, 101, 101, |
| 369 | 101, 101, 101, 101, 101, 101, 102, 102, 102, 103, |
| 370 | 103, 103, 104, 105, 105, 105, 105, 105, 105, 105, |
| 371 | 105, 106, 106, 107, 107, 107, 107, 107, 107, 108, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 372 | |
Reid Spencer | f7bde22 | 2006-12-01 22:26:37 +0000 | [diff] [blame] | 373 | 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 374 | 108, 108, 108, 108, 108, 108, 108, 108, 108, 108, |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 375 | 108, 108, 109, 109, 109, 110, 111, 111, 111, 111, |
| 376 | 112, 112, 112, 112, 113, 113, 113, 114, 115, 116, |
Reid Spencer | f7bde22 | 2006-12-01 22:26:37 +0000 | [diff] [blame] | 377 | 116, 116, 116, 116, 116, 116, 116, 116, 116, 116, |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 378 | 116, 116, 116, 116, 116, 117, 117, 117, 117, 117, |
| 379 | 118, 119, 119, 119, 119, 119, 119, 119, 119, 119, |
| 380 | 119, 119, 120, 121, 122, 122, 122, 123, 123, 123, |
| 381 | 123, 124, 124, 125, 125, 125, 125, 125, 125, 125, |
| 382 | 126, 126, 126, 126, 126, 127, 127, 127, 128, 128, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 383 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 384 | 128, 129, 129, 130, 130, 131, 132, 132, 132, 132, |
| 385 | 132, 132, 132, 133, 133, 133, 134, 134, 135, 135, |
| 386 | 135, 136, 137, 138, 138, 138, 139, 139, 139, 139, |
| 387 | 139, 139, 139, 139, 139, 139, 139, 139, 139, 139, |
| 388 | 139, 140, 140, 141, 142, 142, 142, 142, 142, 142, |
| 389 | 142, 142, 142, 142, 142, 143, 143, 143, 143, 143, |
| 390 | 143, 143, 143, 144, 144, 144, 145, 146, 147, 148, |
| 391 | 149, 150, 151, 151, 151, 151, 152, 152, 152, 152, |
| 392 | 153, 154, 154, 155, 156, 156, 156, 156, 156, 156, |
| 393 | 156, 156, 156, 156, 157, 157, 157, 158, 158, 158, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 394 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 395 | 158, 158, 158, 158, 158, 159, 160, 161, 161, 161, |
| 396 | 162, 163, 164, 164, 164, 165, 165, 165, 165, 165, |
| 397 | 166, 166, 167, 168, 169, 170, 170, 170, 170, 171, |
| 398 | 171, 171, 172, 173, 174, 175, 176, 176, 176, 177, |
| 399 | 178, 179, 179, 179, 179, 179, 179, 180, 180, 181, |
| 400 | 181, 182, 183, 183, 183, 183, 183, 183, 184, 184, |
| 401 | 184, 184, 184, 184, 184, 184, 184, 185, 185, 185, |
| 402 | 185, 185, 185, 185, 185, 185, 185, 186, 186, 186, |
| 403 | 186, 186, 187, 187, 187, 187, 187, 188, 189, 190, |
| 404 | 190, 191, 191, 191, 191, 191, 192, 192, 192, 192, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 405 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 406 | 193, 193, 194, 195, 195, 195, 195, 195, 195, 195, |
| 407 | 195, 195, 195, 195, 195, 195, 195, 196, 196, 196, |
| 408 | 196, 196, 196, 196, 196, 197, 197, 197, 197, 197, |
| 409 | 197, 198, 198, 198, 198, 198, 199, 199, 199, 200, |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 410 | 200, 200, 200, 200, 200, 200, 200, 200, 200, 200, |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 411 | 200, 200, 200, 201, 201, 202, 203, 204, 204, 205, |
| 412 | 205, 206, 207, 208, 208, 209, 209 |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 413 | } ; |
| 414 | |
| 415 | static yyconst int yy_ec[256] = |
| 416 | { 0, |
| 417 | 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, |
| 418 | 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, |
| 419 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 420 | 1, 2, 1, 4, 1, 5, 6, 1, 1, 1, |
| 421 | 1, 1, 7, 1, 8, 9, 1, 10, 11, 11, |
| 422 | 11, 11, 11, 12, 11, 13, 11, 14, 15, 1, |
| 423 | 1, 1, 1, 1, 16, 16, 16, 16, 17, 16, |
| 424 | 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, |
| 425 | 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, |
| 426 | 1, 1, 1, 1, 18, 1, 19, 20, 21, 22, |
| 427 | |
| 428 | 23, 24, 25, 26, 27, 5, 28, 29, 30, 31, |
| 429 | 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, |
| 430 | 42, 43, 1, 1, 1, 1, 1, 1, 1, 1, |
| 431 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 432 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 433 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 434 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 435 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 436 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 437 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 438 | |
| 439 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 440 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 441 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 442 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 443 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 444 | 1, 1, 1, 1, 1 |
| 445 | } ; |
| 446 | |
| 447 | static yyconst int yy_meta[44] = |
| 448 | { 0, |
| 449 | 1, 1, 2, 1, 3, 1, 1, 3, 3, 3, |
| 450 | 3, 3, 3, 4, 1, 3, 3, 3, 3, 3, |
| 451 | 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, |
| 452 | 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, |
| 453 | 3, 3, 3 |
| 454 | } ; |
| 455 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 456 | static yyconst short int yy_base[572] = |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 457 | { 0, |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 458 | 0, 0, 1222, 1223, 1223, 1223, 1217, 1206, 36, 40, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 459 | 44, 50, 56, 62, 0, 63, 66, 81, 89, 47, |
| 460 | 100, 97, 76, 96, 111, 46, 48, 110, 68, 140, |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 461 | 126, 171, 120, 123, 73, 130, 1215, 1223, 1204, 1223, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 462 | 0, 159, 176, 199, 204, 95, 209, 224, 229, 0, |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 463 | 134, 165, 137, 124, 169, 151, 159, 31, 1203, 168, |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 464 | 210, 230, 233, 127, 241, 189, 176, 117, 242, 244, |
| 465 | 240, 243, 246, 249, 252, 253, 257, 259, 263, 265, |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 466 | 266, 274, 268, 269, 273, 277, 282, 211, 1202, 287, |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 467 | 290, 293, 294, 160, 270, 295, 304, 305, 299, 306, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 468 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 469 | 312, 296, 321, 324, 1201, 325, 309, 313, 333, 335, |
| 470 | 318, 340, 342, 332, 339, 347, 350, 215, 354, 356, |
| 471 | 1200, 0, 371, 375, 1199, 389, 406, 0, 1198, 365, |
| 472 | 363, 1197, 382, 359, 1196, 394, 1195, 357, 301, 393, |
| 473 | 390, 1194, 401, 395, 410, 411, 397, 414, 1193, 415, |
| 474 | 420, 418, 421, 423, 425, 422, 427, 433, 434, 435, |
| 475 | 439, 437, 436, 443, 440, 441, 451, 454, 457, 459, |
| 476 | 460, 462, 465, 466, 467, 1192, 470, 472, 1191, 379, |
| 477 | 474, 1190, 1189, 502, 479, 478, 483, 475, 513, 493, |
| 478 | 1188, 494, 1187, 477, 480, 496, 517, 518, 1186, 519, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 479 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 480 | 520, 521, 476, 527, 525, 523, 526, 529, 531, 537, |
| 481 | 538, 540, 541, 543, 545, 548, 553, 555, 559, 560, |
| 482 | 565, 1185, 562, 567, 1223, 574, 588, 595, 599, 604, |
| 483 | 588, 568, 589, 1184, 607, 608, 1183, 1182, 1181, 609, |
| 484 | 610, 611, 612, 614, 615, 617, 620, 622, 618, 621, |
| 485 | 625, 626, 629, 632, 1180, 630, 635, 641, 642, 1179, |
| 486 | 1178, 645, 643, 647, 649, 650, 651, 654, 652, 655, |
| 487 | 657, 1177, 1176, 1175, 659, 661, 1174, 662, 664, 674, |
| 488 | 0, 675, 1173, 678, 681, 679, 680, 685, 693, 1172, |
| 489 | 682, 690, 695, 696, 1171, 698, 709, 1170, 701, 697, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 490 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 491 | 1169, 711, 1168, 713, 1167, 1166, 714, 715, 717, 719, |
| 492 | 720, 721, 1165, 723, 728, 1164, 729, 1163, 731, 730, |
| 493 | 1162, 737, 1161, 737, 739, 1160, 740, 748, 745, 751, |
| 494 | 754, 746, 757, 756, 760, 761, 764, 765, 766, 769, |
| 495 | 1159, 771, 1158, 1157, 772, 773, 774, 768, 780, 782, |
| 496 | 784, 787, 789, 790, 1156, 792, 793, 794, 796, 797, |
| 497 | 803, 800, 1155, 810, 811, 1154, 1153, 1152, 1151, 1150, |
| 498 | 1149, 1148, 814, 815, 816, 1147, 818, 817, 822, 1146, |
| 499 | 1145, 819, 1144, 1143, 820, 826, 824, 821, 836, 837, |
| 500 | 841, 839, 842, 1142, 845, 848, 1141, 849, 853, 823, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 501 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 502 | 852, 854, 855, 856, 1140, 1139, 1138, 863, 857, 1137, |
| 503 | 1136, 1135, 865, 869, 1134, 870, 875, 877, 864, 1133, |
| 504 | 881, 1132, 1131, 1130, 1129, 878, 883, 886, 1128, 889, |
| 505 | 891, 1127, 1126, 1125, 1124, 1123, 892, 890, 1122, 1121, |
| 506 | 1120, 893, 894, 896, 897, 895, 1119, 906, 1118, 907, |
| 507 | 1117, 1116, 909, 911, 913, 918, 914, 1115, 915, 917, |
| 508 | 920, 921, 919, 922, 926, 927, 1114, 928, 937, 938, |
| 509 | 942, 945, 941, 944, 949, 952, 1113, 955, 957, 958, |
| 510 | 956, 1112, 959, 960, 961, 962, 1111, 1110, 1107, 969, |
| 511 | 1097, 966, 976, 970, 967, 1096, 986, 987, 978, 1095, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 512 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 513 | 988, 1094, 1092, 989, 990, 995, 996, 997, 998, 1000, |
| 514 | 1002, 1003, 1004, 1005, 1006, 1009, 1091, 1008, 1012, 1015, |
| 515 | 1017, 1020, 1023, 1024, 1089, 1026, 1030, 1031, 1033, 1035, |
| 516 | 1088, 1036, 1037, 1038, 1041, 1084, 1043, 1044, 1082, 1042, |
| 517 | 1049, 1052, 1054, 1059, 1063, 1062, 1066, 1064, 1067, 1068, |
| 518 | 1069, 1070, 1079, 1073, 968, 827, 683, 1076, 579, 1077, |
| 519 | 578, 576, 490, 1078, 488, 1223, 1113, 1115, 124, 1119, |
| 520 | 76 |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 521 | } ; |
| 522 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 523 | static yyconst short int yy_def[572] = |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 524 | { 0, |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 525 | 566, 1, 566, 566, 566, 566, 567, 568, 569, 566, |
| 526 | 568, 568, 568, 568, 570, 568, 568, 568, 568, 568, |
| 527 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 528 | 568, 568, 568, 568, 568, 568, 567, 566, 568, 566, |
| 529 | 571, 571, 566, 566, 568, 568, 568, 568, 568, 570, |
| 530 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 531 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 532 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 533 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 534 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 535 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 536 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 537 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 538 | 566, 571, 571, 566, 568, 568, 568, 49, 568, 568, |
| 539 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 540 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 541 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 542 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 543 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 544 | 568, 568, 568, 49, 568, 568, 568, 568, 568, 568, |
| 545 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 546 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 547 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 548 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 549 | 568, 568, 568, 568, 566, 566, 566, 566, 568, 568, |
| 550 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 551 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 552 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 553 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 554 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 555 | 184, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 556 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 557 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 558 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 559 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 560 | 568, 566, 568, 568, 568, 568, 568, 568, 568, 568, |
| 561 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 562 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 563 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 564 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 565 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 566 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 567 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 568 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 569 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 570 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 571 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 572 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 573 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 574 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 575 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 576 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 577 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 578 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 579 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 580 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 581 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 582 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 583 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 584 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 585 | 568, 568, 568, 568, 568, 568, 568, 568, 568, 568, |
| 586 | 568, 568, 568, 568, 568, 0, 566, 566, 566, 566, |
| 587 | 566 |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 588 | } ; |
| 589 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 590 | static yyconst short int yy_nxt[1267] = |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 591 | { 0, |
| 592 | 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, |
| 593 | 14, 14, 14, 4, 15, 8, 8, 8, 16, 17, |
| 594 | 18, 19, 20, 21, 22, 8, 23, 8, 24, 25, |
| 595 | 26, 27, 28, 8, 29, 30, 31, 32, 33, 34, |
| 596 | 35, 8, 36, 42, 40, 43, 43, 43, 43, 44, |
| 597 | 44, 44, 44, 45, 45, 45, 45, 40, 46, 40, |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 598 | 40, 40, 139, 40, 47, 48, 48, 48, 48, 40, |
| 599 | 47, 48, 48, 48, 48, 40, 40, 69, 122, 40, |
| 600 | 88, 40, 89, 87, 51, 118, 40, 70, 56, 40, |
| 601 | 93, 52, 57, 53, 40, 54, 49, 58, 55, 60, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 602 | |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 603 | 59, 61, 40, 125, 119, 78, 79, 64, 40, 40, |
| 604 | 40, 65, 62, 40, 80, 66, 63, 67, 71, 76, |
| 605 | 68, 72, 81, 40, 40, 77, 41, 82, 73, 84, |
| 606 | 40, 83, 74, 40, 75, 90, 40, 40, 115, 40, |
| 607 | 40, 91, 85, 40, 104, 117, 92, 40, 86, 94, |
| 608 | 40, 116, 120, 40, 151, 129, 133, 105, 132, 95, |
| 609 | 106, 96, 97, 146, 40, 98, 99, 107, 123, 123, |
| 610 | 123, 123, 40, 40, 100, 136, 101, 102, 40, 103, |
| 611 | 94, 40, 40, 137, 40, 43, 43, 43, 43, 40, |
| 612 | 108, 130, 109, 131, 134, 138, 140, 110, 135, 111, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 613 | |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 614 | 184, 112, 40, 141, 150, 113, 114, 124, 44, 44, |
| 615 | 44, 44, 47, 45, 45, 45, 45, 40, 126, 126, |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 616 | 126, 126, 40, 40, 40, 127, 221, 149, 40, 178, |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 617 | 142, 127, 47, 48, 48, 48, 48, 40, 128, 128, |
| 618 | 128, 128, 40, 40, 128, 128, 40, 128, 128, 128, |
| 619 | 128, 128, 128, 40, 40, 40, 40, 40, 143, 40, |
| 620 | 144, 147, 40, 152, 153, 40, 40, 145, 155, 157, |
| 621 | 40, 159, 40, 148, 161, 156, 40, 158, 40, 40, |
| 622 | 154, 40, 40, 40, 168, 160, 40, 40, 163, 162, |
| 623 | 40, 164, 171, 173, 175, 40, 169, 174, 165, 166, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 624 | |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 625 | 40, 167, 170, 40, 172, 176, 40, 40, 40, 40, |
| 626 | 177, 185, 40, 179, 40, 199, 180, 40, 40, 40, |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 627 | 195, 186, 40, 182, 187, 40, 40, 181, 197, 237, |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 628 | 183, 40, 188, 191, 40, 196, 192, 40, 40, 193, |
| 629 | 189, 205, 194, 198, 190, 40, 40, 200, 40, 210, |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 630 | 201, 203, 40, 40, 206, 40, 217, 216, 202, 207, |
| 631 | 40, 211, 204, 40, 215, 208, 212, 40, 220, 40, |
| 632 | 40, 209, 40, 218, 213, 219, 40, 236, 40, 214, |
| 633 | 123, 123, 123, 123, 226, 226, 226, 226, 222, 231, |
| 634 | 223, 227, 40, 234, 232, 40, 224, 227, 126, 126, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 635 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 636 | 126, 126, 40, 40, 233, 127, 40, 40, 40, 279, |
| 637 | 40, 127, 228, 229, 40, 230, 230, 230, 230, 40, |
| 638 | 235, 238, 240, 40, 40, 244, 239, 40, 40, 243, |
| 639 | 241, 40, 242, 40, 40, 40, 40, 246, 40, 248, |
| 640 | 40, 247, 245, 250, 249, 251, 40, 40, 40, 40, |
| 641 | 40, 256, 40, 40, 40, 263, 40, 252, 254, 262, |
| 642 | 253, 260, 265, 266, 40, 255, 258, 40, 261, 259, |
| 643 | 40, 264, 40, 40, 257, 40, 269, 267, 40, 40, |
| 644 | 40, 272, 268, 40, 270, 40, 273, 40, 40, 40, |
| 645 | 40, 40, 40, 40, 275, 271, 40, 285, 277, 274, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 646 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 647 | 292, 40, 293, 40, 276, 278, 40, 40, 300, 40, |
| 648 | 280, 281, 281, 281, 281, 282, 283, 281, 281, 284, |
| 649 | 281, 281, 281, 281, 281, 281, 40, 294, 291, 290, |
| 650 | 40, 40, 40, 40, 40, 286, 40, 287, 40, 40, |
| 651 | 40, 288, 40, 289, 40, 299, 295, 303, 298, 301, |
| 652 | 40, 40, 296, 40, 40, 297, 40, 302, 40, 304, |
| 653 | 309, 40, 307, 311, 305, 306, 40, 308, 40, 312, |
| 654 | 310, 315, 40, 40, 313, 40, 316, 317, 40, 314, |
| 655 | 40, 40, 319, 226, 226, 226, 226, 318, 324, 40, |
| 656 | 227, 40, 40, 320, 228, 228, 227, 322, 322, 322, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 657 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 658 | 322, 40, 40, 321, 322, 322, 322, 322, 230, 230, |
| 659 | 230, 230, 40, 230, 230, 230, 230, 40, 323, 325, |
| 660 | 40, 40, 40, 40, 40, 40, 327, 40, 40, 328, |
| 661 | 40, 40, 332, 40, 40, 40, 337, 326, 40, 40, |
| 662 | 331, 333, 40, 40, 340, 40, 329, 330, 40, 335, |
| 663 | 336, 341, 342, 338, 40, 40, 40, 334, 40, 339, |
| 664 | 40, 349, 40, 40, 40, 40, 343, 40, 40, 350, |
| 665 | 40, 344, 40, 348, 40, 40, 345, 40, 346, 347, |
| 666 | 355, 354, 353, 351, 352, 357, 356, 40, 40, 359, |
| 667 | 358, 40, 40, 40, 40, 40, 40, 363, 40, 360, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 668 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 669 | 361, 365, 367, 40, 364, 362, 40, 369, 40, 40, |
| 670 | 40, 40, 366, 373, 40, 371, 368, 374, 372, 375, |
| 671 | 376, 370, 40, 378, 40, 379, 40, 40, 40, 377, |
| 672 | 40, 380, 40, 40, 40, 381, 40, 382, 386, 383, |
| 673 | 384, 40, 40, 40, 40, 385, 322, 322, 322, 322, |
| 674 | 40, 387, 40, 40, 391, 394, 393, 388, 40, 40, |
| 675 | 395, 40, 389, 398, 40, 390, 392, 40, 397, 40, |
| 676 | 40, 399, 400, 40, 40, 396, 402, 40, 40, 40, |
| 677 | 401, 40, 40, 405, 40, 40, 40, 40, 403, 409, |
| 678 | 414, 410, 404, 40, 406, 40, 408, 40, 411, 412, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 679 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 680 | 40, 407, 40, 40, 413, 40, 40, 40, 415, 40, |
| 681 | 40, 416, 420, 40, 423, 422, 40, 418, 424, 425, |
| 682 | 417, 419, 421, 40, 40, 426, 427, 40, 40, 40, |
| 683 | 40, 40, 40, 40, 40, 40, 40, 40, 431, 40, |
| 684 | 40, 428, 430, 433, 435, 439, 438, 429, 432, 40, |
| 685 | 40, 436, 40, 434, 40, 40, 437, 440, 40, 443, |
| 686 | 441, 40, 40, 442, 450, 40, 40, 40, 40, 40, |
| 687 | 40, 446, 445, 449, 451, 444, 40, 40, 40, 448, |
| 688 | 455, 456, 40, 40, 447, 458, 453, 454, 40, 452, |
| 689 | 40, 40, 460, 457, 40, 462, 40, 461, 459, 40, |
| 690 | |
| 691 | 463, 464, 40, 40, 40, 40, 40, 40, 40, 40, |
| 692 | 40, 468, 465, 466, 469, 471, 467, 474, 470, 40, |
| 693 | 40, 472, 40, 475, 40, 476, 40, 40, 40, 473, |
| 694 | 40, 40, 40, 40, 40, 40, 483, 484, 478, 40, |
| 695 | 40, 40, 477, 479, 489, 480, 482, 485, 486, 487, |
| 696 | 40, 40, 481, 488, 40, 40, 494, 40, 40, 493, |
| 697 | 495, 490, 40, 491, 498, 40, 492, 496, 40, 40, |
| 698 | 40, 40, 40, 40, 40, 40, 500, 497, 504, 40, |
| 699 | 40, 40, 40, 40, 508, 499, 513, 505, 510, 40, |
| 700 | 506, 40, 501, 502, 503, 509, 511, 507, 512, 40, |
| 701 | |
| 702 | 40, 40, 40, 40, 516, 515, 514, 518, 40, 40, |
| 703 | 40, 40, 519, 40, 521, 40, 40, 40, 40, 40, |
| 704 | 524, 40, 40, 528, 517, 40, 522, 530, 40, 526, |
| 705 | 40, 520, 527, 40, 529, 531, 40, 40, 525, 40, |
| 706 | 523, 532, 535, 40, 40, 536, 40, 533, 40, 40, |
| 707 | 40, 40, 539, 534, 40, 40, 40, 40, 543, 540, |
| 708 | 537, 541, 40, 542, 545, 40, 548, 40, 538, 550, |
| 709 | 549, 546, 40, 544, 547, 40, 40, 40, 551, 40, |
| 710 | 40, 40, 40, 40, 552, 557, 40, 558, 559, 40, |
| 711 | 40, 40, 40, 553, 554, 40, 563, 40, 555, 564, |
| 712 | |
| 713 | 556, 40, 40, 562, 40, 40, 561, 40, 40, 40, |
| 714 | 40, 560, 565, 37, 37, 37, 37, 39, 39, 50, |
| 715 | 40, 50, 50, 40, 40, 40, 40, 40, 40, 40, |
| 716 | 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, |
| 717 | 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, |
| 718 | 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, |
| 719 | 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, |
| 720 | 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, |
| 721 | 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 722 | 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 723 | |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 724 | 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 725 | 40, 40, 40, 225, 40, 40, 40, 40, 121, 40, |
| 726 | 38, 566, 3, 566, 566, 566, 566, 566, 566, 566, |
| 727 | 566, 566, 566, 566, 566, 566, 566, 566, 566, 566, |
| 728 | 566, 566, 566, 566, 566, 566, 566, 566, 566, 566, |
| 729 | 566, 566, 566, 566, 566, 566, 566, 566, 566, 566, |
| 730 | 566, 566, 566, 566, 566, 566 |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 731 | } ; |
| 732 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 733 | static yyconst short int yy_chk[1267] = |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 734 | { 0, |
| 735 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 736 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 737 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 738 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
| 739 | 1, 1, 1, 9, 58, 9, 9, 9, 9, 10, |
| 740 | 10, 10, 10, 11, 11, 11, 11, 11, 12, 26, |
| 741 | 20, 27, 58, 12, 13, 13, 13, 13, 13, 13, |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 742 | 14, 14, 14, 14, 14, 14, 16, 20, 571, 17, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 743 | 27, 29, 27, 26, 16, 35, 35, 20, 17, 23, |
| 744 | 29, 16, 17, 16, 18, 16, 13, 17, 16, 18, |
| 745 | |
| 746 | 17, 18, 19, 46, 35, 23, 23, 19, 46, 24, |
| 747 | 22, 19, 18, 21, 24, 19, 18, 19, 21, 22, |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 748 | 19, 21, 24, 28, 25, 22, 569, 24, 21, 25, |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 749 | 68, 24, 21, 33, 21, 28, 34, 54, 33, 31, |
| 750 | 64, 28, 25, 36, 31, 34, 28, 51, 25, 30, |
| 751 | 53, 33, 36, 30, 68, 51, 54, 31, 53, 30, |
| 752 | 31, 30, 30, 64, 56, 30, 30, 31, 42, 42, |
| 753 | 42, 42, 57, 94, 30, 56, 30, 30, 52, 30, |
| 754 | 32, 60, 55, 57, 32, 43, 43, 43, 43, 67, |
| 755 | 32, 52, 32, 52, 55, 57, 60, 32, 55, 32, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 756 | |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 757 | 94, 32, 66, 60, 67, 32, 32, 44, 44, 44, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 758 | 44, 44, 45, 45, 45, 45, 45, 45, 47, 47, |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 759 | 47, 47, 47, 61, 88, 47, 118, 66, 118, 88, |
| 760 | 61, 47, 48, 48, 48, 48, 48, 48, 49, 49, |
| 761 | 49, 49, 49, 62, 49, 49, 63, 49, 49, 49, |
| 762 | 49, 49, 49, 71, 65, 69, 72, 70, 62, 73, |
| 763 | 62, 65, 74, 69, 70, 75, 76, 63, 71, 72, |
| 764 | 77, 74, 78, 65, 75, 71, 79, 73, 80, 81, |
| 765 | 70, 83, 84, 95, 80, 74, 85, 82, 77, 76, |
| 766 | 86, 78, 82, 83, 85, 87, 81, 84, 79, 79, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 767 | |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 768 | 90, 79, 81, 91, 82, 86, 92, 93, 96, 102, |
| 769 | 87, 95, 99, 90, 139, 102, 91, 97, 98, 100, |
| 770 | 99, 96, 107, 93, 97, 101, 108, 92, 100, 139, |
| 771 | 93, 111, 97, 98, 103, 99, 98, 104, 106, 98, |
| 772 | 97, 107, 98, 101, 97, 114, 109, 103, 110, 111, |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 773 | 104, 106, 115, 112, 108, 113, 115, 114, 104, 109, |
| 774 | 116, 112, 106, 117, 113, 110, 112, 119, 117, 120, |
| 775 | 138, 110, 134, 116, 112, 116, 131, 138, 130, 112, |
| 776 | 123, 123, 123, 123, 124, 124, 124, 124, 119, 130, |
| 777 | 120, 124, 180, 134, 131, 133, 120, 124, 126, 126, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 778 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 779 | 126, 126, 126, 141, 133, 126, 140, 136, 144, 180, |
| 780 | 147, 126, 127, 127, 143, 127, 127, 127, 127, 127, |
| 781 | 136, 140, 143, 145, 146, 147, 141, 148, 150, 146, |
| 782 | 144, 152, 145, 151, 153, 156, 154, 150, 155, 151, |
| 783 | 157, 150, 148, 153, 152, 154, 158, 159, 160, 163, |
| 784 | 162, 158, 161, 165, 166, 163, 164, 154, 156, 162, |
| 785 | 155, 161, 165, 166, 167, 157, 160, 168, 161, 160, |
| 786 | 169, 164, 170, 171, 159, 172, 168, 166, 173, 174, |
| 787 | 175, 171, 167, 177, 169, 178, 172, 181, 188, 203, |
| 788 | 194, 186, 185, 195, 174, 170, 187, 188, 177, 173, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 789 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 790 | 194, 565, 195, 563, 175, 178, 190, 192, 203, 196, |
| 791 | 181, 184, 184, 184, 184, 185, 186, 184, 184, 187, |
| 792 | 184, 184, 184, 184, 184, 184, 189, 196, 192, 190, |
| 793 | 197, 198, 200, 201, 202, 189, 206, 189, 205, 207, |
| 794 | 204, 189, 208, 189, 209, 202, 197, 205, 201, 204, |
| 795 | 210, 211, 198, 212, 213, 200, 214, 204, 215, 206, |
| 796 | 211, 216, 209, 213, 207, 208, 217, 210, 218, 214, |
| 797 | 212, 217, 219, 220, 215, 223, 218, 219, 221, 216, |
| 798 | 224, 232, 221, 226, 226, 226, 226, 220, 232, 562, |
| 799 | 226, 561, 559, 223, 227, 227, 226, 227, 227, 227, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 800 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 801 | 227, 231, 233, 224, 228, 228, 228, 228, 229, 229, |
| 802 | 229, 229, 229, 230, 230, 230, 230, 230, 231, 233, |
| 803 | 235, 236, 240, 241, 242, 243, 236, 244, 245, 240, |
| 804 | 246, 249, 244, 247, 250, 248, 249, 235, 251, 252, |
| 805 | 243, 245, 253, 256, 252, 254, 241, 242, 257, 247, |
| 806 | 248, 253, 254, 250, 258, 259, 263, 246, 262, 251, |
| 807 | 264, 263, 265, 266, 267, 269, 256, 268, 270, 264, |
| 808 | 271, 257, 275, 262, 276, 278, 258, 279, 258, 259, |
| 809 | 269, 268, 267, 265, 266, 271, 270, 280, 282, 276, |
| 810 | 275, 284, 286, 287, 285, 291, 557, 282, 288, 278, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 811 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 812 | 279, 285, 287, 292, 284, 280, 289, 288, 293, 294, |
| 813 | 300, 296, 286, 292, 299, 289, 287, 293, 291, 294, |
| 814 | 296, 288, 297, 299, 302, 300, 304, 307, 308, 297, |
| 815 | 309, 302, 310, 311, 312, 304, 314, 307, 311, 308, |
| 816 | 309, 315, 317, 320, 319, 310, 322, 322, 322, 322, |
| 817 | 324, 312, 325, 327, 319, 324, 320, 314, 329, 332, |
| 818 | 325, 328, 315, 329, 330, 317, 319, 331, 328, 334, |
| 819 | 333, 330, 331, 335, 336, 327, 333, 337, 338, 339, |
| 820 | 332, 348, 340, 336, 342, 345, 346, 347, 334, 340, |
| 821 | 348, 342, 335, 349, 337, 350, 339, 351, 345, 346, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 822 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 823 | 352, 338, 353, 354, 347, 356, 357, 358, 349, 359, |
| 824 | 360, 350, 354, 362, 358, 357, 361, 352, 359, 360, |
| 825 | 351, 353, 356, 364, 365, 361, 362, 373, 374, 375, |
| 826 | 378, 377, 382, 385, 388, 379, 400, 387, 374, 386, |
| 827 | 556, 364, 373, 377, 379, 387, 386, 365, 375, 389, |
| 828 | 390, 382, 392, 378, 391, 393, 385, 388, 395, 391, |
| 829 | 389, 396, 398, 390, 400, 401, 399, 402, 403, 404, |
| 830 | 409, 395, 393, 399, 401, 392, 408, 419, 413, 398, |
| 831 | 408, 408, 414, 416, 396, 413, 403, 404, 417, 402, |
| 832 | 418, 426, 416, 409, 421, 418, 427, 417, 414, 428, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 833 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 834 | 419, 421, 430, 438, 431, 437, 442, 443, 446, 444, |
| 835 | 445, 430, 426, 427, 431, 438, 428, 444, 437, 448, |
| 836 | 450, 442, 453, 445, 454, 446, 455, 457, 459, 443, |
| 837 | 460, 456, 463, 461, 462, 464, 457, 459, 450, 465, |
| 838 | 466, 468, 448, 453, 464, 454, 456, 460, 461, 462, |
| 839 | 469, 470, 455, 463, 473, 471, 470, 474, 472, 469, |
| 840 | 471, 465, 475, 466, 474, 476, 468, 472, 478, 481, |
| 841 | 479, 480, 483, 484, 485, 486, 476, 473, 481, 492, |
| 842 | 495, 555, 490, 494, 486, 475, 495, 483, 492, 493, |
| 843 | 484, 499, 478, 479, 480, 490, 493, 485, 494, 497, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 844 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 845 | 498, 501, 504, 505, 499, 498, 497, 504, 506, 507, |
| 846 | 508, 509, 505, 510, 507, 511, 512, 513, 514, 515, |
| 847 | 510, 518, 516, 514, 501, 519, 508, 516, 520, 512, |
| 848 | 521, 506, 513, 522, 515, 518, 523, 524, 511, 526, |
| 849 | 509, 519, 522, 527, 528, 523, 529, 520, 530, 532, |
| 850 | 533, 534, 527, 521, 535, 540, 537, 538, 532, 528, |
| 851 | 524, 529, 541, 530, 534, 542, 538, 543, 526, 541, |
| 852 | 540, 535, 544, 533, 537, 546, 545, 548, 542, 547, |
| 853 | 549, 550, 551, 552, 543, 548, 554, 549, 550, 558, |
| 854 | 560, 564, 553, 544, 545, 539, 558, 536, 546, 560, |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 855 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 856 | 547, 531, 525, 554, 517, 503, 552, 502, 500, 496, |
| 857 | 491, 551, 564, 567, 567, 567, 567, 568, 568, 570, |
| 858 | 489, 570, 570, 488, 487, 482, 477, 467, 458, 452, |
| 859 | 451, 449, 447, 441, 440, 439, 436, 435, 434, 433, |
| 860 | 432, 429, 425, 424, 423, 422, 420, 415, 412, 411, |
| 861 | 410, 407, 406, 405, 397, 394, 384, 383, 381, 380, |
| 862 | 376, 372, 371, 370, 369, 368, 367, 366, 363, 355, |
| 863 | 344, 343, 341, 326, 323, 321, 318, 316, 313, 306, |
| 864 | 305, 303, 301, 298, 295, 290, 283, 277, 274, 273, |
| 865 | 272, 261, 260, 255, 239, 238, 237, 234, 222, 199, |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 866 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 867 | 193, 191, 183, 182, 179, 176, 149, 142, 137, 135, |
| 868 | 132, 129, 125, 121, 105, 89, 59, 39, 37, 8, |
| 869 | 7, 3, 566, 566, 566, 566, 566, 566, 566, 566, |
| 870 | 566, 566, 566, 566, 566, 566, 566, 566, 566, 566, |
| 871 | 566, 566, 566, 566, 566, 566, 566, 566, 566, 566, |
| 872 | 566, 566, 566, 566, 566, 566, 566, 566, 566, 566, |
| 873 | 566, 566, 566, 566, 566, 566 |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 874 | } ; |
| 875 | |
| 876 | static yy_state_type yy_state_buf[YY_BUF_SIZE + 2], *yy_state_ptr; |
| 877 | static char *yy_full_match; |
| 878 | static int yy_lp; |
| 879 | #define REJECT \ |
| 880 | { \ |
| 881 | *yy_cp = yy_hold_char; /* undo effects of setting up yytext */ \ |
| 882 | yy_cp = yy_full_match; /* restore poss. backed-over text */ \ |
| 883 | ++yy_lp; \ |
| 884 | goto find_rule; \ |
| 885 | } |
| 886 | #define yymore() yymore_used_but_not_detected |
| 887 | #define YY_MORE_ADJ 0 |
| 888 | #define YY_RESTORE_YY_MORE_OFFSET |
| 889 | char *yytext; |
| 890 | #line 1 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 891 | #define INITIAL 0 |
Reid Spencer | 96839be | 2006-11-30 16:50:26 +0000 | [diff] [blame] | 892 | /*===-- UpgradeLexer.l - Scanner for 1.9 assembly files --------*- C++ -*--===// |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 893 | // |
| 894 | // The LLVM Compiler Infrastructure |
| 895 | // |
Reid Spencer | 96839be | 2006-11-30 16:50:26 +0000 | [diff] [blame] | 896 | // This file was developed by Reid Spencer and is distributed under the |
| 897 | // University of Illinois Open Source License. See LICENSE.TXT for details. |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 898 | // |
| 899 | //===----------------------------------------------------------------------===// |
| 900 | // |
Reid Spencer | 96839be | 2006-11-30 16:50:26 +0000 | [diff] [blame] | 901 | // This file implements the flex scanner for LLVM 1.9 assembly languages files. |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 902 | // |
| 903 | //===----------------------------------------------------------------------===*/ |
| 904 | #define YY_NEVER_INTERACTIVE 1 |
| 905 | #line 28 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 906 | |
| 907 | #include "ParserInternals.h" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 908 | #include "UpgradeParser.h" |
| 909 | #include <cctype> |
| 910 | #include <cstdlib> |
| 911 | |
Reid Spencer | 96839be | 2006-11-30 16:50:26 +0000 | [diff] [blame] | 912 | #define YY_INPUT(buf,result,max_size) \ |
| 913 | { \ |
| 914 | if (LexInput->good() && !LexInput->eof()) { \ |
| 915 | LexInput->read(buf,max_size); \ |
| 916 | result = LexInput->gcount(); \ |
| 917 | } else {\ |
| 918 | result = YY_NULL; \ |
| 919 | } \ |
| 920 | } |
| 921 | |
| 922 | |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 923 | // Construct a token value for a non-obsolete token |
| 924 | #define RET_TOK(sym) \ |
Reid Spencer | e77e35e | 2006-12-01 20:26:20 +0000 | [diff] [blame] | 925 | Upgradelval.String = new std::string(yytext); \ |
| 926 | return sym |
| 927 | |
| 928 | #define RET_TY(sym,OldTY,NewTY,sign) \ |
| 929 | Upgradelval.Type.newTy = new std::string(NewTY); \ |
| 930 | Upgradelval.Type.oldTy = OldTY; \ |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 931 | Upgradelval.Type.elemTy = VoidTy; \ |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 932 | return sym |
| 933 | |
| 934 | #define YY_NEVER_INTERACTIVE 1 |
| 935 | /* Comments start with a ; and go till end of line */ |
| 936 | /* Variable(Value) identifiers start with a % sign */ |
| 937 | /* Label identifiers end with a colon */ |
| 938 | /* Quoted names can contain any character except " and \ */ |
| 939 | /* [PN]Integer: match positive and negative literal integer values that |
| 940 | * are preceeded by a '%' character. These represent unnamed variable slots. |
| 941 | */ |
| 942 | /* E[PN]Integer: match positive and negative literal integer values */ |
| 943 | /* FPConstant - A Floating point constant. |
| 944 | */ |
| 945 | /* HexFPConstant - Floating point constant represented in IEEE format as a |
| 946 | * hexadecimal number for when exponential notation is not precise enough. |
| 947 | */ |
| 948 | /* HexIntConstant - Hexadecimal constant generated by the CFE to avoid forcing |
| 949 | * it to deal with 64 bit numbers. |
| 950 | */ |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 951 | #line 952 "UpgradeLexer.cpp" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 952 | |
| 953 | /* Macros after this point can all be overridden by user definitions in |
| 954 | * section 1. |
| 955 | */ |
| 956 | |
| 957 | #ifndef YY_SKIP_YYWRAP |
| 958 | #ifdef __cplusplus |
| 959 | extern "C" int yywrap YY_PROTO(( void )); |
| 960 | #else |
| 961 | extern int yywrap YY_PROTO(( void )); |
| 962 | #endif |
| 963 | #endif |
| 964 | |
| 965 | #ifndef YY_NO_UNPUT |
| 966 | static inline void yyunput YY_PROTO(( int c, char *buf_ptr )); |
| 967 | #endif |
| 968 | |
| 969 | #ifndef yytext_ptr |
| 970 | static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int )); |
| 971 | #endif |
| 972 | |
| 973 | #ifdef YY_NEED_STRLEN |
| 974 | static int yy_flex_strlen YY_PROTO(( yyconst char * )); |
| 975 | #endif |
| 976 | |
| 977 | #ifndef YY_NO_INPUT |
| 978 | #ifdef __cplusplus |
| 979 | static int yyinput YY_PROTO(( void )); |
| 980 | #else |
| 981 | static int input YY_PROTO(( void )); |
| 982 | #endif |
| 983 | #endif |
| 984 | |
| 985 | #if YY_STACK_USED |
| 986 | static int yy_start_stack_ptr = 0; |
| 987 | static int yy_start_stack_depth = 0; |
| 988 | static int *yy_start_stack = 0; |
| 989 | #ifndef YY_NO_PUSH_STATE |
| 990 | static void yy_push_state YY_PROTO(( int new_state )); |
| 991 | #endif |
| 992 | #ifndef YY_NO_POP_STATE |
| 993 | static void yy_pop_state YY_PROTO(( void )); |
| 994 | #endif |
| 995 | #ifndef YY_NO_TOP_STATE |
| 996 | static int yy_top_state YY_PROTO(( void )); |
| 997 | #endif |
| 998 | |
| 999 | #else |
| 1000 | #define YY_NO_PUSH_STATE 1 |
| 1001 | #define YY_NO_POP_STATE 1 |
| 1002 | #define YY_NO_TOP_STATE 1 |
| 1003 | #endif |
| 1004 | |
| 1005 | #ifdef YY_MALLOC_DECL |
| 1006 | YY_MALLOC_DECL |
| 1007 | #else |
| 1008 | #if __STDC__ |
| 1009 | #ifndef __cplusplus |
| 1010 | #include <stdlib.h> |
| 1011 | #endif |
| 1012 | #else |
| 1013 | /* Just try to get by without declaring the routines. This will fail |
| 1014 | * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int) |
| 1015 | * or sizeof(void*) != sizeof(int). |
| 1016 | */ |
| 1017 | #endif |
| 1018 | #endif |
| 1019 | |
| 1020 | /* Amount of stuff to slurp up with each read. */ |
| 1021 | #ifndef YY_READ_BUF_SIZE |
| 1022 | #define YY_READ_BUF_SIZE 8192 |
| 1023 | #endif |
| 1024 | |
| 1025 | /* Copy whatever the last rule matched to the standard output. */ |
| 1026 | |
| 1027 | #ifndef ECHO |
| 1028 | /* This used to be an fputs(), but since the string might contain NUL's, |
| 1029 | * we now use fwrite(). |
| 1030 | */ |
| 1031 | #define ECHO (void) fwrite( yytext, yyleng, 1, yyout ) |
| 1032 | #endif |
| 1033 | |
| 1034 | /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, |
| 1035 | * is returned in "result". |
| 1036 | */ |
| 1037 | #ifndef YY_INPUT |
| 1038 | #define YY_INPUT(buf,result,max_size) \ |
| 1039 | if ( yy_current_buffer->yy_is_interactive ) \ |
| 1040 | { \ |
| 1041 | int c = '*', n; \ |
| 1042 | for ( n = 0; n < max_size && \ |
| 1043 | (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ |
| 1044 | buf[n] = (char) c; \ |
| 1045 | if ( c == '\n' ) \ |
| 1046 | buf[n++] = (char) c; \ |
| 1047 | if ( c == EOF && ferror( yyin ) ) \ |
| 1048 | YY_FATAL_ERROR( "input in flex scanner failed" ); \ |
| 1049 | result = n; \ |
| 1050 | } \ |
| 1051 | else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \ |
| 1052 | && ferror( yyin ) ) \ |
| 1053 | YY_FATAL_ERROR( "input in flex scanner failed" ); |
| 1054 | #endif |
| 1055 | |
| 1056 | /* No semi-colon after return; correct usage is to write "yyterminate();" - |
| 1057 | * we don't want an extra ';' after the "return" because that will cause |
| 1058 | * some compilers to complain about unreachable statements. |
| 1059 | */ |
| 1060 | #ifndef yyterminate |
| 1061 | #define yyterminate() return YY_NULL |
| 1062 | #endif |
| 1063 | |
| 1064 | /* Number of entries by which start-condition stack grows. */ |
| 1065 | #ifndef YY_START_STACK_INCR |
| 1066 | #define YY_START_STACK_INCR 25 |
| 1067 | #endif |
| 1068 | |
| 1069 | /* Report a fatal error. */ |
| 1070 | #ifndef YY_FATAL_ERROR |
| 1071 | #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) |
| 1072 | #endif |
| 1073 | |
| 1074 | /* Default declaration of generated scanner - a define so the user can |
| 1075 | * easily add parameters. |
| 1076 | */ |
| 1077 | #ifndef YY_DECL |
| 1078 | #define YY_DECL int yylex YY_PROTO(( void )) |
| 1079 | #endif |
| 1080 | |
| 1081 | /* Code executed at the beginning of each rule, after yytext and yyleng |
| 1082 | * have been set up. |
| 1083 | */ |
| 1084 | #ifndef YY_USER_ACTION |
| 1085 | #define YY_USER_ACTION |
| 1086 | #endif |
| 1087 | |
| 1088 | /* Code executed at the end of each rule. */ |
| 1089 | #ifndef YY_BREAK |
| 1090 | #define YY_BREAK break; |
| 1091 | #endif |
| 1092 | |
| 1093 | #define YY_RULE_SETUP \ |
| 1094 | YY_USER_ACTION |
| 1095 | |
| 1096 | YY_DECL |
| 1097 | { |
| 1098 | register yy_state_type yy_current_state; |
| 1099 | register char *yy_cp = NULL, *yy_bp = NULL; |
| 1100 | register int yy_act; |
| 1101 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1102 | #line 99 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1103 | |
| 1104 | |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1105 | #line 1106 "UpgradeLexer.cpp" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1106 | |
| 1107 | if ( yy_init ) |
| 1108 | { |
| 1109 | yy_init = 0; |
| 1110 | |
| 1111 | #ifdef YY_USER_INIT |
| 1112 | YY_USER_INIT; |
| 1113 | #endif |
| 1114 | |
| 1115 | if ( ! yy_start ) |
| 1116 | yy_start = 1; /* first start state */ |
| 1117 | |
| 1118 | if ( ! yyin ) |
| 1119 | yyin = stdin; |
| 1120 | |
| 1121 | if ( ! yyout ) |
| 1122 | yyout = stdout; |
| 1123 | |
| 1124 | if ( ! yy_current_buffer ) |
| 1125 | yy_current_buffer = |
| 1126 | yy_create_buffer( yyin, YY_BUF_SIZE ); |
| 1127 | |
| 1128 | yy_load_buffer_state(); |
| 1129 | } |
| 1130 | |
| 1131 | while ( 1 ) /* loops until end-of-file is reached */ |
| 1132 | { |
| 1133 | yy_cp = yy_c_buf_p; |
| 1134 | |
| 1135 | /* Support of yytext. */ |
| 1136 | *yy_cp = yy_hold_char; |
| 1137 | |
| 1138 | /* yy_bp points to the position in yy_ch_buf of the start of |
| 1139 | * the current run. |
| 1140 | */ |
| 1141 | yy_bp = yy_cp; |
| 1142 | |
| 1143 | yy_current_state = yy_start; |
| 1144 | yy_state_ptr = yy_state_buf; |
| 1145 | *yy_state_ptr++ = yy_current_state; |
| 1146 | yy_match: |
| 1147 | do |
| 1148 | { |
| 1149 | register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; |
| 1150 | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
| 1151 | { |
| 1152 | yy_current_state = (int) yy_def[yy_current_state]; |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1153 | if ( yy_current_state >= 567 ) |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1154 | yy_c = yy_meta[(unsigned int) yy_c]; |
| 1155 | } |
| 1156 | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; |
| 1157 | *yy_state_ptr++ = yy_current_state; |
| 1158 | ++yy_cp; |
| 1159 | } |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1160 | while ( yy_current_state != 566 ); |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1161 | |
| 1162 | yy_find_action: |
| 1163 | yy_current_state = *--yy_state_ptr; |
| 1164 | yy_lp = yy_accept[yy_current_state]; |
| 1165 | find_rule: /* we branch to this label when backing up */ |
| 1166 | for ( ; ; ) /* until we find what rule we matched */ |
| 1167 | { |
| 1168 | if ( yy_lp && yy_lp < yy_accept[yy_current_state + 1] ) |
| 1169 | { |
| 1170 | yy_act = yy_acclist[yy_lp]; |
| 1171 | { |
| 1172 | yy_full_match = yy_cp; |
| 1173 | break; |
| 1174 | } |
| 1175 | } |
| 1176 | --yy_cp; |
| 1177 | yy_current_state = *--yy_state_ptr; |
| 1178 | yy_lp = yy_accept[yy_current_state]; |
| 1179 | } |
| 1180 | |
| 1181 | YY_DO_BEFORE_ACTION; |
| 1182 | |
| 1183 | if ( yy_act != YY_END_OF_BUFFER ) |
| 1184 | { |
| 1185 | int yyl; |
| 1186 | for ( yyl = 0; yyl < yyleng; ++yyl ) |
| 1187 | if ( yytext[yyl] == '\n' ) |
| 1188 | ++yylineno; |
| 1189 | } |
| 1190 | |
| 1191 | do_action: /* This label is used only to access EOF actions. */ |
| 1192 | |
| 1193 | |
| 1194 | switch ( yy_act ) |
| 1195 | { /* beginning of action switch */ |
| 1196 | case 1: |
| 1197 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1198 | #line 101 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1199 | { /* Ignore comments for now */ } |
| 1200 | YY_BREAK |
| 1201 | case 2: |
| 1202 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1203 | #line 103 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1204 | { RET_TOK( BEGINTOK); } |
| 1205 | YY_BREAK |
| 1206 | case 3: |
| 1207 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1208 | #line 104 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1209 | { RET_TOK( ENDTOK); } |
| 1210 | YY_BREAK |
| 1211 | case 4: |
| 1212 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1213 | #line 105 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1214 | { RET_TOK( TRUETOK); } |
| 1215 | YY_BREAK |
| 1216 | case 5: |
| 1217 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1218 | #line 106 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1219 | { RET_TOK( FALSETOK); } |
| 1220 | YY_BREAK |
| 1221 | case 6: |
| 1222 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1223 | #line 107 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1224 | { RET_TOK( DECLARE); } |
| 1225 | YY_BREAK |
| 1226 | case 7: |
| 1227 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1228 | #line 108 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1229 | { RET_TOK( GLOBAL); } |
| 1230 | YY_BREAK |
| 1231 | case 8: |
| 1232 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1233 | #line 109 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1234 | { RET_TOK( CONSTANT); } |
| 1235 | YY_BREAK |
| 1236 | case 9: |
| 1237 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1238 | #line 110 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1239 | { RET_TOK( INTERNAL); } |
| 1240 | YY_BREAK |
| 1241 | case 10: |
| 1242 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1243 | #line 111 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1244 | { RET_TOK( LINKONCE); } |
| 1245 | YY_BREAK |
| 1246 | case 11: |
| 1247 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1248 | #line 112 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1249 | { RET_TOK( WEAK); } |
| 1250 | YY_BREAK |
| 1251 | case 12: |
| 1252 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1253 | #line 113 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1254 | { RET_TOK( APPENDING); } |
| 1255 | YY_BREAK |
| 1256 | case 13: |
| 1257 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1258 | #line 114 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1259 | { RET_TOK( DLLIMPORT); } |
| 1260 | YY_BREAK |
| 1261 | case 14: |
| 1262 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1263 | #line 115 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1264 | { RET_TOK( DLLEXPORT); } |
| 1265 | YY_BREAK |
| 1266 | case 15: |
| 1267 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1268 | #line 116 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1269 | { RET_TOK( EXTERN_WEAK); } |
| 1270 | YY_BREAK |
| 1271 | case 16: |
| 1272 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1273 | #line 117 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1274 | { RET_TOK( EXTERNAL); } |
| 1275 | YY_BREAK |
| 1276 | case 17: |
| 1277 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1278 | #line 118 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1279 | { RET_TOK( UNINITIALIZED); } // alias for external |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1280 | YY_BREAK |
| 1281 | case 18: |
| 1282 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1283 | #line 119 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1284 | { RET_TOK( IMPLEMENTATION); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1285 | YY_BREAK |
| 1286 | case 19: |
| 1287 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1288 | #line 120 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1289 | { RET_TOK( ZEROINITIALIZER); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1290 | YY_BREAK |
| 1291 | case 20: |
| 1292 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1293 | #line 121 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1294 | { RET_TOK( DOTDOTDOT); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1295 | YY_BREAK |
| 1296 | case 21: |
| 1297 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1298 | #line 122 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1299 | { RET_TOK( UNDEF); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1300 | YY_BREAK |
| 1301 | case 22: |
| 1302 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1303 | #line 123 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1304 | { RET_TOK( NULL_TOK); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1305 | YY_BREAK |
| 1306 | case 23: |
| 1307 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1308 | #line 124 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1309 | { RET_TOK( TO); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1310 | YY_BREAK |
| 1311 | case 24: |
| 1312 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1313 | #line 125 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1314 | { RET_TOK( TAIL); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1315 | YY_BREAK |
| 1316 | case 25: |
| 1317 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1318 | #line 126 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1319 | { RET_TOK( TARGET); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1320 | YY_BREAK |
| 1321 | case 26: |
| 1322 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1323 | #line 127 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1324 | { RET_TOK( TRIPLE); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1325 | YY_BREAK |
| 1326 | case 27: |
| 1327 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1328 | #line 128 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1329 | { RET_TOK( DEPLIBS); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1330 | YY_BREAK |
| 1331 | case 28: |
| 1332 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1333 | #line 129 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1334 | { RET_TOK( ENDIAN); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1335 | YY_BREAK |
| 1336 | case 29: |
| 1337 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1338 | #line 130 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1339 | { RET_TOK( POINTERSIZE); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1340 | YY_BREAK |
| 1341 | case 30: |
| 1342 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1343 | #line 131 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1344 | { RET_TOK( DATALAYOUT); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1345 | YY_BREAK |
| 1346 | case 31: |
| 1347 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1348 | #line 132 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1349 | { RET_TOK( LITTLE); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1350 | YY_BREAK |
| 1351 | case 32: |
| 1352 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1353 | #line 133 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1354 | { RET_TOK( BIG); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1355 | YY_BREAK |
| 1356 | case 33: |
| 1357 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1358 | #line 134 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1359 | { RET_TOK( VOLATILE); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1360 | YY_BREAK |
| 1361 | case 34: |
| 1362 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1363 | #line 135 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1364 | { RET_TOK( ALIGN); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1365 | YY_BREAK |
| 1366 | case 35: |
| 1367 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1368 | #line 136 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1369 | { RET_TOK( SECTION); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1370 | YY_BREAK |
| 1371 | case 36: |
| 1372 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1373 | #line 137 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1374 | { RET_TOK( MODULE); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1375 | YY_BREAK |
| 1376 | case 37: |
| 1377 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1378 | #line 138 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1379 | { RET_TOK( ASM_TOK); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1380 | YY_BREAK |
| 1381 | case 38: |
| 1382 | YY_RULE_SETUP |
Reid Spencer | e77e35e | 2006-12-01 20:26:20 +0000 | [diff] [blame] | 1383 | #line 139 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1384 | { RET_TOK( SIDEEFFECT); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1385 | YY_BREAK |
| 1386 | case 39: |
| 1387 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1388 | #line 141 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1389 | { RET_TOK( CC_TOK); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1390 | YY_BREAK |
| 1391 | case 40: |
| 1392 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1393 | #line 142 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1394 | { RET_TOK( CCC_TOK); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1395 | YY_BREAK |
| 1396 | case 41: |
| 1397 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1398 | #line 143 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1399 | { RET_TOK( CSRETCC_TOK); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1400 | YY_BREAK |
| 1401 | case 42: |
| 1402 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1403 | #line 144 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1404 | { RET_TOK( FASTCC_TOK); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1405 | YY_BREAK |
| 1406 | case 43: |
| 1407 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1408 | #line 145 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1409 | { RET_TOK( COLDCC_TOK); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1410 | YY_BREAK |
| 1411 | case 44: |
| 1412 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1413 | #line 146 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1414 | { RET_TOK( X86_STDCALLCC_TOK); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1415 | YY_BREAK |
| 1416 | case 45: |
| 1417 | YY_RULE_SETUP |
Reid Spencer | e77e35e | 2006-12-01 20:26:20 +0000 | [diff] [blame] | 1418 | #line 147 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1419 | { RET_TOK( X86_FASTCALLCC_TOK); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1420 | YY_BREAK |
| 1421 | case 46: |
| 1422 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1423 | #line 149 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1424 | { RET_TY(VOID,VoidTy,"void",false); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1425 | YY_BREAK |
| 1426 | case 47: |
| 1427 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1428 | #line 150 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1429 | { RET_TY(BOOL,BoolTy,"bool",false); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1430 | YY_BREAK |
| 1431 | case 48: |
| 1432 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1433 | #line 151 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1434 | { RET_TY(SBYTE,SByteTy,"sbyte",true); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1435 | YY_BREAK |
| 1436 | case 49: |
| 1437 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1438 | #line 152 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1439 | { RET_TY(UBYTE,UByteTy,"ubyte",false); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1440 | YY_BREAK |
| 1441 | case 50: |
| 1442 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1443 | #line 153 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1444 | { RET_TY(SHORT,ShortTy,"short",true); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1445 | YY_BREAK |
| 1446 | case 51: |
| 1447 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1448 | #line 154 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1449 | { RET_TY(USHORT,UShortTy,"ushort",false); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1450 | YY_BREAK |
| 1451 | case 52: |
| 1452 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1453 | #line 155 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1454 | { RET_TY(INT,IntTy,"int",true); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1455 | YY_BREAK |
| 1456 | case 53: |
| 1457 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1458 | #line 156 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1459 | { RET_TY(UINT,UIntTy,"uint",false); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1460 | YY_BREAK |
| 1461 | case 54: |
| 1462 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1463 | #line 157 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1464 | { RET_TY(LONG,LongTy,"long",true); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1465 | YY_BREAK |
| 1466 | case 55: |
| 1467 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1468 | #line 158 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1469 | { RET_TY(ULONG,ULongTy,"ulong",false); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1470 | YY_BREAK |
| 1471 | case 56: |
| 1472 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1473 | #line 159 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1474 | { RET_TY(FLOAT,FloatTy,"float",false); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1475 | YY_BREAK |
| 1476 | case 57: |
| 1477 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1478 | #line 160 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1479 | { RET_TY(DOUBLE,DoubleTy,"double",false); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1480 | YY_BREAK |
| 1481 | case 58: |
| 1482 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1483 | #line 161 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1484 | { RET_TY(LABEL,LabelTy,"label",false); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1485 | YY_BREAK |
| 1486 | case 59: |
| 1487 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1488 | #line 162 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1489 | { RET_TOK(OPAQUE); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1490 | YY_BREAK |
| 1491 | case 60: |
| 1492 | YY_RULE_SETUP |
Reid Spencer | e77e35e | 2006-12-01 20:26:20 +0000 | [diff] [blame] | 1493 | #line 163 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1494 | { RET_TOK(TYPE); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1495 | YY_BREAK |
| 1496 | case 61: |
| 1497 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1498 | #line 165 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1499 | { RET_TOK( ADD); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1500 | YY_BREAK |
| 1501 | case 62: |
| 1502 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1503 | #line 166 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1504 | { RET_TOK( SUB); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1505 | YY_BREAK |
| 1506 | case 63: |
| 1507 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1508 | #line 167 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1509 | { RET_TOK( MUL); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1510 | YY_BREAK |
| 1511 | case 64: |
| 1512 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1513 | #line 168 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1514 | { RET_TOK( DIV); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1515 | YY_BREAK |
| 1516 | case 65: |
| 1517 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1518 | #line 169 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1519 | { RET_TOK( UDIV); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1520 | YY_BREAK |
| 1521 | case 66: |
| 1522 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1523 | #line 170 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1524 | { RET_TOK( SDIV); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1525 | YY_BREAK |
| 1526 | case 67: |
| 1527 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1528 | #line 171 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1529 | { RET_TOK( FDIV); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1530 | YY_BREAK |
| 1531 | case 68: |
| 1532 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1533 | #line 172 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1534 | { RET_TOK( REM); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1535 | YY_BREAK |
| 1536 | case 69: |
| 1537 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1538 | #line 173 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1539 | { RET_TOK( UREM); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1540 | YY_BREAK |
| 1541 | case 70: |
| 1542 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1543 | #line 174 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1544 | { RET_TOK( SREM); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1545 | YY_BREAK |
| 1546 | case 71: |
| 1547 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1548 | #line 175 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1549 | { RET_TOK( FREM); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1550 | YY_BREAK |
| 1551 | case 72: |
| 1552 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1553 | #line 176 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1554 | { RET_TOK( AND); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1555 | YY_BREAK |
| 1556 | case 73: |
| 1557 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1558 | #line 177 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1559 | { RET_TOK( OR); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1560 | YY_BREAK |
| 1561 | case 74: |
| 1562 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1563 | #line 178 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1564 | { RET_TOK( XOR); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1565 | YY_BREAK |
| 1566 | case 75: |
| 1567 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1568 | #line 179 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1569 | { RET_TOK( SETNE); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1570 | YY_BREAK |
| 1571 | case 76: |
| 1572 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1573 | #line 180 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1574 | { RET_TOK( SETEQ); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1575 | YY_BREAK |
| 1576 | case 77: |
| 1577 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1578 | #line 181 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1579 | { RET_TOK( SETLT); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1580 | YY_BREAK |
| 1581 | case 78: |
| 1582 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1583 | #line 182 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1584 | { RET_TOK( SETGT); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1585 | YY_BREAK |
| 1586 | case 79: |
| 1587 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1588 | #line 183 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1589 | { RET_TOK( SETLE); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1590 | YY_BREAK |
| 1591 | case 80: |
| 1592 | YY_RULE_SETUP |
Reid Spencer | e77e35e | 2006-12-01 20:26:20 +0000 | [diff] [blame] | 1593 | #line 184 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1594 | { RET_TOK( SETGE); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1595 | YY_BREAK |
| 1596 | case 81: |
| 1597 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1598 | #line 186 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1599 | { RET_TOK( PHI_TOK); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1600 | YY_BREAK |
| 1601 | case 82: |
| 1602 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1603 | #line 187 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1604 | { RET_TOK( CALL); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1605 | YY_BREAK |
| 1606 | case 83: |
| 1607 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1608 | #line 188 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1609 | { RET_TOK( CAST); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1610 | YY_BREAK |
| 1611 | case 84: |
| 1612 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1613 | #line 189 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1614 | { RET_TOK( TRUNC); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1615 | YY_BREAK |
| 1616 | case 85: |
| 1617 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1618 | #line 190 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1619 | { RET_TOK( ZEXT); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1620 | YY_BREAK |
| 1621 | case 86: |
| 1622 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1623 | #line 191 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1624 | { RET_TOK( SEXT); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1625 | YY_BREAK |
| 1626 | case 87: |
| 1627 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1628 | #line 192 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1629 | { RET_TOK( FPTRUNC); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1630 | YY_BREAK |
| 1631 | case 88: |
| 1632 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1633 | #line 193 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1634 | { RET_TOK( FPEXT); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1635 | YY_BREAK |
| 1636 | case 89: |
| 1637 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1638 | #line 194 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1639 | { RET_TOK( FPTOUI); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1640 | YY_BREAK |
| 1641 | case 90: |
| 1642 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1643 | #line 195 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1644 | { RET_TOK( FPTOSI); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1645 | YY_BREAK |
| 1646 | case 91: |
| 1647 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1648 | #line 196 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1649 | { RET_TOK( UITOFP); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1650 | YY_BREAK |
| 1651 | case 92: |
| 1652 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1653 | #line 197 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1654 | { RET_TOK( SITOFP); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1655 | YY_BREAK |
| 1656 | case 93: |
| 1657 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1658 | #line 198 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1659 | { RET_TOK( PTRTOINT); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1660 | YY_BREAK |
| 1661 | case 94: |
| 1662 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1663 | #line 199 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1664 | { RET_TOK( INTTOPTR); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1665 | YY_BREAK |
| 1666 | case 95: |
| 1667 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1668 | #line 200 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1669 | { RET_TOK( BITCAST); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1670 | YY_BREAK |
| 1671 | case 96: |
| 1672 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1673 | #line 201 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1674 | { RET_TOK( SELECT); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1675 | YY_BREAK |
| 1676 | case 97: |
| 1677 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1678 | #line 202 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1679 | { RET_TOK( SHL); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1680 | YY_BREAK |
| 1681 | case 98: |
| 1682 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1683 | #line 203 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1684 | { RET_TOK( SHR); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1685 | YY_BREAK |
| 1686 | case 99: |
| 1687 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1688 | #line 204 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1689 | { RET_TOK( ASHR); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1690 | YY_BREAK |
| 1691 | case 100: |
| 1692 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1693 | #line 205 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1694 | { RET_TOK( LSHR); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1695 | YY_BREAK |
| 1696 | case 101: |
| 1697 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1698 | #line 206 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1699 | { RET_TOK( VAARG); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1700 | YY_BREAK |
| 1701 | case 102: |
| 1702 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1703 | #line 207 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1704 | { RET_TOK( RET); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1705 | YY_BREAK |
| 1706 | case 103: |
| 1707 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1708 | #line 208 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1709 | { RET_TOK( BR); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1710 | YY_BREAK |
| 1711 | case 104: |
| 1712 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1713 | #line 209 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1714 | { RET_TOK( SWITCH); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1715 | YY_BREAK |
| 1716 | case 105: |
| 1717 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1718 | #line 210 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1719 | { RET_TOK( INVOKE); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1720 | YY_BREAK |
| 1721 | case 106: |
| 1722 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1723 | #line 211 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 1724 | { RET_TOK( UNWIND); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1725 | YY_BREAK |
| 1726 | case 107: |
| 1727 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1728 | #line 212 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1729 | { RET_TOK( EXCEPT); } // alias for unwind |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1730 | YY_BREAK |
| 1731 | case 108: |
| 1732 | YY_RULE_SETUP |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 1733 | #line 213 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1734 | { RET_TOK( UNREACHABLE); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1735 | YY_BREAK |
| 1736 | case 109: |
| 1737 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1738 | #line 215 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1739 | { RET_TOK( MALLOC); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1740 | YY_BREAK |
| 1741 | case 110: |
| 1742 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1743 | #line 216 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1744 | { RET_TOK( ALLOCA); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1745 | YY_BREAK |
| 1746 | case 111: |
| 1747 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1748 | #line 217 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1749 | { RET_TOK( FREE); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1750 | YY_BREAK |
| 1751 | case 112: |
| 1752 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1753 | #line 218 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1754 | { RET_TOK( LOAD); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1755 | YY_BREAK |
| 1756 | case 113: |
| 1757 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1758 | #line 219 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1759 | { RET_TOK( STORE); } |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1760 | YY_BREAK |
Reid Spencer | 16244f4 | 2006-12-01 21:10:07 +0000 | [diff] [blame] | 1761 | case 114: |
| 1762 | YY_RULE_SETUP |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 1763 | #line 220 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1764 | { RET_TOK( GETELEMENTPTR); } |
Reid Spencer | 16244f4 | 2006-12-01 21:10:07 +0000 | [diff] [blame] | 1765 | YY_BREAK |
Reid Spencer | f7bde22 | 2006-12-01 22:26:37 +0000 | [diff] [blame] | 1766 | case 115: |
| 1767 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1768 | #line 222 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1769 | { RET_TOK( EXTRACTELEMENT); } |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 1770 | YY_BREAK |
| 1771 | case 116: |
| 1772 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1773 | #line 223 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1774 | { RET_TOK( INSERTELEMENT); } |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 1775 | YY_BREAK |
| 1776 | case 117: |
| 1777 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1778 | #line 224 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1779 | { RET_TOK( SHUFFLEVECTOR); } |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 1780 | YY_BREAK |
| 1781 | case 118: |
| 1782 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1783 | #line 227 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1784 | { RET_TOK( VAR_ID); } |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 1785 | YY_BREAK |
| 1786 | case 119: |
| 1787 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1788 | #line 228 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 1789 | { RET_TOK( LABELSTR); } |
| 1790 | YY_BREAK |
| 1791 | case 120: |
| 1792 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1793 | #line 229 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1794 | { RET_TOK( LABELSTR); } |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 1795 | YY_BREAK |
| 1796 | case 121: |
| 1797 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1798 | #line 230 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1799 | { RET_TOK( STRINGCONSTANT ); } |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 1800 | YY_BREAK |
| 1801 | case 122: |
| 1802 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1803 | #line 231 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1804 | { RET_TOK( EUINT64VAL ); } |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 1805 | YY_BREAK |
| 1806 | case 123: |
| 1807 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1808 | #line 232 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1809 | { RET_TOK( ESINT64VAL ); } |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 1810 | YY_BREAK |
| 1811 | case 124: |
| 1812 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1813 | #line 233 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1814 | { RET_TOK( yytext[0] == 's' ? ESINT64VAL : EUINT64VAL ); } |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 1815 | YY_BREAK |
| 1816 | case 125: |
| 1817 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1818 | #line 234 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1819 | { RET_TOK( UINTVAL); } |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 1820 | YY_BREAK |
| 1821 | case 126: |
| 1822 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1823 | #line 235 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1824 | { RET_TOK( SINTVAL); } |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 1825 | YY_BREAK |
| 1826 | case 127: |
| 1827 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1828 | #line 236 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1829 | { RET_TOK( FPVAL); } |
| 1830 | YY_BREAK |
| 1831 | case 128: |
| 1832 | YY_RULE_SETUP |
| 1833 | #line 237 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | f7bde22 | 2006-12-01 22:26:37 +0000 | [diff] [blame] | 1834 | { RET_TOK( FPVAL); } |
| 1835 | YY_BREAK |
| 1836 | case YY_STATE_EOF(INITIAL): |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1837 | #line 238 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1838 | { |
| 1839 | /* Make sure to free the internal buffers for flex when we are |
| 1840 | * done reading our input! |
| 1841 | */ |
| 1842 | yy_delete_buffer(YY_CURRENT_BUFFER); |
| 1843 | return EOF; |
| 1844 | } |
| 1845 | YY_BREAK |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 1846 | case 129: |
Reid Spencer | 16244f4 | 2006-12-01 21:10:07 +0000 | [diff] [blame] | 1847 | YY_RULE_SETUP |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1848 | #line 246 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
| 1849 | { /* Ignore whitespace */ } |
Reid Spencer | f7bde22 | 2006-12-01 22:26:37 +0000 | [diff] [blame] | 1850 | YY_BREAK |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 1851 | case 130: |
Reid Spencer | f7bde22 | 2006-12-01 22:26:37 +0000 | [diff] [blame] | 1852 | YY_RULE_SETUP |
Reid Spencer | fcb5df8 | 2006-12-01 22:34:43 +0000 | [diff] [blame] | 1853 | #line 247 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1854 | { return yytext[0]; } |
| 1855 | YY_BREAK |
| 1856 | case 131: |
| 1857 | YY_RULE_SETUP |
| 1858 | #line 249 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1859 | YY_FATAL_ERROR( "flex scanner jammed" ); |
| 1860 | YY_BREAK |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 1861 | #line 1862 "UpgradeLexer.cpp" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 1862 | |
| 1863 | case YY_END_OF_BUFFER: |
| 1864 | { |
| 1865 | /* Amount of text matched not including the EOB char. */ |
| 1866 | int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1; |
| 1867 | |
| 1868 | /* Undo the effects of YY_DO_BEFORE_ACTION. */ |
| 1869 | *yy_cp = yy_hold_char; |
| 1870 | YY_RESTORE_YY_MORE_OFFSET |
| 1871 | |
| 1872 | if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW ) |
| 1873 | { |
| 1874 | /* We're scanning a new file or input source. It's |
| 1875 | * possible that this happened because the user |
| 1876 | * just pointed yyin at a new source and called |
| 1877 | * yylex(). If so, then we have to assure |
| 1878 | * consistency between yy_current_buffer and our |
| 1879 | * globals. Here is the right place to do so, because |
| 1880 | * this is the first action (other than possibly a |
| 1881 | * back-up) that will match for the new input source. |
| 1882 | */ |
| 1883 | yy_n_chars = yy_current_buffer->yy_n_chars; |
| 1884 | yy_current_buffer->yy_input_file = yyin; |
| 1885 | yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL; |
| 1886 | } |
| 1887 | |
| 1888 | /* Note that here we test for yy_c_buf_p "<=" to the position |
| 1889 | * of the first EOB in the buffer, since yy_c_buf_p will |
| 1890 | * already have been incremented past the NUL character |
| 1891 | * (since all states make transitions on EOB to the |
| 1892 | * end-of-buffer state). Contrast this with the test |
| 1893 | * in input(). |
| 1894 | */ |
| 1895 | if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] ) |
| 1896 | { /* This was really a NUL. */ |
| 1897 | yy_state_type yy_next_state; |
| 1898 | |
| 1899 | yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text; |
| 1900 | |
| 1901 | yy_current_state = yy_get_previous_state(); |
| 1902 | |
| 1903 | /* Okay, we're now positioned to make the NUL |
| 1904 | * transition. We couldn't have |
| 1905 | * yy_get_previous_state() go ahead and do it |
| 1906 | * for us because it doesn't know how to deal |
| 1907 | * with the possibility of jamming (and we don't |
| 1908 | * want to build jamming into it because then it |
| 1909 | * will run more slowly). |
| 1910 | */ |
| 1911 | |
| 1912 | yy_next_state = yy_try_NUL_trans( yy_current_state ); |
| 1913 | |
| 1914 | yy_bp = yytext_ptr + YY_MORE_ADJ; |
| 1915 | |
| 1916 | if ( yy_next_state ) |
| 1917 | { |
| 1918 | /* Consume the NUL. */ |
| 1919 | yy_cp = ++yy_c_buf_p; |
| 1920 | yy_current_state = yy_next_state; |
| 1921 | goto yy_match; |
| 1922 | } |
| 1923 | |
| 1924 | else |
| 1925 | { |
| 1926 | yy_cp = yy_c_buf_p; |
| 1927 | goto yy_find_action; |
| 1928 | } |
| 1929 | } |
| 1930 | |
| 1931 | else switch ( yy_get_next_buffer() ) |
| 1932 | { |
| 1933 | case EOB_ACT_END_OF_FILE: |
| 1934 | { |
| 1935 | yy_did_buffer_switch_on_eof = 0; |
| 1936 | |
| 1937 | if ( yywrap() ) |
| 1938 | { |
| 1939 | /* Note: because we've taken care in |
| 1940 | * yy_get_next_buffer() to have set up |
| 1941 | * yytext, we can now set up |
| 1942 | * yy_c_buf_p so that if some total |
| 1943 | * hoser (like flex itself) wants to |
| 1944 | * call the scanner after we return the |
| 1945 | * YY_NULL, it'll still work - another |
| 1946 | * YY_NULL will get returned. |
| 1947 | */ |
| 1948 | yy_c_buf_p = yytext_ptr + YY_MORE_ADJ; |
| 1949 | |
| 1950 | yy_act = YY_STATE_EOF(YY_START); |
| 1951 | goto do_action; |
| 1952 | } |
| 1953 | |
| 1954 | else |
| 1955 | { |
| 1956 | if ( ! yy_did_buffer_switch_on_eof ) |
| 1957 | YY_NEW_FILE; |
| 1958 | } |
| 1959 | break; |
| 1960 | } |
| 1961 | |
| 1962 | case EOB_ACT_CONTINUE_SCAN: |
| 1963 | yy_c_buf_p = |
| 1964 | yytext_ptr + yy_amount_of_matched_text; |
| 1965 | |
| 1966 | yy_current_state = yy_get_previous_state(); |
| 1967 | |
| 1968 | yy_cp = yy_c_buf_p; |
| 1969 | yy_bp = yytext_ptr + YY_MORE_ADJ; |
| 1970 | goto yy_match; |
| 1971 | |
| 1972 | case EOB_ACT_LAST_MATCH: |
| 1973 | yy_c_buf_p = |
| 1974 | &yy_current_buffer->yy_ch_buf[yy_n_chars]; |
| 1975 | |
| 1976 | yy_current_state = yy_get_previous_state(); |
| 1977 | |
| 1978 | yy_cp = yy_c_buf_p; |
| 1979 | yy_bp = yytext_ptr + YY_MORE_ADJ; |
| 1980 | goto yy_find_action; |
| 1981 | } |
| 1982 | break; |
| 1983 | } |
| 1984 | |
| 1985 | default: |
| 1986 | YY_FATAL_ERROR( |
| 1987 | "fatal flex scanner internal error--no action found" ); |
| 1988 | } /* end of action switch */ |
| 1989 | } /* end of scanning one token */ |
| 1990 | } /* end of yylex */ |
| 1991 | |
| 1992 | |
| 1993 | /* yy_get_next_buffer - try to read in a new buffer |
| 1994 | * |
| 1995 | * Returns a code representing an action: |
| 1996 | * EOB_ACT_LAST_MATCH - |
| 1997 | * EOB_ACT_CONTINUE_SCAN - continue scanning from current position |
| 1998 | * EOB_ACT_END_OF_FILE - end of file |
| 1999 | */ |
| 2000 | |
| 2001 | static int yy_get_next_buffer() |
| 2002 | { |
| 2003 | register char *dest = yy_current_buffer->yy_ch_buf; |
| 2004 | register char *source = yytext_ptr; |
| 2005 | register int number_to_move, i; |
| 2006 | int ret_val; |
| 2007 | |
| 2008 | if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] ) |
| 2009 | YY_FATAL_ERROR( |
| 2010 | "fatal flex scanner internal error--end of buffer missed" ); |
| 2011 | |
| 2012 | if ( yy_current_buffer->yy_fill_buffer == 0 ) |
| 2013 | { /* Don't try to fill the buffer, so this is an EOF. */ |
| 2014 | if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 ) |
| 2015 | { |
| 2016 | /* We matched a single character, the EOB, so |
| 2017 | * treat this as a final EOF. |
| 2018 | */ |
| 2019 | return EOB_ACT_END_OF_FILE; |
| 2020 | } |
| 2021 | |
| 2022 | else |
| 2023 | { |
| 2024 | /* We matched some text prior to the EOB, first |
| 2025 | * process it. |
| 2026 | */ |
| 2027 | return EOB_ACT_LAST_MATCH; |
| 2028 | } |
| 2029 | } |
| 2030 | |
| 2031 | /* Try to read more data. */ |
| 2032 | |
| 2033 | /* First move last chars to start of buffer. */ |
| 2034 | number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1; |
| 2035 | |
| 2036 | for ( i = 0; i < number_to_move; ++i ) |
| 2037 | *(dest++) = *(source++); |
| 2038 | |
| 2039 | if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING ) |
| 2040 | /* don't do the read, it's not guaranteed to return an EOF, |
| 2041 | * just force an EOF |
| 2042 | */ |
| 2043 | yy_current_buffer->yy_n_chars = yy_n_chars = 0; |
| 2044 | |
| 2045 | else |
| 2046 | { |
| 2047 | int num_to_read = |
| 2048 | yy_current_buffer->yy_buf_size - number_to_move - 1; |
| 2049 | |
| 2050 | while ( num_to_read <= 0 ) |
| 2051 | { /* Not enough room in the buffer - grow it. */ |
| 2052 | #ifdef YY_USES_REJECT |
| 2053 | YY_FATAL_ERROR( |
| 2054 | "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); |
| 2055 | #else |
| 2056 | |
| 2057 | /* just a shorter name for the current buffer */ |
| 2058 | YY_BUFFER_STATE b = yy_current_buffer; |
| 2059 | |
| 2060 | int yy_c_buf_p_offset = |
| 2061 | (int) (yy_c_buf_p - b->yy_ch_buf); |
| 2062 | |
| 2063 | if ( b->yy_is_our_buffer ) |
| 2064 | { |
| 2065 | int new_size = b->yy_buf_size * 2; |
| 2066 | |
| 2067 | if ( new_size <= 0 ) |
| 2068 | b->yy_buf_size += b->yy_buf_size / 8; |
| 2069 | else |
| 2070 | b->yy_buf_size *= 2; |
| 2071 | |
| 2072 | b->yy_ch_buf = (char *) |
| 2073 | /* Include room in for 2 EOB chars. */ |
| 2074 | yy_flex_realloc( (void *) b->yy_ch_buf, |
| 2075 | b->yy_buf_size + 2 ); |
| 2076 | } |
| 2077 | else |
| 2078 | /* Can't grow it, we don't own it. */ |
| 2079 | b->yy_ch_buf = 0; |
| 2080 | |
| 2081 | if ( ! b->yy_ch_buf ) |
| 2082 | YY_FATAL_ERROR( |
| 2083 | "fatal error - scanner input buffer overflow" ); |
| 2084 | |
| 2085 | yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset]; |
| 2086 | |
| 2087 | num_to_read = yy_current_buffer->yy_buf_size - |
| 2088 | number_to_move - 1; |
| 2089 | #endif |
| 2090 | } |
| 2091 | |
| 2092 | if ( num_to_read > YY_READ_BUF_SIZE ) |
| 2093 | num_to_read = YY_READ_BUF_SIZE; |
| 2094 | |
| 2095 | /* Read in more data. */ |
| 2096 | YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]), |
| 2097 | yy_n_chars, num_to_read ); |
| 2098 | |
| 2099 | yy_current_buffer->yy_n_chars = yy_n_chars; |
| 2100 | } |
| 2101 | |
| 2102 | if ( yy_n_chars == 0 ) |
| 2103 | { |
| 2104 | if ( number_to_move == YY_MORE_ADJ ) |
| 2105 | { |
| 2106 | ret_val = EOB_ACT_END_OF_FILE; |
| 2107 | yyrestart( yyin ); |
| 2108 | } |
| 2109 | |
| 2110 | else |
| 2111 | { |
| 2112 | ret_val = EOB_ACT_LAST_MATCH; |
| 2113 | yy_current_buffer->yy_buffer_status = |
| 2114 | YY_BUFFER_EOF_PENDING; |
| 2115 | } |
| 2116 | } |
| 2117 | |
| 2118 | else |
| 2119 | ret_val = EOB_ACT_CONTINUE_SCAN; |
| 2120 | |
| 2121 | yy_n_chars += number_to_move; |
| 2122 | yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR; |
| 2123 | yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR; |
| 2124 | |
| 2125 | yytext_ptr = &yy_current_buffer->yy_ch_buf[0]; |
| 2126 | |
| 2127 | return ret_val; |
| 2128 | } |
| 2129 | |
| 2130 | |
| 2131 | /* yy_get_previous_state - get the state just before the EOB char was reached */ |
| 2132 | |
| 2133 | static yy_state_type yy_get_previous_state() |
| 2134 | { |
| 2135 | register yy_state_type yy_current_state; |
| 2136 | register char *yy_cp; |
| 2137 | |
| 2138 | yy_current_state = yy_start; |
| 2139 | yy_state_ptr = yy_state_buf; |
| 2140 | *yy_state_ptr++ = yy_current_state; |
| 2141 | |
| 2142 | for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp ) |
| 2143 | { |
| 2144 | register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); |
| 2145 | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
| 2146 | { |
| 2147 | yy_current_state = (int) yy_def[yy_current_state]; |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 2148 | if ( yy_current_state >= 567 ) |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 2149 | yy_c = yy_meta[(unsigned int) yy_c]; |
| 2150 | } |
| 2151 | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; |
| 2152 | *yy_state_ptr++ = yy_current_state; |
| 2153 | } |
| 2154 | |
| 2155 | return yy_current_state; |
| 2156 | } |
| 2157 | |
| 2158 | |
| 2159 | /* yy_try_NUL_trans - try to make a transition on the NUL character |
| 2160 | * |
| 2161 | * synopsis |
| 2162 | * next_state = yy_try_NUL_trans( current_state ); |
| 2163 | */ |
| 2164 | |
| 2165 | #ifdef YY_USE_PROTOS |
| 2166 | static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state ) |
| 2167 | #else |
| 2168 | static yy_state_type yy_try_NUL_trans( yy_current_state ) |
| 2169 | yy_state_type yy_current_state; |
| 2170 | #endif |
| 2171 | { |
| 2172 | register int yy_is_jam; |
| 2173 | |
| 2174 | register YY_CHAR yy_c = 1; |
| 2175 | while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) |
| 2176 | { |
| 2177 | yy_current_state = (int) yy_def[yy_current_state]; |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 2178 | if ( yy_current_state >= 567 ) |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 2179 | yy_c = yy_meta[(unsigned int) yy_c]; |
| 2180 | } |
| 2181 | yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 2182 | yy_is_jam = (yy_current_state == 566); |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 2183 | if ( ! yy_is_jam ) |
| 2184 | *yy_state_ptr++ = yy_current_state; |
| 2185 | |
| 2186 | return yy_is_jam ? 0 : yy_current_state; |
| 2187 | } |
| 2188 | |
| 2189 | |
| 2190 | #ifndef YY_NO_UNPUT |
| 2191 | #ifdef YY_USE_PROTOS |
| 2192 | static inline void yyunput( int c, register char *yy_bp ) |
| 2193 | #else |
| 2194 | static inline void yyunput( c, yy_bp ) |
| 2195 | int c; |
| 2196 | register char *yy_bp; |
| 2197 | #endif |
| 2198 | { |
| 2199 | register char *yy_cp = yy_c_buf_p; |
| 2200 | |
| 2201 | /* undo effects of setting up yytext */ |
| 2202 | *yy_cp = yy_hold_char; |
| 2203 | |
| 2204 | if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) |
| 2205 | { /* need to shift things up to make room */ |
| 2206 | /* +2 for EOB chars. */ |
| 2207 | register int number_to_move = yy_n_chars + 2; |
| 2208 | register char *dest = &yy_current_buffer->yy_ch_buf[ |
| 2209 | yy_current_buffer->yy_buf_size + 2]; |
| 2210 | register char *source = |
| 2211 | &yy_current_buffer->yy_ch_buf[number_to_move]; |
| 2212 | |
| 2213 | while ( source > yy_current_buffer->yy_ch_buf ) |
| 2214 | *--dest = *--source; |
| 2215 | |
| 2216 | yy_cp += (int) (dest - source); |
| 2217 | yy_bp += (int) (dest - source); |
| 2218 | yy_current_buffer->yy_n_chars = |
| 2219 | yy_n_chars = yy_current_buffer->yy_buf_size; |
| 2220 | |
| 2221 | if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 ) |
| 2222 | YY_FATAL_ERROR( "flex scanner push-back overflow" ); |
| 2223 | } |
| 2224 | |
| 2225 | *--yy_cp = (char) c; |
| 2226 | |
| 2227 | if ( c == '\n' ) |
| 2228 | --yylineno; |
| 2229 | |
| 2230 | yytext_ptr = yy_bp; |
| 2231 | yy_hold_char = *yy_cp; |
| 2232 | yy_c_buf_p = yy_cp; |
| 2233 | } |
| 2234 | #endif /* ifndef YY_NO_UNPUT */ |
| 2235 | |
| 2236 | |
| 2237 | #ifndef YY_NO_INPUT |
| 2238 | #ifdef __cplusplus |
| 2239 | static int yyinput() |
| 2240 | #else |
| 2241 | static int input() |
| 2242 | #endif |
| 2243 | { |
| 2244 | int c; |
| 2245 | |
| 2246 | *yy_c_buf_p = yy_hold_char; |
| 2247 | |
| 2248 | if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR ) |
| 2249 | { |
| 2250 | /* yy_c_buf_p now points to the character we want to return. |
| 2251 | * If this occurs *before* the EOB characters, then it's a |
| 2252 | * valid NUL; if not, then we've hit the end of the buffer. |
| 2253 | */ |
| 2254 | if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] ) |
| 2255 | /* This was really a NUL. */ |
| 2256 | *yy_c_buf_p = '\0'; |
| 2257 | |
| 2258 | else |
| 2259 | { /* need more input */ |
| 2260 | int offset = yy_c_buf_p - yytext_ptr; |
| 2261 | ++yy_c_buf_p; |
| 2262 | |
| 2263 | switch ( yy_get_next_buffer() ) |
| 2264 | { |
| 2265 | case EOB_ACT_LAST_MATCH: |
| 2266 | /* This happens because yy_g_n_b() |
| 2267 | * sees that we've accumulated a |
| 2268 | * token and flags that we need to |
| 2269 | * try matching the token before |
| 2270 | * proceeding. But for input(), |
| 2271 | * there's no matching to consider. |
| 2272 | * So convert the EOB_ACT_LAST_MATCH |
| 2273 | * to EOB_ACT_END_OF_FILE. |
| 2274 | */ |
| 2275 | |
| 2276 | /* Reset buffer status. */ |
| 2277 | yyrestart( yyin ); |
| 2278 | |
| 2279 | /* fall through */ |
| 2280 | |
| 2281 | case EOB_ACT_END_OF_FILE: |
| 2282 | { |
| 2283 | if ( yywrap() ) |
| 2284 | return EOF; |
| 2285 | |
| 2286 | if ( ! yy_did_buffer_switch_on_eof ) |
| 2287 | YY_NEW_FILE; |
| 2288 | #ifdef __cplusplus |
| 2289 | return yyinput(); |
| 2290 | #else |
| 2291 | return input(); |
| 2292 | #endif |
| 2293 | } |
| 2294 | |
| 2295 | case EOB_ACT_CONTINUE_SCAN: |
| 2296 | yy_c_buf_p = yytext_ptr + offset; |
| 2297 | break; |
| 2298 | } |
| 2299 | } |
| 2300 | } |
| 2301 | |
| 2302 | c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */ |
| 2303 | *yy_c_buf_p = '\0'; /* preserve yytext */ |
| 2304 | yy_hold_char = *++yy_c_buf_p; |
| 2305 | |
| 2306 | if ( c == '\n' ) |
| 2307 | ++yylineno; |
| 2308 | |
| 2309 | return c; |
| 2310 | } |
| 2311 | #endif /* YY_NO_INPUT */ |
| 2312 | |
| 2313 | #ifdef YY_USE_PROTOS |
| 2314 | void yyrestart( FILE *input_file ) |
| 2315 | #else |
| 2316 | void yyrestart( input_file ) |
| 2317 | FILE *input_file; |
| 2318 | #endif |
| 2319 | { |
| 2320 | if ( ! yy_current_buffer ) |
| 2321 | yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); |
| 2322 | |
| 2323 | yy_init_buffer( yy_current_buffer, input_file ); |
| 2324 | yy_load_buffer_state(); |
| 2325 | } |
| 2326 | |
| 2327 | |
| 2328 | #ifdef YY_USE_PROTOS |
| 2329 | void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer ) |
| 2330 | #else |
| 2331 | void yy_switch_to_buffer( new_buffer ) |
| 2332 | YY_BUFFER_STATE new_buffer; |
| 2333 | #endif |
| 2334 | { |
| 2335 | if ( yy_current_buffer == new_buffer ) |
| 2336 | return; |
| 2337 | |
| 2338 | if ( yy_current_buffer ) |
| 2339 | { |
| 2340 | /* Flush out information for old buffer. */ |
| 2341 | *yy_c_buf_p = yy_hold_char; |
| 2342 | yy_current_buffer->yy_buf_pos = yy_c_buf_p; |
| 2343 | yy_current_buffer->yy_n_chars = yy_n_chars; |
| 2344 | } |
| 2345 | |
| 2346 | yy_current_buffer = new_buffer; |
| 2347 | yy_load_buffer_state(); |
| 2348 | |
| 2349 | /* We don't actually know whether we did this switch during |
| 2350 | * EOF (yywrap()) processing, but the only time this flag |
| 2351 | * is looked at is after yywrap() is called, so it's safe |
| 2352 | * to go ahead and always set it. |
| 2353 | */ |
| 2354 | yy_did_buffer_switch_on_eof = 1; |
| 2355 | } |
| 2356 | |
| 2357 | |
| 2358 | #ifdef YY_USE_PROTOS |
| 2359 | void yy_load_buffer_state( void ) |
| 2360 | #else |
| 2361 | void yy_load_buffer_state() |
| 2362 | #endif |
| 2363 | { |
| 2364 | yy_n_chars = yy_current_buffer->yy_n_chars; |
| 2365 | yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos; |
| 2366 | yyin = yy_current_buffer->yy_input_file; |
| 2367 | yy_hold_char = *yy_c_buf_p; |
| 2368 | } |
| 2369 | |
| 2370 | |
| 2371 | #ifdef YY_USE_PROTOS |
| 2372 | YY_BUFFER_STATE yy_create_buffer( FILE *file, int size ) |
| 2373 | #else |
| 2374 | YY_BUFFER_STATE yy_create_buffer( file, size ) |
| 2375 | FILE *file; |
| 2376 | int size; |
| 2377 | #endif |
| 2378 | { |
| 2379 | YY_BUFFER_STATE b; |
| 2380 | |
| 2381 | b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); |
| 2382 | if ( ! b ) |
| 2383 | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); |
| 2384 | |
| 2385 | b->yy_buf_size = size; |
| 2386 | |
| 2387 | /* yy_ch_buf has to be 2 characters longer than the size given because |
| 2388 | * we need to put in 2 end-of-buffer characters. |
| 2389 | */ |
| 2390 | b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 ); |
| 2391 | if ( ! b->yy_ch_buf ) |
| 2392 | YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); |
| 2393 | |
| 2394 | b->yy_is_our_buffer = 1; |
| 2395 | |
| 2396 | yy_init_buffer( b, file ); |
| 2397 | |
| 2398 | return b; |
| 2399 | } |
| 2400 | |
| 2401 | |
| 2402 | #ifdef YY_USE_PROTOS |
| 2403 | void yy_delete_buffer( YY_BUFFER_STATE b ) |
| 2404 | #else |
| 2405 | void yy_delete_buffer( b ) |
| 2406 | YY_BUFFER_STATE b; |
| 2407 | #endif |
| 2408 | { |
| 2409 | if ( ! b ) |
| 2410 | return; |
| 2411 | |
| 2412 | if ( b == yy_current_buffer ) |
| 2413 | yy_current_buffer = (YY_BUFFER_STATE) 0; |
| 2414 | |
| 2415 | if ( b->yy_is_our_buffer ) |
| 2416 | yy_flex_free( (void *) b->yy_ch_buf ); |
| 2417 | |
| 2418 | yy_flex_free( (void *) b ); |
| 2419 | } |
| 2420 | |
| 2421 | |
| 2422 | |
| 2423 | #ifdef YY_USE_PROTOS |
| 2424 | void yy_init_buffer( YY_BUFFER_STATE b, FILE *file ) |
| 2425 | #else |
| 2426 | void yy_init_buffer( b, file ) |
| 2427 | YY_BUFFER_STATE b; |
| 2428 | FILE *file; |
| 2429 | #endif |
| 2430 | |
| 2431 | |
| 2432 | { |
| 2433 | yy_flush_buffer( b ); |
| 2434 | |
| 2435 | b->yy_input_file = file; |
| 2436 | b->yy_fill_buffer = 1; |
| 2437 | |
| 2438 | #if YY_ALWAYS_INTERACTIVE |
| 2439 | b->yy_is_interactive = 1; |
| 2440 | #else |
| 2441 | #if YY_NEVER_INTERACTIVE |
| 2442 | b->yy_is_interactive = 0; |
| 2443 | #else |
| 2444 | b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; |
| 2445 | #endif |
| 2446 | #endif |
| 2447 | } |
| 2448 | |
| 2449 | |
| 2450 | #ifdef YY_USE_PROTOS |
| 2451 | void yy_flush_buffer( YY_BUFFER_STATE b ) |
| 2452 | #else |
| 2453 | void yy_flush_buffer( b ) |
| 2454 | YY_BUFFER_STATE b; |
| 2455 | #endif |
| 2456 | |
| 2457 | { |
| 2458 | if ( ! b ) |
| 2459 | return; |
| 2460 | |
| 2461 | b->yy_n_chars = 0; |
| 2462 | |
| 2463 | /* We always need two end-of-buffer characters. The first causes |
| 2464 | * a transition to the end-of-buffer state. The second causes |
| 2465 | * a jam in that state. |
| 2466 | */ |
| 2467 | b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; |
| 2468 | b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; |
| 2469 | |
| 2470 | b->yy_buf_pos = &b->yy_ch_buf[0]; |
| 2471 | |
| 2472 | b->yy_at_bol = 1; |
| 2473 | b->yy_buffer_status = YY_BUFFER_NEW; |
| 2474 | |
| 2475 | if ( b == yy_current_buffer ) |
| 2476 | yy_load_buffer_state(); |
| 2477 | } |
| 2478 | |
| 2479 | |
| 2480 | #ifndef YY_NO_SCAN_BUFFER |
| 2481 | #ifdef YY_USE_PROTOS |
| 2482 | YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size ) |
| 2483 | #else |
| 2484 | YY_BUFFER_STATE yy_scan_buffer( base, size ) |
| 2485 | char *base; |
| 2486 | yy_size_t size; |
| 2487 | #endif |
| 2488 | { |
| 2489 | YY_BUFFER_STATE b; |
| 2490 | |
| 2491 | if ( size < 2 || |
| 2492 | base[size-2] != YY_END_OF_BUFFER_CHAR || |
| 2493 | base[size-1] != YY_END_OF_BUFFER_CHAR ) |
| 2494 | /* They forgot to leave room for the EOB's. */ |
| 2495 | return 0; |
| 2496 | |
| 2497 | b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) ); |
| 2498 | if ( ! b ) |
| 2499 | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); |
| 2500 | |
| 2501 | b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ |
| 2502 | b->yy_buf_pos = b->yy_ch_buf = base; |
| 2503 | b->yy_is_our_buffer = 0; |
| 2504 | b->yy_input_file = 0; |
| 2505 | b->yy_n_chars = b->yy_buf_size; |
| 2506 | b->yy_is_interactive = 0; |
| 2507 | b->yy_at_bol = 1; |
| 2508 | b->yy_fill_buffer = 0; |
| 2509 | b->yy_buffer_status = YY_BUFFER_NEW; |
| 2510 | |
| 2511 | yy_switch_to_buffer( b ); |
| 2512 | |
| 2513 | return b; |
| 2514 | } |
| 2515 | #endif |
| 2516 | |
| 2517 | |
| 2518 | #ifndef YY_NO_SCAN_STRING |
| 2519 | #ifdef YY_USE_PROTOS |
| 2520 | YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str ) |
| 2521 | #else |
| 2522 | YY_BUFFER_STATE yy_scan_string( yy_str ) |
| 2523 | yyconst char *yy_str; |
| 2524 | #endif |
| 2525 | { |
| 2526 | int len; |
| 2527 | for ( len = 0; yy_str[len]; ++len ) |
| 2528 | ; |
| 2529 | |
| 2530 | return yy_scan_bytes( yy_str, len ); |
| 2531 | } |
| 2532 | #endif |
| 2533 | |
| 2534 | |
| 2535 | #ifndef YY_NO_SCAN_BYTES |
| 2536 | #ifdef YY_USE_PROTOS |
| 2537 | YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len ) |
| 2538 | #else |
| 2539 | YY_BUFFER_STATE yy_scan_bytes( bytes, len ) |
| 2540 | yyconst char *bytes; |
| 2541 | int len; |
| 2542 | #endif |
| 2543 | { |
| 2544 | YY_BUFFER_STATE b; |
| 2545 | char *buf; |
| 2546 | yy_size_t n; |
| 2547 | int i; |
| 2548 | |
| 2549 | /* Get memory for full buffer, including space for trailing EOB's. */ |
| 2550 | n = len + 2; |
| 2551 | buf = (char *) yy_flex_alloc( n ); |
| 2552 | if ( ! buf ) |
| 2553 | YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); |
| 2554 | |
| 2555 | for ( i = 0; i < len; ++i ) |
| 2556 | buf[i] = bytes[i]; |
| 2557 | |
| 2558 | buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR; |
| 2559 | |
| 2560 | b = yy_scan_buffer( buf, n ); |
| 2561 | if ( ! b ) |
| 2562 | YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); |
| 2563 | |
| 2564 | /* It's okay to grow etc. this buffer, and we should throw it |
| 2565 | * away when we're done. |
| 2566 | */ |
| 2567 | b->yy_is_our_buffer = 1; |
| 2568 | |
| 2569 | return b; |
| 2570 | } |
| 2571 | #endif |
| 2572 | |
| 2573 | |
| 2574 | #ifndef YY_NO_PUSH_STATE |
| 2575 | #ifdef YY_USE_PROTOS |
| 2576 | static void yy_push_state( int new_state ) |
| 2577 | #else |
| 2578 | static void yy_push_state( new_state ) |
| 2579 | int new_state; |
| 2580 | #endif |
| 2581 | { |
| 2582 | if ( yy_start_stack_ptr >= yy_start_stack_depth ) |
| 2583 | { |
| 2584 | yy_size_t new_size; |
| 2585 | |
| 2586 | yy_start_stack_depth += YY_START_STACK_INCR; |
| 2587 | new_size = yy_start_stack_depth * sizeof( int ); |
| 2588 | |
| 2589 | if ( ! yy_start_stack ) |
| 2590 | yy_start_stack = (int *) yy_flex_alloc( new_size ); |
| 2591 | |
| 2592 | else |
| 2593 | yy_start_stack = (int *) yy_flex_realloc( |
| 2594 | (void *) yy_start_stack, new_size ); |
| 2595 | |
| 2596 | if ( ! yy_start_stack ) |
| 2597 | YY_FATAL_ERROR( |
| 2598 | "out of memory expanding start-condition stack" ); |
| 2599 | } |
| 2600 | |
| 2601 | yy_start_stack[yy_start_stack_ptr++] = YY_START; |
| 2602 | |
| 2603 | BEGIN(new_state); |
| 2604 | } |
| 2605 | #endif |
| 2606 | |
| 2607 | |
| 2608 | #ifndef YY_NO_POP_STATE |
| 2609 | static void yy_pop_state() |
| 2610 | { |
| 2611 | if ( --yy_start_stack_ptr < 0 ) |
| 2612 | YY_FATAL_ERROR( "start-condition stack underflow" ); |
| 2613 | |
| 2614 | BEGIN(yy_start_stack[yy_start_stack_ptr]); |
| 2615 | } |
| 2616 | #endif |
| 2617 | |
| 2618 | |
| 2619 | #ifndef YY_NO_TOP_STATE |
| 2620 | static int yy_top_state() |
| 2621 | { |
| 2622 | return yy_start_stack[yy_start_stack_ptr - 1]; |
| 2623 | } |
| 2624 | #endif |
| 2625 | |
| 2626 | #ifndef YY_EXIT_FAILURE |
| 2627 | #define YY_EXIT_FAILURE 2 |
| 2628 | #endif |
| 2629 | |
| 2630 | #ifdef YY_USE_PROTOS |
| 2631 | static void yy_fatal_error( yyconst char msg[] ) |
| 2632 | #else |
| 2633 | static void yy_fatal_error( msg ) |
| 2634 | char msg[]; |
| 2635 | #endif |
| 2636 | { |
| 2637 | (void) fprintf( stderr, "%s\n", msg ); |
| 2638 | exit( YY_EXIT_FAILURE ); |
| 2639 | } |
| 2640 | |
| 2641 | |
| 2642 | |
| 2643 | /* Redefine yyless() so it works in section 3 code. */ |
| 2644 | |
| 2645 | #undef yyless |
| 2646 | #define yyless(n) \ |
| 2647 | do \ |
| 2648 | { \ |
| 2649 | /* Undo effects of setting up yytext. */ \ |
| 2650 | yytext[yyleng] = yy_hold_char; \ |
| 2651 | yy_c_buf_p = yytext + n; \ |
| 2652 | yy_hold_char = *yy_c_buf_p; \ |
| 2653 | *yy_c_buf_p = '\0'; \ |
| 2654 | yyleng = n; \ |
| 2655 | } \ |
| 2656 | while ( 0 ) |
| 2657 | |
| 2658 | |
| 2659 | /* Internal utility routines. */ |
| 2660 | |
| 2661 | #ifndef yytext_ptr |
| 2662 | #ifdef YY_USE_PROTOS |
| 2663 | static void yy_flex_strncpy( char *s1, yyconst char *s2, int n ) |
| 2664 | #else |
| 2665 | static void yy_flex_strncpy( s1, s2, n ) |
| 2666 | char *s1; |
| 2667 | yyconst char *s2; |
| 2668 | int n; |
| 2669 | #endif |
| 2670 | { |
| 2671 | register int i; |
| 2672 | for ( i = 0; i < n; ++i ) |
| 2673 | s1[i] = s2[i]; |
| 2674 | } |
| 2675 | #endif |
| 2676 | |
| 2677 | #ifdef YY_NEED_STRLEN |
| 2678 | #ifdef YY_USE_PROTOS |
| 2679 | static int yy_flex_strlen( yyconst char *s ) |
| 2680 | #else |
| 2681 | static int yy_flex_strlen( s ) |
| 2682 | yyconst char *s; |
| 2683 | #endif |
| 2684 | { |
| 2685 | register int n; |
| 2686 | for ( n = 0; s[n]; ++n ) |
| 2687 | ; |
| 2688 | |
| 2689 | return n; |
| 2690 | } |
| 2691 | #endif |
| 2692 | |
| 2693 | |
| 2694 | #ifdef YY_USE_PROTOS |
| 2695 | static void *yy_flex_alloc( yy_size_t size ) |
| 2696 | #else |
| 2697 | static void *yy_flex_alloc( size ) |
| 2698 | yy_size_t size; |
| 2699 | #endif |
| 2700 | { |
| 2701 | return (void *) malloc( size ); |
| 2702 | } |
| 2703 | |
| 2704 | #ifdef YY_USE_PROTOS |
| 2705 | static inline void *yy_flex_realloc( void *ptr, yy_size_t size ) |
| 2706 | #else |
| 2707 | static inline void *yy_flex_realloc( ptr, size ) |
| 2708 | void *ptr; |
| 2709 | yy_size_t size; |
| 2710 | #endif |
| 2711 | { |
| 2712 | /* The cast to (char *) in the following accommodates both |
| 2713 | * implementations that use char* generic pointers, and those |
| 2714 | * that use void* generic pointers. It works with the latter |
| 2715 | * because both ANSI C and C++ allow castless assignment from |
| 2716 | * any pointer type to void*, and deal with argument conversions |
| 2717 | * as though doing an assignment. |
| 2718 | */ |
| 2719 | return (void *) realloc( (char *) ptr, size ); |
| 2720 | } |
| 2721 | |
| 2722 | #ifdef YY_USE_PROTOS |
| 2723 | static void yy_flex_free( void *ptr ) |
| 2724 | #else |
| 2725 | static void yy_flex_free( ptr ) |
| 2726 | void *ptr; |
| 2727 | #endif |
| 2728 | { |
| 2729 | free( ptr ); |
| 2730 | } |
| 2731 | |
| 2732 | #if YY_MAIN |
| 2733 | int main() |
| 2734 | { |
| 2735 | yylex(); |
| 2736 | return 0; |
| 2737 | } |
| 2738 | #endif |
Reid Spencer | 7872074 | 2006-12-02 20:21:22 +0000 | [diff] [blame^] | 2739 | #line 249 "/proj/llvm/llvm-4/tools/llvm-upgrade/UpgradeLexer.l" |
Reid Spencer | e7c3c60 | 2006-11-30 06:36:44 +0000 | [diff] [blame] | 2740 | |