blob: 09feb74cf526ed8a3700fe3e5a8176db24813908 [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"
Chris Lattner37e01c52007-01-04 18:46:42 +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 Spencere7c3c602006-11-30 06:36:44 +000031
32
33/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
34#ifdef c_plusplus
35#ifndef __cplusplus
36#define __cplusplus
37#endif
38#endif
39
40
41#ifdef __cplusplus
42
43#include <stdlib.h>
Chris Lattner37e01c52007-01-04 18:46:42 +000044#include <unistd.h>
Reid Spencere7c3c602006-11-30 06:36:44 +000045
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 Spencere7c3c602006-11-30 06:36:44 +0000156/* The following is because we cannot portably get our hands on size_t
157 * (without autoconf's help, which isn't available because we want
158 * flex-generated scanners to compile on their own).
159 */
160typedef unsigned int yy_size_t;
161
162
163struct yy_buffer_state
164 {
165 FILE *yy_input_file;
166
167 char *yy_ch_buf; /* input buffer */
168 char *yy_buf_pos; /* current position in input buffer */
169
170 /* Size of input buffer in bytes, not including room for EOB
171 * characters.
172 */
173 yy_size_t yy_buf_size;
174
175 /* Number of characters read into yy_ch_buf, not including EOB
176 * characters.
177 */
178 int yy_n_chars;
179
180 /* Whether we "own" the buffer - i.e., we know we created it,
181 * and can realloc() it to grow it, and should free() it to
182 * delete it.
183 */
184 int yy_is_our_buffer;
185
186 /* Whether this is an "interactive" input source; if so, and
187 * if we're using stdio for input, then we want to use getc()
188 * instead of fread(), to make sure we stop fetching input after
189 * each newline.
190 */
191 int yy_is_interactive;
192
193 /* Whether we're considered to be at the beginning of a line.
194 * If so, '^' rules will be active on the next match, otherwise
195 * not.
196 */
197 int yy_at_bol;
198
199 /* Whether to try to fill the input buffer when we reach the
200 * end of it.
201 */
202 int yy_fill_buffer;
203
204 int yy_buffer_status;
205#define YY_BUFFER_NEW 0
206#define YY_BUFFER_NORMAL 1
207 /* When an EOF's been seen but there's still some text to process
208 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
209 * shouldn't try reading from the input source any more. We might
210 * still have a bunch of tokens to match, though, because of
211 * possible backing-up.
212 *
213 * When we actually see the EOF, we change the status to "new"
214 * (via yyrestart()), so that the user can continue scanning by
215 * just pointing yyin at a new input file.
216 */
217#define YY_BUFFER_EOF_PENDING 2
218 };
219
220static YY_BUFFER_STATE yy_current_buffer = 0;
221
222/* We provide macros for accessing buffer states in case in the
223 * future we want to put the buffer states in a more general
224 * "scanner state".
225 */
226#define YY_CURRENT_BUFFER yy_current_buffer
227
228
229/* yy_hold_char holds the character lost when yytext is formed. */
230static char yy_hold_char;
231
232static int yy_n_chars; /* number of characters read into yy_ch_buf */
233
234
235int yyleng;
236
237/* Points to current character in buffer. */
238static char *yy_c_buf_p = (char *) 0;
239static int yy_init = 1; /* whether we need to initialize */
240static int yy_start = 0; /* start state number */
241
242/* Flag which is used to allow yywrap()'s to do buffer switches
243 * instead of setting up a fresh yyin. A bit of a hack ...
244 */
245static int yy_did_buffer_switch_on_eof;
246
247void yyrestart YY_PROTO(( FILE *input_file ));
248
249void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
250void yy_load_buffer_state YY_PROTO(( void ));
251YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
252void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
253void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
254void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b ));
255#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer )
256
257YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size ));
258YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str ));
259YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len ));
260
261static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
Chris Lattner37e01c52007-01-04 18:46:42 +0000262static inline void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));
Reid Spencere7c3c602006-11-30 06:36:44 +0000263static void yy_flex_free YY_PROTO(( void * ));
264
265#define yy_new_buffer yy_create_buffer
266
267#define yy_set_interactive(is_interactive) \
268 { \
269 if ( ! yy_current_buffer ) \
270 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
271 yy_current_buffer->yy_is_interactive = is_interactive; \
272 }
273
274#define yy_set_bol(at_bol) \
275 { \
276 if ( ! yy_current_buffer ) \
277 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
278 yy_current_buffer->yy_at_bol = at_bol; \
279 }
280
281#define YY_AT_BOL() (yy_current_buffer->yy_at_bol)
282
283
284#define YY_USES_REJECT
285
286#define yywrap() 1
287#define YY_SKIP_YYWRAP
288typedef unsigned char YY_CHAR;
289FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
290typedef int yy_state_type;
291extern int yylineno;
292int yylineno = 1;
293extern char *yytext;
294#define yytext_ptr yytext
295
296static yy_state_type yy_get_previous_state YY_PROTO(( void ));
297static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
298static int yy_get_next_buffer YY_PROTO(( void ));
299static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
300
301/* Done after the current pattern has been matched and before the
302 * corresponding action - sets up yytext.
303 */
304#define YY_DO_BEFORE_ACTION \
305 yytext_ptr = yy_bp; \
306 yyleng = (int) (yy_cp - yy_bp); \
307 yy_hold_char = *yy_cp; \
308 *yy_cp = '\0'; \
309 yy_c_buf_p = yy_cp;
310
Reid Spencer71d2ec92006-12-31 06:02:26 +0000311#define YY_NUM_RULES 157
312#define YY_END_OF_BUFFER 158
313static yyconst short int yy_acclist[235] =
Reid Spencere7c3c602006-11-30 06:36:44 +0000314 { 0,
Reid Spencer71d2ec92006-12-31 06:02:26 +0000315 158, 156, 157, 155, 156, 157, 155, 157, 156, 157,
316 156, 157, 156, 157, 156, 157, 156, 157, 156, 157,
317 148, 156, 157, 148, 156, 157, 1, 156, 157, 156,
318 157, 156, 157, 156, 157, 156, 157, 156, 157, 156,
319 157, 156, 157, 156, 157, 156, 157, 156, 157, 156,
320 157, 156, 157, 156, 157, 156, 157, 156, 157, 156,
321 157, 156, 157, 156, 157, 156, 157, 156, 157, 156,
322 157, 147, 145, 144, 144, 151, 149, 153, 148, 1,
323 129, 39, 87, 56, 88, 77, 23, 147, 144, 144,
324 152, 153, 20, 153, 154, 65, 76, 37, 32, 40,
Reid Spencere7c3c602006-11-30 06:36:44 +0000325
Reid Spencer71d2ec92006-12-31 06:02:26 +0000326 68, 3, 57, 58, 59, 52, 67, 93, 98, 96,
327 97, 95, 94, 99, 107, 72, 128, 92, 90, 123,
328 124, 91, 89, 66, 101, 106, 104, 105, 103, 102,
329 100, 78, 146, 153, 153, 125, 47, 108, 109, 86,
330 71, 137, 75, 85, 138, 54, 126, 22, 150, 70,
331 112, 74, 24, 4, 64, 69, 53, 73, 46, 11,
332 111, 153, 34, 2, 5, 60, 114, 62, 48, 80,
333 84, 82, 83, 81, 79, 50, 139, 110, 49, 55,
334 21, 136, 43, 61, 28, 133, 42, 116, 115, 7,
335 131, 31, 135, 36, 63, 122, 118, 130, 25, 26,
Reid Spencere7c3c602006-11-30 06:36:44 +0000336
Reid Spencer71d2ec92006-12-31 06:02:26 +0000337 117, 132, 51, 127, 121, 41, 6, 27, 113, 35,
338 8, 16, 9, 120, 10, 119, 33, 12, 14, 13,
339 30, 38, 15, 29, 134, 140, 142, 143, 17, 44,
340 141, 18, 45, 19
Reid Spencere7c3c602006-11-30 06:36:44 +0000341 } ;
342
Reid Spencer71d2ec92006-12-31 06:02:26 +0000343static yyconst short int yy_accept[609] =
Reid Spencere7c3c602006-11-30 06:36:44 +0000344 { 0,
345 1, 1, 1, 2, 4, 7, 9, 11, 13, 15,
346 17, 19, 21, 24, 27, 30, 32, 34, 36, 38,
347 40, 42, 44, 46, 48, 50, 52, 54, 56, 58,
348 60, 62, 64, 66, 68, 70, 72, 72, 73, 73,
349 74, 75, 76, 77, 77, 78, 78, 79, 80, 80,
350 81, 81, 81, 81, 81, 81, 81, 81, 81, 82,
351 82, 83, 83, 83, 83, 83, 83, 83, 83, 83,
Reid Spencere7c3c602006-11-30 06:36:44 +0000352 84, 84, 84, 84, 84, 84, 84, 84, 84, 84,
Reid Spencer71d2ec92006-12-31 06:02:26 +0000353 84, 84, 84, 85, 85, 85, 85, 85, 85, 85,
354 85, 85, 85, 85, 86, 86, 86, 86, 86, 86,
Reid Spencere7c3c602006-11-30 06:36:44 +0000355
Reid Spencer71d2ec92006-12-31 06:02:26 +0000356 86, 87, 87, 87, 87, 87, 87, 87, 87, 87,
357 87, 87, 87, 87, 87, 87, 87, 87, 87, 88,
358 88, 88, 88, 88, 88, 88, 88, 88, 88, 88,
359 88, 88, 88, 88, 88, 88, 88, 89, 90, 92,
360 93, 94, 95, 95, 96, 97, 97, 97, 98, 98,
361 98, 99, 99, 100, 100, 100, 100, 100, 101, 101,
362 101, 101, 101, 101, 101, 102, 102, 102, 103, 103,
363 103, 103, 103, 103, 103, 103, 103, 103, 103, 103,
364 103, 104, 105, 106, 106, 106, 106, 107, 107, 107,
365 107, 107, 107, 107, 107, 107, 107, 108, 108, 109,
Reid Spencere7c3c602006-11-30 06:36:44 +0000366
Reid Spencer71d2ec92006-12-31 06:02:26 +0000367 110, 111, 112, 113, 114, 114, 115, 116, 116, 116,
368 117, 118, 118, 118, 118, 118, 118, 118, 118, 119,
369 120, 121, 121, 122, 122, 122, 122, 123, 124, 124,
370 124, 125, 125, 125, 125, 125, 125, 125, 125, 125,
371 126, 127, 128, 128, 128, 129, 129, 130, 130, 131,
372 131, 132, 132, 132, 132, 132, 132, 132, 132, 132,
373 132, 133, 133, 133, 134, 135, 135, 135, 135, 136,
374 136, 136, 136, 137, 137, 137, 138, 139, 140, 140,
375 140, 140, 140, 140, 140, 140, 140, 140, 140, 140,
376 140, 140, 140, 140, 141, 142, 142, 142, 142, 142,
Reid Spencere7c3c602006-11-30 06:36:44 +0000377
Reid Spencer71d2ec92006-12-31 06:02:26 +0000378 143, 144, 144, 144, 145, 145, 145, 145, 145, 145,
379 145, 145, 145, 146, 147, 148, 148, 148, 149, 149,
380 149, 149, 150, 150, 151, 151, 151, 151, 151, 151,
381 151, 152, 152, 152, 152, 152, 153, 153, 153, 154,
382 154, 154, 155, 155, 156, 156, 157, 158, 158, 158,
383 158, 158, 158, 158, 159, 159, 159, 160, 160, 161,
384 161, 161, 162, 163, 164, 164, 164, 165, 165, 165,
385 165, 165, 165, 165, 165, 165, 165, 165, 165, 165,
386 165, 165, 166, 166, 167, 168, 168, 168, 168, 168,
387 168, 168, 168, 168, 168, 168, 169, 169, 169, 169,
Reid Spencere7c3c602006-11-30 06:36:44 +0000388
Reid Spencer71d2ec92006-12-31 06:02:26 +0000389 169, 169, 169, 169, 170, 170, 170, 171, 172, 173,
390 174, 175, 176, 177, 177, 177, 177, 178, 178, 178,
391 178, 179, 180, 180, 181, 182, 182, 182, 182, 182,
392 182, 182, 182, 182, 182, 183, 183, 183, 184, 184,
393 184, 184, 184, 184, 184, 184, 185, 186, 187, 187,
394 187, 188, 189, 190, 190, 190, 191, 191, 191, 191,
395 191, 192, 192, 193, 194, 195, 196, 196, 196, 196,
396 197, 197, 197, 198, 199, 200, 201, 202, 202, 202,
397 203, 204, 205, 205, 205, 205, 205, 205, 206, 206,
398 207, 207, 208, 209, 209, 209, 209, 209, 209, 210,
Reid Spencere7c3c602006-11-30 06:36:44 +0000399
Reid Spencer71d2ec92006-12-31 06:02:26 +0000400 210, 210, 210, 210, 210, 210, 210, 210, 211, 211,
401 211, 211, 211, 211, 211, 211, 211, 211, 212, 212,
402 212, 212, 212, 213, 213, 213, 213, 213, 214, 215,
403 216, 216, 217, 217, 217, 217, 217, 218, 218, 218,
404 218, 219, 219, 220, 221, 221, 221, 221, 221, 221,
405 221, 221, 221, 221, 221, 221, 221, 221, 222, 222,
406 222, 222, 222, 222, 222, 222, 223, 223, 223, 223,
407 223, 223, 224, 224, 224, 224, 224, 225, 225, 225,
408 226, 226, 226, 226, 226, 226, 226, 226, 226, 226,
409 226, 226, 226, 226, 227, 227, 228, 229, 230, 230,
Reid Spencer229e9362006-12-02 22:14:11 +0000410
Reid Spencer71d2ec92006-12-31 06:02:26 +0000411 231, 231, 232, 233, 234, 234, 235, 235
Reid Spencere7c3c602006-11-30 06:36:44 +0000412 } ;
413
414static yyconst int yy_ec[256] =
415 { 0,
416 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
417 1, 1, 2, 1, 1, 1, 1, 1, 1, 1,
418 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
419 1, 2, 1, 4, 1, 5, 6, 1, 1, 1,
Reid Spencer71d2ec92006-12-31 06:02:26 +0000420 1, 1, 7, 1, 8, 9, 1, 10, 11, 12,
421 13, 14, 15, 16, 15, 17, 15, 18, 19, 1,
422 1, 1, 1, 1, 20, 20, 20, 20, 21, 20,
Reid Spencere7c3c602006-11-30 06:36:44 +0000423 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
424 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
Reid Spencer71d2ec92006-12-31 06:02:26 +0000425 1, 1, 1, 1, 22, 1, 23, 24, 25, 26,
Reid Spencere7c3c602006-11-30 06:36:44 +0000426
Reid Spencer71d2ec92006-12-31 06:02:26 +0000427 27, 28, 29, 30, 31, 5, 32, 33, 34, 35,
428 36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
429 46, 47, 1, 1, 1, 1, 1, 1, 1, 1,
Reid Spencere7c3c602006-11-30 06:36:44 +0000430 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
431 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
432 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
433 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
434 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
435 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
436 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
437
438 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
439 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
440 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
441 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
442 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
443 1, 1, 1, 1, 1
444 } ;
445
Reid Spencer71d2ec92006-12-31 06:02:26 +0000446static yyconst int yy_meta[48] =
Reid Spencere7c3c602006-11-30 06:36:44 +0000447 { 0,
Reid Spencer71d2ec92006-12-31 06:02:26 +0000448 1, 1, 2, 1, 3, 1, 4, 5, 3, 6,
449 6, 6, 6, 6, 6, 6, 6, 7, 1, 3,
450 8, 3, 3, 3, 3, 3, 8, 3, 3, 3,
Reid Spencere7c3c602006-11-30 06:36:44 +0000451 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
Reid Spencer71d2ec92006-12-31 06:02:26 +0000452 3, 3, 3, 3, 3, 3, 3
Reid Spencere7c3c602006-11-30 06:36:44 +0000453 } ;
454
Reid Spencer71d2ec92006-12-31 06:02:26 +0000455static yyconst short int yy_base[617] =
Reid Spencere7c3c602006-11-30 06:36:44 +0000456 { 0,
Reid Spencer71d2ec92006-12-31 06:02:26 +0000457 0, 0, 1298, 1299, 1299, 1299, 1293, 1278, 40, 0,
458 48, 58, 68, 1250, 0, 68, 71, 81, 91, 52,
459 105, 93, 134, 117, 118, 73, 137, 143, 98, 175,
460 144, 210, 159, 116, 56, 119, 1290, 1299, 1275, 1299,
461 0, 241, 0, 1283, 1282, 140, 249, 1245, 267, 0,
462 70, 163, 145, 31, 157, 160, 168, 57, 1271, 170,
463 94, 180, 182, 54, 193, 189, 194, 114, 205, 1270,
464 271, 207, 204, 211, 208, 279, 206, 228, 249, 53,
465 121, 254, 1269, 268, 280, 281, 283, 290, 291, 285,
466 286, 287, 300, 1268, 305, 292, 309, 310, 314, 293,
Reid Spencere7c3c602006-11-30 06:36:44 +0000467
Reid Spencer71d2ec92006-12-31 06:02:26 +0000468 316, 217, 317, 321, 311, 147, 322, 325, 328, 331,
469 341, 329, 344, 336, 339, 358, 347, 348, 1267, 363,
470 349, 346, 366, 370, 371, 372, 373, 384, 377, 388,
471 253, 398, 378, 401, 385, 403, 1266, 0, 0, 372,
472 1265, 0, 442, 0, 1264, 404, 407, 1263, 408, 412,
473 1262, 409, 1261, 414, 427, 428, 423, 1260, 418, 429,
474 444, 445, 447, 448, 1259, 452, 449, 454, 457, 459,
475 456, 458, 460, 464, 469, 255, 470, 476, 473, 471,
476 1258, 1257, 1256, 475, 472, 484, 486, 483, 490, 496,
477 497, 498, 500, 502, 503, 504, 1255, 507, 1254, 1253,
Reid Spencere7c3c602006-11-30 06:36:44 +0000478
Reid Spencer71d2ec92006-12-31 06:02:26 +0000479 1252, 1251, 1250, 1249, 505, 1248, 1247, 512, 508, 1246,
480 1245, 540, 517, 516, 521, 515, 551, 530, 1244, 1243,
481 1242, 552, 1241, 554, 556, 557, 1240, 1239, 555, 558,
482 1238, 559, 561, 563, 567, 572, 569, 570, 577, 1237,
483 1236, 1235, 580, 583, 1234, 587, 1233, 585, 1232, 588,
484 1231, 590, 513, 584, 591, 514, 598, 592, 596, 416,
485 1230, 595, 607, 1299, 605, 622, 626, 628, 630, 621,
486 622, 623, 1229, 624, 626, 1228, 1227, 1226, 625, 627,
487 628, 633, 634, 636, 635, 637, 642, 647, 644, 643,
488 654, 646, 658, 1225, 1224, 645, 656, 660, 661, 1223,
Reid Spencere7c3c602006-11-30 06:36:44 +0000489
Reid Spencer71d2ec92006-12-31 06:02:26 +0000490 1222, 666, 667, 1221, 669, 670, 671, 675, 673, 674,
491 676, 680, 1220, 1219, 1218, 683, 688, 1217, 686, 677,
492 690, 0, 696, 1216, 698, 697, 699, 706, 707, 709,
493 1215, 702, 712, 714, 717, 1214, 724, 713, 1213, 726,
494 721, 1212, 731, 1211, 728, 1210, 1209, 732, 734, 739,
495 740, 741, 743, 1208, 744, 747, 1207, 748, 1206, 751,
496 750, 1205, 0, 1204, 752, 754, 1203, 755, 759, 764,
497 767, 770, 758, 772, 776, 780, 781, 783, 782, 784,
498 785, 1202, 786, 1201, 1200, 789, 791, 794, 787, 788,
499 797, 798, 806, 807, 808, 1199, 810, 809, 812, 815,
Reid Spencere7c3c602006-11-30 06:36:44 +0000500
Reid Spencer71d2ec92006-12-31 06:02:26 +0000501 816, 820, 822, 1198, 814, 828, 1197, 1196, 1195, 1194,
502 1193, 1192, 1191, 830, 831, 833, 1190, 834, 836, 838,
503 1189, 1188, 837, 1187, 1186, 839, 842, 840, 843, 844,
504 850, 853, 854, 857, 1185, 860, 861, 1184, 864, 865,
505 867, 869, 868, 870, 871, 1183, 1182, 1181, 875, 876,
506 1180, 1179, 1178, 885, 882, 1177, 887, 891, 897, 883,
507 1176, 886, 1175, 1174, 1173, 1172, 894, 901, 903, 1171,
508 904, 907, 1170, 1169, 1168, 1167, 1166, 908, 910, 1165,
509 1164, 1163, 909, 905, 911, 912, 914, 1162, 916, 1161,
510 923, 1160, 1159, 926, 928, 929, 930, 933, 1158, 934,
Reid Spencere7c3c602006-11-30 06:36:44 +0000511
Reid Spencer71d2ec92006-12-31 06:02:26 +0000512 935, 936, 938, 937, 948, 932, 940, 1157, 944, 950,
513 956, 960, 962, 964, 966, 967, 968, 1156, 946, 972,
514 974, 975, 1155, 976, 977, 978, 980, 1150, 1147, 1144,
515 983, 1136, 993, 981, 985, 986, 1133, 998, 999, 1003,
516 1130, 1006, 1124, 1113, 1007, 1008, 1009, 1010, 1011, 1013,
517 1014, 1018, 1020, 1019, 1023, 1022, 1025, 1111, 1024, 1031,
518 1026, 1035, 1039, 1040, 1036, 1109, 1043, 1044, 1046, 1050,
519 1051, 1108, 1054, 1052, 1055, 1056, 1106, 1060, 1062, 1104,
520 1064, 1067, 1057, 1069, 1076, 1077, 1080, 1081, 1082, 1084,
521 1085, 1083, 1087, 1101, 1088, 1100, 1099, 1094, 1089, 982,
Reid Spencer229e9362006-12-02 22:14:11 +0000522
Reid Spencer71d2ec92006-12-31 06:02:26 +0000523 1098, 756, 527, 419, 1093, 326, 1299, 1132, 1138, 1144,
524 268, 1152, 1158, 123, 1161, 1166
Reid Spencere7c3c602006-11-30 06:36:44 +0000525 } ;
526
Reid Spencer71d2ec92006-12-31 06:02:26 +0000527static yyconst short int yy_def[617] =
Reid Spencere7c3c602006-11-30 06:36:44 +0000528 { 0,
Reid Spencer71d2ec92006-12-31 06:02:26 +0000529 607, 1, 607, 607, 607, 607, 608, 609, 610, 611,
530 609, 609, 11, 13, 612, 609, 609, 609, 609, 609,
531 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
532 609, 609, 609, 609, 609, 609, 608, 607, 609, 607,
533 613, 613, 614, 611, 11, 609, 11, 13, 11, 612,
534 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
535 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
536 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
537 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
538 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
Reid Spencere7c3c602006-11-30 06:36:44 +0000539
Reid Spencer71d2ec92006-12-31 06:02:26 +0000540 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
541 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
542 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
543 609, 609, 609, 609, 609, 609, 607, 613, 42, 615,
544 609, 47, 11, 49, 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,
548 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
549 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
Reid Spencere7c3c602006-11-30 06:36:44 +0000550
Reid Spencer71d2ec92006-12-31 06:02:26 +0000551 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
552 609, 49, 609, 609, 609, 609, 609, 609, 609, 609,
553 609, 609, 609, 609, 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, 607, 615, 616, 616, 143, 143, 609,
558 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
559 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
560 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
Reid Spencere7c3c602006-11-30 06:36:44 +0000561
Reid Spencer71d2ec92006-12-31 06:02:26 +0000562 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
563 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
564 609, 212, 609, 609, 609, 609, 609, 609, 609, 609,
565 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
566 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
567 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
568 609, 609, 267, 609, 609, 609, 609, 609, 609, 609,
569 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
570 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
571 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
Reid Spencere7c3c602006-11-30 06:36:44 +0000572
Reid Spencer71d2ec92006-12-31 06:02:26 +0000573 609, 609, 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, 609, 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,
581 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
582 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
Reid Spencere7c3c602006-11-30 06:36:44 +0000583
Reid Spencer71d2ec92006-12-31 06:02:26 +0000584 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,
592 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
593 609, 609, 609, 609, 609, 609, 609, 609, 609, 609,
Reid Spencer229e9362006-12-02 22:14:11 +0000594
Reid Spencer71d2ec92006-12-31 06:02:26 +0000595 609, 609, 609, 609, 609, 609, 0, 607, 607, 607,
596 607, 607, 607, 607, 607, 607
Reid Spencere7c3c602006-11-30 06:36:44 +0000597 } ;
598
Reid Spencer71d2ec92006-12-31 06:02:26 +0000599static yyconst short int yy_nxt[1347] =
Reid Spencere7c3c602006-11-30 06:36:44 +0000600 { 0,
601 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
Reid Spencer71d2ec92006-12-31 06:02:26 +0000602 14, 14, 14, 14, 14, 14, 14, 4, 15, 8,
603 8, 8, 16, 17, 18, 19, 20, 21, 22, 8,
604 23, 8, 24, 25, 26, 27, 28, 8, 29, 30,
605 31, 32, 33, 34, 35, 8, 36, 42, 40, 43,
606 43, 43, 43, 43, 43, 43, 43, 45, 45, 45,
607 45, 45, 45, 45, 45, 40, 46, 149, 181, 40,
608 40, 40, 134, 40, 40, 40, 47, 48, 48, 48,
609 48, 48, 48, 48, 48, 40, 69, 40, 40, 70,
610 40, 135, 155, 51, 162, 145, 71, 56, 40, 94,
Reid Spencere7c3c602006-11-30 06:36:44 +0000611
Reid Spencer71d2ec92006-12-31 06:02:26 +0000612 52, 57, 53, 60, 54, 61, 58, 55, 40, 59,
613 40, 40, 49, 64, 95, 40, 62, 65, 158, 78,
614 63, 66, 40, 67, 105, 79, 68, 72, 43, 73,
615 74, 40, 182, 40, 40, 40, 40, 75, 40, 87,
616 91, 76, 133, 77, 80, 136, 81, 88, 141, 82,
617 83, 40, 89, 92, 40, 167, 90, 40, 84, 93,
618 40, 40, 40, 96, 40, 97, 118, 85, 86, 98,
619 148, 99, 102, 100, 40, 101, 40, 40, 103, 119,
620 40, 131, 120, 104, 106, 40, 150, 40, 152, 121,
621 151, 212, 40, 146, 132, 147, 153, 40, 107, 40,
Reid Spencere7c3c602006-11-30 06:36:44 +0000622
Reid Spencer71d2ec92006-12-31 06:02:26 +0000623 108, 109, 156, 110, 111, 112, 40, 113, 154, 157,
624 40, 40, 159, 114, 160, 115, 116, 163, 117, 106,
625 161, 40, 40, 40, 40, 40, 166, 40, 40, 164,
626 168, 165, 178, 122, 40, 123, 124, 173, 125, 171,
627 126, 174, 127, 175, 128, 40, 172, 207, 129, 130,
628 139, 139, 139, 139, 139, 139, 139, 139, 142, 142,
629 142, 142, 142, 142, 142, 142, 40, 183, 179, 143,
630 40, 40, 40, 44, 256, 143, 144, 144, 144, 144,
631 144, 144, 144, 144, 180, 40, 144, 144, 40, 144,
632 144, 144, 144, 144, 144, 169, 40, 40, 40, 297,
Reid Spencere7c3c602006-11-30 06:36:44 +0000633
Reid Spencer71d2ec92006-12-31 06:02:26 +0000634 40, 184, 40, 40, 40, 176, 189, 40, 40, 40,
635 40, 170, 196, 192, 194, 205, 185, 40, 195, 177,
636 186, 187, 40, 188, 190, 193, 40, 40, 40, 199,
637 191, 40, 197, 40, 40, 200, 202, 198, 40, 40,
638 204, 206, 40, 40, 210, 40, 40, 208, 40, 201,
639 203, 211, 215, 40, 225, 214, 40, 219, 40, 209,
640 216, 40, 229, 40, 40, 40, 40, 213, 217, 226,
641 227, 220, 218, 221, 230, 40, 222, 232, 233, 223,
642 40, 231, 224, 40, 228, 237, 234, 40, 40, 40,
643 40, 238, 266, 235, 40, 40, 239, 241, 266, 245,
Reid Spencere7c3c602006-11-30 06:36:44 +0000644
Reid Spencer71d2ec92006-12-31 06:02:26 +0000645 259, 40, 40, 254, 236, 40, 243, 240, 246, 248,
646 249, 242, 244, 247, 250, 40, 260, 255, 40, 251,
647 40, 40, 252, 261, 40, 40, 40, 253, 257, 40,
648 258, 40, 270, 40, 272, 40, 40, 360, 275, 274,
649 40, 262, 271, 279, 40, 40, 40, 263, 267, 268,
650 273, 269, 269, 269, 269, 269, 269, 269, 269, 276,
651 277, 40, 40, 278, 40, 40, 40, 282, 280, 40,
652 281, 40, 287, 40, 40, 40, 40, 40, 285, 283,
653 284, 40, 286, 289, 288, 290, 40, 40, 40, 40,
654 40, 296, 40, 40, 303, 292, 294, 291, 293, 302,
Reid Spencere7c3c602006-11-30 06:36:44 +0000655
Reid Spencer71d2ec92006-12-31 06:02:26 +0000656 40, 40, 300, 40, 305, 298, 295, 40, 299, 301,
657 306, 304, 307, 40, 40, 40, 310, 40, 309, 40,
658 40, 40, 40, 313, 40, 40, 308, 311, 314, 40,
659 40, 40, 40, 40, 40, 316, 356, 312, 40, 318,
660 315, 326, 319, 353, 40, 317, 320, 40, 321, 322,
661 322, 322, 322, 322, 322, 322, 322, 323, 324, 322,
662 322, 325, 322, 322, 322, 322, 322, 322, 40, 40,
663 331, 40, 40, 40, 40, 40, 40, 327, 40, 328,
664 40, 333, 334, 329, 40, 330, 40, 40, 336, 40,
665 332, 340, 335, 339, 40, 344, 337, 40, 342, 338,
Reid Spencere7c3c602006-11-30 06:36:44 +0000666
Reid Spencer71d2ec92006-12-31 06:02:26 +0000667 40, 40, 40, 341, 40, 40, 343, 40, 40, 40,
668 345, 350, 40, 40, 358, 40, 352, 354, 348, 346,
669 347, 349, 351, 357, 40, 266, 355, 359, 267, 267,
670 361, 266, 607, 607, 607, 39, 607, 39, 40, 40,
671 40, 40, 40, 40, 40, 40, 365, 362, 368, 369,
672 40, 40, 40, 40, 40, 364, 373, 366, 367, 40,
673 40, 40, 40, 40, 40, 372, 374, 370, 371, 378,
674 376, 40, 382, 40, 377, 40, 381, 40, 40, 375,
675 379, 380, 383, 40, 40, 384, 40, 40, 40, 390,
676 40, 40, 40, 40, 40, 391, 385, 40, 389, 386,
Reid Spencere7c3c602006-11-30 06:36:44 +0000677
Reid Spencer71d2ec92006-12-31 06:02:26 +0000678 40, 387, 388, 40, 395, 40, 396, 40, 392, 393,
679 394, 397, 398, 40, 40, 40, 40, 402, 399, 40,
680 400, 406, 404, 40, 40, 403, 40, 401, 405, 40,
681 40, 40, 408, 410, 40, 412, 407, 418, 40, 414,
682 415, 40, 413, 40, 416, 40, 409, 411, 40, 40,
683 417, 40, 419, 420, 422, 421, 40, 40, 40, 423,
684 40, 40, 424, 427, 40, 40, 425, 40, 40, 40,
685 426, 40, 40, 40, 435, 40, 40, 428, 432, 436,
686 434, 40, 429, 438, 40, 430, 439, 40, 431, 40,
687 433, 440, 441, 40, 437, 443, 442, 40, 40, 40,
Reid Spencere7c3c602006-11-30 06:36:44 +0000688
Reid Spencer71d2ec92006-12-31 06:02:26 +0000689 40, 40, 40, 40, 40, 40, 40, 446, 40, 450,
690 451, 40, 444, 455, 40, 40, 445, 447, 449, 452,
691 456, 453, 448, 40, 40, 40, 40, 40, 454, 40,
692 457, 40, 40, 40, 461, 463, 464, 40, 458, 40,
693 459, 465, 466, 460, 462, 40, 467, 40, 40, 469,
694 40, 40, 468, 40, 40, 40, 40, 40, 472, 40,
695 40, 40, 471, 474, 476, 480, 479, 40, 470, 473,
696 40, 40, 482, 477, 40, 484, 475, 40, 40, 478,
697 483, 40, 40, 481, 40, 40, 40, 40, 40, 490,
698 487, 486, 40, 40, 485, 492, 496, 497, 489, 40,
Reid Spencer78720742006-12-02 20:21:22 +0000699
Reid Spencer71d2ec92006-12-31 06:02:26 +0000700 40, 488, 40, 40, 40, 494, 495, 493, 40, 499,
701 505, 40, 491, 501, 40, 500, 498, 502, 40, 503,
702 40, 40, 40, 504, 40, 40, 40, 40, 40, 40,
703 509, 40, 506, 40, 510, 507, 515, 508, 511, 512,
704 40, 513, 516, 40, 514, 40, 40, 40, 517, 40,
705 40, 40, 40, 40, 40, 40, 518, 40, 519, 524,
706 525, 40, 523, 40, 520, 40, 521, 40, 527, 526,
707 528, 531, 522, 40, 530, 529, 534, 40, 535, 40,
708 532, 40, 536, 40, 40, 40, 533, 542, 537, 40,
709 539, 40, 40, 40, 40, 40, 541, 40, 40, 40,
Reid Spencer78720742006-12-02 20:21:22 +0000710
Reid Spencer71d2ec92006-12-31 06:02:26 +0000711 40, 545, 40, 40, 538, 552, 549, 540, 546, 554,
712 40, 547, 543, 550, 544, 40, 40, 553, 548, 551,
713 40, 556, 555, 40, 40, 40, 40, 40, 40, 559,
714 40, 40, 562, 557, 560, 40, 40, 40, 565, 40,
715 40, 40, 40, 40, 563, 569, 558, 571, 40, 561,
716 567, 568, 40, 40, 570, 572, 40, 40, 566, 564,
717 40, 40, 574, 40, 573, 576, 577, 40, 40, 40,
718 580, 40, 40, 40, 40, 575, 578, 40, 581, 40,
719 584, 40, 582, 583, 40, 586, 40, 592, 589, 579,
720 587, 591, 585, 40, 40, 588, 590, 40, 40, 40,
Reid Spencer78720742006-12-02 20:21:22 +0000721
Reid Spencer71d2ec92006-12-31 06:02:26 +0000722 40, 40, 40, 593, 40, 40, 40, 598, 599, 600,
723 40, 40, 595, 604, 594, 40, 40, 40, 40, 597,
724 596, 40, 603, 40, 605, 40, 40, 602, 40, 601,
725 40, 606, 37, 37, 37, 37, 37, 37, 37, 37,
726 39, 40, 39, 39, 39, 39, 41, 40, 41, 41,
727 40, 41, 50, 40, 50, 50, 50, 50, 50, 50,
728 138, 40, 138, 138, 40, 138, 265, 40, 265, 363,
729 363, 363, 40, 40, 40, 40, 40, 40, 40, 40,
Reid Spencer229e9362006-12-02 22:14:11 +0000730 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
731 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
732
Reid Spencer78720742006-12-02 20:21:22 +0000733 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
734 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
735 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
736 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
737 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
738 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
Reid Spencerfcb5df82006-12-01 22:34:43 +0000739 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
Reid Spencere7c3c602006-11-30 06:36:44 +0000740 40, 40, 40, 40, 40, 40, 40, 40, 40, 40,
Reid Spencer71d2ec92006-12-31 06:02:26 +0000741 40, 40, 40, 264, 40, 40, 40, 40, 40, 39,
742 47, 140, 40, 137, 39, 40, 38, 607, 3, 607,
Reid Spencer229e9362006-12-02 22:14:11 +0000743
Reid Spencer71d2ec92006-12-31 06:02:26 +0000744 607, 607, 607, 607, 607, 607, 607, 607, 607, 607,
745 607, 607, 607, 607, 607, 607, 607, 607, 607, 607,
746 607, 607, 607, 607, 607, 607, 607, 607, 607, 607,
747 607, 607, 607, 607, 607, 607, 607, 607, 607, 607,
748 607, 607, 607, 607, 607, 607
Reid Spencere7c3c602006-11-30 06:36:44 +0000749 } ;
750
Reid Spencer71d2ec92006-12-31 06:02:26 +0000751static yyconst short int yy_chk[1347] =
Reid Spencere7c3c602006-11-30 06:36:44 +0000752 { 0,
753 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
754 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
755 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
756 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
Reid Spencer71d2ec92006-12-31 06:02:26 +0000757 1, 1, 1, 1, 1, 1, 1, 9, 54, 9,
758 9, 9, 9, 9, 9, 9, 9, 11, 11, 11,
759 11, 11, 11, 11, 11, 11, 12, 54, 80, 20,
760 80, 64, 35, 35, 58, 12, 13, 13, 13, 13,
761 13, 13, 13, 13, 13, 16, 20, 51, 17, 20,
762 26, 35, 58, 16, 64, 51, 20, 17, 18, 26,
Reid Spencere7c3c602006-11-30 06:36:44 +0000763
Reid Spencer71d2ec92006-12-31 06:02:26 +0000764 16, 17, 16, 18, 16, 18, 17, 16, 19, 17,
765 22, 61, 13, 19, 26, 29, 18, 19, 61, 22,
766 18, 19, 21, 19, 29, 22, 19, 21, 614, 21,
767 21, 68, 81, 34, 24, 25, 36, 21, 81, 24,
768 25, 21, 34, 21, 23, 36, 23, 24, 46, 23,
769 23, 23, 24, 25, 27, 68, 24, 46, 23, 25,
770 28, 31, 53, 27, 106, 27, 31, 23, 23, 27,
771 53, 27, 28, 27, 55, 27, 33, 56, 28, 31,
772 52, 33, 31, 28, 30, 57, 55, 60, 56, 31,
773 55, 106, 30, 52, 33, 52, 57, 62, 30, 63,
Reid Spencere7c3c602006-11-30 06:36:44 +0000774
Reid Spencer71d2ec92006-12-31 06:02:26 +0000775 30, 30, 60, 30, 30, 30, 66, 30, 57, 60,
776 65, 67, 62, 30, 62, 30, 30, 65, 30, 32,
777 63, 73, 69, 77, 72, 75, 67, 32, 74, 65,
778 69, 66, 77, 32, 102, 32, 32, 73, 32, 72,
779 32, 74, 32, 75, 32, 78, 72, 102, 32, 32,
780 42, 42, 42, 42, 42, 42, 42, 42, 47, 47,
781 47, 47, 47, 47, 47, 47, 79, 82, 78, 47,
782 131, 82, 176, 611, 131, 47, 49, 49, 49, 49,
783 49, 49, 49, 49, 79, 84, 49, 49, 71, 49,
784 49, 49, 49, 49, 49, 71, 76, 85, 86, 176,
Reid Spencere7c3c602006-11-30 06:36:44 +0000785
Reid Spencer71d2ec92006-12-31 06:02:26 +0000786 87, 84, 90, 91, 92, 76, 87, 88, 89, 96,
787 100, 71, 92, 89, 90, 100, 85, 93, 91, 76,
788 86, 86, 95, 86, 88, 89, 97, 98, 105, 96,
789 88, 99, 93, 101, 103, 97, 98, 95, 104, 107,
790 99, 101, 108, 606, 105, 109, 112, 103, 110, 97,
791 98, 105, 109, 114, 112, 108, 115, 110, 111, 104,
792 109, 113, 114, 122, 117, 118, 121, 107, 109, 112,
793 113, 110, 109, 111, 115, 116, 111, 117, 118, 111,
794 120, 116, 111, 123, 113, 121, 118, 124, 125, 126,
795 127, 122, 140, 120, 129, 133, 123, 125, 140, 127,
Reid Spencere7c3c602006-11-30 06:36:44 +0000796
Reid Spencer71d2ec92006-12-31 06:02:26 +0000797 133, 128, 135, 129, 120, 130, 126, 124, 127, 128,
798 128, 125, 126, 127, 128, 132, 134, 130, 134, 128,
799 136, 146, 128, 135, 147, 149, 152, 128, 132, 150,
800 132, 154, 146, 260, 149, 159, 604, 260, 154, 152,
801 157, 136, 147, 159, 155, 156, 160, 136, 143, 143,
802 150, 143, 143, 143, 143, 143, 143, 143, 143, 155,
803 156, 161, 162, 157, 163, 164, 167, 162, 160, 166,
804 161, 168, 167, 171, 169, 172, 170, 173, 166, 163,
805 164, 174, 166, 169, 168, 170, 175, 177, 180, 185,
806 179, 175, 184, 178, 180, 171, 173, 170, 172, 179,
Reid Spencere7c3c602006-11-30 06:36:44 +0000807
Reid Spencer71d2ec92006-12-31 06:02:26 +0000808 188, 186, 178, 187, 185, 177, 174, 189, 177, 178,
809 186, 184, 187, 190, 191, 192, 189, 193, 188, 194,
810 195, 196, 205, 192, 198, 209, 187, 190, 193, 208,
811 253, 256, 216, 214, 213, 195, 256, 191, 215, 198,
812 194, 216, 205, 253, 603, 196, 208, 218, 209, 212,
813 212, 212, 212, 212, 212, 212, 212, 213, 214, 212,
814 212, 215, 212, 212, 212, 212, 212, 212, 217, 222,
815 218, 224, 229, 225, 226, 230, 232, 217, 233, 217,
816 234, 224, 225, 217, 235, 217, 237, 238, 229, 236,
817 222, 234, 226, 233, 239, 237, 230, 243, 236, 232,
Reid Spencere7c3c602006-11-30 06:36:44 +0000818
Reid Spencer71d2ec92006-12-31 06:02:26 +0000819 244, 254, 248, 235, 246, 250, 236, 252, 255, 258,
820 238, 248, 262, 259, 258, 257, 252, 254, 244, 239,
821 243, 246, 250, 257, 263, 265, 255, 259, 266, 266,
822 262, 265, 267, 267, 268, 268, 269, 269, 270, 271,
823 272, 274, 279, 275, 280, 281, 271, 263, 275, 279,
824 282, 283, 285, 284, 286, 270, 283, 272, 274, 287,
825 290, 289, 296, 292, 288, 282, 284, 280, 281, 288,
826 286, 291, 292, 297, 287, 293, 291, 298, 299, 285,
827 289, 290, 293, 302, 303, 296, 305, 306, 307, 303,
828 309, 310, 308, 311, 320, 305, 297, 312, 302, 298,
Reid Spencere7c3c602006-11-30 06:36:44 +0000829
Reid Spencer71d2ec92006-12-31 06:02:26 +0000830 316, 298, 299, 319, 309, 317, 310, 321, 306, 307,
831 308, 311, 312, 323, 326, 325, 327, 320, 316, 332,
832 317, 326, 323, 328, 329, 321, 330, 319, 325, 333,
833 338, 334, 328, 329, 335, 330, 327, 338, 341, 333,
834 334, 337, 332, 340, 335, 345, 328, 329, 343, 348,
835 337, 349, 340, 341, 345, 343, 350, 351, 352, 348,
836 353, 355, 349, 352, 356, 358, 350, 361, 360, 365,
837 351, 366, 368, 602, 365, 373, 369, 353, 360, 366,
838 361, 370, 355, 369, 371, 356, 370, 372, 358, 374,
839 360, 371, 372, 375, 368, 374, 373, 376, 377, 379,
Reid Spencere7c3c602006-11-30 06:36:44 +0000840
Reid Spencer71d2ec92006-12-31 06:02:26 +0000841 378, 380, 381, 383, 389, 390, 386, 377, 387, 381,
842 383, 388, 375, 389, 391, 392, 376, 378, 380, 386,
843 390, 387, 379, 393, 394, 395, 398, 397, 388, 399,
844 391, 405, 400, 401, 395, 398, 399, 402, 392, 403,
845 393, 400, 401, 394, 397, 406, 402, 414, 415, 405,
846 416, 418, 403, 419, 423, 420, 426, 428, 415, 427,
847 429, 430, 414, 418, 420, 428, 427, 431, 406, 416,
848 432, 433, 430, 423, 434, 432, 419, 436, 437, 426,
849 431, 439, 440, 429, 441, 443, 442, 444, 445, 440,
850 436, 434, 449, 450, 433, 442, 449, 449, 439, 455,
Reid Spencere7c3c602006-11-30 06:36:44 +0000851
Reid Spencer71d2ec92006-12-31 06:02:26 +0000852 460, 437, 454, 462, 457, 444, 445, 443, 458, 454,
853 462, 467, 441, 457, 459, 455, 450, 458, 468, 459,
854 469, 471, 484, 460, 472, 478, 483, 479, 485, 486,
855 471, 487, 467, 489, 472, 468, 485, 469, 478, 479,
856 491, 483, 486, 494, 484, 495, 496, 497, 487, 506,
857 498, 500, 501, 502, 504, 503, 489, 507, 491, 498,
858 500, 509, 497, 519, 494, 505, 495, 510, 502, 501,
859 503, 506, 496, 511, 505, 504, 510, 512, 511, 513,
860 507, 514, 512, 515, 516, 517, 509, 519, 513, 520,
861 515, 521, 522, 524, 525, 526, 517, 527, 534, 600,
Reid Spencere7c3c602006-11-30 06:36:44 +0000862
Reid Spencer71d2ec92006-12-31 06:02:26 +0000863 531, 522, 535, 536, 514, 534, 527, 516, 524, 536,
864 533, 525, 520, 531, 521, 538, 539, 535, 526, 533,
865 540, 539, 538, 542, 545, 546, 547, 548, 549, 545,
866 550, 551, 548, 540, 546, 552, 554, 553, 551, 556,
867 555, 559, 557, 561, 549, 555, 542, 557, 560, 547,
868 553, 554, 562, 565, 556, 559, 563, 564, 552, 550,
869 567, 568, 561, 569, 560, 563, 564, 570, 571, 574,
870 568, 573, 575, 576, 583, 562, 565, 578, 569, 579,
871 573, 581, 570, 571, 582, 575, 584, 583, 579, 567,
872 576, 582, 574, 585, 586, 578, 581, 587, 588, 589,
Reid Spencere7c3c602006-11-30 06:36:44 +0000873
Reid Spencer71d2ec92006-12-31 06:02:26 +0000874 592, 590, 591, 584, 593, 595, 599, 589, 590, 591,
875 605, 598, 586, 599, 585, 601, 597, 596, 594, 588,
876 587, 580, 595, 577, 601, 572, 566, 593, 558, 592,
877 544, 605, 608, 608, 608, 608, 608, 608, 608, 608,
878 609, 543, 609, 609, 609, 609, 610, 541, 610, 610,
879 537, 610, 612, 532, 612, 612, 612, 612, 612, 612,
880 613, 530, 613, 613, 529, 613, 615, 528, 615, 616,
881 616, 616, 523, 518, 508, 499, 493, 492, 490, 488,
882 482, 481, 480, 477, 476, 475, 474, 473, 470, 466,
883 465, 464, 463, 461, 456, 453, 452, 451, 448, 447,
Reid Spencerfcb5df82006-12-01 22:34:43 +0000884
Reid Spencer71d2ec92006-12-31 06:02:26 +0000885 446, 438, 435, 425, 424, 422, 421, 417, 413, 412,
886 411, 410, 409, 408, 407, 404, 396, 385, 384, 382,
887 367, 364, 362, 359, 357, 354, 347, 346, 344, 342,
888 339, 336, 331, 324, 318, 315, 314, 313, 304, 301,
889 300, 295, 294, 278, 277, 276, 273, 261, 251, 249,
890 247, 245, 242, 241, 240, 231, 228, 227, 223, 221,
891 220, 219, 211, 210, 207, 206, 204, 203, 202, 201,
892 200, 199, 197, 183, 182, 181, 165, 158, 153, 151,
893 148, 145, 141, 137, 119, 94, 83, 70, 59, 48,
894 45, 44, 39, 37, 14, 8, 7, 3, 607, 607,
Reid Spencer229e9362006-12-02 22:14:11 +0000895
Reid Spencer71d2ec92006-12-31 06:02:26 +0000896 607, 607, 607, 607, 607, 607, 607, 607, 607, 607,
897 607, 607, 607, 607, 607, 607, 607, 607, 607, 607,
898 607, 607, 607, 607, 607, 607, 607, 607, 607, 607,
899 607, 607, 607, 607, 607, 607, 607, 607, 607, 607,
900 607, 607, 607, 607, 607, 607
Reid Spencere7c3c602006-11-30 06:36:44 +0000901 } ;
902
903static yy_state_type yy_state_buf[YY_BUF_SIZE + 2], *yy_state_ptr;
904static char *yy_full_match;
905static int yy_lp;
906#define REJECT \
907{ \
908*yy_cp = yy_hold_char; /* undo effects of setting up yytext */ \
909yy_cp = yy_full_match; /* restore poss. backed-over text */ \
910++yy_lp; \
911goto find_rule; \
912}
913#define yymore() yymore_used_but_not_detected
914#define YY_MORE_ADJ 0
915#define YY_RESTORE_YY_MORE_OFFSET
916char *yytext;
Chris Lattner37e01c52007-01-04 18:46:42 +0000917#line 1 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +0000918#define INITIAL 0
Reid Spencer96839be2006-11-30 16:50:26 +0000919/*===-- UpgradeLexer.l - Scanner for 1.9 assembly files --------*- C++ -*--===//
Reid Spencere7c3c602006-11-30 06:36:44 +0000920//
921// The LLVM Compiler Infrastructure
922//
Reid Spencer96839be2006-11-30 16:50:26 +0000923// This file was developed by Reid Spencer and is distributed under the
924// University of Illinois Open Source License. See LICENSE.TXT for details.
Reid Spencere7c3c602006-11-30 06:36:44 +0000925//
926//===----------------------------------------------------------------------===//
927//
Reid Spencer96839be2006-11-30 16:50:26 +0000928// This file implements the flex scanner for LLVM 1.9 assembly languages files.
Reid Spencere7c3c602006-11-30 06:36:44 +0000929//
930//===----------------------------------------------------------------------===*/
931#define YY_NEVER_INTERACTIVE 1
Chris Lattner37e01c52007-01-04 18:46:42 +0000932#line 28 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +0000933
934#include "ParserInternals.h"
Reid Spencere7c3c602006-11-30 06:36:44 +0000935#include "UpgradeParser.h"
936#include <cctype>
937#include <cstdlib>
938
Reid Spencer96839be2006-11-30 16:50:26 +0000939#define YY_INPUT(buf,result,max_size) \
940{ \
941 if (LexInput->good() && !LexInput->eof()) { \
942 LexInput->read(buf,max_size); \
943 result = LexInput->gcount(); \
944 } else {\
945 result = YY_NULL; \
946 } \
947}
948
949
Reid Spencere7c3c602006-11-30 06:36:44 +0000950// Construct a token value for a non-obsolete token
951#define RET_TOK(sym) \
Reid Spencere77e35e2006-12-01 20:26:20 +0000952 Upgradelval.String = new std::string(yytext); \
953 return sym
954
955#define RET_TY(sym,OldTY,NewTY,sign) \
Reid Spencer52402b02007-01-02 05:45:11 +0000956 Upgradelval.Type = new TypeInfo(NewTY, OldTY); \
Reid Spencere7c3c602006-11-30 06:36:44 +0000957 return sym
958
959#define YY_NEVER_INTERACTIVE 1
960/* Comments start with a ; and go till end of line */
961/* Variable(Value) identifiers start with a % sign */
962/* Label identifiers end with a colon */
963/* Quoted names can contain any character except " and \ */
964/* [PN]Integer: match positive and negative literal integer values that
965 * are preceeded by a '%' character. These represent unnamed variable slots.
966 */
967/* E[PN]Integer: match positive and negative literal integer values */
968/* FPConstant - A Floating point constant.
969 */
970/* HexFPConstant - Floating point constant represented in IEEE format as a
971 * hexadecimal number for when exponential notation is not precise enough.
972 */
973/* HexIntConstant - Hexadecimal constant generated by the CFE to avoid forcing
974 * it to deal with 64 bit numbers.
975 */
Chris Lattner37e01c52007-01-04 18:46:42 +0000976#line 977 "UpgradeLexer.cpp"
Reid Spencere7c3c602006-11-30 06:36:44 +0000977
978/* Macros after this point can all be overridden by user definitions in
979 * section 1.
980 */
981
982#ifndef YY_SKIP_YYWRAP
983#ifdef __cplusplus
984extern "C" int yywrap YY_PROTO(( void ));
985#else
986extern int yywrap YY_PROTO(( void ));
987#endif
988#endif
989
990#ifndef YY_NO_UNPUT
991static inline void yyunput YY_PROTO(( int c, char *buf_ptr ));
992#endif
993
994#ifndef yytext_ptr
995static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
996#endif
997
998#ifdef YY_NEED_STRLEN
999static int yy_flex_strlen YY_PROTO(( yyconst char * ));
1000#endif
1001
1002#ifndef YY_NO_INPUT
1003#ifdef __cplusplus
1004static int yyinput YY_PROTO(( void ));
1005#else
1006static int input YY_PROTO(( void ));
1007#endif
1008#endif
1009
1010#if YY_STACK_USED
1011static int yy_start_stack_ptr = 0;
1012static int yy_start_stack_depth = 0;
1013static int *yy_start_stack = 0;
1014#ifndef YY_NO_PUSH_STATE
1015static void yy_push_state YY_PROTO(( int new_state ));
1016#endif
1017#ifndef YY_NO_POP_STATE
1018static void yy_pop_state YY_PROTO(( void ));
1019#endif
1020#ifndef YY_NO_TOP_STATE
1021static int yy_top_state YY_PROTO(( void ));
1022#endif
1023
1024#else
1025#define YY_NO_PUSH_STATE 1
1026#define YY_NO_POP_STATE 1
1027#define YY_NO_TOP_STATE 1
1028#endif
1029
1030#ifdef YY_MALLOC_DECL
1031YY_MALLOC_DECL
1032#else
1033#if __STDC__
1034#ifndef __cplusplus
1035#include <stdlib.h>
1036#endif
1037#else
1038/* Just try to get by without declaring the routines. This will fail
1039 * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
1040 * or sizeof(void*) != sizeof(int).
1041 */
1042#endif
1043#endif
1044
1045/* Amount of stuff to slurp up with each read. */
1046#ifndef YY_READ_BUF_SIZE
1047#define YY_READ_BUF_SIZE 8192
1048#endif
1049
1050/* Copy whatever the last rule matched to the standard output. */
1051
1052#ifndef ECHO
1053/* This used to be an fputs(), but since the string might contain NUL's,
1054 * we now use fwrite().
1055 */
1056#define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
1057#endif
1058
1059/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
1060 * is returned in "result".
1061 */
1062#ifndef YY_INPUT
1063#define YY_INPUT(buf,result,max_size) \
1064 if ( yy_current_buffer->yy_is_interactive ) \
1065 { \
1066 int c = '*', n; \
1067 for ( n = 0; n < max_size && \
1068 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1069 buf[n] = (char) c; \
1070 if ( c == '\n' ) \
1071 buf[n++] = (char) c; \
1072 if ( c == EOF && ferror( yyin ) ) \
1073 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1074 result = n; \
1075 } \
1076 else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
1077 && ferror( yyin ) ) \
1078 YY_FATAL_ERROR( "input in flex scanner failed" );
1079#endif
1080
1081/* No semi-colon after return; correct usage is to write "yyterminate();" -
1082 * we don't want an extra ';' after the "return" because that will cause
1083 * some compilers to complain about unreachable statements.
1084 */
1085#ifndef yyterminate
1086#define yyterminate() return YY_NULL
1087#endif
1088
1089/* Number of entries by which start-condition stack grows. */
1090#ifndef YY_START_STACK_INCR
1091#define YY_START_STACK_INCR 25
1092#endif
1093
1094/* Report a fatal error. */
1095#ifndef YY_FATAL_ERROR
1096#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
1097#endif
1098
1099/* Default declaration of generated scanner - a define so the user can
1100 * easily add parameters.
1101 */
1102#ifndef YY_DECL
1103#define YY_DECL int yylex YY_PROTO(( void ))
1104#endif
1105
1106/* Code executed at the beginning of each rule, after yytext and yyleng
1107 * have been set up.
1108 */
1109#ifndef YY_USER_ACTION
1110#define YY_USER_ACTION
1111#endif
1112
1113/* Code executed at the end of each rule. */
1114#ifndef YY_BREAK
1115#define YY_BREAK break;
1116#endif
1117
1118#define YY_RULE_SETUP \
1119 YY_USER_ACTION
1120
1121YY_DECL
1122 {
1123 register yy_state_type yy_current_state;
Chris Lattner37e01c52007-01-04 18:46:42 +00001124 register char *yy_cp, *yy_bp;
Reid Spencere7c3c602006-11-30 06:36:44 +00001125 register int yy_act;
1126
Chris Lattner37e01c52007-01-04 18:46:42 +00001127#line 97 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +00001128
1129
Chris Lattner37e01c52007-01-04 18:46:42 +00001130#line 1131 "UpgradeLexer.cpp"
Reid Spencere7c3c602006-11-30 06:36:44 +00001131
1132 if ( yy_init )
1133 {
1134 yy_init = 0;
1135
1136#ifdef YY_USER_INIT
1137 YY_USER_INIT;
1138#endif
1139
1140 if ( ! yy_start )
1141 yy_start = 1; /* first start state */
1142
1143 if ( ! yyin )
1144 yyin = stdin;
1145
1146 if ( ! yyout )
1147 yyout = stdout;
1148
1149 if ( ! yy_current_buffer )
1150 yy_current_buffer =
1151 yy_create_buffer( yyin, YY_BUF_SIZE );
1152
1153 yy_load_buffer_state();
1154 }
1155
1156 while ( 1 ) /* loops until end-of-file is reached */
1157 {
1158 yy_cp = yy_c_buf_p;
1159
1160 /* Support of yytext. */
1161 *yy_cp = yy_hold_char;
1162
1163 /* yy_bp points to the position in yy_ch_buf of the start of
1164 * the current run.
1165 */
1166 yy_bp = yy_cp;
1167
1168 yy_current_state = yy_start;
1169 yy_state_ptr = yy_state_buf;
1170 *yy_state_ptr++ = yy_current_state;
1171yy_match:
1172 do
1173 {
1174 register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
1175 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1176 {
1177 yy_current_state = (int) yy_def[yy_current_state];
Reid Spencer71d2ec92006-12-31 06:02:26 +00001178 if ( yy_current_state >= 608 )
Reid Spencere7c3c602006-11-30 06:36:44 +00001179 yy_c = yy_meta[(unsigned int) yy_c];
1180 }
1181 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1182 *yy_state_ptr++ = yy_current_state;
1183 ++yy_cp;
1184 }
Reid Spencer71d2ec92006-12-31 06:02:26 +00001185 while ( yy_current_state != 607 );
Reid Spencere7c3c602006-11-30 06:36:44 +00001186
1187yy_find_action:
1188 yy_current_state = *--yy_state_ptr;
1189 yy_lp = yy_accept[yy_current_state];
Chris Lattner37e01c52007-01-04 18:46:42 +00001190find_rule: /* we branch to this label when backing up */
Reid Spencere7c3c602006-11-30 06:36:44 +00001191 for ( ; ; ) /* until we find what rule we matched */
1192 {
1193 if ( yy_lp && yy_lp < yy_accept[yy_current_state + 1] )
1194 {
1195 yy_act = yy_acclist[yy_lp];
1196 {
1197 yy_full_match = yy_cp;
1198 break;
1199 }
1200 }
1201 --yy_cp;
1202 yy_current_state = *--yy_state_ptr;
1203 yy_lp = yy_accept[yy_current_state];
1204 }
1205
1206 YY_DO_BEFORE_ACTION;
1207
1208 if ( yy_act != YY_END_OF_BUFFER )
1209 {
1210 int yyl;
1211 for ( yyl = 0; yyl < yyleng; ++yyl )
1212 if ( yytext[yyl] == '\n' )
1213 ++yylineno;
1214 }
1215
1216do_action: /* This label is used only to access EOF actions. */
1217
1218
1219 switch ( yy_act )
1220 { /* beginning of action switch */
1221case 1:
1222YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001223#line 99 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +00001224{ /* Ignore comments for now */ }
1225 YY_BREAK
1226case 2:
1227YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001228#line 101 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +00001229{ RET_TOK( BEGINTOK); }
1230 YY_BREAK
1231case 3:
1232YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001233#line 102 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +00001234{ RET_TOK( ENDTOK); }
1235 YY_BREAK
1236case 4:
1237YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001238#line 103 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +00001239{ RET_TOK( TRUETOK); }
1240 YY_BREAK
1241case 5:
1242YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001243#line 104 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +00001244{ RET_TOK( FALSETOK); }
1245 YY_BREAK
1246case 6:
1247YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001248#line 105 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +00001249{ RET_TOK( DECLARE); }
1250 YY_BREAK
1251case 7:
1252YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001253#line 106 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001254{ RET_TOK( GLOBAL); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001255 YY_BREAK
1256case 8:
1257YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001258#line 107 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001259{ RET_TOK( CONSTANT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001260 YY_BREAK
1261case 9:
1262YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001263#line 108 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001264{ RET_TOK( INTERNAL); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001265 YY_BREAK
1266case 10:
1267YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001268#line 109 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001269{ RET_TOK( LINKONCE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001270 YY_BREAK
1271case 11:
1272YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001273#line 110 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001274{ RET_TOK( WEAK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001275 YY_BREAK
1276case 12:
1277YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001278#line 111 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001279{ RET_TOK( APPENDING); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001280 YY_BREAK
1281case 13:
1282YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001283#line 112 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001284{ RET_TOK( DLLIMPORT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001285 YY_BREAK
1286case 14:
1287YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001288#line 113 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001289{ RET_TOK( DLLEXPORT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001290 YY_BREAK
1291case 15:
1292YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001293#line 114 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001294{ RET_TOK( EXTERN_WEAK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001295 YY_BREAK
1296case 16:
1297YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001298#line 115 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001299{ RET_TOK( EXTERNAL); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001300 YY_BREAK
1301case 17:
1302YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001303#line 116 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001304{ RET_TOK( UNINITIALIZED); } // alias for external
Reid Spencere7c3c602006-11-30 06:36:44 +00001305 YY_BREAK
1306case 18:
1307YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001308#line 117 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001309{ RET_TOK( IMPLEMENTATION); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001310 YY_BREAK
1311case 19:
1312YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001313#line 118 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001314{ RET_TOK( ZEROINITIALIZER); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001315 YY_BREAK
1316case 20:
1317YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001318#line 119 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001319{ RET_TOK( DOTDOTDOT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001320 YY_BREAK
1321case 21:
1322YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001323#line 120 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001324{ RET_TOK( UNDEF); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001325 YY_BREAK
1326case 22:
1327YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001328#line 121 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001329{ RET_TOK( NULL_TOK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001330 YY_BREAK
1331case 23:
1332YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001333#line 122 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001334{ RET_TOK( TO); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001335 YY_BREAK
1336case 24:
1337YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001338#line 123 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001339{ RET_TOK( TAIL); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001340 YY_BREAK
1341case 25:
1342YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001343#line 124 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001344{ RET_TOK( TARGET); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001345 YY_BREAK
1346case 26:
1347YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001348#line 125 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001349{ RET_TOK( TRIPLE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001350 YY_BREAK
1351case 27:
1352YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001353#line 126 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001354{ RET_TOK( DEPLIBS); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001355 YY_BREAK
1356case 28:
1357YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001358#line 127 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001359{ RET_TOK( ENDIAN); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001360 YY_BREAK
1361case 29:
1362YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001363#line 128 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001364{ RET_TOK( POINTERSIZE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001365 YY_BREAK
1366case 30:
1367YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001368#line 129 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001369{ RET_TOK( DATALAYOUT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001370 YY_BREAK
1371case 31:
1372YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001373#line 130 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001374{ RET_TOK( LITTLE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001375 YY_BREAK
1376case 32:
1377YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001378#line 131 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001379{ RET_TOK( BIG); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001380 YY_BREAK
1381case 33:
1382YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001383#line 132 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001384{ RET_TOK( VOLATILE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001385 YY_BREAK
1386case 34:
1387YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001388#line 133 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001389{ RET_TOK( ALIGN); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001390 YY_BREAK
1391case 35:
1392YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001393#line 134 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001394{ RET_TOK( SECTION); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001395 YY_BREAK
1396case 36:
1397YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001398#line 135 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001399{ RET_TOK( MODULE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001400 YY_BREAK
1401case 37:
1402YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001403#line 136 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001404{ RET_TOK( ASM_TOK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001405 YY_BREAK
1406case 38:
1407YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001408#line 137 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001409{ RET_TOK( SIDEEFFECT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001410 YY_BREAK
1411case 39:
1412YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001413#line 139 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001414{ RET_TOK( CC_TOK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001415 YY_BREAK
1416case 40:
1417YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001418#line 140 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001419{ RET_TOK( CCC_TOK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001420 YY_BREAK
1421case 41:
1422YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001423#line 141 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001424{ RET_TOK( CSRETCC_TOK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001425 YY_BREAK
1426case 42:
1427YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001428#line 142 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001429{ RET_TOK( FASTCC_TOK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001430 YY_BREAK
1431case 43:
1432YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001433#line 143 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001434{ RET_TOK( COLDCC_TOK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001435 YY_BREAK
1436case 44:
1437YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001438#line 144 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001439{ RET_TOK( X86_STDCALLCC_TOK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001440 YY_BREAK
1441case 45:
1442YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001443#line 145 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001444{ RET_TOK( X86_FASTCALLCC_TOK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001445 YY_BREAK
1446case 46:
1447YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001448#line 147 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001449{ RET_TY(VOID,VoidTy,"void",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001450 YY_BREAK
1451case 47:
1452YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001453#line 148 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001454{ RET_TY(BOOL,BoolTy,"bool",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001455 YY_BREAK
1456case 48:
1457YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001458#line 149 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001459{ RET_TY(SBYTE,SByteTy,"i8",true); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001460 YY_BREAK
1461case 49:
1462YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001463#line 150 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001464{ RET_TY(UBYTE,UByteTy,"i8",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001465 YY_BREAK
1466case 50:
1467YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001468#line 151 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001469{ RET_TY(SHORT,ShortTy,"i16",true); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001470 YY_BREAK
1471case 51:
1472YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001473#line 152 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001474{ RET_TY(USHORT,UShortTy,"i16",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001475 YY_BREAK
1476case 52:
1477YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001478#line 153 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001479{ RET_TY(INT,IntTy,"i32",true); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001480 YY_BREAK
1481case 53:
1482YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001483#line 154 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001484{ RET_TY(UINT,UIntTy,"i32",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001485 YY_BREAK
1486case 54:
1487YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001488#line 155 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001489{ RET_TY(LONG,LongTy,"i64",true); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001490 YY_BREAK
1491case 55:
1492YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001493#line 156 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001494{ RET_TY(ULONG,ULongTy,"i64",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001495 YY_BREAK
1496case 56:
1497YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001498#line 157 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001499{ RET_TY(UBYTE,UByteTy,"i8",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001500 YY_BREAK
1501case 57:
1502YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001503#line 158 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001504{ RET_TY(USHORT,UShortTy,"i16",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001505 YY_BREAK
1506case 58:
1507YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001508#line 159 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001509{ RET_TY(UINT,UIntTy,"i32",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001510 YY_BREAK
1511case 59:
1512YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001513#line 160 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001514{ RET_TY(ULONG,ULongTy,"i64",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001515 YY_BREAK
1516case 60:
1517YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001518#line 161 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001519{ RET_TY(FLOAT,FloatTy,"float",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001520 YY_BREAK
1521case 61:
1522YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001523#line 162 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001524{ RET_TY(DOUBLE,DoubleTy,"double",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001525 YY_BREAK
1526case 62:
1527YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001528#line 163 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001529{ RET_TY(LABEL,LabelTy,"label",false); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001530 YY_BREAK
1531case 63:
1532YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001533#line 164 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001534{ RET_TOK(OPAQUE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001535 YY_BREAK
1536case 64:
1537YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001538#line 165 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001539{ RET_TOK(TYPE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001540 YY_BREAK
1541case 65:
1542YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001543#line 167 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001544{ RET_TOK( ADD); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001545 YY_BREAK
1546case 66:
1547YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001548#line 168 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001549{ RET_TOK( SUB); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001550 YY_BREAK
1551case 67:
1552YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001553#line 169 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001554{ RET_TOK( MUL); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001555 YY_BREAK
1556case 68:
1557YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001558#line 170 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001559{ RET_TOK( DIV); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001560 YY_BREAK
1561case 69:
1562YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001563#line 171 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001564{ RET_TOK( UDIV); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001565 YY_BREAK
1566case 70:
1567YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001568#line 172 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001569{ RET_TOK( SDIV); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001570 YY_BREAK
1571case 71:
1572YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001573#line 173 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001574{ RET_TOK( FDIV); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001575 YY_BREAK
1576case 72:
1577YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001578#line 174 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001579{ RET_TOK( REM); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001580 YY_BREAK
1581case 73:
1582YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001583#line 175 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001584{ RET_TOK( UREM); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001585 YY_BREAK
1586case 74:
1587YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001588#line 176 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001589{ RET_TOK( SREM); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001590 YY_BREAK
1591case 75:
1592YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001593#line 177 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001594{ RET_TOK( FREM); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001595 YY_BREAK
1596case 76:
1597YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001598#line 178 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001599{ RET_TOK( AND); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001600 YY_BREAK
1601case 77:
1602YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001603#line 179 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001604{ RET_TOK( OR); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001605 YY_BREAK
1606case 78:
1607YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001608#line 180 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001609{ RET_TOK( XOR); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001610 YY_BREAK
1611case 79:
1612YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001613#line 181 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001614{ RET_TOK( SETNE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001615 YY_BREAK
1616case 80:
1617YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001618#line 182 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001619{ RET_TOK( SETEQ); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001620 YY_BREAK
1621case 81:
1622YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001623#line 183 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001624{ RET_TOK( SETLT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001625 YY_BREAK
1626case 82:
1627YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001628#line 184 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001629{ RET_TOK( SETGT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001630 YY_BREAK
1631case 83:
1632YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001633#line 185 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001634{ RET_TOK( SETLE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001635 YY_BREAK
1636case 84:
1637YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001638#line 186 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001639{ RET_TOK( SETGE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001640 YY_BREAK
1641case 85:
1642YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001643#line 187 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001644{ RET_TOK(ICMP); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001645 YY_BREAK
1646case 86:
1647YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001648#line 188 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001649{ RET_TOK(FCMP); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001650 YY_BREAK
1651case 87:
1652YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001653#line 189 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001654{ RET_TOK(EQ); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001655 YY_BREAK
1656case 88:
1657YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001658#line 190 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001659{ RET_TOK(NE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001660 YY_BREAK
1661case 89:
1662YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001663#line 191 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001664{ RET_TOK(SLT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001665 YY_BREAK
1666case 90:
1667YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001668#line 192 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001669{ RET_TOK(SGT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001670 YY_BREAK
1671case 91:
1672YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001673#line 193 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001674{ RET_TOK(SLE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001675 YY_BREAK
1676case 92:
1677YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001678#line 194 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001679{ RET_TOK(SGE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001680 YY_BREAK
1681case 93:
1682YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001683#line 195 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001684{ RET_TOK(OEQ); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001685 YY_BREAK
1686case 94:
1687YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001688#line 196 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001689{ RET_TOK(ONE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001690 YY_BREAK
1691case 95:
1692YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001693#line 197 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001694{ RET_TOK(OLT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001695 YY_BREAK
1696case 96:
1697YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001698#line 198 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001699{ RET_TOK(OGT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001700 YY_BREAK
1701case 97:
1702YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001703#line 199 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001704{ RET_TOK(OLE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001705 YY_BREAK
1706case 98:
1707YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001708#line 200 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001709{ RET_TOK(OGE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001710 YY_BREAK
1711case 99:
1712YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001713#line 201 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001714{ RET_TOK(ORD); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001715 YY_BREAK
1716case 100:
1717YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001718#line 202 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001719{ RET_TOK(UNO); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001720 YY_BREAK
1721case 101:
1722YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001723#line 203 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001724{ RET_TOK(UEQ); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001725 YY_BREAK
1726case 102:
1727YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001728#line 204 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001729{ RET_TOK(UNE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001730 YY_BREAK
1731case 103:
1732YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001733#line 205 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001734{ RET_TOK(ULT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001735 YY_BREAK
1736case 104:
1737YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001738#line 206 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001739{ RET_TOK(UGT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001740 YY_BREAK
1741case 105:
1742YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001743#line 207 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001744{ RET_TOK(ULE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001745 YY_BREAK
1746case 106:
1747YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001748#line 208 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001749{ RET_TOK(UGE); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001750 YY_BREAK
1751case 107:
1752YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001753#line 210 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001754{ RET_TOK( PHI_TOK); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001755 YY_BREAK
1756case 108:
1757YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001758#line 211 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001759{ RET_TOK( CALL); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001760 YY_BREAK
1761case 109:
1762YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001763#line 212 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001764{ RET_TOK( CAST); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001765 YY_BREAK
1766case 110:
1767YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001768#line 213 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001769{ RET_TOK( TRUNC); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001770 YY_BREAK
1771case 111:
1772YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001773#line 214 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001774{ RET_TOK( ZEXT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001775 YY_BREAK
1776case 112:
1777YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001778#line 215 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001779{ RET_TOK( SEXT); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001780 YY_BREAK
1781case 113:
1782YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001783#line 216 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001784{ RET_TOK( FPTRUNC); }
Reid Spencere7c3c602006-11-30 06:36:44 +00001785 YY_BREAK
Reid Spencer16244f42006-12-01 21:10:07 +00001786case 114:
1787YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001788#line 217 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001789{ RET_TOK( FPEXT); }
Reid Spencer16244f42006-12-01 21:10:07 +00001790 YY_BREAK
Reid Spencerf7bde222006-12-01 22:26:37 +00001791case 115:
1792YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001793#line 218 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001794{ RET_TOK( FPTOUI); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001795 YY_BREAK
1796case 116:
1797YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001798#line 219 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001799{ RET_TOK( FPTOSI); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001800 YY_BREAK
1801case 117:
1802YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001803#line 220 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001804{ RET_TOK( UITOFP); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001805 YY_BREAK
1806case 118:
1807YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001808#line 221 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001809{ RET_TOK( SITOFP); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001810 YY_BREAK
1811case 119:
1812YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001813#line 222 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001814{ RET_TOK( PTRTOINT); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001815 YY_BREAK
1816case 120:
1817YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001818#line 223 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001819{ RET_TOK( INTTOPTR); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001820 YY_BREAK
1821case 121:
1822YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001823#line 224 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001824{ RET_TOK( BITCAST); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001825 YY_BREAK
1826case 122:
1827YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001828#line 225 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001829{ RET_TOK( SELECT); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001830 YY_BREAK
1831case 123:
1832YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001833#line 226 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001834{ RET_TOK( SHL); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001835 YY_BREAK
1836case 124:
1837YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001838#line 227 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001839{ RET_TOK( SHR); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001840 YY_BREAK
1841case 125:
1842YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001843#line 228 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001844{ RET_TOK( ASHR); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001845 YY_BREAK
1846case 126:
1847YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001848#line 229 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001849{ RET_TOK( LSHR); }
Reid Spencerfcb5df82006-12-01 22:34:43 +00001850 YY_BREAK
1851case 127:
1852YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001853#line 230 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001854{ RET_TOK( VAARG); }
Reid Spencer78720742006-12-02 20:21:22 +00001855 YY_BREAK
1856case 128:
1857YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001858#line 231 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001859{ RET_TOK( RET); }
Reid Spencer229e9362006-12-02 22:14:11 +00001860 YY_BREAK
1861case 129:
1862YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001863#line 232 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001864{ RET_TOK( BR); }
Reid Spencer229e9362006-12-02 22:14:11 +00001865 YY_BREAK
1866case 130:
1867YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001868#line 233 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001869{ RET_TOK( SWITCH); }
Reid Spencer229e9362006-12-02 22:14:11 +00001870 YY_BREAK
1871case 131:
1872YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001873#line 234 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001874{ RET_TOK( INVOKE); }
Reid Spencer229e9362006-12-02 22:14:11 +00001875 YY_BREAK
1876case 132:
1877YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001878#line 235 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001879{ RET_TOK( UNWIND); }
Reid Spencer229e9362006-12-02 22:14:11 +00001880 YY_BREAK
1881case 133:
1882YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001883#line 236 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001884{ RET_TOK( EXCEPT); } // alias for unwind
Reid Spencer229e9362006-12-02 22:14:11 +00001885 YY_BREAK
1886case 134:
1887YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001888#line 237 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001889{ RET_TOK( UNREACHABLE); }
Reid Spencer229e9362006-12-02 22:14:11 +00001890 YY_BREAK
1891case 135:
1892YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001893#line 239 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001894{ RET_TOK( MALLOC); }
Reid Spencer229e9362006-12-02 22:14:11 +00001895 YY_BREAK
1896case 136:
1897YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001898#line 240 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001899{ RET_TOK( ALLOCA); }
Reid Spencer229e9362006-12-02 22:14:11 +00001900 YY_BREAK
1901case 137:
1902YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001903#line 241 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001904{ RET_TOK( FREE); }
Reid Spencer229e9362006-12-02 22:14:11 +00001905 YY_BREAK
1906case 138:
1907YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001908#line 242 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001909{ RET_TOK( LOAD); }
Reid Spencer229e9362006-12-02 22:14:11 +00001910 YY_BREAK
1911case 139:
1912YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001913#line 243 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001914{ RET_TOK( STORE); }
Reid Spencer229e9362006-12-02 22:14:11 +00001915 YY_BREAK
1916case 140:
1917YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001918#line 244 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001919{ RET_TOK( GETELEMENTPTR); }
Reid Spencer229e9362006-12-02 22:14:11 +00001920 YY_BREAK
1921case 141:
1922YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001923#line 246 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001924{ RET_TOK( EXTRACTELEMENT); }
Reid Spencer229e9362006-12-02 22:14:11 +00001925 YY_BREAK
1926case 142:
1927YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001928#line 247 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001929{ RET_TOK( INSERTELEMENT); }
Reid Spencer229e9362006-12-02 22:14:11 +00001930 YY_BREAK
1931case 143:
1932YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001933#line 248 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001934{ RET_TOK( SHUFFLEVECTOR); }
Reid Spencer229e9362006-12-02 22:14:11 +00001935 YY_BREAK
1936case 144:
1937YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001938#line 251 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001939{ RET_TOK( VAR_ID); }
Reid Spencer229e9362006-12-02 22:14:11 +00001940 YY_BREAK
1941case 145:
1942YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001943#line 252 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001944{ RET_TOK( LABELSTR); }
Reid Spencer229e9362006-12-02 22:14:11 +00001945 YY_BREAK
1946case 146:
1947YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001948#line 253 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001949{ RET_TOK( LABELSTR); }
Reid Spencer229e9362006-12-02 22:14:11 +00001950 YY_BREAK
1951case 147:
1952YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001953#line 254 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001954{ RET_TOK( STRINGCONSTANT ); }
Reid Spencer229e9362006-12-02 22:14:11 +00001955 YY_BREAK
1956case 148:
1957YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001958#line 255 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001959{ RET_TOK( EUINT64VAL ); }
Reid Spencer229e9362006-12-02 22:14:11 +00001960 YY_BREAK
1961case 149:
1962YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001963#line 256 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001964{ RET_TOK( ESINT64VAL ); }
Reid Spencer229e9362006-12-02 22:14:11 +00001965 YY_BREAK
1966case 150:
1967YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001968#line 257 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001969{ RET_TOK( yytext[0] == 's' ? ESINT64VAL : EUINT64VAL ); }
Reid Spencer6fd36ab2006-12-29 20:35:03 +00001970 YY_BREAK
1971case 151:
1972YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001973#line 258 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001974{ RET_TOK( UINTVAL); }
1975 YY_BREAK
1976case 152:
1977YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001978#line 259 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001979{ RET_TOK( SINTVAL); }
1980 YY_BREAK
1981case 153:
1982YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001983#line 260 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer71d2ec92006-12-31 06:02:26 +00001984{ RET_TOK( FPVAL); }
1985 YY_BREAK
1986case 154:
1987YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00001988#line 261 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencerf7bde222006-12-01 22:26:37 +00001989{ RET_TOK( FPVAL); }
1990 YY_BREAK
1991case YY_STATE_EOF(INITIAL):
Chris Lattner37e01c52007-01-04 18:46:42 +00001992#line 262 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +00001993{
1994 /* Make sure to free the internal buffers for flex when we are
1995 * done reading our input!
1996 */
1997 yy_delete_buffer(YY_CURRENT_BUFFER);
1998 return EOF;
1999 }
2000 YY_BREAK
Reid Spencer71d2ec92006-12-31 06:02:26 +00002001case 155:
Reid Spencerf7bde222006-12-01 22:26:37 +00002002YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00002003#line 270 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer6fd36ab2006-12-29 20:35:03 +00002004{ /* Ignore whitespace */ }
Reid Spencer78720742006-12-02 20:21:22 +00002005 YY_BREAK
Reid Spencer71d2ec92006-12-31 06:02:26 +00002006case 156:
Reid Spencer78720742006-12-02 20:21:22 +00002007YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00002008#line 271 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencer6fd36ab2006-12-29 20:35:03 +00002009{ return yytext[0]; }
2010 YY_BREAK
Reid Spencer71d2ec92006-12-31 06:02:26 +00002011case 157:
Reid Spencer6fd36ab2006-12-29 20:35:03 +00002012YY_RULE_SETUP
Chris Lattner37e01c52007-01-04 18:46:42 +00002013#line 273 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +00002014YY_FATAL_ERROR( "flex scanner jammed" );
2015 YY_BREAK
Chris Lattner37e01c52007-01-04 18:46:42 +00002016#line 2017 "UpgradeLexer.cpp"
Reid Spencere7c3c602006-11-30 06:36:44 +00002017
2018 case YY_END_OF_BUFFER:
2019 {
2020 /* Amount of text matched not including the EOB char. */
2021 int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1;
2022
2023 /* Undo the effects of YY_DO_BEFORE_ACTION. */
2024 *yy_cp = yy_hold_char;
2025 YY_RESTORE_YY_MORE_OFFSET
2026
2027 if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
2028 {
2029 /* We're scanning a new file or input source. It's
2030 * possible that this happened because the user
2031 * just pointed yyin at a new source and called
2032 * yylex(). If so, then we have to assure
2033 * consistency between yy_current_buffer and our
2034 * globals. Here is the right place to do so, because
2035 * this is the first action (other than possibly a
2036 * back-up) that will match for the new input source.
2037 */
2038 yy_n_chars = yy_current_buffer->yy_n_chars;
2039 yy_current_buffer->yy_input_file = yyin;
2040 yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL;
2041 }
2042
2043 /* Note that here we test for yy_c_buf_p "<=" to the position
2044 * of the first EOB in the buffer, since yy_c_buf_p will
2045 * already have been incremented past the NUL character
2046 * (since all states make transitions on EOB to the
2047 * end-of-buffer state). Contrast this with the test
2048 * in input().
2049 */
2050 if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
2051 { /* This was really a NUL. */
2052 yy_state_type yy_next_state;
2053
2054 yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text;
2055
2056 yy_current_state = yy_get_previous_state();
2057
2058 /* Okay, we're now positioned to make the NUL
2059 * transition. We couldn't have
2060 * yy_get_previous_state() go ahead and do it
2061 * for us because it doesn't know how to deal
2062 * with the possibility of jamming (and we don't
2063 * want to build jamming into it because then it
2064 * will run more slowly).
2065 */
2066
2067 yy_next_state = yy_try_NUL_trans( yy_current_state );
2068
2069 yy_bp = yytext_ptr + YY_MORE_ADJ;
2070
2071 if ( yy_next_state )
2072 {
2073 /* Consume the NUL. */
2074 yy_cp = ++yy_c_buf_p;
2075 yy_current_state = yy_next_state;
2076 goto yy_match;
2077 }
2078
2079 else
2080 {
2081 yy_cp = yy_c_buf_p;
2082 goto yy_find_action;
2083 }
2084 }
2085
2086 else switch ( yy_get_next_buffer() )
2087 {
2088 case EOB_ACT_END_OF_FILE:
2089 {
2090 yy_did_buffer_switch_on_eof = 0;
2091
2092 if ( yywrap() )
2093 {
2094 /* Note: because we've taken care in
2095 * yy_get_next_buffer() to have set up
2096 * yytext, we can now set up
2097 * yy_c_buf_p so that if some total
2098 * hoser (like flex itself) wants to
2099 * call the scanner after we return the
2100 * YY_NULL, it'll still work - another
2101 * YY_NULL will get returned.
2102 */
2103 yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
2104
2105 yy_act = YY_STATE_EOF(YY_START);
2106 goto do_action;
2107 }
2108
2109 else
2110 {
2111 if ( ! yy_did_buffer_switch_on_eof )
2112 YY_NEW_FILE;
2113 }
2114 break;
2115 }
2116
2117 case EOB_ACT_CONTINUE_SCAN:
2118 yy_c_buf_p =
2119 yytext_ptr + yy_amount_of_matched_text;
2120
2121 yy_current_state = yy_get_previous_state();
2122
2123 yy_cp = yy_c_buf_p;
2124 yy_bp = yytext_ptr + YY_MORE_ADJ;
2125 goto yy_match;
2126
2127 case EOB_ACT_LAST_MATCH:
2128 yy_c_buf_p =
2129 &yy_current_buffer->yy_ch_buf[yy_n_chars];
2130
2131 yy_current_state = yy_get_previous_state();
2132
2133 yy_cp = yy_c_buf_p;
2134 yy_bp = yytext_ptr + YY_MORE_ADJ;
2135 goto yy_find_action;
2136 }
2137 break;
2138 }
2139
2140 default:
2141 YY_FATAL_ERROR(
2142 "fatal flex scanner internal error--no action found" );
2143 } /* end of action switch */
2144 } /* end of scanning one token */
2145 } /* end of yylex */
2146
2147
2148/* yy_get_next_buffer - try to read in a new buffer
2149 *
2150 * Returns a code representing an action:
2151 * EOB_ACT_LAST_MATCH -
2152 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
2153 * EOB_ACT_END_OF_FILE - end of file
2154 */
2155
2156static int yy_get_next_buffer()
2157 {
2158 register char *dest = yy_current_buffer->yy_ch_buf;
2159 register char *source = yytext_ptr;
2160 register int number_to_move, i;
2161 int ret_val;
2162
2163 if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
2164 YY_FATAL_ERROR(
2165 "fatal flex scanner internal error--end of buffer missed" );
2166
2167 if ( yy_current_buffer->yy_fill_buffer == 0 )
2168 { /* Don't try to fill the buffer, so this is an EOF. */
2169 if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 )
2170 {
2171 /* We matched a single character, the EOB, so
2172 * treat this as a final EOF.
2173 */
2174 return EOB_ACT_END_OF_FILE;
2175 }
2176
2177 else
2178 {
2179 /* We matched some text prior to the EOB, first
2180 * process it.
2181 */
2182 return EOB_ACT_LAST_MATCH;
2183 }
2184 }
2185
2186 /* Try to read more data. */
2187
2188 /* First move last chars to start of buffer. */
2189 number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1;
2190
2191 for ( i = 0; i < number_to_move; ++i )
2192 *(dest++) = *(source++);
2193
2194 if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING )
2195 /* don't do the read, it's not guaranteed to return an EOF,
2196 * just force an EOF
2197 */
2198 yy_current_buffer->yy_n_chars = yy_n_chars = 0;
2199
2200 else
2201 {
2202 int num_to_read =
2203 yy_current_buffer->yy_buf_size - number_to_move - 1;
2204
2205 while ( num_to_read <= 0 )
2206 { /* Not enough room in the buffer - grow it. */
2207#ifdef YY_USES_REJECT
2208 YY_FATAL_ERROR(
2209"input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
2210#else
2211
2212 /* just a shorter name for the current buffer */
2213 YY_BUFFER_STATE b = yy_current_buffer;
2214
2215 int yy_c_buf_p_offset =
2216 (int) (yy_c_buf_p - b->yy_ch_buf);
2217
2218 if ( b->yy_is_our_buffer )
2219 {
2220 int new_size = b->yy_buf_size * 2;
2221
2222 if ( new_size <= 0 )
2223 b->yy_buf_size += b->yy_buf_size / 8;
2224 else
2225 b->yy_buf_size *= 2;
2226
2227 b->yy_ch_buf = (char *)
2228 /* Include room in for 2 EOB chars. */
2229 yy_flex_realloc( (void *) b->yy_ch_buf,
2230 b->yy_buf_size + 2 );
2231 }
2232 else
2233 /* Can't grow it, we don't own it. */
2234 b->yy_ch_buf = 0;
2235
2236 if ( ! b->yy_ch_buf )
2237 YY_FATAL_ERROR(
2238 "fatal error - scanner input buffer overflow" );
2239
2240 yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
2241
2242 num_to_read = yy_current_buffer->yy_buf_size -
2243 number_to_move - 1;
2244#endif
2245 }
2246
2247 if ( num_to_read > YY_READ_BUF_SIZE )
2248 num_to_read = YY_READ_BUF_SIZE;
2249
2250 /* Read in more data. */
2251 YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
2252 yy_n_chars, num_to_read );
2253
2254 yy_current_buffer->yy_n_chars = yy_n_chars;
2255 }
2256
2257 if ( yy_n_chars == 0 )
2258 {
2259 if ( number_to_move == YY_MORE_ADJ )
2260 {
2261 ret_val = EOB_ACT_END_OF_FILE;
2262 yyrestart( yyin );
2263 }
2264
2265 else
2266 {
2267 ret_val = EOB_ACT_LAST_MATCH;
2268 yy_current_buffer->yy_buffer_status =
2269 YY_BUFFER_EOF_PENDING;
2270 }
2271 }
2272
2273 else
2274 ret_val = EOB_ACT_CONTINUE_SCAN;
2275
2276 yy_n_chars += number_to_move;
2277 yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
2278 yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
2279
2280 yytext_ptr = &yy_current_buffer->yy_ch_buf[0];
2281
2282 return ret_val;
2283 }
2284
2285
2286/* yy_get_previous_state - get the state just before the EOB char was reached */
2287
2288static yy_state_type yy_get_previous_state()
2289 {
2290 register yy_state_type yy_current_state;
2291 register char *yy_cp;
2292
2293 yy_current_state = yy_start;
2294 yy_state_ptr = yy_state_buf;
2295 *yy_state_ptr++ = yy_current_state;
2296
2297 for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
2298 {
2299 register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
2300 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2301 {
2302 yy_current_state = (int) yy_def[yy_current_state];
Reid Spencer71d2ec92006-12-31 06:02:26 +00002303 if ( yy_current_state >= 608 )
Reid Spencere7c3c602006-11-30 06:36:44 +00002304 yy_c = yy_meta[(unsigned int) yy_c];
2305 }
2306 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
2307 *yy_state_ptr++ = yy_current_state;
2308 }
2309
2310 return yy_current_state;
2311 }
2312
2313
2314/* yy_try_NUL_trans - try to make a transition on the NUL character
2315 *
2316 * synopsis
2317 * next_state = yy_try_NUL_trans( current_state );
2318 */
2319
2320#ifdef YY_USE_PROTOS
2321static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state )
2322#else
2323static yy_state_type yy_try_NUL_trans( yy_current_state )
2324yy_state_type yy_current_state;
2325#endif
2326 {
2327 register int yy_is_jam;
2328
2329 register YY_CHAR yy_c = 1;
2330 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2331 {
2332 yy_current_state = (int) yy_def[yy_current_state];
Reid Spencer71d2ec92006-12-31 06:02:26 +00002333 if ( yy_current_state >= 608 )
Reid Spencere7c3c602006-11-30 06:36:44 +00002334 yy_c = yy_meta[(unsigned int) yy_c];
2335 }
2336 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
Reid Spencer71d2ec92006-12-31 06:02:26 +00002337 yy_is_jam = (yy_current_state == 607);
Reid Spencere7c3c602006-11-30 06:36:44 +00002338 if ( ! yy_is_jam )
2339 *yy_state_ptr++ = yy_current_state;
2340
2341 return yy_is_jam ? 0 : yy_current_state;
2342 }
2343
2344
2345#ifndef YY_NO_UNPUT
2346#ifdef YY_USE_PROTOS
2347static inline void yyunput( int c, register char *yy_bp )
2348#else
2349static inline void yyunput( c, yy_bp )
2350int c;
2351register char *yy_bp;
2352#endif
2353 {
2354 register char *yy_cp = yy_c_buf_p;
2355
2356 /* undo effects of setting up yytext */
2357 *yy_cp = yy_hold_char;
2358
2359 if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
2360 { /* need to shift things up to make room */
2361 /* +2 for EOB chars. */
2362 register int number_to_move = yy_n_chars + 2;
2363 register char *dest = &yy_current_buffer->yy_ch_buf[
2364 yy_current_buffer->yy_buf_size + 2];
2365 register char *source =
2366 &yy_current_buffer->yy_ch_buf[number_to_move];
2367
2368 while ( source > yy_current_buffer->yy_ch_buf )
2369 *--dest = *--source;
2370
2371 yy_cp += (int) (dest - source);
2372 yy_bp += (int) (dest - source);
2373 yy_current_buffer->yy_n_chars =
2374 yy_n_chars = yy_current_buffer->yy_buf_size;
2375
2376 if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
2377 YY_FATAL_ERROR( "flex scanner push-back overflow" );
2378 }
2379
2380 *--yy_cp = (char) c;
2381
2382 if ( c == '\n' )
2383 --yylineno;
2384
2385 yytext_ptr = yy_bp;
2386 yy_hold_char = *yy_cp;
2387 yy_c_buf_p = yy_cp;
2388 }
2389#endif /* ifndef YY_NO_UNPUT */
2390
2391
Reid Spencere7c3c602006-11-30 06:36:44 +00002392#ifdef __cplusplus
2393static int yyinput()
2394#else
2395static int input()
2396#endif
2397 {
2398 int c;
2399
2400 *yy_c_buf_p = yy_hold_char;
2401
2402 if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
2403 {
2404 /* yy_c_buf_p now points to the character we want to return.
2405 * If this occurs *before* the EOB characters, then it's a
2406 * valid NUL; if not, then we've hit the end of the buffer.
2407 */
2408 if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
2409 /* This was really a NUL. */
2410 *yy_c_buf_p = '\0';
2411
2412 else
2413 { /* need more input */
2414 int offset = yy_c_buf_p - yytext_ptr;
2415 ++yy_c_buf_p;
2416
2417 switch ( yy_get_next_buffer() )
2418 {
2419 case EOB_ACT_LAST_MATCH:
2420 /* This happens because yy_g_n_b()
2421 * sees that we've accumulated a
2422 * token and flags that we need to
2423 * try matching the token before
2424 * proceeding. But for input(),
2425 * there's no matching to consider.
2426 * So convert the EOB_ACT_LAST_MATCH
2427 * to EOB_ACT_END_OF_FILE.
2428 */
2429
2430 /* Reset buffer status. */
2431 yyrestart( yyin );
2432
2433 /* fall through */
2434
2435 case EOB_ACT_END_OF_FILE:
2436 {
2437 if ( yywrap() )
2438 return EOF;
2439
2440 if ( ! yy_did_buffer_switch_on_eof )
2441 YY_NEW_FILE;
2442#ifdef __cplusplus
2443 return yyinput();
2444#else
2445 return input();
2446#endif
2447 }
2448
2449 case EOB_ACT_CONTINUE_SCAN:
2450 yy_c_buf_p = yytext_ptr + offset;
2451 break;
2452 }
2453 }
2454 }
2455
2456 c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */
2457 *yy_c_buf_p = '\0'; /* preserve yytext */
2458 yy_hold_char = *++yy_c_buf_p;
2459
2460 if ( c == '\n' )
2461 ++yylineno;
2462
2463 return c;
2464 }
Chris Lattner37e01c52007-01-04 18:46:42 +00002465
Reid Spencere7c3c602006-11-30 06:36:44 +00002466
2467#ifdef YY_USE_PROTOS
2468void yyrestart( FILE *input_file )
2469#else
2470void yyrestart( input_file )
2471FILE *input_file;
2472#endif
2473 {
2474 if ( ! yy_current_buffer )
2475 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );
2476
2477 yy_init_buffer( yy_current_buffer, input_file );
2478 yy_load_buffer_state();
2479 }
2480
2481
2482#ifdef YY_USE_PROTOS
2483void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )
2484#else
2485void yy_switch_to_buffer( new_buffer )
2486YY_BUFFER_STATE new_buffer;
2487#endif
2488 {
2489 if ( yy_current_buffer == new_buffer )
2490 return;
2491
2492 if ( yy_current_buffer )
2493 {
2494 /* Flush out information for old buffer. */
2495 *yy_c_buf_p = yy_hold_char;
2496 yy_current_buffer->yy_buf_pos = yy_c_buf_p;
2497 yy_current_buffer->yy_n_chars = yy_n_chars;
2498 }
2499
2500 yy_current_buffer = new_buffer;
2501 yy_load_buffer_state();
2502
2503 /* We don't actually know whether we did this switch during
2504 * EOF (yywrap()) processing, but the only time this flag
2505 * is looked at is after yywrap() is called, so it's safe
2506 * to go ahead and always set it.
2507 */
2508 yy_did_buffer_switch_on_eof = 1;
2509 }
2510
2511
2512#ifdef YY_USE_PROTOS
2513void yy_load_buffer_state( void )
2514#else
2515void yy_load_buffer_state()
2516#endif
2517 {
2518 yy_n_chars = yy_current_buffer->yy_n_chars;
2519 yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
2520 yyin = yy_current_buffer->yy_input_file;
2521 yy_hold_char = *yy_c_buf_p;
2522 }
2523
2524
2525#ifdef YY_USE_PROTOS
2526YY_BUFFER_STATE yy_create_buffer( FILE *file, int size )
2527#else
2528YY_BUFFER_STATE yy_create_buffer( file, size )
2529FILE *file;
2530int size;
2531#endif
2532 {
2533 YY_BUFFER_STATE b;
2534
2535 b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
2536 if ( ! b )
2537 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
2538
2539 b->yy_buf_size = size;
2540
2541 /* yy_ch_buf has to be 2 characters longer than the size given because
2542 * we need to put in 2 end-of-buffer characters.
2543 */
2544 b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 );
2545 if ( ! b->yy_ch_buf )
2546 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
2547
2548 b->yy_is_our_buffer = 1;
2549
2550 yy_init_buffer( b, file );
2551
2552 return b;
2553 }
2554
2555
2556#ifdef YY_USE_PROTOS
2557void yy_delete_buffer( YY_BUFFER_STATE b )
2558#else
2559void yy_delete_buffer( b )
2560YY_BUFFER_STATE b;
2561#endif
2562 {
2563 if ( ! b )
2564 return;
2565
2566 if ( b == yy_current_buffer )
2567 yy_current_buffer = (YY_BUFFER_STATE) 0;
2568
2569 if ( b->yy_is_our_buffer )
2570 yy_flex_free( (void *) b->yy_ch_buf );
2571
2572 yy_flex_free( (void *) b );
2573 }
2574
2575
Chris Lattner37e01c52007-01-04 18:46:42 +00002576#ifndef YY_ALWAYS_INTERACTIVE
2577#ifndef YY_NEVER_INTERACTIVE
2578extern int isatty YY_PROTO(( int ));
2579#endif
2580#endif
Reid Spencere7c3c602006-11-30 06:36:44 +00002581
2582#ifdef YY_USE_PROTOS
2583void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
2584#else
2585void yy_init_buffer( b, file )
2586YY_BUFFER_STATE b;
2587FILE *file;
2588#endif
2589
2590
2591 {
2592 yy_flush_buffer( b );
2593
2594 b->yy_input_file = file;
2595 b->yy_fill_buffer = 1;
2596
2597#if YY_ALWAYS_INTERACTIVE
2598 b->yy_is_interactive = 1;
2599#else
2600#if YY_NEVER_INTERACTIVE
2601 b->yy_is_interactive = 0;
2602#else
2603 b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
2604#endif
2605#endif
2606 }
2607
2608
2609#ifdef YY_USE_PROTOS
2610void yy_flush_buffer( YY_BUFFER_STATE b )
2611#else
2612void yy_flush_buffer( b )
2613YY_BUFFER_STATE b;
2614#endif
2615
2616 {
2617 if ( ! b )
2618 return;
2619
2620 b->yy_n_chars = 0;
2621
2622 /* We always need two end-of-buffer characters. The first causes
2623 * a transition to the end-of-buffer state. The second causes
2624 * a jam in that state.
2625 */
2626 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
2627 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
2628
2629 b->yy_buf_pos = &b->yy_ch_buf[0];
2630
2631 b->yy_at_bol = 1;
2632 b->yy_buffer_status = YY_BUFFER_NEW;
2633
2634 if ( b == yy_current_buffer )
2635 yy_load_buffer_state();
2636 }
2637
2638
2639#ifndef YY_NO_SCAN_BUFFER
2640#ifdef YY_USE_PROTOS
2641YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size )
2642#else
2643YY_BUFFER_STATE yy_scan_buffer( base, size )
2644char *base;
2645yy_size_t size;
2646#endif
2647 {
2648 YY_BUFFER_STATE b;
2649
2650 if ( size < 2 ||
2651 base[size-2] != YY_END_OF_BUFFER_CHAR ||
2652 base[size-1] != YY_END_OF_BUFFER_CHAR )
2653 /* They forgot to leave room for the EOB's. */
2654 return 0;
2655
2656 b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
2657 if ( ! b )
2658 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
2659
2660 b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
2661 b->yy_buf_pos = b->yy_ch_buf = base;
2662 b->yy_is_our_buffer = 0;
2663 b->yy_input_file = 0;
2664 b->yy_n_chars = b->yy_buf_size;
2665 b->yy_is_interactive = 0;
2666 b->yy_at_bol = 1;
2667 b->yy_fill_buffer = 0;
2668 b->yy_buffer_status = YY_BUFFER_NEW;
2669
2670 yy_switch_to_buffer( b );
2671
2672 return b;
2673 }
2674#endif
2675
2676
2677#ifndef YY_NO_SCAN_STRING
2678#ifdef YY_USE_PROTOS
2679YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str )
2680#else
2681YY_BUFFER_STATE yy_scan_string( yy_str )
2682yyconst char *yy_str;
2683#endif
2684 {
2685 int len;
2686 for ( len = 0; yy_str[len]; ++len )
2687 ;
2688
2689 return yy_scan_bytes( yy_str, len );
2690 }
2691#endif
2692
2693
2694#ifndef YY_NO_SCAN_BYTES
2695#ifdef YY_USE_PROTOS
2696YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len )
2697#else
2698YY_BUFFER_STATE yy_scan_bytes( bytes, len )
2699yyconst char *bytes;
2700int len;
2701#endif
2702 {
2703 YY_BUFFER_STATE b;
2704 char *buf;
2705 yy_size_t n;
2706 int i;
2707
2708 /* Get memory for full buffer, including space for trailing EOB's. */
2709 n = len + 2;
2710 buf = (char *) yy_flex_alloc( n );
2711 if ( ! buf )
2712 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
2713
2714 for ( i = 0; i < len; ++i )
2715 buf[i] = bytes[i];
2716
2717 buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
2718
2719 b = yy_scan_buffer( buf, n );
2720 if ( ! b )
2721 YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
2722
2723 /* It's okay to grow etc. this buffer, and we should throw it
2724 * away when we're done.
2725 */
2726 b->yy_is_our_buffer = 1;
2727
2728 return b;
2729 }
2730#endif
2731
2732
2733#ifndef YY_NO_PUSH_STATE
2734#ifdef YY_USE_PROTOS
2735static void yy_push_state( int new_state )
2736#else
2737static void yy_push_state( new_state )
2738int new_state;
2739#endif
2740 {
2741 if ( yy_start_stack_ptr >= yy_start_stack_depth )
2742 {
2743 yy_size_t new_size;
2744
2745 yy_start_stack_depth += YY_START_STACK_INCR;
2746 new_size = yy_start_stack_depth * sizeof( int );
2747
2748 if ( ! yy_start_stack )
2749 yy_start_stack = (int *) yy_flex_alloc( new_size );
2750
2751 else
2752 yy_start_stack = (int *) yy_flex_realloc(
2753 (void *) yy_start_stack, new_size );
2754
2755 if ( ! yy_start_stack )
2756 YY_FATAL_ERROR(
2757 "out of memory expanding start-condition stack" );
2758 }
2759
2760 yy_start_stack[yy_start_stack_ptr++] = YY_START;
2761
2762 BEGIN(new_state);
2763 }
2764#endif
2765
2766
2767#ifndef YY_NO_POP_STATE
2768static void yy_pop_state()
2769 {
2770 if ( --yy_start_stack_ptr < 0 )
2771 YY_FATAL_ERROR( "start-condition stack underflow" );
2772
2773 BEGIN(yy_start_stack[yy_start_stack_ptr]);
2774 }
2775#endif
2776
2777
2778#ifndef YY_NO_TOP_STATE
2779static int yy_top_state()
2780 {
2781 return yy_start_stack[yy_start_stack_ptr - 1];
2782 }
2783#endif
2784
2785#ifndef YY_EXIT_FAILURE
2786#define YY_EXIT_FAILURE 2
2787#endif
2788
2789#ifdef YY_USE_PROTOS
2790static void yy_fatal_error( yyconst char msg[] )
2791#else
2792static void yy_fatal_error( msg )
2793char msg[];
2794#endif
2795 {
2796 (void) fprintf( stderr, "%s\n", msg );
2797 exit( YY_EXIT_FAILURE );
2798 }
2799
2800
2801
2802/* Redefine yyless() so it works in section 3 code. */
2803
2804#undef yyless
2805#define yyless(n) \
2806 do \
2807 { \
2808 /* Undo effects of setting up yytext. */ \
2809 yytext[yyleng] = yy_hold_char; \
2810 yy_c_buf_p = yytext + n; \
2811 yy_hold_char = *yy_c_buf_p; \
2812 *yy_c_buf_p = '\0'; \
2813 yyleng = n; \
2814 } \
2815 while ( 0 )
2816
2817
2818/* Internal utility routines. */
2819
2820#ifndef yytext_ptr
2821#ifdef YY_USE_PROTOS
2822static void yy_flex_strncpy( char *s1, yyconst char *s2, int n )
2823#else
2824static void yy_flex_strncpy( s1, s2, n )
2825char *s1;
2826yyconst char *s2;
2827int n;
2828#endif
2829 {
2830 register int i;
2831 for ( i = 0; i < n; ++i )
2832 s1[i] = s2[i];
2833 }
2834#endif
2835
2836#ifdef YY_NEED_STRLEN
2837#ifdef YY_USE_PROTOS
2838static int yy_flex_strlen( yyconst char *s )
2839#else
2840static int yy_flex_strlen( s )
2841yyconst char *s;
2842#endif
2843 {
2844 register int n;
2845 for ( n = 0; s[n]; ++n )
2846 ;
2847
2848 return n;
2849 }
2850#endif
2851
2852
2853#ifdef YY_USE_PROTOS
2854static void *yy_flex_alloc( yy_size_t size )
2855#else
2856static void *yy_flex_alloc( size )
2857yy_size_t size;
2858#endif
2859 {
2860 return (void *) malloc( size );
2861 }
2862
2863#ifdef YY_USE_PROTOS
2864static inline void *yy_flex_realloc( void *ptr, yy_size_t size )
2865#else
2866static inline void *yy_flex_realloc( ptr, size )
2867void *ptr;
2868yy_size_t size;
2869#endif
2870 {
2871 /* The cast to (char *) in the following accommodates both
2872 * implementations that use char* generic pointers, and those
2873 * that use void* generic pointers. It works with the latter
2874 * because both ANSI C and C++ allow castless assignment from
2875 * any pointer type to void*, and deal with argument conversions
2876 * as though doing an assignment.
2877 */
2878 return (void *) realloc( (char *) ptr, size );
2879 }
2880
2881#ifdef YY_USE_PROTOS
2882static void yy_flex_free( void *ptr )
2883#else
2884static void yy_flex_free( ptr )
2885void *ptr;
2886#endif
2887 {
2888 free( ptr );
2889 }
2890
2891#if YY_MAIN
2892int main()
2893 {
2894 yylex();
2895 return 0;
2896 }
2897#endif
Chris Lattner37e01c52007-01-04 18:46:42 +00002898#line 273 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvm-upgrade/UpgradeLexer.l"
Reid Spencere7c3c602006-11-30 06:36:44 +00002899