blob: 96d1b8bb42ae67cf814a63e3f1f3ba16fa917403 [file] [log] [blame]
Reid Spencere7c3c602006-11-30 06:36:44 +00001#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"
Reid Spencer319a7302007-01-05 17:20:02 +000020/* A lexical scanner generated by flex*/
Reid Spencere7c3c602006-11-30 06:36:44 +000021
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>
Reid Spencer319a7302007-01-05 17:20:02 +000031#include <unistd.h>
Reid Spencere7c3c602006-11-30 06:36:44 +000032
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
118typedef struct yy_buffer_state *YY_BUFFER_STATE;
119
120extern int yyleng;
121extern 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
Reid Spencer319a7302007-01-05 17:20:02 +0000156/* 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
Reid Spencere7c3c602006-11-30 06:36:44 +0000165/* 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 */
169typedef unsigned int yy_size_t;
170
171
172struct 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
229static 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. */
239static char yy_hold_char;
240
241static int yy_n_chars; /* number of characters read into yy_ch_buf */
242
243
244int yyleng;
245
246/* Points to current character in buffer. */
247static char *yy_c_buf_p = (char *) 0;
248static int yy_init = 1; /* whether we need to initialize */
249static 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 */
254static int yy_did_buffer_switch_on_eof;
255
256void yyrestart YY_PROTO(( FILE *input_file ));
257
258void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
259void yy_load_buffer_state YY_PROTO(( void ));
260YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
261void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
262void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
263void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b ));
264#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer )
265
266YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size ));
267YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str ));
268YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len ));
269
270static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
Reid Spencer319a7302007-01-05 17:20:02 +0000271static inline void *yy_flex_realloc YY_PROTO(( void *, yy_size_t )) YY_MAY_BE_UNUSED;
Reid Spencere7c3c602006-11-30 06:36:44 +0000272static 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
297typedef unsigned char YY_CHAR;
298FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
299typedef int yy_state_type;
300extern int yylineno;
301int yylineno = 1;
302extern char *yytext;
303#define yytext_ptr yytext
304
305static yy_state_type yy_get_previous_state YY_PROTO(( void ));
306static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
307static int yy_get_next_buffer YY_PROTO(( void ));
308static 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 Spencer71d2ec92006-12-31 06:02:26 +0000320#define YY_NUM_RULES 157
321#define YY_END_OF_BUFFER 158
322static yyconst short int yy_acclist[235] =
Reid Spencere7c3c602006-11-30 06:36:44 +0000323 { 0,
Reid Spencer71d2ec92006-12-31 06:02:26 +0000324 158, 156, 157, 155, 156, 157, 155, 157, 156, 157,
325 156, 157, 156, 157, 156, 157, 156, 157, 156, 157,
326 148, 156, 157, 148, 156, 157, 1, 156, 157, 156,
327 157, 156, 157, 156, 157, 156, 157, 156, 157, 156,
328 157, 156, 157, 156, 157, 156, 157, 156, 157, 156,
329 157, 156, 157, 156, 157, 156, 157, 156, 157, 156,
330 157, 156, 157, 156, 157, 156, 157, 156, 157, 156,
331 157, 147, 145, 144, 144, 151, 149, 153, 148, 1,
332 129, 39, 87, 56, 88, 77, 23, 147, 144, 144,
333 152, 153, 20, 153, 154, 65, 76, 37, 32, 40,
Reid Spencere7c3c602006-11-30 06:36:44 +0000334
Reid Spencer71d2ec92006-12-31 06:02:26 +0000335 68, 3, 57, 58, 59, 52, 67, 93, 98, 96,
336 97, 95, 94, 99, 107, 72, 128, 92, 90, 123,
337 124, 91, 89, 66, 101, 106, 104, 105, 103, 102,
338 100, 78, 146, 153, 153, 125, 47, 108, 109, 86,
339 71, 137, 75, 85, 138, 54, 126, 22, 150, 70,
340 112, 74, 24, 4, 64, 69, 53, 73, 46, 11,
341 111, 153, 34, 2, 5, 60, 114, 62, 48, 80,
342 84, 82, 83, 81, 79, 50, 139, 110, 49, 55,
343 21, 136, 43, 61, 28, 133, 42, 116, 115, 7,
344 131, 31, 135, 36, 63, 122, 118, 130, 25, 26,
Reid Spencere7c3c602006-11-30 06:36:44 +0000345
Reid Spencer71d2ec92006-12-31 06:02:26 +0000346 117, 132, 51, 127, 121, 41, 6, 27, 113, 35,
347 8, 16, 9, 120, 10, 119, 33, 12, 14, 13,
348 30, 38, 15, 29, 134, 140, 142, 143, 17, 44,
349 141, 18, 45, 19
Reid Spencere7c3c602006-11-30 06:36:44 +0000350 } ;
351
Reid Spencer71d2ec92006-12-31 06:02:26 +0000352static yyconst short int yy_accept[609] =
Reid Spencere7c3c602006-11-30 06:36:44 +0000353 { 0,
354 1, 1, 1, 2, 4, 7, 9, 11, 13, 15,
355 17, 19, 21, 24, 27, 30, 32, 34, 36, 38,
356 40, 42, 44, 46, 48, 50, 52, 54, 56, 58,
357 60, 62, 64, 66, 68, 70, 72, 72, 73, 73,
358 74, 75, 76, 77, 77, 78, 78, 79, 80, 80,
359 81, 81, 81, 81, 81, 81, 81, 81, 81, 82,
360 82, 83, 83, 83, 83, 83, 83, 83, 83, 83,
Reid Spencere7c3c602006-11-30 06:36:44 +0000361 84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
Reid Spencer71d2ec92006-12-31 06:02:26 +0000362 84, 84, 84, 85, 85, 85, 85, 85, 85, 85,
363 85, 85, 85, 85, 86, 86, 86, 86, 86, 86,
Reid Spencere7c3c602006-11-30 06:36:44 +0000364
Reid Spencer71d2ec92006-12-31 06:02:26 +0000365 86, 87, 87, 87, 87, 87, 87, 87, 87, 87,
366 87, 87, 87, 87, 87, 87, 87, 87, 87, 88,
367 88, 88, 88, 88, 88, 88, 88, 88, 88, 88,
368 88, 88, 88, 88, 88, 88, 88, 89, 90, 92,
369 93, 94, 95, 95, 96, 97, 97, 97, 98, 98,
370 98, 99, 99, 100, 100, 100, 100, 100, 101, 101,
371 101, 101, 101, 101, 101, 102, 102, 102, 103, 103,
372 103, 103, 103, 103, 103, 103, 103, 103, 103, 103,
373 103, 104, 105, 106, 106, 106, 106, 107, 107, 107,
374 107, 107, 107, 107, 107, 107, 107, 108, 108, 109,
Reid Spencere7c3c602006-11-30 06:36:44 +0000375
Reid Spencer71d2ec92006-12-31 06:02:26 +0000376 110, 111, 112, 113, 114, 114, 115, 116, 116, 116,
377 117, 118, 118, 118, 118, 118, 118, 118, 118, 119,
378 120, 121, 121, 122, 122, 122, 122, 123, 124, 124,
379 124, 125, 125, 125, 125, 125, 125, 125, 125, 125,
380 126, 127, 128, 128, 128, 129, 129, 130, 130, 131,
381 131, 132, 132, 132, 132, 132, 132, 132, 132, 132,
382 132, 133, 133, 133, 134, 135, 135, 135, 135, 136,
383 136, 136, 136, 137, 137, 137, 138, 139, 140, 140,
384 140, 140, 140, 140, 140, 140, 140, 140, 140, 140,
385 140, 140, 140, 140, 141, 142, 142, 142, 142, 142,
Reid Spencere7c3c602006-11-30 06:36:44 +0000386
Reid Spencer71d2ec92006-12-31 06:02:26 +0000387 143, 144, 144, 144, 145, 145, 145, 145, 145, 145,
388 145, 145, 145, 146, 147, 148, 148, 148, 149, 149,
389 149, 149, 150, 150, 151, 151, 151, 151, 151, 151,
390 151, 152, 152, 152, 152, 152, 153, 153, 153, 154,
391 154, 154, 155, 155, 156, 156, 157, 158, 158, 158,
392 158, 158, 158, 158, 159, 159, 159, 160, 160, 161,
393 161, 161, 162, 163, 164, 164, 164, 165, 165, 165,
394 165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
395 165, 165, 166, 166, 167, 168, 168, 168, 168, 168,
396 168, 168, 168, 168, 168, 168, 169, 169, 169, 169,
Reid Spencere7c3c602006-11-30 06:36:44 +0000397
Reid Spencer71d2ec92006-12-31 06:02:26 +0000398 169, 169, 169, 169, 170, 170, 170, 171, 172, 173,
399 174, 175, 176, 177, 177, 177, 177, 178, 178, 178,
400 178, 179, 180, 180, 181, 182, 182, 182, 182, 182,
401 182, 182, 182, 182, 182, 183, 183, 183, 184, 184,
402 184, 184, 184, 184, 184, 184, 185, 186, 187, 187,
403 187, 188, 189, 190, 190, 190, 191, 191, 191, 191,
404 191, 192, 192, 193, 194, 195, 196, 196, 196, 196,
405 197, 197, 197, 198, 199, 200, 201, 202, 202, 202,
406 203, 204, 205, 205, 205, 205, 205, 205, 206, 206,
407 207, 207, 208, 209, 209, 209, 209, 209, 209, 210,
Reid Spencere7c3c602006-11-30 06:36:44 +0000408
Reid Spencer71d2ec92006-12-31 06:02:26 +0000409 210, 210, 210, 210, 210, 210, 210, 210, 211, 211,
410 211, 211, 211, 211, 211, 211, 211, 211, 212, 212,
411 212, 212, 212, 213, 213, 213, 213, 213, 214, 215,
412 216, 216, 217, 217, 217, 217, 217, 218, 218, 218,
413 218, 219, 219, 220, 221, 221, 221, 221, 221, 221,
414 221, 221, 221, 221, 221, 221, 221, 221, 222, 222,
415 222, 222, 222, 222, 222, 222, 223, 223, 223, 223,
416 223, 223, 224, 224, 224, 224, 224, 225, 225, 225,
417 226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
418 226, 226, 226, 226, 227, 227, 228, 229, 230, 230,
Reid Spencer229e9362006-12-02 22:14:11 +0000419
Reid Spencer71d2ec92006-12-31 06:02:26 +0000420 231, 231, 232, 233, 234, 234, 235, 235
Reid Spencere7c3c602006-11-30 06:36:44 +0000421 } ;
422
423static yyconst int yy_ec[256] =
424 { 0,
425 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
426 1, 1, 2, 1, 1, 1, 1, 1, 1, 1,
427 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
428 1, 2, 1, 4, 1, 5, 6, 1, 1, 1,
Reid Spencer71d2ec92006-12-31 06:02:26 +0000429 1, 1, 7, 1, 8, 9, 1, 10, 11, 12,
430 13, 14, 15, 16, 15, 17, 15, 18, 19, 1,
431 1, 1, 1, 1, 20, 20, 20, 20, 21, 20,
Reid Spencere7c3c602006-11-30 06:36:44 +0000432 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
433 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
Reid Spencer71d2ec92006-12-31 06:02:26 +0000434 1, 1, 1, 1, 22, 1, 23, 24, 25, 26,
Reid Spencere7c3c602006-11-30 06:36:44 +0000435
Reid Spencer71d2ec92006-12-31 06:02:26 +0000436 27, 28, 29, 30, 31, 5, 32, 33, 34, 35,
437 36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
438 46, 47, 1, 1, 1, 1, 1, 1, 1, 1,
Reid Spencere7c3c602006-11-30 06:36:44 +0000439 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, 1, 1, 1, 1, 1,
445 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
446
447 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
448 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
449 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
450 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
451 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
452 1, 1, 1, 1, 1
453 } ;
454
Reid Spencer71d2ec92006-12-31 06:02:26 +0000455static yyconst int yy_meta[48] =
Reid Spencere7c3c602006-11-30 06:36:44 +0000456 { 0,
Reid Spencer71d2ec92006-12-31 06:02:26 +0000457 1, 1, 2, 1, 3, 1, 4, 5, 3, 6,
458 6, 6, 6, 6, 6, 6, 6, 7, 1, 3,
459 8, 3, 3, 3, 3, 3, 8, 3, 3, 3,
Reid Spencere7c3c602006-11-30 06:36:44 +0000460 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
Reid Spencer71d2ec92006-12-31 06:02:26 +0000461 3, 3, 3, 3, 3, 3, 3
Reid Spencere7c3c602006-11-30 06:36:44 +0000462 } ;
463
Reid Spencer71d2ec92006-12-31 06:02:26 +0000464static yyconst short int yy_base[617] =
Reid Spencere7c3c602006-11-30 06:36:44 +0000465 { 0,
Reid Spencer71d2ec92006-12-31 06:02:26 +0000466 0, 0, 1298, 1299, 1299, 1299, 1293, 1278, 40, 0,
467 48, 58, 68, 1250, 0, 68, 71, 81, 91, 52,
468 105, 93, 134, 117, 118, 73, 137, 143, 98, 175,
469 144, 210, 159, 116, 56, 119, 1290, 1299, 1275, 1299,
470 0, 241, 0, 1283, 1282, 140, 249, 1245, 267, 0,
471 70, 163, 145, 31, 157, 160, 168, 57, 1271, 170,
472 94, 180, 182, 54, 193, 189, 194, 114, 205, 1270,
473 271, 207, 204, 211, 208, 279, 206, 228, 249, 53,
474 121, 254, 1269, 268, 280, 281, 283, 290, 291, 285,
475 286, 287, 300, 1268, 305, 292, 309, 310, 314, 293,
Reid Spencere7c3c602006-11-30 06:36:44 +0000476
Reid Spencer71d2ec92006-12-31 06:02:26 +0000477 316, 217, 317, 321, 311, 147, 322, 325, 328, 331,
478 341, 329, 344, 336, 339, 358, 347, 348, 1267, 363,
479 349, 346, 366, 370, 371, 372, 373, 384, 377, 388,
480 253, 398, 378, 401, 385, 403, 1266, 0, 0, 372,
481 1265, 0, 442, 0, 1264, 404, 407, 1263, 408, 412,
482 1262, 409, 1261, 414, 427, 428, 423, 1260, 418, 429,
483 444, 445, 447, 448, 1259, 452, 449, 454, 457, 459,
484 456, 458, 460, 464, 469, 255, 470, 476, 473, 471,
485 1258, 1257, 1256, 475, 472, 484, 486, 483, 490, 496,
486 497, 498, 500, 502, 503, 504, 1255, 507, 1254, 1253,
Reid Spencere7c3c602006-11-30 06:36:44 +0000487
Reid Spencer71d2ec92006-12-31 06:02:26 +0000488 1252, 1251, 1250, 1249, 505, 1248, 1247, 512, 508, 1246,
489 1245, 540, 517, 516, 521, 515, 551, 530, 1244, 1243,
490 1242, 552, 1241, 554, 556, 557, 1240, 1239, 555, 558,
491 1238, 559, 561, 563, 567, 572, 569, 570, 577, 1237,
492 1236, 1235, 580, 583, 1234, 587, 1233, 585, 1232, 588,
493 1231, 590, 513, 584, 591, 514, 598, 592, 596, 416,
494 1230, 595, 607, 1299, 605, 622, 626, 628, 630, 621,
495 622, 623, 1229, 624, 626, 1228, 1227, 1226, 625, 627,
496 628, 633, 634, 636, 635, 637, 642, 647, 644, 643,
497 654, 646, 658, 1225, 1224, 645, 656, 660, 661, 1223,
Reid Spencere7c3c602006-11-30 06:36:44 +0000498
Reid Spencer71d2ec92006-12-31 06:02:26 +0000499 1222, 666, 667, 1221, 669, 670, 671, 675, 673, 674,
500 676, 680, 1220, 1219, 1218, 683, 688, 1217, 686, 677,
501 690, 0, 696, 1216, 698, 697, 699, 706, 707, 709,
502 1215, 702, 712, 714, 717, 1214, 724, 713, 1213, 726,
503 721, 1212, 731, 1211, 728, 1210, 1209, 732, 734, 739,
504 740, 741, 743, 1208, 744, 747, 1207, 748, 1206, 751,
505 750, 1205, 0, 1204, 752, 754, 1203, 755, 759, 764,
506 767, 770, 758, 772, 776, 780, 781, 783, 782, 784,
507 785, 1202, 786, 1201, 1200, 789, 791, 794, 787, 788,
508 797, 798, 806, 807, 808, 1199, 810, 809, 812, 815,
Reid Spencere7c3c602006-11-30 06:36:44 +0000509
Reid Spencer71d2ec92006-12-31 06:02:26 +0000510 816, 820, 822, 1198, 814, 828, 1197, 1196, 1195, 1194,
511 1193, 1192, 1191, 830, 831, 833, 1190, 834, 836, 838,
512 1189, 1188, 837, 1187, 1186, 839, 842, 840, 843, 844,
513 850, 853, 854, 857, 1185, 860, 861, 1184, 864, 865,
514 867, 869, 868, 870, 871, 1183, 1182, 1181, 875, 876,
515 1180, 1179, 1178, 885, 882, 1177, 887, 891, 897, 883,
516 1176, 886, 1175, 1174, 1173, 1172, 894, 901, 903, 1171,
517 904, 907, 1170, 1169, 1168, 1167, 1166, 908, 910, 1165,
518 1164, 1163, 909, 905, 911, 912, 914, 1162, 916, 1161,
519 923, 1160, 1159, 926, 928, 929, 930, 933, 1158, 934,
Reid Spencere7c3c602006-11-30 06:36:44 +0000520
Reid Spencer71d2ec92006-12-31 06:02:26 +0000521 935, 936, 938, 937, 948, 932, 940, 1157, 944, 950,
522 956, 960, 962, 964, 966, 967, 968, 1156, 946, 972,
523 974, 975, 1155, 976, 977, 978, 980, 1150, 1147, 1144,
524 983, 1136, 993, 981, 985, 986, 1133, 998, 999, 1003,
525 1130, 1006, 1124, 1113, 1007, 1008, 1009, 1010, 1011, 1013,
526 1014, 1018, 1020, 1019, 1023, 1022, 1025, 1111, 1024, 1031,
527 1026, 1035, 1039, 1040, 1036, 1109, 1043, 1044, 1046, 1050,
528 1051, 1108, 1054, 1052, 1055, 1056, 1106, 1060, 1062, 1104,
529 1064, 1067, 1057, 1069, 1076, 1077, 1080, 1081, 1082, 1084,
530 1085, 1083, 1087, 1101, 1088, 1100, 1099, 1094, 1089, 982,
Reid Spencer229e9362006-12-02 22:14:11 +0000531
Reid Spencer71d2ec92006-12-31 06:02:26 +0000532 1098, 756, 527, 419, 1093, 326, 1299, 1132, 1138, 1144,
533 268, 1152, 1158, 123, 1161, 1166
Reid Spencere7c3c602006-11-30 06:36:44 +0000534 } ;
535
Reid Spencer71d2ec92006-12-31 06:02:26 +0000536static yyconst short int yy_def[617] =
Reid Spencere7c3c602006-11-30 06:36:44 +0000537 { 0,
Reid Spencer71d2ec92006-12-31 06:02:26 +0000538 607, 1, 607, 607, 607, 607, 608, 609, 610, 611,
539 609, 609, 11, 13, 612, 609, 609, 609, 609, 609,
540 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
541 609, 609, 609, 609, 609, 609, 608, 607, 609, 607,
542 613, 613, 614, 611, 11, 609, 11, 13, 11, 612,
543 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
544 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
545 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
546 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
547 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
Reid Spencere7c3c602006-11-30 06:36:44 +0000548
Reid Spencer71d2ec92006-12-31 06:02:26 +0000549 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
550 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
551 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
552 609, 609, 609, 609, 609, 609, 607, 613, 42, 615,
553 609, 47, 11, 49, 609, 609, 609, 609, 609, 609,
554 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
555 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
556 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
557 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
558 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
Reid Spencere7c3c602006-11-30 06:36:44 +0000559
Reid Spencer71d2ec92006-12-31 06:02:26 +0000560 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
561 609, 49, 609, 609, 609, 609, 609, 609, 609, 609,
562 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
563 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
564 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
565 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
566 609, 609, 609, 607, 615, 616, 616, 143, 143, 609,
567 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
568 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
569 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
Reid Spencere7c3c602006-11-30 06:36:44 +0000570
Reid Spencer71d2ec92006-12-31 06:02:26 +0000571 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
572 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
573 609, 212, 609, 609, 609, 609, 609, 609, 609, 609,
574 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
575 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
576 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
577 609, 609, 267, 609, 609, 609, 609, 609, 609, 609,
578 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
579 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
580 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
Reid Spencere7c3c602006-11-30 06:36:44 +0000581
Reid Spencer71d2ec92006-12-31 06:02:26 +0000582 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
583 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
584 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
585 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
586 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
587 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
588 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
589 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
590 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
591 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
Reid Spencere7c3c602006-11-30 06:36:44 +0000592
Reid Spencer71d2ec92006-12-31 06:02:26 +0000593 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
594 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
595 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
596 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
597 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
598 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
599 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
600 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
601 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
602 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
Reid Spencer229e9362006-12-02 22:14:11 +0000603
Reid Spencer71d2ec92006-12-31 06:02:26 +0000604 609, 609, 609, 609, 609, 609, 0, 607, 607, 607,
605 607, 607, 607, 607, 607, 607
Reid Spencere7c3c602006-11-30 06:36:44 +0000606 } ;
607
Reid Spencer71d2ec92006-12-31 06:02:26 +0000608static yyconst short int yy_nxt[1347] =
Reid Spencere7c3c602006-11-30 06:36:44 +0000609 { 0,
610 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
Reid Spencer71d2ec92006-12-31 06:02:26 +0000611 14, 14, 14, 14, 14, 14, 14, 4, 15, 8,
612 8, 8, 16, 17, 18, 19, 20, 21, 22, 8,
613 23, 8, 24, 25, 26, 27, 28, 8, 29, 30,
614 31, 32, 33, 34, 35, 8, 36, 42, 40, 43,
615 43, 43, 43, 43, 43, 43, 43, 45, 45, 45,
616 45, 45, 45, 45, 45, 40, 46, 149, 181, 40,
617 40, 40, 134, 40, 40, 40, 47, 48, 48, 48,
618 48, 48, 48, 48, 48, 40, 69, 40, 40, 70,
619 40, 135, 155, 51, 162, 145, 71, 56, 40, 94,
Reid Spencere7c3c602006-11-30 06:36:44 +0000620
Reid Spencer71d2ec92006-12-31 06:02:26 +0000621 52, 57, 53, 60, 54, 61, 58, 55, 40, 59,
622 40, 40, 49, 64, 95, 40, 62, 65, 158, 78,
623 63, 66, 40, 67, 105, 79, 68, 72, 43, 73,
624 74, 40, 182, 40, 40, 40, 40, 75, 40, 87,
625 91, 76, 133, 77, 80, 136, 81, 88, 141, 82,
626 83, 40, 89, 92, 40, 167, 90, 40, 84, 93,
627 40, 40, 40, 96, 40, 97, 118, 85, 86, 98,
628 148, 99, 102, 100, 40, 101, 40, 40, 103, 119,
629 40, 131, 120, 104, 106, 40, 150, 40, 152, 121,
630 151, 212, 40, 146, 132, 147, 153, 40, 107, 40,
Reid Spencere7c3c602006-11-30 06:36:44 +0000631
Reid Spencer71d2ec92006-12-31 06:02:26 +0000632 108, 109, 156, 110, 111, 112, 40, 113, 154, 157,
633 40, 40, 159, 114, 160, 115, 116, 163, 117, 106,
634 161, 40, 40, 40, 40, 40, 166, 40, 40, 164,
635 168, 165, 178, 122, 40, 123, 124, 173, 125, 171,
636 126, 174, 127, 175, 128, 40, 172, 207, 129, 130,
637 139, 139, 139, 139, 139, 139, 139, 139, 142, 142,
638 142, 142, 142, 142, 142, 142, 40, 183, 179, 143,
639 40, 40, 40, 44, 256, 143, 144, 144, 144, 144,
640 144, 144, 144, 144, 180, 40, 144, 144, 40, 144,
641 144, 144, 144, 144, 144, 169, 40, 40, 40, 297,
Reid Spencere7c3c602006-11-30 06:36:44 +0000642
Reid Spencer71d2ec92006-12-31 06:02:26 +0000643 40, 184, 40, 40, 40, 176, 189, 40, 40, 40,
644 40, 170, 196, 192, 194, 205, 185, 40, 195, 177,
645 186, 187, 40, 188, 190, 193, 40, 40, 40, 199,
646 191, 40, 197, 40, 40, 200, 202, 198, 40, 40,
647 204, 206, 40, 40, 210, 40, 40, 208, 40, 201,
648 203, 211, 215, 40, 225, 214, 40, 219, 40, 209,
649 216, 40, 229, 40, 40, 40, 40, 213, 217, 226,
650 227, 220, 218, 221, 230, 40, 222, 232, 233, 223,
651 40, 231, 224, 40, 228, 237, 234, 40, 40, 40,
652 40, 238, 266, 235, 40, 40, 239, 241, 266, 245,
Reid Spencere7c3c602006-11-30 06:36:44 +0000653
Reid Spencer71d2ec92006-12-31 06:02:26 +0000654 259, 40, 40, 254, 236, 40, 243, 240, 246, 248,
655 249, 242, 244, 247, 250, 40, 260, 255, 40, 251,
656 40, 40, 252, 261, 40, 40, 40, 253, 257, 40,
657 258, 40, 270, 40, 272, 40, 40, 360, 275, 274,
658 40, 262, 271, 279, 40, 40, 40, 263, 267, 268,
659 273, 269, 269, 269, 269, 269, 269, 269, 269, 276,
660 277, 40, 40, 278, 40, 40, 40, 282, 280, 40,
661 281, 40, 287, 40, 40, 40, 40, 40, 285, 283,
662 284, 40, 286, 289, 288, 290, 40, 40, 40, 40,
663 40, 296, 40, 40, 303, 292, 294, 291, 293, 302,
Reid Spencere7c3c602006-11-30 06:36:44 +0000664
Reid Spencer71d2ec92006-12-31 06:02:26 +0000665 40, 40, 300, 40, 305, 298, 295, 40, 299, 301,
666 306, 304, 307, 40, 40, 40, 310, 40, 309, 40,
667 40, 40, 40, 313, 40, 40, 308, 311, 314, 40,
668 40, 40, 40, 40, 40, 316, 356, 312, 40, 318,
669 315, 326, 319, 353, 40, 317, 320, 40, 321, 322,
670 322, 322, 322, 322, 322, 322, 322, 323, 324, 322,
671 322, 325, 322, 322, 322, 322, 322, 322, 40, 40,
672 331, 40, 40, 40, 40, 40, 40, 327, 40, 328,
673 40, 333, 334, 329, 40, 330, 40, 40, 336, 40,
674 332, 340, 335, 339, 40, 344, 337, 40, 342, 338,
Reid Spencere7c3c602006-11-30 06:36:44 +0000675
Reid Spencer71d2ec92006-12-31 06:02:26 +0000676 40, 40, 40, 341, 40, 40, 343, 40, 40, 40,
677 345, 350, 40, 40, 358, 40, 352, 354, 348, 346,
678 347, 349, 351, 357, 40, 266, 355, 359, 267, 267,
679 361, 266, 607, 607, 607, 39, 607, 39, 40, 40,
680 40, 40, 40, 40, 40, 40, 365, 362, 368, 369,
681 40, 40, 40, 40, 40, 364, 373, 366, 367, 40,
682 40, 40, 40, 40, 40, 372, 374, 370, 371, 378,
683 376, 40, 382, 40, 377, 40, 381, 40, 40, 375,
684 379, 380, 383, 40, 40, 384, 40, 40, 40, 390,
685 40, 40, 40, 40, 40, 391, 385, 40, 389, 386,
Reid Spencere7c3c602006-11-30 06:36:44 +0000686
Reid Spencer71d2ec92006-12-31 06:02:26 +0000687 40, 387, 388, 40, 395, 40, 396, 40, 392, 393,
688 394, 397, 398, 40, 40, 40, 40, 402, 399, 40,
689 400, 406, 404, 40, 40, 403, 40, 401, 405, 40,
690 40, 40, 408, 410, 40, 412, 407, 418, 40, 414,
691 415, 40, 413, 40, 416, 40, 409, 411, 40, 40,
692 417, 40, 419, 420, 422, 421, 40, 40, 40, 423,
693 40, 40, 424, 427, 40, 40, 425, 40, 40, 40,
694 426, 40, 40, 40, 435, 40, 40, 428, 432, 436,
695 434, 40, 429, 438, 40, 430, 439, 40, 431, 40,
696 433, 440, 441, 40, 437, 443, 442, 40, 40, 40,
Reid Spencere7c3c602006-11-30 06:36:44 +0000697
Reid Spencer71d2ec92006-12-31 06:02:26 +0000698 40, 40, 40, 40, 40, 40, 40, 446, 40, 450,
699 451, 40, 444, 455, 40, 40, 445, 447, 449, 452,
700 456, 453, 448, 40, 40, 40, 40, 40, 454, 40,
701 457, 40, 40, 40, 461, 463, 464, 40, 458, 40,
702 459, 465, 466, 460, 462, 40, 467, 40, 40, 469,
703 40, 40, 468, 40, 40, 40, 40, 40, 472, 40,
704 40, 40, 471, 474, 476, 480, 479, 40, 470, 473,
705 40, 40, 482, 477, 40, 484, 475, 40, 40, 478,
706 483, 40, 40, 481, 40, 40, 40, 40, 40, 490,
707 487, 486, 40, 40, 485, 492, 496, 497, 489, 40,
Reid Spencer78720742006-12-02 20:21:22 +0000708
Reid Spencer71d2ec92006-12-31 06:02:26 +0000709 40, 488, 40, 40, 40, 494, 495, 493, 40, 499,
710 505, 40, 491, 501, 40, 500, 498, 502, 40, 503,
711 40, 40, 40, 504, 40, 40, 40, 40, 40, 40,
712 509, 40, 506, 40, 510, 507, 515, 508, 511, 512,
713 40, 513, 516, 40, 514, 40, 40, 40, 517, 40,
714 40, 40, 40, 40, 40, 40, 518, 40, 519, 524,
715 525, 40, 523, 40, 520, 40, 521, 40, 527, 526,
716 528, 531, 522, 40, 530, 529, 534, 40, 535, 40,
717 532, 40, 536, 40, 40, 40, 533, 542, 537, 40,
718 539, 40, 40, 40, 40, 40, 541, 40, 40, 40,
Reid Spencer78720742006-12-02 20:21:22 +0000719
Reid Spencer71d2ec92006-12-31 06:02:26 +0000720 40, 545, 40, 40, 538, 552, 549, 540, 546, 554,
721 40, 547, 543, 550, 544, 40, 40, 553, 548, 551,
722 40, 556, 555, 40, 40, 40, 40, 40, 40, 559,
723 40, 40, 562, 557, 560, 40, 40, 40, 565, 40,
724 40, 40, 40, 40, 563, 569, 558, 571, 40, 561,
725 567, 568, 40, 40, 570, 572, 40, 40, 566, 564,
726 40, 40, 574, 40, 573, 576, 577, 40, 40, 40,
727 580, 40, 40, 40, 40, 575, 578, 40, 581, 40,
728 584, 40, 582, 583, 40, 586, 40, 592, 589, 579,
729 587, 591, 585, 40, 40, 588, 590, 40, 40, 40,
Reid Spencer78720742006-12-02 20:21:22 +0000730
Reid Spencer71d2ec92006-12-31 06:02:26 +0000731 40, 40, 40, 593, 40, 40, 40, 598, 599, 600,
732 40, 40, 595, 604, 594, 40, 40, 40, 40, 597,
733 596, 40, 603, 40, 605, 40, 40, 602, 40, 601,
734 40, 606, 37, 37, 37, 37, 37, 37, 37, 37,
735 39, 40, 39, 39, 39, 39, 41, 40, 41, 41,
736 40, 41, 50, 40, 50, 50, 50, 50, 50, 50,
737 138, 40, 138, 138, 40, 138, 265, 40, 265, 363,
738 363, 363, 40, 40, 40, 40, 40, 40, 40, 40,
Reid Spencer229e9362006-12-02 22:14:11 +0000739 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
740 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
741
Reid Spencer78720742006-12-02 20:21:22 +0000742 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
743 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
744 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
745 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
746 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
747 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
Reid Spencerfcb5df82006-12-01 22:34:43 +0000748 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
Reid Spencere7c3c602006-11-30 06:36:44 +0000749 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
Reid Spencer71d2ec92006-12-31 06:02:26 +0000750 40, 40, 40, 264, 40, 40, 40, 40, 40, 39,
751 47, 140, 40, 137, 39, 40, 38, 607, 3, 607,
Reid Spencer229e9362006-12-02 22:14:11 +0000752
Reid Spencer71d2ec92006-12-31 06:02:26 +0000753 607, 607, 607, 607, 607, 607, 607, 607, 607, 607,
754 607, 607, 607, 607, 607, 607, 607, 607, 607, 607,
755 607, 607, 607, 607, 607, 607, 607, 607, 607, 607,
756 607, 607, 607, 607, 607, 607, 607, 607, 607, 607,
757 607, 607, 607, 607, 607, 607
Reid Spencere7c3c602006-11-30 06:36:44 +0000758 } ;
759
Reid Spencer71d2ec92006-12-31 06:02:26 +0000760static yyconst short int yy_chk[1347] =
Reid Spencere7c3c602006-11-30 06:36:44 +0000761 { 0,
762 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
763 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
764 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
765 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
Reid Spencer71d2ec92006-12-31 06:02:26 +0000766 1, 1, 1, 1, 1, 1, 1, 9, 54, 9,
767 9, 9, 9, 9, 9, 9, 9, 11, 11, 11,
768 11, 11, 11, 11, 11, 11, 12, 54, 80, 20,
769 80, 64, 35, 35, 58, 12, 13, 13, 13, 13,
770 13, 13, 13, 13, 13, 16, 20, 51, 17, 20,
771 26, 35, 58, 16, 64, 51, 20, 17, 18, 26,
Reid Spencere7c3c602006-11-30 06:36:44 +0000772
Reid Spencer71d2ec92006-12-31 06:02:26 +0000773 16, 17, 16, 18, 16, 18, 17, 16, 19, 17,
774 22, 61, 13, 19, 26, 29, 18, 19, 61, 22,
775 18, 19, 21, 19, 29, 22, 19, 21, 614, 21,
776 21, 68, 81, 34, 24, 25, 36, 21, 81, 24,
777 25, 21, 34, 21, 23, 36, 23, 24, 46, 23,
778 23, 23, 24, 25, 27, 68, 24, 46, 23, 25,
779 28, 31, 53, 27, 106, 27, 31, 23, 23, 27,
780 53, 27, 28, 27, 55, 27, 33, 56, 28, 31,
781 52, 33, 31, 28, 30, 57, 55, 60, 56, 31,
782 55, 106, 30, 52, 33, 52, 57, 62, 30, 63,
Reid Spencere7c3c602006-11-30 06:36:44 +0000783
Reid Spencer71d2ec92006-12-31 06:02:26 +0000784 30, 30, 60, 30, 30, 30, 66, 30, 57, 60,
785 65, 67, 62, 30, 62, 30, 30, 65, 30, 32,
786 63, 73, 69, 77, 72, 75, 67, 32, 74, 65,
787 69, 66, 77, 32, 102, 32, 32, 73, 32, 72,
788 32, 74, 32, 75, 32, 78, 72, 102, 32, 32,
789 42, 42, 42, 42, 42, 42, 42, 42, 47, 47,
790 47, 47, 47, 47, 47, 47, 79, 82, 78, 47,
791 131, 82, 176, 611, 131, 47, 49, 49, 49, 49,
792 49, 49, 49, 49, 79, 84, 49, 49, 71, 49,
793 49, 49, 49, 49, 49, 71, 76, 85, 86, 176,
Reid Spencere7c3c602006-11-30 06:36:44 +0000794
Reid Spencer71d2ec92006-12-31 06:02:26 +0000795 87, 84, 90, 91, 92, 76, 87, 88, 89, 96,
796 100, 71, 92, 89, 90, 100, 85, 93, 91, 76,
797 86, 86, 95, 86, 88, 89, 97, 98, 105, 96,
798 88, 99, 93, 101, 103, 97, 98, 95, 104, 107,
799 99, 101, 108, 606, 105, 109, 112, 103, 110, 97,
800 98, 105, 109, 114, 112, 108, 115, 110, 111, 104,
801 109, 113, 114, 122, 117, 118, 121, 107, 109, 112,
802 113, 110, 109, 111, 115, 116, 111, 117, 118, 111,
803 120, 116, 111, 123, 113, 121, 118, 124, 125, 126,
804 127, 122, 140, 120, 129, 133, 123, 125, 140, 127,
Reid Spencere7c3c602006-11-30 06:36:44 +0000805
Reid Spencer71d2ec92006-12-31 06:02:26 +0000806 133, 128, 135, 129, 120, 130, 126, 124, 127, 128,
807 128, 125, 126, 127, 128, 132, 134, 130, 134, 128,
808 136, 146, 128, 135, 147, 149, 152, 128, 132, 150,
809 132, 154, 146, 260, 149, 159, 604, 260, 154, 152,
810 157, 136, 147, 159, 155, 156, 160, 136, 143, 143,
811 150, 143, 143, 143, 143, 143, 143, 143, 143, 155,
812 156, 161, 162, 157, 163, 164, 167, 162, 160, 166,
813 161, 168, 167, 171, 169, 172, 170, 173, 166, 163,
814 164, 174, 166, 169, 168, 170, 175, 177, 180, 185,
815 179, 175, 184, 178, 180, 171, 173, 170, 172, 179,
Reid Spencere7c3c602006-11-30 06:36:44 +0000816
Reid Spencer71d2ec92006-12-31 06:02:26 +0000817 188, 186, 178, 187, 185, 177, 174, 189, 177, 178,
818 186, 184, 187, 190, 191, 192, 189, 193, 188, 194,
819 195, 196, 205, 192, 198, 209, 187, 190, 193, 208,
820 253, 256, 216, 214, 213, 195, 256, 191, 215, 198,
821 194, 216, 205, 253, 603, 196, 208, 218, 209, 212,
822 212, 212, 212, 212, 212, 212, 212, 213, 214, 212,
823 212, 215, 212, 212, 212, 212, 212, 212, 217, 222,
824 218, 224, 229, 225, 226, 230, 232, 217, 233, 217,
825 234, 224, 225, 217, 235, 217, 237, 238, 229, 236,
826 222, 234, 226, 233, 239, 237, 230, 243, 236, 232,
Reid Spencere7c3c602006-11-30 06:36:44 +0000827
Reid Spencer71d2ec92006-12-31 06:02:26 +0000828 244, 254, 248, 235, 246, 250, 236, 252, 255, 258,
829 238, 248, 262, 259, 258, 257, 252, 254, 244, 239,
830 243, 246, 250, 257, 263, 265, 255, 259, 266, 266,
831 262, 265, 267, 267, 268, 268, 269, 269, 270, 271,
832 272, 274, 279, 275, 280, 281, 271, 263, 275, 279,
833 282, 283, 285, 284, 286, 270, 283, 272, 274, 287,
834 290, 289, 296, 292, 288, 282, 284, 280, 281, 288,
835 286, 291, 292, 297, 287, 293, 291, 298, 299, 285,
836 289, 290, 293, 302, 303, 296, 305, 306, 307, 303,
837 309, 310, 308, 311, 320, 305, 297, 312, 302, 298,
Reid Spencere7c3c602006-11-30 06:36:44 +0000838
Reid Spencer71d2ec92006-12-31 06:02:26 +0000839 316, 298, 299, 319, 309, 317, 310, 321, 306, 307,
840 308, 311, 312, 323, 326, 325, 327, 320, 316, 332,
841 317, 326, 323, 328, 329, 321, 330, 319, 325, 333,
842 338, 334, 328, 329, 335, 330, 327, 338, 341, 333,
843 334, 337, 332, 340, 335, 345, 328, 329, 343, 348,
844 337, 349, 340, 341, 345, 343, 350, 351, 352, 348,
845 353, 355, 349, 352, 356, 358, 350, 361, 360, 365,
846 351, 366, 368, 602, 365, 373, 369, 353, 360, 366,
847 361, 370, 355, 369, 371, 356, 370, 372, 358, 374,
848 360, 371, 372, 375, 368, 374, 373, 376, 377, 379,
Reid Spencere7c3c602006-11-30 06:36:44 +0000849
Reid Spencer71d2ec92006-12-31 06:02:26 +0000850 378, 380, 381, 383, 389, 390, 386, 377, 387, 381,
851 383, 388, 375, 389, 391, 392, 376, 378, 380, 386,
852 390, 387, 379, 393, 394, 395, 398, 397, 388, 399,
853 391, 405, 400, 401, 395, 398, 399, 402, 392, 403,
854 393, 400, 401, 394, 397, 406, 402, 414, 415, 405,
855 416, 418, 403, 419, 423, 420, 426, 428, 415, 427,
856 429, 430, 414, 418, 420, 428, 427, 431, 406, 416,
857 432, 433, 430, 423, 434, 432, 419, 436, 437, 426,
858 431, 439, 440, 429, 441, 443, 442, 444, 445, 440,
859 436, 434, 449, 450, 433, 442, 449, 449, 439, 455,
Reid Spencere7c3c602006-11-30 06:36:44 +0000860
Reid Spencer71d2ec92006-12-31 06:02:26 +0000861 460, 437, 454, 462, 457, 444, 445, 443, 458, 454,
862 462, 467, 441, 457, 459, 455, 450, 458, 468, 459,
863 469, 471, 484, 460, 472, 478, 483, 479, 485, 486,
864 471, 487, 467, 489, 472, 468, 485, 469, 478, 479,
865 491, 483, 486, 494, 484, 495, 496, 497, 487, 506,
866 498, 500, 501, 502, 504, 503, 489, 507, 491, 498,
867 500, 509, 497, 519, 494, 505, 495, 510, 502, 501,
868 503, 506, 496, 511, 505, 504, 510, 512, 511, 513,
869 507, 514, 512, 515, 516, 517, 509, 519, 513, 520,
870 515, 521, 522, 524, 525, 526, 517, 527, 534, 600,
Reid Spencere7c3c602006-11-30 06:36:44 +0000871
Reid Spencer71d2ec92006-12-31 06:02:26 +0000872 531, 522, 535, 536, 514, 534, 527, 516, 524, 536,
873 533, 525, 520, 531, 521, 538, 539, 535, 526, 533,
874 540, 539, 538, 542, 545, 546, 547, 548, 549, 545,
875 550, 551, 548, 540, 546, 552, 554, 553, 551, 556,
876 555, 559, 557, 561, 549, 555, 542, 557, 560, 547,
877 553, 554, 562, 565, 556, 559, 563, 564, 552, 550,
878 567, 568, 561, 569, 560, 563, 564, 570, 571, 574,
879 568, 573, 575, 576, 583, 562, 565, 578, 569, 579,
880 573, 581, 570, 571, 582, 575, 584, 583, 579, 567,
881 576, 582, 574, 585, 586, 578, 581, 587, 588, 589,
Reid Spencere7c3c602006-11-30 06:36:44 +0000882
Reid Spencer71d2ec92006-12-31 06:02:26 +0000883 592, 590, 591, 584, 593, 595, 599, 589, 590, 591,
884 605, 598, 586, 599, 585, 601, 597, 596, 594, 588,
885 587, 580, 595, 577, 601, 572, 566, 593, 558, 592,
886 544, 605, 608, 608, 608, 608, 608, 608, 608, 608,
887 609, 543, 609, 609, 609, 609, 610, 541, 610, 610,
888 537, 610, 612, 532, 612, 612, 612, 612, 612, 612,
889 613, 530, 613, 613, 529, 613, 615, 528, 615, 616,
890 616, 616, 523, 518, 508, 499, 493, 492, 490, 488,
891 482, 481, 480, 477, 476, 475, 474, 473, 470, 466,
892 465, 464, 463, 461, 456, 453, 452, 451, 448, 447,
Reid Spencerfcb5df82006-12-01 22:34:43 +0000893
Reid Spencer71d2ec92006-12-31 06:02:26 +0000894 446, 438, 435, 425, 424, 422, 421, 417, 413, 412,
895 411, 410, 409, 408, 407, 404, 396, 385, 384, 382,
896 367, 364, 362, 359, 357, 354, 347, 346, 344, 342,
897 339, 336, 331, 324, 318, 315, 314, 313, 304, 301,
898 300, 295, 294, 278, 277, 276, 273, 261, 251, 249,
899 247, 245, 242, 241, 240, 231, 228, 227, 223, 221,
900 220, 219, 211, 210, 207, 206, 204, 203, 202, 201,
901 200, 199, 197, 183, 182, 181, 165, 158, 153, 151,
902 148, 145, 141, 137, 119, 94, 83, 70, 59, 48,
903 45, 44, 39, 37, 14, 8, 7, 3, 607, 607,
Reid Spencer229e9362006-12-02 22:14:11 +0000904
Reid Spencer71d2ec92006-12-31 06:02:26 +0000905 607, 607, 607, 607, 607, 607, 607, 607, 607, 607,
906 607, 607, 607, 607, 607, 607, 607, 607, 607, 607,
907 607, 607, 607, 607, 607, 607, 607, 607, 607, 607,
908 607, 607, 607, 607, 607, 607, 607, 607, 607, 607,
909 607, 607, 607, 607, 607, 607
Reid Spencere7c3c602006-11-30 06:36:44 +0000910 } ;
911
912static yy_state_type yy_state_buf[YY_BUF_SIZE + 2], *yy_state_ptr;
913static char *yy_full_match;
914static int yy_lp;
915#define REJECT \
916{ \
917*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ \
918yy_cp = yy_full_match; /* restore poss. backed-over text */ \
919++yy_lp; \
920goto find_rule; \
921}
922#define yymore() yymore_used_but_not_detected
923#define YY_MORE_ADJ 0
924#define YY_RESTORE_YY_MORE_OFFSET
925char *yytext;
Reid Spencer319a7302007-01-05 17:20:02 +0000926#line 1 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +0000927#define INITIAL 0
Reid Spencer96839be2006-11-30 16:50:26 +0000928/*===-- UpgradeLexer.l - Scanner for 1.9 assembly files --------*- C++ -*--===//
Reid Spencere7c3c602006-11-30 06:36:44 +0000929//
930// The LLVM Compiler Infrastructure
931//
Reid Spencer96839be2006-11-30 16:50:26 +0000932// This file was developed by Reid Spencer and is distributed under the
933// University of Illinois Open Source License. See LICENSE.TXT for details.
Reid Spencere7c3c602006-11-30 06:36:44 +0000934//
935//===----------------------------------------------------------------------===//
936//
Reid Spencer96839be2006-11-30 16:50:26 +0000937// This file implements the flex scanner for LLVM 1.9 assembly languages files.
Reid Spencere7c3c602006-11-30 06:36:44 +0000938//
939//===----------------------------------------------------------------------===*/
940#define YY_NEVER_INTERACTIVE 1
Reid Spencer319a7302007-01-05 17:20:02 +0000941#line 28 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +0000942
Reid Spencer319a7302007-01-05 17:20:02 +0000943#include "UpgradeInternals.h"
Reid Spencere7c3c602006-11-30 06:36:44 +0000944#include "UpgradeParser.h"
945#include <cctype>
946#include <cstdlib>
947
Reid Spencer96839be2006-11-30 16:50:26 +0000948#define YY_INPUT(buf,result,max_size) \
949{ \
950 if (LexInput->good() && !LexInput->eof()) { \
951 LexInput->read(buf,max_size); \
952 result = LexInput->gcount(); \
953 } else {\
954 result = YY_NULL; \
955 } \
956}
957
958
Reid Spencere7c3c602006-11-30 06:36:44 +0000959// Construct a token value for a non-obsolete token
960#define RET_TOK(sym) \
Reid Spencere77e35e2006-12-01 20:26:20 +0000961 Upgradelval.String = new std::string(yytext); \
962 return sym
963
964#define RET_TY(sym,OldTY,NewTY,sign) \
Reid Spencer319a7302007-01-05 17:20:02 +0000965 Upgradelval.Type = TypeInfo::get(NewTY, OldTY); \
Reid Spencere7c3c602006-11-30 06:36:44 +0000966 return sym
967
968#define YY_NEVER_INTERACTIVE 1
969/* Comments start with a ; and go till end of line */
970/* Variable(Value) identifiers start with a % sign */
971/* Label identifiers end with a colon */
972/* Quoted names can contain any character except " and \ */
973/* [PN]Integer: match positive and negative literal integer values that
974 * are preceeded by a '%' character. These represent unnamed variable slots.
975 */
976/* E[PN]Integer: match positive and negative literal integer values */
977/* FPConstant - A Floating point constant.
978 */
979/* HexFPConstant - Floating point constant represented in IEEE format as a
980 * hexadecimal number for when exponential notation is not precise enough.
981 */
982/* HexIntConstant - Hexadecimal constant generated by the CFE to avoid forcing
983 * it to deal with 64 bit numbers.
984 */
Reid Spencer319a7302007-01-05 17:20:02 +0000985#line 986 "UpgradeLexer.cpp"
Reid Spencere7c3c602006-11-30 06:36:44 +0000986
987/* Macros after this point can all be overridden by user definitions in
988 * section 1.
989 */
990
991#ifndef YY_SKIP_YYWRAP
992#ifdef __cplusplus
993extern "C" int yywrap YY_PROTO(( void ));
994#else
995extern int yywrap YY_PROTO(( void ));
996#endif
997#endif
998
999#ifndef YY_NO_UNPUT
1000static inline void yyunput YY_PROTO(( int c, char *buf_ptr ));
1001#endif
1002
1003#ifndef yytext_ptr
1004static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
1005#endif
1006
1007#ifdef YY_NEED_STRLEN
1008static int yy_flex_strlen YY_PROTO(( yyconst char * ));
1009#endif
1010
1011#ifndef YY_NO_INPUT
1012#ifdef __cplusplus
1013static int yyinput YY_PROTO(( void ));
1014#else
1015static int input YY_PROTO(( void ));
1016#endif
1017#endif
1018
1019#if YY_STACK_USED
1020static int yy_start_stack_ptr = 0;
1021static int yy_start_stack_depth = 0;
1022static int *yy_start_stack = 0;
1023#ifndef YY_NO_PUSH_STATE
1024static void yy_push_state YY_PROTO(( int new_state ));
1025#endif
1026#ifndef YY_NO_POP_STATE
1027static void yy_pop_state YY_PROTO(( void ));
1028#endif
1029#ifndef YY_NO_TOP_STATE
1030static int yy_top_state YY_PROTO(( void ));
1031#endif
1032
1033#else
1034#define YY_NO_PUSH_STATE 1
1035#define YY_NO_POP_STATE 1
1036#define YY_NO_TOP_STATE 1
1037#endif
1038
1039#ifdef YY_MALLOC_DECL
1040YY_MALLOC_DECL
1041#else
1042#if __STDC__
1043#ifndef __cplusplus
1044#include <stdlib.h>
1045#endif
1046#else
1047/* Just try to get by without declaring the routines. This will fail
1048 * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
1049 * or sizeof(void*) != sizeof(int).
1050 */
1051#endif
1052#endif
1053
1054/* Amount of stuff to slurp up with each read. */
1055#ifndef YY_READ_BUF_SIZE
1056#define YY_READ_BUF_SIZE 8192
1057#endif
1058
1059/* Copy whatever the last rule matched to the standard output. */
1060
1061#ifndef ECHO
1062/* This used to be an fputs(), but since the string might contain NUL's,
1063 * we now use fwrite().
1064 */
1065#define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
1066#endif
1067
1068/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
1069 * is returned in "result".
1070 */
1071#ifndef YY_INPUT
1072#define YY_INPUT(buf,result,max_size) \
1073 if ( yy_current_buffer->yy_is_interactive ) \
1074 { \
1075 int c = '*', n; \
1076 for ( n = 0; n < max_size && \
1077 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1078 buf[n] = (char) c; \
1079 if ( c == '\n' ) \
1080 buf[n++] = (char) c; \
1081 if ( c == EOF && ferror( yyin ) ) \
1082 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1083 result = n; \
1084 } \
1085 else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
1086 && ferror( yyin ) ) \
1087 YY_FATAL_ERROR( "input in flex scanner failed" );
1088#endif
1089
1090/* No semi-colon after return; correct usage is to write "yyterminate();" -
1091 * we don't want an extra ';' after the "return" because that will cause
1092 * some compilers to complain about unreachable statements.
1093 */
1094#ifndef yyterminate
1095#define yyterminate() return YY_NULL
1096#endif
1097
1098/* Number of entries by which start-condition stack grows. */
1099#ifndef YY_START_STACK_INCR
1100#define YY_START_STACK_INCR 25
1101#endif
1102
1103/* Report a fatal error. */
1104#ifndef YY_FATAL_ERROR
1105#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
1106#endif
1107
1108/* Default declaration of generated scanner - a define so the user can
1109 * easily add parameters.
1110 */
1111#ifndef YY_DECL
1112#define YY_DECL int yylex YY_PROTO(( void ))
1113#endif
1114
1115/* Code executed at the beginning of each rule, after yytext and yyleng
1116 * have been set up.
1117 */
1118#ifndef YY_USER_ACTION
1119#define YY_USER_ACTION
1120#endif
1121
1122/* Code executed at the end of each rule. */
1123#ifndef YY_BREAK
1124#define YY_BREAK break;
1125#endif
1126
1127#define YY_RULE_SETUP \
1128 YY_USER_ACTION
1129
1130YY_DECL
1131 {
1132 register yy_state_type yy_current_state;
Reid Spencer319a7302007-01-05 17:20:02 +00001133 register char *yy_cp = NULL, *yy_bp = NULL;
Reid Spencere7c3c602006-11-30 06:36:44 +00001134 register int yy_act;
1135
Reid Spencer319a7302007-01-05 17:20:02 +00001136#line 97 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +00001137
1138
Reid Spencer319a7302007-01-05 17:20:02 +00001139#line 1140 "UpgradeLexer.cpp"
Reid Spencere7c3c602006-11-30 06:36:44 +00001140
1141 if ( yy_init )
1142 {
1143 yy_init = 0;
1144
1145#ifdef YY_USER_INIT
1146 YY_USER_INIT;
1147#endif
1148
1149 if ( ! yy_start )
1150 yy_start = 1; /* first start state */
1151
1152 if ( ! yyin )
1153 yyin = stdin;
1154
1155 if ( ! yyout )
1156 yyout = stdout;
1157
1158 if ( ! yy_current_buffer )
1159 yy_current_buffer =
1160 yy_create_buffer( yyin, YY_BUF_SIZE );
1161
1162 yy_load_buffer_state();
1163 }
1164
1165 while ( 1 ) /* loops until end-of-file is reached */
1166 {
1167 yy_cp = yy_c_buf_p;
1168
1169 /* Support of yytext. */
1170 *yy_cp = yy_hold_char;
1171
1172 /* yy_bp points to the position in yy_ch_buf of the start of
1173 * the current run.
1174 */
1175 yy_bp = yy_cp;
1176
1177 yy_current_state = yy_start;
1178 yy_state_ptr = yy_state_buf;
1179 *yy_state_ptr++ = yy_current_state;
1180yy_match:
1181 do
1182 {
1183 register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
1184 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1185 {
1186 yy_current_state = (int) yy_def[yy_current_state];
Reid Spencer71d2ec92006-12-31 06:02:26 +00001187 if ( yy_current_state >= 608 )
Reid Spencere7c3c602006-11-30 06:36:44 +00001188 yy_c = yy_meta[(unsigned int) yy_c];
1189 }
1190 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1191 *yy_state_ptr++ = yy_current_state;
1192 ++yy_cp;
1193 }
Reid Spencer71d2ec92006-12-31 06:02:26 +00001194 while ( yy_current_state != 607 );
Reid Spencere7c3c602006-11-30 06:36:44 +00001195
1196yy_find_action:
1197 yy_current_state = *--yy_state_ptr;
1198 yy_lp = yy_accept[yy_current_state];
Reid Spencer319a7302007-01-05 17:20:02 +00001199
Reid Spencere7c3c602006-11-30 06:36:44 +00001200 for ( ; ; ) /* until we find what rule we matched */
1201 {
1202 if ( yy_lp && yy_lp < yy_accept[yy_current_state + 1] )
1203 {
1204 yy_act = yy_acclist[yy_lp];
1205 {
1206 yy_full_match = yy_cp;
1207 break;
1208 }
1209 }
1210 --yy_cp;
1211 yy_current_state = *--yy_state_ptr;
1212 yy_lp = yy_accept[yy_current_state];
1213 }
1214
1215 YY_DO_BEFORE_ACTION;
1216
1217 if ( yy_act != YY_END_OF_BUFFER )
1218 {
1219 int yyl;
1220 for ( yyl = 0; yyl < yyleng; ++yyl )
1221 if ( yytext[yyl] == '\n' )
1222 ++yylineno;
1223 }
1224
1225do_action: /* This label is used only to access EOF actions. */
1226
1227
1228 switch ( yy_act )
1229 { /* beginning of action switch */
1230case 1:
1231YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001232#line 99 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +00001233{ /* Ignore comments for now */ }
1234 YY_BREAK
1235case 2:
1236YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001237#line 101 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +00001238{ RET_TOK( BEGINTOK); }
1239 YY_BREAK
1240case 3:
1241YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001242#line 102 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +00001243{ RET_TOK( ENDTOK); }
1244 YY_BREAK
1245case 4:
1246YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001247#line 103 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +00001248{ RET_TOK( TRUETOK); }
1249 YY_BREAK
1250case 5:
1251YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001252#line 104 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +00001253{ RET_TOK( FALSETOK); }
1254 YY_BREAK
1255case 6:
1256YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001257#line 105 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +00001258{ RET_TOK( DECLARE); }
1259 YY_BREAK
1260case 7:
1261YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001262#line 106 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001263{ RET_TOK( GLOBAL); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001264 YY_BREAK
1265case 8:
1266YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001267#line 107 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001268{ RET_TOK( CONSTANT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001269 YY_BREAK
1270case 9:
1271YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001272#line 108 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001273{ RET_TOK( INTERNAL); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001274 YY_BREAK
1275case 10:
1276YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001277#line 109 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001278{ RET_TOK( LINKONCE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001279 YY_BREAK
1280case 11:
1281YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001282#line 110 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001283{ RET_TOK( WEAK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001284 YY_BREAK
1285case 12:
1286YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001287#line 111 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001288{ RET_TOK( APPENDING); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001289 YY_BREAK
1290case 13:
1291YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001292#line 112 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001293{ RET_TOK( DLLIMPORT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001294 YY_BREAK
1295case 14:
1296YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001297#line 113 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001298{ RET_TOK( DLLEXPORT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001299 YY_BREAK
1300case 15:
1301YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001302#line 114 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001303{ RET_TOK( EXTERN_WEAK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001304 YY_BREAK
1305case 16:
1306YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001307#line 115 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001308{ RET_TOK( EXTERNAL); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001309 YY_BREAK
1310case 17:
1311YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001312#line 116 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001313{ RET_TOK( UNINITIALIZED); } // alias for external
Reid Spencere7c3c602006-11-30 06:36:44 +00001314 YY_BREAK
1315case 18:
1316YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001317#line 117 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001318{ RET_TOK( IMPLEMENTATION); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001319 YY_BREAK
1320case 19:
1321YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001322#line 118 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001323{ RET_TOK( ZEROINITIALIZER); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001324 YY_BREAK
1325case 20:
1326YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001327#line 119 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001328{ RET_TOK( DOTDOTDOT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001329 YY_BREAK
1330case 21:
1331YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001332#line 120 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001333{ RET_TOK( UNDEF); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001334 YY_BREAK
1335case 22:
1336YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001337#line 121 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001338{ RET_TOK( NULL_TOK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001339 YY_BREAK
1340case 23:
1341YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001342#line 122 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001343{ RET_TOK( TO); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001344 YY_BREAK
1345case 24:
1346YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001347#line 123 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001348{ RET_TOK( TAIL); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001349 YY_BREAK
1350case 25:
1351YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001352#line 124 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001353{ RET_TOK( TARGET); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001354 YY_BREAK
1355case 26:
1356YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001357#line 125 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001358{ RET_TOK( TRIPLE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001359 YY_BREAK
1360case 27:
1361YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001362#line 126 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001363{ RET_TOK( DEPLIBS); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001364 YY_BREAK
1365case 28:
1366YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001367#line 127 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001368{ RET_TOK( ENDIAN); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001369 YY_BREAK
1370case 29:
1371YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001372#line 128 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001373{ RET_TOK( POINTERSIZE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001374 YY_BREAK
1375case 30:
1376YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001377#line 129 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001378{ RET_TOK( DATALAYOUT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001379 YY_BREAK
1380case 31:
1381YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001382#line 130 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001383{ RET_TOK( LITTLE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001384 YY_BREAK
1385case 32:
1386YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001387#line 131 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001388{ RET_TOK( BIG); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001389 YY_BREAK
1390case 33:
1391YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001392#line 132 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001393{ RET_TOK( VOLATILE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001394 YY_BREAK
1395case 34:
1396YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001397#line 133 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001398{ RET_TOK( ALIGN); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001399 YY_BREAK
1400case 35:
1401YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001402#line 134 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001403{ RET_TOK( SECTION); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001404 YY_BREAK
1405case 36:
1406YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001407#line 135 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001408{ RET_TOK( MODULE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001409 YY_BREAK
1410case 37:
1411YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001412#line 136 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001413{ RET_TOK( ASM_TOK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001414 YY_BREAK
1415case 38:
1416YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001417#line 137 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001418{ RET_TOK( SIDEEFFECT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001419 YY_BREAK
1420case 39:
1421YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001422#line 139 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001423{ RET_TOK( CC_TOK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001424 YY_BREAK
1425case 40:
1426YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001427#line 140 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001428{ RET_TOK( CCC_TOK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001429 YY_BREAK
1430case 41:
1431YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001432#line 141 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001433{ RET_TOK( CSRETCC_TOK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001434 YY_BREAK
1435case 42:
1436YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001437#line 142 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001438{ RET_TOK( FASTCC_TOK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001439 YY_BREAK
1440case 43:
1441YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001442#line 143 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001443{ RET_TOK( COLDCC_TOK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001444 YY_BREAK
1445case 44:
1446YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001447#line 144 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001448{ RET_TOK( X86_STDCALLCC_TOK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001449 YY_BREAK
1450case 45:
1451YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001452#line 145 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001453{ RET_TOK( X86_FASTCALLCC_TOK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001454 YY_BREAK
1455case 46:
1456YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001457#line 147 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001458{ RET_TY(VOID,VoidTy,"void",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001459 YY_BREAK
1460case 47:
1461YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001462#line 148 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001463{ RET_TY(BOOL,BoolTy,"bool",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001464 YY_BREAK
1465case 48:
1466YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001467#line 149 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001468{ RET_TY(SBYTE,SByteTy,"i8",true); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001469 YY_BREAK
1470case 49:
1471YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001472#line 150 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001473{ RET_TY(UBYTE,UByteTy,"i8",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001474 YY_BREAK
1475case 50:
1476YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001477#line 151 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001478{ RET_TY(SHORT,ShortTy,"i16",true); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001479 YY_BREAK
1480case 51:
1481YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001482#line 152 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001483{ RET_TY(USHORT,UShortTy,"i16",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001484 YY_BREAK
1485case 52:
1486YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001487#line 153 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001488{ RET_TY(INT,IntTy,"i32",true); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001489 YY_BREAK
1490case 53:
1491YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001492#line 154 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001493{ RET_TY(UINT,UIntTy,"i32",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001494 YY_BREAK
1495case 54:
1496YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001497#line 155 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001498{ RET_TY(LONG,LongTy,"i64",true); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001499 YY_BREAK
1500case 55:
1501YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001502#line 156 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001503{ RET_TY(ULONG,ULongTy,"i64",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001504 YY_BREAK
1505case 56:
1506YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001507#line 157 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001508{ RET_TY(UBYTE,UByteTy,"i8",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001509 YY_BREAK
1510case 57:
1511YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001512#line 158 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001513{ RET_TY(USHORT,UShortTy,"i16",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001514 YY_BREAK
1515case 58:
1516YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001517#line 159 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001518{ RET_TY(UINT,UIntTy,"i32",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001519 YY_BREAK
1520case 59:
1521YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001522#line 160 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001523{ RET_TY(ULONG,ULongTy,"i64",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001524 YY_BREAK
1525case 60:
1526YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001527#line 161 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001528{ RET_TY(FLOAT,FloatTy,"float",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001529 YY_BREAK
1530case 61:
1531YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001532#line 162 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001533{ RET_TY(DOUBLE,DoubleTy,"double",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001534 YY_BREAK
1535case 62:
1536YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001537#line 163 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001538{ RET_TY(LABEL,LabelTy,"label",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001539 YY_BREAK
1540case 63:
1541YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001542#line 164 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001543{ RET_TOK(OPAQUE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001544 YY_BREAK
1545case 64:
1546YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001547#line 165 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001548{ RET_TOK(TYPE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001549 YY_BREAK
1550case 65:
1551YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001552#line 167 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001553{ RET_TOK( ADD); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001554 YY_BREAK
1555case 66:
1556YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001557#line 168 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001558{ RET_TOK( SUB); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001559 YY_BREAK
1560case 67:
1561YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001562#line 169 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001563{ RET_TOK( MUL); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001564 YY_BREAK
1565case 68:
1566YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001567#line 170 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001568{ RET_TOK( DIV); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001569 YY_BREAK
1570case 69:
1571YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001572#line 171 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001573{ RET_TOK( UDIV); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001574 YY_BREAK
1575case 70:
1576YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001577#line 172 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001578{ RET_TOK( SDIV); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001579 YY_BREAK
1580case 71:
1581YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001582#line 173 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001583{ RET_TOK( FDIV); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001584 YY_BREAK
1585case 72:
1586YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001587#line 174 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001588{ RET_TOK( REM); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001589 YY_BREAK
1590case 73:
1591YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001592#line 175 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001593{ RET_TOK( UREM); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001594 YY_BREAK
1595case 74:
1596YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001597#line 176 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001598{ RET_TOK( SREM); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001599 YY_BREAK
1600case 75:
1601YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001602#line 177 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001603{ RET_TOK( FREM); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001604 YY_BREAK
1605case 76:
1606YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001607#line 178 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001608{ RET_TOK( AND); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001609 YY_BREAK
1610case 77:
1611YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001612#line 179 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001613{ RET_TOK( OR); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001614 YY_BREAK
1615case 78:
1616YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001617#line 180 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001618{ RET_TOK( XOR); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001619 YY_BREAK
1620case 79:
1621YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001622#line 181 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001623{ RET_TOK( SETNE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001624 YY_BREAK
1625case 80:
1626YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001627#line 182 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001628{ RET_TOK( SETEQ); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001629 YY_BREAK
1630case 81:
1631YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001632#line 183 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001633{ RET_TOK( SETLT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001634 YY_BREAK
1635case 82:
1636YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001637#line 184 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001638{ RET_TOK( SETGT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001639 YY_BREAK
1640case 83:
1641YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001642#line 185 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001643{ RET_TOK( SETLE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001644 YY_BREAK
1645case 84:
1646YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001647#line 186 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001648{ RET_TOK( SETGE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001649 YY_BREAK
1650case 85:
1651YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001652#line 187 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001653{ RET_TOK(ICMP); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001654 YY_BREAK
1655case 86:
1656YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001657#line 188 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001658{ RET_TOK(FCMP); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001659 YY_BREAK
1660case 87:
1661YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001662#line 189 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001663{ RET_TOK(EQ); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001664 YY_BREAK
1665case 88:
1666YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001667#line 190 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001668{ RET_TOK(NE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001669 YY_BREAK
1670case 89:
1671YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001672#line 191 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001673{ RET_TOK(SLT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001674 YY_BREAK
1675case 90:
1676YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001677#line 192 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001678{ RET_TOK(SGT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001679 YY_BREAK
1680case 91:
1681YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001682#line 193 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001683{ RET_TOK(SLE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001684 YY_BREAK
1685case 92:
1686YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001687#line 194 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001688{ RET_TOK(SGE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001689 YY_BREAK
1690case 93:
1691YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001692#line 195 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001693{ RET_TOK(OEQ); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001694 YY_BREAK
1695case 94:
1696YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001697#line 196 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001698{ RET_TOK(ONE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001699 YY_BREAK
1700case 95:
1701YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001702#line 197 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001703{ RET_TOK(OLT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001704 YY_BREAK
1705case 96:
1706YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001707#line 198 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001708{ RET_TOK(OGT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001709 YY_BREAK
1710case 97:
1711YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001712#line 199 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001713{ RET_TOK(OLE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001714 YY_BREAK
1715case 98:
1716YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001717#line 200 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001718{ RET_TOK(OGE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001719 YY_BREAK
1720case 99:
1721YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001722#line 201 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001723{ RET_TOK(ORD); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001724 YY_BREAK
1725case 100:
1726YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001727#line 202 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001728{ RET_TOK(UNO); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001729 YY_BREAK
1730case 101:
1731YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001732#line 203 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001733{ RET_TOK(UEQ); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001734 YY_BREAK
1735case 102:
1736YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001737#line 204 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001738{ RET_TOK(UNE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001739 YY_BREAK
1740case 103:
1741YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001742#line 205 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001743{ RET_TOK(ULT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001744 YY_BREAK
1745case 104:
1746YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001747#line 206 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001748{ RET_TOK(UGT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001749 YY_BREAK
1750case 105:
1751YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001752#line 207 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001753{ RET_TOK(ULE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001754 YY_BREAK
1755case 106:
1756YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001757#line 208 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001758{ RET_TOK(UGE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001759 YY_BREAK
1760case 107:
1761YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001762#line 210 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001763{ RET_TOK( PHI_TOK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001764 YY_BREAK
1765case 108:
1766YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001767#line 211 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001768{ RET_TOK( CALL); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001769 YY_BREAK
1770case 109:
1771YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001772#line 212 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001773{ RET_TOK( CAST); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001774 YY_BREAK
1775case 110:
1776YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001777#line 213 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001778{ RET_TOK( TRUNC); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001779 YY_BREAK
1780case 111:
1781YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001782#line 214 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001783{ RET_TOK( ZEXT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001784 YY_BREAK
1785case 112:
1786YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001787#line 215 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001788{ RET_TOK( SEXT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001789 YY_BREAK
1790case 113:
1791YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001792#line 216 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001793{ RET_TOK( FPTRUNC); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001794 YY_BREAK
Reid Spencer16244f42006-12-01 21:10:07 +00001795case 114:
1796YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001797#line 217 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001798{ RET_TOK( FPEXT); }
Reid Spencer16244f42006-12-01 21:10:07 +00001799 YY_BREAK
Reid Spencerf7bde222006-12-01 22:26:37 +00001800case 115:
1801YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001802#line 218 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001803{ RET_TOK( FPTOUI); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001804 YY_BREAK
1805case 116:
1806YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001807#line 219 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001808{ RET_TOK( FPTOSI); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001809 YY_BREAK
1810case 117:
1811YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001812#line 220 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001813{ RET_TOK( UITOFP); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001814 YY_BREAK
1815case 118:
1816YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001817#line 221 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001818{ RET_TOK( SITOFP); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001819 YY_BREAK
1820case 119:
1821YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001822#line 222 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001823{ RET_TOK( PTRTOINT); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001824 YY_BREAK
1825case 120:
1826YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001827#line 223 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001828{ RET_TOK( INTTOPTR); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001829 YY_BREAK
1830case 121:
1831YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001832#line 224 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001833{ RET_TOK( BITCAST); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001834 YY_BREAK
1835case 122:
1836YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001837#line 225 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001838{ RET_TOK( SELECT); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001839 YY_BREAK
1840case 123:
1841YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001842#line 226 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001843{ RET_TOK( SHL); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001844 YY_BREAK
1845case 124:
1846YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001847#line 227 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001848{ RET_TOK( SHR); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001849 YY_BREAK
1850case 125:
1851YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001852#line 228 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001853{ RET_TOK( ASHR); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001854 YY_BREAK
1855case 126:
1856YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001857#line 229 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001858{ RET_TOK( LSHR); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001859 YY_BREAK
1860case 127:
1861YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001862#line 230 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001863{ RET_TOK( VAARG); }
Reid Spencer78720742006-12-02 20:21:22 +00001864 YY_BREAK
1865case 128:
1866YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001867#line 231 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001868{ RET_TOK( RET); }
Reid Spencer229e9362006-12-02 22:14:11 +00001869 YY_BREAK
1870case 129:
1871YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001872#line 232 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001873{ RET_TOK( BR); }
Reid Spencer229e9362006-12-02 22:14:11 +00001874 YY_BREAK
1875case 130:
1876YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001877#line 233 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001878{ RET_TOK( SWITCH); }
Reid Spencer229e9362006-12-02 22:14:11 +00001879 YY_BREAK
1880case 131:
1881YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001882#line 234 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001883{ RET_TOK( INVOKE); }
Reid Spencer229e9362006-12-02 22:14:11 +00001884 YY_BREAK
1885case 132:
1886YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001887#line 235 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001888{ RET_TOK( UNWIND); }
Reid Spencer229e9362006-12-02 22:14:11 +00001889 YY_BREAK
1890case 133:
1891YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001892#line 236 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001893{ RET_TOK( EXCEPT); } // alias for unwind
Reid Spencer229e9362006-12-02 22:14:11 +00001894 YY_BREAK
1895case 134:
1896YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001897#line 237 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001898{ RET_TOK( UNREACHABLE); }
Reid Spencer229e9362006-12-02 22:14:11 +00001899 YY_BREAK
1900case 135:
1901YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001902#line 239 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001903{ RET_TOK( MALLOC); }
Reid Spencer229e9362006-12-02 22:14:11 +00001904 YY_BREAK
1905case 136:
1906YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001907#line 240 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001908{ RET_TOK( ALLOCA); }
Reid Spencer229e9362006-12-02 22:14:11 +00001909 YY_BREAK
1910case 137:
1911YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001912#line 241 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001913{ RET_TOK( FREE); }
Reid Spencer229e9362006-12-02 22:14:11 +00001914 YY_BREAK
1915case 138:
1916YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001917#line 242 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001918{ RET_TOK( LOAD); }
Reid Spencer229e9362006-12-02 22:14:11 +00001919 YY_BREAK
1920case 139:
1921YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001922#line 243 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001923{ RET_TOK( STORE); }
Reid Spencer229e9362006-12-02 22:14:11 +00001924 YY_BREAK
1925case 140:
1926YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001927#line 244 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001928{ RET_TOK( GETELEMENTPTR); }
Reid Spencer229e9362006-12-02 22:14:11 +00001929 YY_BREAK
1930case 141:
1931YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001932#line 246 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001933{ RET_TOK( EXTRACTELEMENT); }
Reid Spencer229e9362006-12-02 22:14:11 +00001934 YY_BREAK
1935case 142:
1936YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001937#line 247 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001938{ RET_TOK( INSERTELEMENT); }
Reid Spencer229e9362006-12-02 22:14:11 +00001939 YY_BREAK
1940case 143:
1941YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001942#line 248 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001943{ RET_TOK( SHUFFLEVECTOR); }
Reid Spencer229e9362006-12-02 22:14:11 +00001944 YY_BREAK
1945case 144:
1946YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001947#line 251 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001948{ RET_TOK( VAR_ID); }
Reid Spencer229e9362006-12-02 22:14:11 +00001949 YY_BREAK
1950case 145:
1951YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001952#line 252 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001953{ RET_TOK( LABELSTR); }
Reid Spencer229e9362006-12-02 22:14:11 +00001954 YY_BREAK
1955case 146:
1956YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001957#line 253 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001958{ RET_TOK( LABELSTR); }
Reid Spencer229e9362006-12-02 22:14:11 +00001959 YY_BREAK
1960case 147:
1961YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001962#line 254 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001963{ RET_TOK( STRINGCONSTANT ); }
Reid Spencer229e9362006-12-02 22:14:11 +00001964 YY_BREAK
1965case 148:
1966YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001967#line 255 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001968{ RET_TOK( EUINT64VAL ); }
Reid Spencer229e9362006-12-02 22:14:11 +00001969 YY_BREAK
1970case 149:
1971YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001972#line 256 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001973{ RET_TOK( ESINT64VAL ); }
Reid Spencer229e9362006-12-02 22:14:11 +00001974 YY_BREAK
1975case 150:
1976YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001977#line 257 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001978{ RET_TOK( yytext[0] == 's' ? ESINT64VAL : EUINT64VAL ); }
Reid Spencer6fd36ab2006-12-29 20:35:03 +00001979 YY_BREAK
1980case 151:
1981YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001982#line 258 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001983{ RET_TOK( UINTVAL); }
1984 YY_BREAK
1985case 152:
1986YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001987#line 259 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001988{ RET_TOK( SINTVAL); }
1989 YY_BREAK
1990case 153:
1991YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001992#line 260 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001993{ RET_TOK( FPVAL); }
1994 YY_BREAK
1995case 154:
1996YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00001997#line 261 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencerf7bde222006-12-01 22:26:37 +00001998{ RET_TOK( FPVAL); }
1999 YY_BREAK
2000case YY_STATE_EOF(INITIAL):
Reid Spencer319a7302007-01-05 17:20:02 +00002001#line 262 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +00002002{
2003 /* Make sure to free the internal buffers for flex when we are
2004 * done reading our input!
2005 */
2006 yy_delete_buffer(YY_CURRENT_BUFFER);
2007 return EOF;
2008 }
2009 YY_BREAK
Reid Spencer71d2ec92006-12-31 06:02:26 +00002010case 155:
Reid Spencerf7bde222006-12-01 22:26:37 +00002011YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00002012#line 270 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer6fd36ab2006-12-29 20:35:03 +00002013{ /* Ignore whitespace */ }
Reid Spencer78720742006-12-02 20:21:22 +00002014 YY_BREAK
Reid Spencer71d2ec92006-12-31 06:02:26 +00002015case 156:
Reid Spencer78720742006-12-02 20:21:22 +00002016YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00002017#line 271 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer6fd36ab2006-12-29 20:35:03 +00002018{ return yytext[0]; }
2019 YY_BREAK
Reid Spencer71d2ec92006-12-31 06:02:26 +00002020case 157:
Reid Spencer6fd36ab2006-12-29 20:35:03 +00002021YY_RULE_SETUP
Reid Spencer319a7302007-01-05 17:20:02 +00002022#line 273 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +00002023YY_FATAL_ERROR( "flex scanner jammed" );
2024 YY_BREAK
Reid Spencer319a7302007-01-05 17:20:02 +00002025#line 2026 "UpgradeLexer.cpp"
Reid Spencere7c3c602006-11-30 06:36:44 +00002026
2027 case YY_END_OF_BUFFER:
2028 {
2029 /* Amount of text matched not including the EOB char. */
2030 int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1;
2031
2032 /* Undo the effects of YY_DO_BEFORE_ACTION. */
2033 *yy_cp = yy_hold_char;
2034 YY_RESTORE_YY_MORE_OFFSET
2035
2036 if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
2037 {
2038 /* We're scanning a new file or input source. It's
2039 * possible that this happened because the user
2040 * just pointed yyin at a new source and called
2041 * yylex(). If so, then we have to assure
2042 * consistency between yy_current_buffer and our
2043 * globals. Here is the right place to do so, because
2044 * this is the first action (other than possibly a
2045 * back-up) that will match for the new input source.
2046 */
2047 yy_n_chars = yy_current_buffer->yy_n_chars;
2048 yy_current_buffer->yy_input_file = yyin;
2049 yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL;
2050 }
2051
2052 /* Note that here we test for yy_c_buf_p "<=" to the position
2053 * of the first EOB in the buffer, since yy_c_buf_p will
2054 * already have been incremented past the NUL character
2055 * (since all states make transitions on EOB to the
2056 * end-of-buffer state). Contrast this with the test
2057 * in input().
2058 */
2059 if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
2060 { /* This was really a NUL. */
2061 yy_state_type yy_next_state;
2062
2063 yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text;
2064
2065 yy_current_state = yy_get_previous_state();
2066
2067 /* Okay, we're now positioned to make the NUL
2068 * transition. We couldn't have
2069 * yy_get_previous_state() go ahead and do it
2070 * for us because it doesn't know how to deal
2071 * with the possibility of jamming (and we don't
2072 * want to build jamming into it because then it
2073 * will run more slowly).
2074 */
2075
2076 yy_next_state = yy_try_NUL_trans( yy_current_state );
2077
2078 yy_bp = yytext_ptr + YY_MORE_ADJ;
2079
2080 if ( yy_next_state )
2081 {
2082 /* Consume the NUL. */
2083 yy_cp = ++yy_c_buf_p;
2084 yy_current_state = yy_next_state;
2085 goto yy_match;
2086 }
2087
2088 else
2089 {
2090 yy_cp = yy_c_buf_p;
2091 goto yy_find_action;
2092 }
2093 }
2094
2095 else switch ( yy_get_next_buffer() )
2096 {
2097 case EOB_ACT_END_OF_FILE:
2098 {
2099 yy_did_buffer_switch_on_eof = 0;
2100
2101 if ( yywrap() )
2102 {
2103 /* Note: because we've taken care in
2104 * yy_get_next_buffer() to have set up
2105 * yytext, we can now set up
2106 * yy_c_buf_p so that if some total
2107 * hoser (like flex itself) wants to
2108 * call the scanner after we return the
2109 * YY_NULL, it'll still work - another
2110 * YY_NULL will get returned.
2111 */
2112 yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
2113
2114 yy_act = YY_STATE_EOF(YY_START);
2115 goto do_action;
2116 }
2117
2118 else
2119 {
2120 if ( ! yy_did_buffer_switch_on_eof )
2121 YY_NEW_FILE;
2122 }
2123 break;
2124 }
2125
2126 case EOB_ACT_CONTINUE_SCAN:
2127 yy_c_buf_p =
2128 yytext_ptr + yy_amount_of_matched_text;
2129
2130 yy_current_state = yy_get_previous_state();
2131
2132 yy_cp = yy_c_buf_p;
2133 yy_bp = yytext_ptr + YY_MORE_ADJ;
2134 goto yy_match;
2135
2136 case EOB_ACT_LAST_MATCH:
2137 yy_c_buf_p =
2138 &yy_current_buffer->yy_ch_buf[yy_n_chars];
2139
2140 yy_current_state = yy_get_previous_state();
2141
2142 yy_cp = yy_c_buf_p;
2143 yy_bp = yytext_ptr + YY_MORE_ADJ;
2144 goto yy_find_action;
2145 }
2146 break;
2147 }
2148
2149 default:
2150 YY_FATAL_ERROR(
2151 "fatal flex scanner internal error--no action found" );
2152 } /* end of action switch */
2153 } /* end of scanning one token */
2154 } /* end of yylex */
2155
2156
2157/* yy_get_next_buffer - try to read in a new buffer
2158 *
2159 * Returns a code representing an action:
2160 * EOB_ACT_LAST_MATCH -
2161 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
2162 * EOB_ACT_END_OF_FILE - end of file
2163 */
2164
2165static int yy_get_next_buffer()
2166 {
2167 register char *dest = yy_current_buffer->yy_ch_buf;
2168 register char *source = yytext_ptr;
2169 register int number_to_move, i;
2170 int ret_val;
2171
2172 if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
2173 YY_FATAL_ERROR(
2174 "fatal flex scanner internal error--end of buffer missed" );
2175
2176 if ( yy_current_buffer->yy_fill_buffer == 0 )
2177 { /* Don't try to fill the buffer, so this is an EOF. */
2178 if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 )
2179 {
2180 /* We matched a single character, the EOB, so
2181 * treat this as a final EOF.
2182 */
2183 return EOB_ACT_END_OF_FILE;
2184 }
2185
2186 else
2187 {
2188 /* We matched some text prior to the EOB, first
2189 * process it.
2190 */
2191 return EOB_ACT_LAST_MATCH;
2192 }
2193 }
2194
2195 /* Try to read more data. */
2196
2197 /* First move last chars to start of buffer. */
2198 number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1;
2199
2200 for ( i = 0; i < number_to_move; ++i )
2201 *(dest++) = *(source++);
2202
2203 if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING )
2204 /* don't do the read, it's not guaranteed to return an EOF,
2205 * just force an EOF
2206 */
2207 yy_current_buffer->yy_n_chars = yy_n_chars = 0;
2208
2209 else
2210 {
2211 int num_to_read =
2212 yy_current_buffer->yy_buf_size - number_to_move - 1;
2213
2214 while ( num_to_read <= 0 )
2215 { /* Not enough room in the buffer - grow it. */
2216#ifdef YY_USES_REJECT
2217 YY_FATAL_ERROR(
2218"input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
2219#else
2220
2221 /* just a shorter name for the current buffer */
2222 YY_BUFFER_STATE b = yy_current_buffer;
2223
2224 int yy_c_buf_p_offset =
2225 (int) (yy_c_buf_p - b->yy_ch_buf);
2226
2227 if ( b->yy_is_our_buffer )
2228 {
2229 int new_size = b->yy_buf_size * 2;
2230
2231 if ( new_size <= 0 )
2232 b->yy_buf_size += b->yy_buf_size / 8;
2233 else
2234 b->yy_buf_size *= 2;
2235
2236 b->yy_ch_buf = (char *)
2237 /* Include room in for 2 EOB chars. */
2238 yy_flex_realloc( (void *) b->yy_ch_buf,
2239 b->yy_buf_size + 2 );
2240 }
2241 else
2242 /* Can't grow it, we don't own it. */
2243 b->yy_ch_buf = 0;
2244
2245 if ( ! b->yy_ch_buf )
2246 YY_FATAL_ERROR(
2247 "fatal error - scanner input buffer overflow" );
2248
2249 yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
2250
2251 num_to_read = yy_current_buffer->yy_buf_size -
2252 number_to_move - 1;
2253#endif
2254 }
2255
2256 if ( num_to_read > YY_READ_BUF_SIZE )
2257 num_to_read = YY_READ_BUF_SIZE;
2258
2259 /* Read in more data. */
2260 YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
2261 yy_n_chars, num_to_read );
2262
2263 yy_current_buffer->yy_n_chars = yy_n_chars;
2264 }
2265
2266 if ( yy_n_chars == 0 )
2267 {
2268 if ( number_to_move == YY_MORE_ADJ )
2269 {
2270 ret_val = EOB_ACT_END_OF_FILE;
2271 yyrestart( yyin );
2272 }
2273
2274 else
2275 {
2276 ret_val = EOB_ACT_LAST_MATCH;
2277 yy_current_buffer->yy_buffer_status =
2278 YY_BUFFER_EOF_PENDING;
2279 }
2280 }
2281
2282 else
2283 ret_val = EOB_ACT_CONTINUE_SCAN;
2284
2285 yy_n_chars += number_to_move;
2286 yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
2287 yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
2288
2289 yytext_ptr = &yy_current_buffer->yy_ch_buf[0];
2290
2291 return ret_val;
2292 }
2293
2294
2295/* yy_get_previous_state - get the state just before the EOB char was reached */
2296
2297static yy_state_type yy_get_previous_state()
2298 {
2299 register yy_state_type yy_current_state;
2300 register char *yy_cp;
2301
2302 yy_current_state = yy_start;
2303 yy_state_ptr = yy_state_buf;
2304 *yy_state_ptr++ = yy_current_state;
2305
2306 for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
2307 {
2308 register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
2309 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2310 {
2311 yy_current_state = (int) yy_def[yy_current_state];
Reid Spencer71d2ec92006-12-31 06:02:26 +00002312 if ( yy_current_state >= 608 )
Reid Spencere7c3c602006-11-30 06:36:44 +00002313 yy_c = yy_meta[(unsigned int) yy_c];
2314 }
2315 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
2316 *yy_state_ptr++ = yy_current_state;
2317 }
2318
2319 return yy_current_state;
2320 }
2321
2322
2323/* yy_try_NUL_trans - try to make a transition on the NUL character
2324 *
2325 * synopsis
2326 * next_state = yy_try_NUL_trans( current_state );
2327 */
2328
2329#ifdef YY_USE_PROTOS
2330static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state )
2331#else
2332static yy_state_type yy_try_NUL_trans( yy_current_state )
2333yy_state_type yy_current_state;
2334#endif
2335 {
2336 register int yy_is_jam;
2337
2338 register YY_CHAR yy_c = 1;
2339 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2340 {
2341 yy_current_state = (int) yy_def[yy_current_state];
Reid Spencer71d2ec92006-12-31 06:02:26 +00002342 if ( yy_current_state >= 608 )
Reid Spencere7c3c602006-11-30 06:36:44 +00002343 yy_c = yy_meta[(unsigned int) yy_c];
2344 }
2345 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
Reid Spencer71d2ec92006-12-31 06:02:26 +00002346 yy_is_jam = (yy_current_state == 607);
Reid Spencere7c3c602006-11-30 06:36:44 +00002347 if ( ! yy_is_jam )
2348 *yy_state_ptr++ = yy_current_state;
2349
2350 return yy_is_jam ? 0 : yy_current_state;
2351 }
2352
2353
2354#ifndef YY_NO_UNPUT
2355#ifdef YY_USE_PROTOS
2356static inline void yyunput( int c, register char *yy_bp )
2357#else
2358static inline void yyunput( c, yy_bp )
2359int c;
2360register char *yy_bp;
2361#endif
2362 {
2363 register char *yy_cp = yy_c_buf_p;
2364
2365 /* undo effects of setting up yytext */
2366 *yy_cp = yy_hold_char;
2367
2368 if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
2369 { /* need to shift things up to make room */
2370 /* +2 for EOB chars. */
2371 register int number_to_move = yy_n_chars + 2;
2372 register char *dest = &yy_current_buffer->yy_ch_buf[
2373 yy_current_buffer->yy_buf_size + 2];
2374 register char *source =
2375 &yy_current_buffer->yy_ch_buf[number_to_move];
2376
2377 while ( source > yy_current_buffer->yy_ch_buf )
2378 *--dest = *--source;
2379
2380 yy_cp += (int) (dest - source);
2381 yy_bp += (int) (dest - source);
2382 yy_current_buffer->yy_n_chars =
2383 yy_n_chars = yy_current_buffer->yy_buf_size;
2384
2385 if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
2386 YY_FATAL_ERROR( "flex scanner push-back overflow" );
2387 }
2388
2389 *--yy_cp = (char) c;
2390
2391 if ( c == '\n' )
2392 --yylineno;
2393
2394 yytext_ptr = yy_bp;
2395 yy_hold_char = *yy_cp;
2396 yy_c_buf_p = yy_cp;
2397 }
2398#endif /* ifndef YY_NO_UNPUT */
2399
2400
Reid Spencer319a7302007-01-05 17:20:02 +00002401#ifndef YY_NO_INPUT
Reid Spencere7c3c602006-11-30 06:36:44 +00002402#ifdef __cplusplus
2403static int yyinput()
2404#else
2405static int input()
2406#endif
2407 {
2408 int c;
2409
2410 *yy_c_buf_p = yy_hold_char;
2411
2412 if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
2413 {
2414 /* yy_c_buf_p now points to the character we want to return.
2415 * If this occurs *before* the EOB characters, then it's a
2416 * valid NUL; if not, then we've hit the end of the buffer.
2417 */
2418 if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
2419 /* This was really a NUL. */
2420 *yy_c_buf_p = '\0';
2421
2422 else
2423 { /* need more input */
2424 int offset = yy_c_buf_p - yytext_ptr;
2425 ++yy_c_buf_p;
2426
2427 switch ( yy_get_next_buffer() )
2428 {
2429 case EOB_ACT_LAST_MATCH:
2430 /* This happens because yy_g_n_b()
2431 * sees that we've accumulated a
2432 * token and flags that we need to
2433 * try matching the token before
2434 * proceeding. But for input(),
2435 * there's no matching to consider.
2436 * So convert the EOB_ACT_LAST_MATCH
2437 * to EOB_ACT_END_OF_FILE.
2438 */
2439
2440 /* Reset buffer status. */
2441 yyrestart( yyin );
2442
2443 /* fall through */
2444
2445 case EOB_ACT_END_OF_FILE:
2446 {
2447 if ( yywrap() )
2448 return EOF;
2449
2450 if ( ! yy_did_buffer_switch_on_eof )
2451 YY_NEW_FILE;
2452#ifdef __cplusplus
2453 return yyinput();
2454#else
2455 return input();
2456#endif
2457 }
2458
2459 case EOB_ACT_CONTINUE_SCAN:
2460 yy_c_buf_p = yytext_ptr + offset;
2461 break;
2462 }
2463 }
2464 }
2465
2466 c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */
2467 *yy_c_buf_p = '\0'; /* preserve yytext */
2468 yy_hold_char = *++yy_c_buf_p;
2469
2470 if ( c == '\n' )
2471 ++yylineno;
2472
2473 return c;
2474 }
Reid Spencer319a7302007-01-05 17:20:02 +00002475#endif /* YY_NO_INPUT */
Reid Spencere7c3c602006-11-30 06:36:44 +00002476
2477#ifdef YY_USE_PROTOS
2478void yyrestart( FILE *input_file )
2479#else
2480void yyrestart( input_file )
2481FILE *input_file;
2482#endif
2483 {
2484 if ( ! yy_current_buffer )
2485 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );
2486
2487 yy_init_buffer( yy_current_buffer, input_file );
2488 yy_load_buffer_state();
2489 }
2490
2491
2492#ifdef YY_USE_PROTOS
2493void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )
2494#else
2495void yy_switch_to_buffer( new_buffer )
2496YY_BUFFER_STATE new_buffer;
2497#endif
2498 {
2499 if ( yy_current_buffer == new_buffer )
2500 return;
2501
2502 if ( yy_current_buffer )
2503 {
2504 /* Flush out information for old buffer. */
2505 *yy_c_buf_p = yy_hold_char;
2506 yy_current_buffer->yy_buf_pos = yy_c_buf_p;
2507 yy_current_buffer->yy_n_chars = yy_n_chars;
2508 }
2509
2510 yy_current_buffer = new_buffer;
2511 yy_load_buffer_state();
2512
2513 /* We don't actually know whether we did this switch during
2514 * EOF (yywrap()) processing, but the only time this flag
2515 * is looked at is after yywrap() is called, so it's safe
2516 * to go ahead and always set it.
2517 */
2518 yy_did_buffer_switch_on_eof = 1;
2519 }
2520
2521
2522#ifdef YY_USE_PROTOS
2523void yy_load_buffer_state( void )
2524#else
2525void yy_load_buffer_state()
2526#endif
2527 {
2528 yy_n_chars = yy_current_buffer->yy_n_chars;
2529 yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
2530 yyin = yy_current_buffer->yy_input_file;
2531 yy_hold_char = *yy_c_buf_p;
2532 }
2533
2534
2535#ifdef YY_USE_PROTOS
2536YY_BUFFER_STATE yy_create_buffer( FILE *file, int size )
2537#else
2538YY_BUFFER_STATE yy_create_buffer( file, size )
2539FILE *file;
2540int size;
2541#endif
2542 {
2543 YY_BUFFER_STATE b;
2544
2545 b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
2546 if ( ! b )
2547 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
2548
2549 b->yy_buf_size = size;
2550
2551 /* yy_ch_buf has to be 2 characters longer than the size given because
2552 * we need to put in 2 end-of-buffer characters.
2553 */
2554 b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 );
2555 if ( ! b->yy_ch_buf )
2556 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
2557
2558 b->yy_is_our_buffer = 1;
2559
2560 yy_init_buffer( b, file );
2561
2562 return b;
2563 }
2564
2565
2566#ifdef YY_USE_PROTOS
2567void yy_delete_buffer( YY_BUFFER_STATE b )
2568#else
2569void yy_delete_buffer( b )
2570YY_BUFFER_STATE b;
2571#endif
2572 {
2573 if ( ! b )
2574 return;
2575
2576 if ( b == yy_current_buffer )
2577 yy_current_buffer = (YY_BUFFER_STATE) 0;
2578
2579 if ( b->yy_is_our_buffer )
2580 yy_flex_free( (void *) b->yy_ch_buf );
2581
2582 yy_flex_free( (void *) b );
2583 }
2584
2585
2586
2587#ifdef YY_USE_PROTOS
2588void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
2589#else
2590void yy_init_buffer( b, file )
2591YY_BUFFER_STATE b;
2592FILE *file;
2593#endif
2594
2595
2596 {
2597 yy_flush_buffer( b );
2598
2599 b->yy_input_file = file;
2600 b->yy_fill_buffer = 1;
2601
2602#if YY_ALWAYS_INTERACTIVE
2603 b->yy_is_interactive = 1;
2604#else
2605#if YY_NEVER_INTERACTIVE
2606 b->yy_is_interactive = 0;
2607#else
2608 b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
2609#endif
2610#endif
2611 }
2612
2613
2614#ifdef YY_USE_PROTOS
2615void yy_flush_buffer( YY_BUFFER_STATE b )
2616#else
2617void yy_flush_buffer( b )
2618YY_BUFFER_STATE b;
2619#endif
2620
2621 {
2622 if ( ! b )
2623 return;
2624
2625 b->yy_n_chars = 0;
2626
2627 /* We always need two end-of-buffer characters. The first causes
2628 * a transition to the end-of-buffer state. The second causes
2629 * a jam in that state.
2630 */
2631 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
2632 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
2633
2634 b->yy_buf_pos = &b->yy_ch_buf[0];
2635
2636 b->yy_at_bol = 1;
2637 b->yy_buffer_status = YY_BUFFER_NEW;
2638
2639 if ( b == yy_current_buffer )
2640 yy_load_buffer_state();
2641 }
2642
2643
2644#ifndef YY_NO_SCAN_BUFFER
2645#ifdef YY_USE_PROTOS
2646YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size )
2647#else
2648YY_BUFFER_STATE yy_scan_buffer( base, size )
2649char *base;
2650yy_size_t size;
2651#endif
2652 {
2653 YY_BUFFER_STATE b;
2654
2655 if ( size < 2 ||
2656 base[size-2] != YY_END_OF_BUFFER_CHAR ||
2657 base[size-1] != YY_END_OF_BUFFER_CHAR )
2658 /* They forgot to leave room for the EOB's. */
2659 return 0;
2660
2661 b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
2662 if ( ! b )
2663 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
2664
2665 b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
2666 b->yy_buf_pos = b->yy_ch_buf = base;
2667 b->yy_is_our_buffer = 0;
2668 b->yy_input_file = 0;
2669 b->yy_n_chars = b->yy_buf_size;
2670 b->yy_is_interactive = 0;
2671 b->yy_at_bol = 1;
2672 b->yy_fill_buffer = 0;
2673 b->yy_buffer_status = YY_BUFFER_NEW;
2674
2675 yy_switch_to_buffer( b );
2676
2677 return b;
2678 }
2679#endif
2680
2681
2682#ifndef YY_NO_SCAN_STRING
2683#ifdef YY_USE_PROTOS
2684YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str )
2685#else
2686YY_BUFFER_STATE yy_scan_string( yy_str )
2687yyconst char *yy_str;
2688#endif
2689 {
2690 int len;
2691 for ( len = 0; yy_str[len]; ++len )
2692 ;
2693
2694 return yy_scan_bytes( yy_str, len );
2695 }
2696#endif
2697
2698
2699#ifndef YY_NO_SCAN_BYTES
2700#ifdef YY_USE_PROTOS
2701YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len )
2702#else
2703YY_BUFFER_STATE yy_scan_bytes( bytes, len )
2704yyconst char *bytes;
2705int len;
2706#endif
2707 {
2708 YY_BUFFER_STATE b;
2709 char *buf;
2710 yy_size_t n;
2711 int i;
2712
2713 /* Get memory for full buffer, including space for trailing EOB's. */
2714 n = len + 2;
2715 buf = (char *) yy_flex_alloc( n );
2716 if ( ! buf )
2717 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
2718
2719 for ( i = 0; i < len; ++i )
2720 buf[i] = bytes[i];
2721
2722 buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
2723
2724 b = yy_scan_buffer( buf, n );
2725 if ( ! b )
2726 YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
2727
2728 /* It's okay to grow etc. this buffer, and we should throw it
2729 * away when we're done.
2730 */
2731 b->yy_is_our_buffer = 1;
2732
2733 return b;
2734 }
2735#endif
2736
2737
2738#ifndef YY_NO_PUSH_STATE
2739#ifdef YY_USE_PROTOS
2740static void yy_push_state( int new_state )
2741#else
2742static void yy_push_state( new_state )
2743int new_state;
2744#endif
2745 {
2746 if ( yy_start_stack_ptr >= yy_start_stack_depth )
2747 {
2748 yy_size_t new_size;
2749
2750 yy_start_stack_depth += YY_START_STACK_INCR;
2751 new_size = yy_start_stack_depth * sizeof( int );
2752
2753 if ( ! yy_start_stack )
2754 yy_start_stack = (int *) yy_flex_alloc( new_size );
2755
2756 else
2757 yy_start_stack = (int *) yy_flex_realloc(
2758 (void *) yy_start_stack, new_size );
2759
2760 if ( ! yy_start_stack )
2761 YY_FATAL_ERROR(
2762 "out of memory expanding start-condition stack" );
2763 }
2764
2765 yy_start_stack[yy_start_stack_ptr++] = YY_START;
2766
2767 BEGIN(new_state);
2768 }
2769#endif
2770
2771
2772#ifndef YY_NO_POP_STATE
2773static void yy_pop_state()
2774 {
2775 if ( --yy_start_stack_ptr < 0 )
2776 YY_FATAL_ERROR( "start-condition stack underflow" );
2777
2778 BEGIN(yy_start_stack[yy_start_stack_ptr]);
2779 }
2780#endif
2781
2782
2783#ifndef YY_NO_TOP_STATE
2784static int yy_top_state()
2785 {
2786 return yy_start_stack[yy_start_stack_ptr - 1];
2787 }
2788#endif
2789
2790#ifndef YY_EXIT_FAILURE
2791#define YY_EXIT_FAILURE 2
2792#endif
2793
2794#ifdef YY_USE_PROTOS
2795static void yy_fatal_error( yyconst char msg[] )
2796#else
2797static void yy_fatal_error( msg )
2798char msg[];
2799#endif
2800 {
2801 (void) fprintf( stderr, "%s\n", msg );
2802 exit( YY_EXIT_FAILURE );
2803 }
2804
2805
2806
2807/* Redefine yyless() so it works in section 3 code. */
2808
2809#undef yyless
2810#define yyless(n) \
2811 do \
2812 { \
2813 /* Undo effects of setting up yytext. */ \
2814 yytext[yyleng] = yy_hold_char; \
2815 yy_c_buf_p = yytext + n; \
2816 yy_hold_char = *yy_c_buf_p; \
2817 *yy_c_buf_p = '\0'; \
2818 yyleng = n; \
2819 } \
2820 while ( 0 )
2821
2822
2823/* Internal utility routines. */
2824
2825#ifndef yytext_ptr
2826#ifdef YY_USE_PROTOS
2827static void yy_flex_strncpy( char *s1, yyconst char *s2, int n )
2828#else
2829static void yy_flex_strncpy( s1, s2, n )
2830char *s1;
2831yyconst char *s2;
2832int n;
2833#endif
2834 {
2835 register int i;
2836 for ( i = 0; i < n; ++i )
2837 s1[i] = s2[i];
2838 }
2839#endif
2840
2841#ifdef YY_NEED_STRLEN
2842#ifdef YY_USE_PROTOS
2843static int yy_flex_strlen( yyconst char *s )
2844#else
2845static int yy_flex_strlen( s )
2846yyconst char *s;
2847#endif
2848 {
2849 register int n;
2850 for ( n = 0; s[n]; ++n )
2851 ;
2852
2853 return n;
2854 }
2855#endif
2856
2857
2858#ifdef YY_USE_PROTOS
2859static void *yy_flex_alloc( yy_size_t size )
2860#else
2861static void *yy_flex_alloc( size )
2862yy_size_t size;
2863#endif
2864 {
2865 return (void *) malloc( size );
2866 }
2867
2868#ifdef YY_USE_PROTOS
2869static inline void *yy_flex_realloc( void *ptr, yy_size_t size )
2870#else
2871static inline void *yy_flex_realloc( ptr, size )
2872void *ptr;
2873yy_size_t size;
2874#endif
2875 {
2876 /* The cast to (char *) in the following accommodates both
2877 * implementations that use char* generic pointers, and those
2878 * that use void* generic pointers. It works with the latter
2879 * because both ANSI C and C++ allow castless assignment from
2880 * any pointer type to void*, and deal with argument conversions
2881 * as though doing an assignment.
2882 */
2883 return (void *) realloc( (char *) ptr, size );
2884 }
2885
2886#ifdef YY_USE_PROTOS
2887static void yy_flex_free( void *ptr )
2888#else
2889static void yy_flex_free( ptr )
2890void *ptr;
2891#endif
2892 {
2893 free( ptr );
2894 }
2895
2896#if YY_MAIN
2897int main()
2898 {
2899 yylex();
2900 return 0;
2901 }
2902#endif
Reid Spencer319a7302007-01-05 17:20:02 +00002903#line 273 "/proj/llvm/llvm-3/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +00002904