blob: 9cf8809e1d95b8ebcba1d22dbeec625b5b172e81 [file] [log] [blame]
Reid Spencer68a24bd2005-08-27 18:50:39 +00001#define yy_create_buffer Config_create_buffer
2#define yy_delete_buffer Config_delete_buffer
3#define yy_scan_buffer Config_scan_buffer
4#define yy_scan_string Config_scan_string
5#define yy_scan_bytes Config_scan_bytes
6#define yy_flex_debug Config_flex_debug
7#define yy_init_buffer Config_init_buffer
8#define yy_flush_buffer Config_flush_buffer
9#define yy_load_buffer_state Config_load_buffer_state
10#define yy_switch_to_buffer Config_switch_to_buffer
11#define yyin Configin
12#define yyleng Configleng
13#define yylex Configlex
14#define yyout Configout
15#define yyrestart Configrestart
16#define yytext Configtext
17
18#line 19 "ConfigLexer.cpp"
19/* A lexical scanner generated by flex */
20
21/* Scanner skeleton version:
Chris Lattnerf87bd842007-07-05 17:27:31 +000022 * $Header: /cvs/root/flex/flex/skel.c,v 1.2 2004/05/07 00:28:17 jkh Exp $
Reid Spencer68a24bd2005-08-27 18:50:39 +000023 */
24
25#define FLEX_SCANNER
26#define YY_FLEX_MAJOR_VERSION 2
27#define YY_FLEX_MINOR_VERSION 5
28
29#include <stdio.h>
Reid Spencer68a24bd2005-08-27 18:50:39 +000030
31
32/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
33#ifdef c_plusplus
34#ifndef __cplusplus
35#define __cplusplus
36#endif
37#endif
38
39
40#ifdef __cplusplus
41
42#include <stdlib.h>
Chris Lattner74f48d12006-05-29 18:52:05 +000043#include <unistd.h>
Reid Spencer68a24bd2005-08-27 18:50:39 +000044
45/* Use prototypes in function declarations. */
46#define YY_USE_PROTOS
47
48/* The "const" storage-class-modifier is valid. */
49#define YY_USE_CONST
50
51#else /* ! __cplusplus */
52
53#if __STDC__
54
55#define YY_USE_PROTOS
56#define YY_USE_CONST
57
58#endif /* __STDC__ */
59#endif /* ! __cplusplus */
60
61#ifdef __TURBOC__
62 #pragma warn -rch
63 #pragma warn -use
64#include <io.h>
65#include <stdlib.h>
66#define YY_USE_CONST
67#define YY_USE_PROTOS
68#endif
69
70#ifdef YY_USE_CONST
71#define yyconst const
72#else
73#define yyconst
74#endif
75
76
77#ifdef YY_USE_PROTOS
78#define YY_PROTO(proto) proto
79#else
80#define YY_PROTO(proto) ()
81#endif
82
83/* Returned upon end-of-file. */
84#define YY_NULL 0
85
86/* Promotes a possibly negative, possibly signed char to an unsigned
87 * integer for use as an array index. If the signed char is negative,
88 * we want to instead treat it as an 8-bit unsigned char, hence the
89 * double cast.
90 */
91#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
92
93/* Enter a start condition. This macro really ought to take a parameter,
94 * but we do it the disgusting crufty way forced on us by the ()-less
95 * definition of BEGIN.
96 */
97#define BEGIN yy_start = 1 + 2 *
98
99/* Translate the current start state into a value that can be later handed
100 * to BEGIN to return to the state. The YYSTATE alias is for lex
101 * compatibility.
102 */
103#define YY_START ((yy_start - 1) / 2)
104#define YYSTATE YY_START
105
106/* Action number for EOF rule of a given start state. */
107#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
108
109/* Special action meaning "start processing a new file". */
110#define YY_NEW_FILE yyrestart( yyin )
111
112#define YY_END_OF_BUFFER_CHAR 0
113
114/* Size of default input buffer. */
115#define YY_BUF_SIZE (16384*64)
116
117typedef struct yy_buffer_state *YY_BUFFER_STATE;
118
119extern int yyleng;
120extern FILE *yyin, *yyout;
121
122#define EOB_ACT_CONTINUE_SCAN 0
123#define EOB_ACT_END_OF_FILE 1
124#define EOB_ACT_LAST_MATCH 2
125
126/* The funky do-while in the following #define is used to turn the definition
127 * int a single C statement (which needs a semi-colon terminator). This
128 * avoids problems with code like:
129 *
130 * if ( condition_holds )
131 * yyless( 5 );
132 * else
133 * do_something_else();
134 *
135 * Prior to using the do-while the compiler would get upset at the
136 * "else" because it interpreted the "if" statement as being all
137 * done when it reached the ';' after the yyless() call.
138 */
139
140/* Return all but the first 'n' matched characters back to the input stream. */
141
142#define yyless(n) \
143 do \
144 { \
145 /* Undo effects of setting up yytext. */ \
146 *yy_cp = yy_hold_char; \
147 YY_RESTORE_YY_MORE_OFFSET \
148 yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
149 YY_DO_BEFORE_ACTION; /* set up yytext again */ \
150 } \
151 while ( 0 )
152
153#define unput(c) yyunput( c, yytext_ptr )
154
155/* The following is because we cannot portably get our hands on size_t
156 * (without autoconf's help, which isn't available because we want
157 * flex-generated scanners to compile on their own).
158 */
159typedef unsigned int yy_size_t;
160
161
162struct yy_buffer_state
163 {
164 FILE *yy_input_file;
165
166 char *yy_ch_buf; /* input buffer */
167 char *yy_buf_pos; /* current position in input buffer */
168
169 /* Size of input buffer in bytes, not including room for EOB
170 * characters.
171 */
172 yy_size_t yy_buf_size;
173
174 /* Number of characters read into yy_ch_buf, not including EOB
175 * characters.
176 */
177 int yy_n_chars;
178
179 /* Whether we "own" the buffer - i.e., we know we created it,
180 * and can realloc() it to grow it, and should free() it to
181 * delete it.
182 */
183 int yy_is_our_buffer;
184
185 /* Whether this is an "interactive" input source; if so, and
186 * if we're using stdio for input, then we want to use getc()
187 * instead of fread(), to make sure we stop fetching input after
188 * each newline.
189 */
190 int yy_is_interactive;
191
192 /* Whether we're considered to be at the beginning of a line.
193 * If so, '^' rules will be active on the next match, otherwise
194 * not.
195 */
196 int yy_at_bol;
197
198 /* Whether to try to fill the input buffer when we reach the
199 * end of it.
200 */
201 int yy_fill_buffer;
202
203 int yy_buffer_status;
204#define YY_BUFFER_NEW 0
205#define YY_BUFFER_NORMAL 1
206 /* When an EOF's been seen but there's still some text to process
207 * then we mark the buffer as YY_EOF_PENDING, to indicate that we
208 * shouldn't try reading from the input source any more. We might
209 * still have a bunch of tokens to match, though, because of
210 * possible backing-up.
211 *
212 * When we actually see the EOF, we change the status to "new"
213 * (via yyrestart()), so that the user can continue scanning by
214 * just pointing yyin at a new input file.
215 */
216#define YY_BUFFER_EOF_PENDING 2
217 };
218
219static YY_BUFFER_STATE yy_current_buffer = 0;
220
221/* We provide macros for accessing buffer states in case in the
222 * future we want to put the buffer states in a more general
223 * "scanner state".
224 */
225#define YY_CURRENT_BUFFER yy_current_buffer
226
227
228/* yy_hold_char holds the character lost when yytext is formed. */
229static char yy_hold_char;
230
231static int yy_n_chars; /* number of characters read into yy_ch_buf */
232
233
234int yyleng;
235
236/* Points to current character in buffer. */
237static char *yy_c_buf_p = (char *) 0;
238static int yy_init = 1; /* whether we need to initialize */
239static int yy_start = 0; /* start state number */
240
241/* Flag which is used to allow yywrap()'s to do buffer switches
242 * instead of setting up a fresh yyin. A bit of a hack ...
243 */
244static int yy_did_buffer_switch_on_eof;
245
246void yyrestart YY_PROTO(( FILE *input_file ));
247
248void yy_switch_to_buffer YY_PROTO(( YY_BUFFER_STATE new_buffer ));
249void yy_load_buffer_state YY_PROTO(( void ));
250YY_BUFFER_STATE yy_create_buffer YY_PROTO(( FILE *file, int size ));
251void yy_delete_buffer YY_PROTO(( YY_BUFFER_STATE b ));
252void yy_init_buffer YY_PROTO(( YY_BUFFER_STATE b, FILE *file ));
253void yy_flush_buffer YY_PROTO(( YY_BUFFER_STATE b ));
254#define YY_FLUSH_BUFFER yy_flush_buffer( yy_current_buffer )
255
256YY_BUFFER_STATE yy_scan_buffer YY_PROTO(( char *base, yy_size_t size ));
257YY_BUFFER_STATE yy_scan_string YY_PROTO(( yyconst char *yy_str ));
258YY_BUFFER_STATE yy_scan_bytes YY_PROTO(( yyconst char *bytes, int len ));
259
260static void *yy_flex_alloc YY_PROTO(( yy_size_t ));
261static inline void *yy_flex_realloc YY_PROTO(( void *, yy_size_t ));
262static void yy_flex_free YY_PROTO(( void * ));
263
264#define yy_new_buffer yy_create_buffer
265
266#define yy_set_interactive(is_interactive) \
267 { \
268 if ( ! yy_current_buffer ) \
269 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
270 yy_current_buffer->yy_is_interactive = is_interactive; \
271 }
272
273#define yy_set_bol(at_bol) \
274 { \
275 if ( ! yy_current_buffer ) \
276 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
277 yy_current_buffer->yy_at_bol = at_bol; \
278 }
279
280#define YY_AT_BOL() (yy_current_buffer->yy_at_bol)
281
282
283#define yywrap() 1
284#define YY_SKIP_YYWRAP
285typedef unsigned char YY_CHAR;
286FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0;
287typedef int yy_state_type;
288extern char *yytext;
289#define yytext_ptr yytext
290
291static yy_state_type yy_get_previous_state YY_PROTO(( void ));
292static yy_state_type yy_try_NUL_trans YY_PROTO(( yy_state_type current_state ));
293static int yy_get_next_buffer YY_PROTO(( void ));
294static void yy_fatal_error YY_PROTO(( yyconst char msg[] ));
295
296/* Done after the current pattern has been matched and before the
297 * corresponding action - sets up yytext.
298 */
299#define YY_DO_BEFORE_ACTION \
300 yytext_ptr = yy_bp; \
301 yyleng = (int) (yy_cp - yy_bp); \
302 yy_hold_char = *yy_cp; \
303 *yy_cp = '\0'; \
304 yy_c_buf_p = yy_cp;
305
306#define YY_NUM_RULES 55
307#define YY_END_OF_BUFFER 56
Chris Lattnerf87bd842007-07-05 17:27:31 +0000308static yyconst short int yy_accept[408] =
Reid Spencer68a24bd2005-08-27 18:50:39 +0000309 { 0,
310 1, 1, 56, 55, 1, 4, 55, 55, 55, 52,
311 52, 6, 5, 52, 52, 52, 52, 52, 52, 52,
312 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
313 52, 52, 52, 52, 52, 52, 52, 52, 1, 4,
314 0, 53, 0, 2, 0, 54, 52, 52, 52, 52,
315 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
316 52, 52, 49, 52, 52, 52, 52, 52, 52, 52,
317 52, 52, 52, 52, 51, 52, 52, 50, 52, 52,
318 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
319 52, 52, 52, 3, 0, 52, 52, 52, 52, 52,
320
321 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
322 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
323 52, 52, 52, 52, 52, 48, 52, 52, 52, 52,
324 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
325 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
326 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
327 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
328 52, 52, 52, 52, 52, 52, 52, 29, 52, 52,
329 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
330 52, 52, 52, 52, 52, 8, 9, 52, 52, 10,
331
332 11, 12, 13, 14, 15, 52, 52, 52, 52, 52,
333 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
334 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
335 52, 52, 52, 52, 52, 52, 52, 52, 39, 40,
336 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
337 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
338 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
339 52, 52, 52, 52, 52, 52, 26, 52, 28, 52,
340 52, 52, 32, 52, 52, 52, 52, 43, 52, 52,
341 52, 52, 52, 52, 52, 25, 52, 21, 52, 52,
342
343 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
344 52, 52, 52, 52, 52, 46, 47, 52, 45, 30,
Chris Lattnerf87bd842007-07-05 17:27:31 +0000345 52, 52, 52, 52, 41, 52, 52, 52, 52, 17,
346 52, 52, 52, 52, 52, 52, 52, 52, 7, 52,
347 52, 52, 52, 52, 27, 31, 52, 52, 52, 42,
348 52, 52, 52, 52, 52, 52, 52, 18, 52, 52,
349 52, 52, 52, 52, 37, 52, 35, 52, 52, 36,
350 44, 24, 22, 52, 52, 52, 52, 52, 52, 52,
351 52, 52, 52, 52, 52, 52, 52, 23, 19, 52,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000352 52, 52, 52, 52, 52, 52, 52, 52, 52, 52,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000353
Chris Lattnerf87bd842007-07-05 17:27:31 +0000354 52, 33, 20, 16, 38, 34, 0
Reid Spencer68a24bd2005-08-27 18:50:39 +0000355 } ;
356
357static yyconst int yy_ec[256] =
358 { 0,
359 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
360 1, 1, 4, 1, 1, 1, 1, 1, 1, 1,
361 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
362 1, 2, 1, 5, 6, 1, 7, 1, 1, 1,
363 1, 1, 8, 8, 8, 9, 8, 8, 10, 11,
364 12, 13, 14, 8, 8, 8, 8, 8, 1, 1,
365 15, 1, 1, 16, 17, 18, 19, 20, 21, 22,
366 23, 24, 25, 24, 26, 27, 28, 29, 30, 31,
367 32, 33, 34, 35, 36, 37, 38, 24, 39, 40,
368 1, 41, 1, 1, 8, 1, 42, 43, 44, 45,
369
370 46, 47, 48, 49, 50, 24, 51, 52, 53, 54,
371 55, 56, 57, 58, 59, 60, 61, 62, 24, 63,
372 64, 65, 1, 8, 1, 1, 1, 1, 1, 1,
373 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
374 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
375 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
376 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
377 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
378 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
379 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
380
381 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
382 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
383 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
384 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
385 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
386 1, 1, 1, 1, 1
387 } ;
388
389static yyconst int yy_meta[66] =
390 { 0,
391 1, 1, 1, 1, 1, 1, 2, 3, 1, 3,
392 3, 3, 3, 3, 1, 3, 3, 3, 3, 3,
393 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
394 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
395 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
396 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
397 3, 3, 3, 3, 3
398 } ;
399
Chris Lattnerf87bd842007-07-05 17:27:31 +0000400static yyconst short int yy_base[412] =
Reid Spencer68a24bd2005-08-27 18:50:39 +0000401 { 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +0000402 0, 0, 716, 3252, 713, 3252, 711, 708, 63, 61,
403 0, 3252, 3252, 36, 57, 50, 67, 68, 70, 93,
404 59, 73, 68, 93, 106, 75, 652, 46, 655, 667,
405 41, 86, 89, 650, 661, 648, 659, 658, 701, 3252,
406 697, 3252, 94, 3252, 698, 3252, 0, 148, 183, 218,
407 253, 305, 349, 389, 424, 472, 518, 573, 627, 671,
408 103, 641, 0, 664, 638, 669, 643, 668, 642, 664,
409 115, 638, 92, 663, 0, 637, 667, 0, 653, 651,
410 633, 616, 615, 653, 627, 640, 614, 115, 92, 637,
411 609, 632, 606, 3252, 661, 89, 603, 609, 609, 606,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000412
Chris Lattnerf87bd842007-07-05 17:27:31 +0000413 114, 606, 611, 597, 596, 609, 597, 121, 595, 593,
414 711, 761, 811, 853, 901, 942, 992, 1030, 1067, 1123,
415 1177, 1231, 1267, 1319, 1366, 0, 630, 604, 630, 604,
416 619, 593, 611, 585, 619, 602, 606, 583, 571, 578,
417 607, 581, 159, 595, 164, 569, 593, 592, 586, 560,
418 591, 598, 564, 571, 582, 556, 567, 568, 558, 551,
419 561, 549, 556, 560, 190, 549, 548, 542, 548, 555,
420 541, 1418, 1472, 1526, 1579, 1618, 1671, 3252, 1725, 1771,
421 1824, 231, 242, 1871, 1925, 1967, 2007, 571, 545, 567,
422 541, 577, 551, 571, 545, 0, 0, 569, 542, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000423
Chris Lattnerf87bd842007-07-05 17:27:31 +0000424 0, 0, 0, 0, 0, 550, 541, 523, 514, 540,
425 514, 546, 513, 526, 499, 531, 500, 494, 491, 501,
426 491, 481, 468, 458, 452, 459, 448, 451, 2044, 2097,
427 263, 2150, 279, 2194, 2247, 2300, 289, 2344, 3252, 3252,
428 2386, 2439, 325, 2479, 473, 438, 457, 431, 445, 419,
429 438, 403, 430, 417, 399, 383, 409, 378, 396, 370,
430 400, 373, 386, 360, 370, 367, 357, 352, 359, 348,
431 352, 348, 346, 339, 337, 363, 3252, 2528, 3252, 373,
432 410, 2580, 3252, 2632, 2670, 434, 2727, 3252, 2781, 366,
433 340, 370, 342, 362, 327, 0, 329, 0, 303, 348,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000434
Chris Lattnerf87bd842007-07-05 17:27:31 +0000435 320, 337, 308, 335, 301, 313, 286, 282, 285, 284,
436 263, 283, 280, 283, 270, 3252, 3252, 446, 3252, 3252,
437 456, 482, 2834, 2872, 3252, 492, 2929, 144, 121, 0,
438 302, 276, 293, 264, 289, 263, 272, 246, 0, 134,
439 252, 242, 240, 224, 3252, 3252, 74, 2969, 504, 3252,
440 528, 249, 223, 247, 220, 234, 203, 0, 158, 160,
441 199, 193, 187, 161, 3252, 185, 3252, 3008, 3060, 3252,
442 3252, 0, 0, 202, 176, 199, 194, 164, 164, 162,
443 161, 154, 150, 3104, 3142, 187, 163, 0, 0, 164,
444 146, 3194, 541, 158, 154, 127, 123, 107, 80, 81,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000445
Chris Lattnerf87bd842007-07-05 17:27:31 +0000446 554, 3252, 0, 0, 3252, 3252, 3252, 3243, 3246, 3248,
447 83
Reid Spencer68a24bd2005-08-27 18:50:39 +0000448 } ;
449
Chris Lattnerf87bd842007-07-05 17:27:31 +0000450static yyconst short int yy_def[412] =
Reid Spencer68a24bd2005-08-27 18:50:39 +0000451 { 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +0000452 407, 1, 407, 407, 407, 407, 407, 408, 409, 410,
453 411, 407, 407, 411, 411, 411, 411, 411, 411, 411,
454 411, 411, 411, 411, 411, 411, 411, 411, 411, 411,
455 411, 411, 411, 411, 411, 411, 411, 411, 407, 407,
456 408, 407, 409, 407, 407, 407, 411, 410, 410, 410,
457 410, 410, 410, 410, 410, 410, 410, 410, 410, 410,
458 411, 411, 411, 411, 411, 411, 411, 411, 411, 411,
459 411, 411, 411, 411, 411, 411, 411, 411, 411, 411,
460 411, 411, 411, 411, 411, 411, 411, 411, 411, 411,
461 411, 411, 411, 407, 407, 411, 411, 411, 411, 411,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000462
Chris Lattnerf87bd842007-07-05 17:27:31 +0000463 411, 411, 411, 411, 411, 411, 411, 411, 411, 411,
464 410, 410, 410, 410, 410, 410, 410, 410, 410, 410,
465 410, 410, 410, 410, 410, 411, 411, 411, 411, 411,
466 411, 411, 411, 411, 411, 411, 411, 411, 411, 411,
467 411, 411, 411, 411, 411, 411, 411, 411, 411, 411,
468 411, 411, 411, 411, 411, 411, 411, 411, 411, 411,
469 411, 411, 411, 411, 411, 411, 411, 411, 411, 411,
470 411, 410, 410, 410, 410, 410, 410, 407, 410, 410,
471 410, 410, 410, 410, 410, 410, 410, 411, 411, 411,
472 411, 411, 411, 411, 411, 411, 411, 411, 411, 411,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000473
Chris Lattnerf87bd842007-07-05 17:27:31 +0000474 411, 411, 411, 411, 411, 411, 411, 411, 411, 411,
475 411, 411, 411, 411, 411, 411, 411, 411, 411, 411,
476 411, 411, 411, 411, 411, 411, 411, 411, 410, 410,
477 410, 410, 410, 410, 410, 410, 410, 410, 407, 407,
478 410, 410, 410, 410, 411, 411, 411, 411, 411, 411,
479 411, 411, 411, 411, 411, 411, 411, 411, 411, 411,
480 411, 411, 411, 411, 411, 411, 411, 411, 411, 411,
481 411, 411, 411, 411, 410, 410, 407, 410, 407, 410,
482 410, 410, 407, 410, 410, 410, 410, 407, 410, 411,
483 411, 411, 411, 411, 411, 411, 411, 411, 411, 411,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000484
Chris Lattnerf87bd842007-07-05 17:27:31 +0000485 411, 411, 411, 411, 411, 411, 411, 411, 411, 411,
486 411, 411, 411, 411, 411, 407, 407, 410, 407, 407,
487 410, 410, 410, 410, 407, 410, 410, 411, 411, 411,
488 411, 411, 411, 411, 411, 411, 411, 411, 411, 411,
489 411, 411, 411, 411, 407, 407, 411, 410, 410, 407,
490 410, 411, 411, 411, 411, 411, 411, 411, 411, 411,
491 411, 411, 411, 411, 407, 411, 407, 410, 410, 407,
492 407, 411, 411, 411, 411, 411, 411, 411, 411, 411,
493 411, 411, 411, 410, 410, 411, 411, 411, 411, 411,
494 411, 410, 410, 411, 411, 411, 411, 411, 411, 411,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000495
Chris Lattnerf87bd842007-07-05 17:27:31 +0000496 410, 407, 411, 411, 407, 407, 0, 407, 407, 407,
497 407
Reid Spencer68a24bd2005-08-27 18:50:39 +0000498 } ;
499
Chris Lattnerf87bd842007-07-05 17:27:31 +0000500static yyconst short int yy_nxt[3318] =
Reid Spencer68a24bd2005-08-27 18:50:39 +0000501 { 0,
502 4, 5, 6, 7, 8, 9, 10, 11, 12, 11,
503 11, 11, 11, 11, 13, 4, 14, 15, 16, 11,
504 11, 17, 11, 11, 11, 11, 18, 11, 19, 20,
505 21, 11, 22, 11, 23, 11, 24, 11, 25, 11,
506 26, 27, 28, 29, 11, 11, 30, 11, 11, 11,
507 11, 31, 11, 32, 33, 34, 11, 35, 11, 36,
508 11, 37, 11, 38, 11, 44, 45, 46, 47, 61,
Chris Lattnerf87bd842007-07-05 17:27:31 +0000509 47, 47, 47, 47, 47, 63, 47, 94, 95, 66,
510 365, 64, 100, 68, 70, 47, 74, 405, 49, 63,
511 101, 84, 71, 86, 62, 97, 44, 45, 50, 75,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000512
Chris Lattnerf87bd842007-07-05 17:27:31 +0000513 88, 47, 51, 52, 67, 53, 65, 54, 69, 72,
514 55, 76, 56, 90, 77, 57, 85, 73, 87, 58,
515 59, 78, 60, 79, 75, 89, 92, 102, 80, 366,
516 126, 151, 136, 153, 139, 103, 127, 404, 91, 81,
517 75, 126, 78, 137, 104, 140, 78, 157, 82, 105,
518 152, 93, 154, 83, 46, 47, 162, 47, 47, 47,
519 47, 47, 169, 47, 352, 403, 353, 163, 201, 202,
520 203, 204, 205, 201, 202, 203, 204, 205, 376, 361,
521 404, 170, 126, 206, 126, 403, 404, 377, 47, 46,
522 47, 403, 47, 47, 47, 47, 47, 126, 47, 201,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000523
Chris Lattnerf87bd842007-07-05 17:27:31 +0000524 202, 203, 204, 205, 400, 378, 381, 394, 396, 398,
525 391, 389, 111, 208, 379, 382, 395, 397, 399, 388,
526 390, 389, 388, 47, 46, 47, 389, 47, 47, 47,
527 47, 47, 388, 47, 387, 386, 383, 239, 47, 223,
528 47, 47, 47, 47, 47, 380, 47, 112, 240, 47,
529 373, 47, 47, 47, 47, 47, 372, 47, 47, 46,
530 47, 375, 47, 47, 47, 47, 47, 374, 47, 277,
531 47, 47, 47, 47, 47, 47, 47, 373, 47, 373,
532 372, 372, 47, 364, 358, 279, 47, 363, 47, 47,
533 47, 47, 47, 47, 47, 283, 47, 362, 47, 47,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000534
Chris Lattnerf87bd842007-07-05 17:27:31 +0000535 47, 47, 47, 47, 47, 360, 359, 358, 358, 357,
536 113, 46, 47, 356, 47, 47, 47, 47, 47, 47,
537 47, 355, 354, 339, 344, 343, 342, 341, 330, 47,
538 63, 288, 47, 340, 47, 47, 47, 47, 47, 339,
539 47, 339, 338, 316, 47, 47, 47, 47, 47, 47,
540 47, 337, 47, 336, 114, 46, 47, 335, 47, 47,
541 47, 47, 47, 334, 47, 47, 333, 332, 331, 317,
542 47, 330, 47, 47, 47, 47, 47, 47, 47, 319,
543 47, 330, 47, 47, 47, 47, 47, 63, 47, 47,
544 63, 329, 328, 315, 115, 46, 47, 314, 47, 47,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000545
Chris Lattnerf87bd842007-07-05 17:27:31 +0000546 47, 47, 47, 47, 47, 313, 312, 298, 311, 296,
547 310, 309, 308, 47, 307, 306, 320, 47, 116, 47,
548 47, 47, 47, 47, 305, 47, 304, 303, 302, 47,
549 46, 47, 301, 47, 47, 47, 47, 47, 300, 47,
550 325, 47, 298, 47, 47, 47, 47, 47, 299, 47,
551 47, 298, 345, 47, 297, 47, 47, 47, 47, 47,
552 296, 47, 346, 47, 47, 47, 47, 47, 47, 47,
553 296, 47, 295, 294, 47, 293, 292, 117, 46, 47,
554 291, 47, 47, 47, 47, 47, 47, 47, 46, 47,
555 290, 347, 47, 47, 47, 47, 47, 47, 350, 47,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000556
Chris Lattnerf87bd842007-07-05 17:27:31 +0000557 274, 47, 47, 47, 47, 47, 273, 47, 272, 271,
558 370, 47, 47, 47, 47, 47, 47, 47, 270, 47,
559 269, 118, 47, 119, 46, 47, 268, 47, 47, 47,
560 47, 47, 47, 47, 371, 47, 75, 47, 47, 47,
561 47, 47, 267, 47, 47, 266, 265, 402, 47, 264,
562 47, 47, 47, 47, 47, 263, 47, 262, 47, 261,
563 406, 47, 260, 47, 47, 47, 47, 47, 47, 47,
564 259, 258, 257, 120, 256, 255, 254, 253, 121, 46,
565 47, 47, 47, 47, 47, 47, 47, 252, 47, 251,
566 75, 75, 250, 249, 47, 248, 247, 246, 245, 228,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000567
Chris Lattnerf87bd842007-07-05 17:27:31 +0000568 78, 227, 226, 225, 224, 200, 222, 197, 196, 221,
569 220, 219, 218, 47, 217, 216, 78, 215, 78, 214,
570 213, 212, 211, 210, 209, 207, 200, 200, 199, 197,
571 196, 198, 122, 46, 47, 197, 47, 47, 47, 47,
572 47, 196, 47, 195, 194, 193, 192, 191, 190, 189,
573 188, 78, 171, 168, 167, 166, 165, 75, 164, 161,
574 160, 159, 158, 94, 78, 78, 156, 47, 123, 155,
575 150, 149, 148, 147, 146, 145, 124, 46, 47, 75,
576 47, 47, 47, 47, 47, 144, 47, 143, 75, 142,
577 141, 138, 135, 134, 133, 132, 131, 130, 129, 128,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000578
Chris Lattnerf87bd842007-07-05 17:27:31 +0000579 44, 42, 39, 110, 109, 108, 107, 106, 99, 98,
580 96, 47, 42, 40, 39, 407, 125, 46, 47, 407,
581 47, 47, 47, 47, 47, 407, 47, 407, 407, 407,
582 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
583 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
584 407, 47, 407, 407, 407, 407, 407, 407, 407, 407,
585 407, 407, 407, 407, 407, 407, 172, 46, 47, 407,
586 47, 47, 47, 47, 47, 407, 47, 407, 407, 407,
587 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
588 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000589
Chris Lattnerf87bd842007-07-05 17:27:31 +0000590 407, 47, 407, 407, 407, 407, 407, 407, 407, 407,
591 407, 407, 407, 407, 407, 407, 173, 46, 47, 407,
592 47, 47, 47, 47, 47, 407, 47, 407, 407, 407,
593 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
594 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
595 407, 47, 407, 407, 407, 407, 407, 407, 174, 46,
596 47, 407, 47, 47, 47, 47, 47, 407, 47, 407,
597 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
598 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
599 407, 407, 407, 47, 407, 407, 407, 407, 407, 407,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000600
Chris Lattnerf87bd842007-07-05 17:27:31 +0000601 407, 407, 407, 407, 407, 407, 175, 46, 47, 407,
602 47, 47, 47, 47, 47, 407, 47, 407, 407, 407,
603 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
604 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
605 407, 47, 407, 407, 407, 407, 407, 176, 46, 47,
606 407, 47, 47, 47, 47, 47, 407, 47, 407, 407,
607 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
608 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
609 407, 407, 47, 407, 407, 407, 407, 407, 407, 407,
610 407, 407, 407, 407, 407, 407, 407, 177, 178, 47,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000611
Chris Lattnerf87bd842007-07-05 17:27:31 +0000612 407, 47, 47, 47, 47, 47, 407, 47, 407, 407,
613 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
614 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
615 407, 407, 47, 407, 407, 179, 46, 47, 407, 47,
616 47, 47, 47, 47, 407, 47, 407, 407, 407, 407,
617 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
618 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
619 47, 407, 180, 46, 47, 407, 47, 47, 47, 47,
620 47, 407, 47, 407, 407, 407, 407, 407, 407, 407,
621 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000622
Chris Lattnerf87bd842007-07-05 17:27:31 +0000623 407, 407, 407, 407, 407, 407, 407, 47, 407, 407,
624 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
625 407, 407, 407, 407, 407, 407, 407, 407, 181, 46,
626 47, 407, 47, 47, 47, 47, 47, 407, 47, 407,
627 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
628 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
629 407, 407, 407, 47, 407, 407, 407, 407, 407, 407,
630 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
631 407, 407, 182, 46, 47, 407, 47, 47, 47, 47,
632 47, 407, 47, 407, 407, 407, 407, 407, 407, 407,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000633
Chris Lattnerf87bd842007-07-05 17:27:31 +0000634 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
635 407, 407, 407, 407, 407, 407, 407, 47, 407, 407,
636 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
637 407, 407, 407, 407, 407, 407, 183, 46, 47, 407,
638 47, 47, 47, 47, 47, 407, 47, 407, 407, 407,
639 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
640 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
641 407, 47, 184, 46, 47, 407, 47, 47, 47, 47,
642 47, 407, 47, 407, 407, 407, 407, 407, 407, 407,
643 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000644
Chris Lattnerf87bd842007-07-05 17:27:31 +0000645 407, 407, 407, 407, 407, 407, 407, 47, 407, 407,
646 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
647 407, 407, 407, 407, 185, 46, 47, 407, 47, 47,
648 47, 47, 47, 407, 47, 407, 407, 407, 407, 407,
649 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
650 407, 407, 407, 407, 407, 407, 407, 407, 407, 47,
651 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
652 407, 186, 46, 47, 407, 47, 47, 47, 47, 47,
653 407, 47, 407, 407, 407, 407, 407, 407, 407, 407,
654 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000655
Chris Lattnerf87bd842007-07-05 17:27:31 +0000656 407, 407, 407, 407, 407, 407, 47, 407, 407, 407,
657 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
658 407, 407, 407, 187, 46, 47, 407, 47, 47, 47,
659 47, 47, 407, 47, 407, 407, 407, 407, 407, 407,
660 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
661 407, 407, 407, 407, 407, 407, 407, 407, 47, 407,
662 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
663 407, 407, 407, 407, 407, 407, 407, 229, 46, 47,
664 407, 47, 47, 47, 47, 47, 407, 47, 407, 407,
665 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000666
Chris Lattnerf87bd842007-07-05 17:27:31 +0000667 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
668 407, 407, 47, 407, 407, 407, 407, 407, 407, 407,
669 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
670 407, 230, 46, 47, 407, 47, 47, 47, 47, 47,
671 407, 47, 407, 407, 407, 407, 407, 407, 407, 407,
672 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
673 407, 407, 407, 407, 407, 407, 47, 407, 407, 407,
674 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
675 407, 407, 407, 407, 231, 46, 47, 407, 47, 47,
676 47, 47, 47, 407, 47, 407, 407, 407, 407, 407,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000677
Chris Lattnerf87bd842007-07-05 17:27:31 +0000678 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
679 407, 407, 407, 407, 407, 407, 407, 407, 407, 47,
680 407, 407, 407, 232, 46, 47, 407, 47, 47, 47,
681 47, 47, 407, 47, 407, 407, 407, 407, 407, 407,
682 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
683 407, 407, 407, 407, 407, 407, 407, 407, 47, 407,
684 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
685 407, 407, 407, 407, 407, 407, 233, 46, 47, 407,
686 47, 47, 47, 47, 47, 407, 47, 407, 407, 407,
687 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000688
Chris Lattnerf87bd842007-07-05 17:27:31 +0000689 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
690 407, 47, 407, 407, 407, 407, 407, 407, 407, 407,
691 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
692 234, 46, 47, 407, 47, 47, 47, 47, 47, 407,
693 47, 407, 407, 407, 407, 407, 407, 407, 407, 407,
694 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
695 407, 407, 407, 407, 407, 47, 407, 407, 407, 407,
696 407, 407, 407, 407, 407, 407, 235, 46, 47, 407,
697 47, 47, 47, 47, 47, 407, 47, 407, 407, 407,
698 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000699
Chris Lattnerf87bd842007-07-05 17:27:31 +0000700 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
701 407, 47, 407, 407, 407, 236, 407, 407, 407, 407,
702 407, 407, 407, 407, 407, 407, 407, 407, 407, 237,
703 46, 47, 407, 47, 47, 47, 47, 47, 407, 47,
704 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
705 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
706 407, 407, 407, 407, 47, 407, 407, 407, 407, 407,
707 407, 407, 407, 407, 407, 407, 238, 46, 47, 407,
708 47, 47, 47, 47, 47, 407, 47, 407, 407, 407,
709 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000710
Chris Lattnerf87bd842007-07-05 17:27:31 +0000711 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
712 407, 47, 407, 407, 407, 407, 407, 407, 407, 407,
713 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
714 241, 46, 47, 407, 47, 47, 47, 47, 47, 407,
715 47, 407, 407, 407, 407, 407, 407, 407, 407, 407,
716 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
717 407, 407, 407, 407, 407, 47, 407, 407, 407, 407,
718 407, 407, 242, 46, 47, 407, 47, 47, 47, 47,
719 47, 407, 47, 407, 407, 407, 407, 407, 407, 407,
720 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000721
Chris Lattnerf87bd842007-07-05 17:27:31 +0000722 407, 407, 407, 407, 407, 407, 407, 47, 407, 407,
723 407, 407, 243, 46, 47, 407, 47, 47, 47, 47,
724 47, 407, 47, 407, 407, 407, 407, 407, 407, 407,
725 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
726 407, 407, 407, 407, 407, 407, 407, 47, 407, 244,
727 46, 47, 407, 47, 47, 47, 47, 47, 407, 47,
728 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
729 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
730 407, 407, 407, 407, 47, 407, 407, 407, 407, 407,
731 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000732
Chris Lattnerf87bd842007-07-05 17:27:31 +0000733 407, 407, 275, 46, 47, 407, 47, 47, 47, 47,
734 47, 407, 47, 407, 407, 407, 407, 407, 407, 407,
735 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
736 407, 407, 407, 407, 407, 407, 407, 47, 407, 407,
737 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
738 407, 407, 407, 407, 407, 276, 46, 47, 407, 47,
739 47, 47, 47, 47, 407, 47, 407, 407, 407, 407,
740 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
741 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
742 47, 407, 407, 407, 407, 407, 407, 407, 407, 278,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000743
Chris Lattnerf87bd842007-07-05 17:27:31 +0000744 46, 47, 407, 47, 47, 47, 47, 47, 407, 47,
745 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
746 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
747 407, 407, 407, 407, 47, 407, 407, 407, 407, 407,
748 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
749 407, 407, 280, 46, 47, 407, 47, 47, 47, 47,
750 47, 407, 47, 407, 407, 407, 407, 407, 407, 407,
751 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
752 407, 407, 407, 407, 407, 407, 407, 47, 407, 407,
753 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000754
Chris Lattnerf87bd842007-07-05 17:27:31 +0000755 407, 407, 407, 407, 407, 281, 46, 47, 407, 47,
756 47, 47, 47, 47, 407, 47, 407, 407, 407, 407,
757 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
758 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
759 47, 407, 407, 407, 407, 407, 407, 407, 407, 282,
760 46, 47, 407, 47, 47, 47, 47, 47, 407, 47,
761 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
762 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
763 407, 407, 407, 407, 47, 407, 407, 284, 407, 407,
764 407, 285, 46, 47, 407, 47, 47, 47, 47, 47,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000765
Chris Lattnerf87bd842007-07-05 17:27:31 +0000766 407, 47, 407, 407, 407, 407, 407, 407, 407, 407,
767 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
768 407, 407, 407, 407, 407, 407, 47, 407, 407, 407,
769 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
770 407, 407, 407, 407, 286, 46, 47, 407, 47, 47,
771 47, 47, 47, 407, 47, 407, 407, 407, 407, 407,
772 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
773 407, 407, 407, 407, 407, 407, 407, 407, 407, 47,
774 407, 407, 407, 407, 287, 46, 47, 407, 47, 47,
775 47, 47, 47, 407, 47, 407, 407, 407, 407, 407,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000776
Chris Lattnerf87bd842007-07-05 17:27:31 +0000777 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
778 407, 407, 407, 407, 407, 407, 407, 407, 407, 47,
779 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
780 407, 407, 407, 289, 46, 47, 407, 47, 47, 47,
781 47, 47, 407, 47, 407, 407, 407, 407, 407, 407,
782 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
783 407, 407, 407, 407, 407, 407, 407, 407, 47, 407,
784 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
785 407, 407, 407, 407, 407, 318, 46, 47, 407, 47,
786 47, 47, 47, 47, 407, 47, 407, 407, 407, 407,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000787
Chris Lattnerf87bd842007-07-05 17:27:31 +0000788 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
789 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
790 47, 407, 407, 407, 407, 407, 407, 407, 407, 407,
791 407, 407, 407, 407, 407, 407, 407, 321, 46, 47,
792 407, 47, 47, 47, 47, 47, 407, 47, 407, 407,
793 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
794 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
795 407, 407, 47, 407, 407, 322, 46, 47, 407, 47,
796 47, 47, 47, 47, 407, 47, 407, 407, 407, 407,
797 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000798
Chris Lattnerf87bd842007-07-05 17:27:31 +0000799 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
800 47, 407, 407, 323, 407, 407, 407, 407, 407, 407,
801 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
802 407, 407, 324, 46, 47, 407, 47, 47, 47, 47,
803 47, 407, 47, 407, 407, 407, 407, 407, 407, 407,
804 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
805 407, 407, 407, 407, 407, 407, 407, 47, 407, 407,
806 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
807 407, 407, 407, 407, 407, 407, 326, 46, 47, 407,
808 47, 47, 47, 47, 47, 407, 47, 407, 407, 407,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000809
Chris Lattnerf87bd842007-07-05 17:27:31 +0000810 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
811 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
812 407, 47, 407, 407, 407, 407, 407, 407, 407, 407,
813 407, 407, 407, 407, 407, 407, 407, 407, 407, 327,
814 46, 47, 407, 47, 47, 47, 47, 47, 407, 47,
815 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
816 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
817 407, 407, 407, 407, 47, 407, 407, 348, 46, 47,
818 407, 47, 47, 47, 47, 47, 407, 47, 407, 407,
819 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000820
Chris Lattnerf87bd842007-07-05 17:27:31 +0000821 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
822 407, 407, 47, 407, 407, 407, 407, 407, 407, 407,
823 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
824 407, 407, 407, 407, 349, 46, 47, 407, 47, 47,
825 47, 47, 47, 407, 47, 407, 407, 407, 407, 407,
826 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
827 407, 407, 407, 407, 407, 407, 407, 407, 407, 47,
828 407, 407, 407, 407, 351, 367, 47, 407, 47, 47,
829 47, 47, 47, 407, 47, 407, 407, 407, 407, 407,
830 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000831
Chris Lattnerf87bd842007-07-05 17:27:31 +0000832 407, 407, 407, 407, 407, 407, 407, 407, 407, 47,
833 368, 407, 407, 369, 46, 47, 407, 47, 47, 47,
834 47, 47, 407, 47, 407, 407, 407, 407, 407, 407,
835 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
836 407, 407, 407, 407, 407, 407, 407, 407, 47, 407,
837 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
838 407, 407, 407, 407, 407, 384, 46, 47, 407, 47,
839 47, 47, 47, 47, 407, 47, 407, 407, 407, 407,
840 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
841 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000842
Chris Lattnerf87bd842007-07-05 17:27:31 +0000843 47, 407, 407, 407, 407, 407, 407, 407, 407, 385,
844 46, 47, 407, 47, 47, 47, 47, 47, 407, 47,
845 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
846 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
847 407, 407, 407, 407, 47, 407, 407, 392, 46, 47,
848 407, 47, 47, 47, 47, 47, 407, 47, 407, 407,
849 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
850 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
851 407, 407, 47, 407, 407, 407, 407, 407, 407, 407,
852 407, 407, 407, 407, 407, 407, 407, 407, 407, 393,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000853
Chris Lattnerf87bd842007-07-05 17:27:31 +0000854 46, 47, 407, 47, 47, 47, 47, 47, 407, 47,
855 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
856 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
857 407, 407, 407, 407, 47, 407, 407, 407, 407, 407,
858 407, 407, 401, 41, 41, 41, 43, 43, 43, 48,
859 48, 3, 407, 407, 407, 407, 407, 407, 407, 407,
860 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
861 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
862 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
863 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000864
Chris Lattnerf87bd842007-07-05 17:27:31 +0000865 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
866 407, 407, 407, 407, 407, 407, 407
Reid Spencer68a24bd2005-08-27 18:50:39 +0000867 } ;
868
Chris Lattnerf87bd842007-07-05 17:27:31 +0000869static yyconst short int yy_chk[3318] =
Reid Spencer68a24bd2005-08-27 18:50:39 +0000870 { 0,
871 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
872 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
873 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
874 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
875 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
876 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
877 1, 1, 1, 1, 1, 9, 9, 10, 10, 14,
Chris Lattnerf87bd842007-07-05 17:27:31 +0000878 10, 10, 10, 10, 10, 15, 10, 26, 26, 16,
879 347, 15, 31, 17, 18, 411, 19, 400, 10, 28,
880 31, 21, 18, 22, 14, 28, 43, 43, 10, 19,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000881
Chris Lattnerf87bd842007-07-05 17:27:31 +0000882 23, 10, 10, 10, 16, 10, 15, 10, 17, 18,
883 10, 19, 10, 24, 20, 10, 21, 18, 22, 10,
884 10, 20, 10, 20, 19, 23, 25, 32, 20, 347,
885 61, 88, 71, 89, 73, 33, 61, 399, 24, 20,
886 32, 96, 33, 71, 33, 73, 20, 96, 20, 33,
887 88, 25, 89, 20, 48, 48, 101, 48, 48, 48,
888 48, 48, 108, 48, 328, 398, 329, 101, 143, 143,
889 143, 143, 143, 145, 145, 145, 145, 145, 359, 340,
890 397, 108, 328, 143, 329, 396, 395, 359, 48, 49,
891 49, 394, 49, 49, 49, 49, 49, 340, 49, 165,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000892
Chris Lattnerf87bd842007-07-05 17:27:31 +0000893 165, 165, 165, 165, 391, 360, 364, 386, 387, 390,
894 383, 382, 49, 145, 360, 364, 386, 387, 390, 381,
895 380, 379, 378, 49, 50, 50, 377, 50, 50, 50,
896 50, 50, 376, 50, 375, 374, 366, 182, 182, 165,
897 182, 182, 182, 182, 182, 363, 182, 50, 183, 183,
898 362, 183, 183, 183, 183, 183, 361, 183, 50, 51,
899 51, 357, 51, 51, 51, 51, 51, 356, 51, 231,
900 231, 182, 231, 231, 231, 231, 231, 355, 231, 354,
901 353, 352, 183, 344, 343, 233, 233, 342, 233, 233,
902 233, 233, 233, 51, 233, 237, 237, 341, 237, 237,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000903
Chris Lattnerf87bd842007-07-05 17:27:31 +0000904 237, 237, 237, 231, 237, 338, 337, 336, 335, 334,
905 51, 52, 52, 333, 52, 52, 52, 52, 52, 233,
906 52, 332, 331, 315, 314, 313, 312, 311, 310, 237,
907 309, 243, 243, 308, 243, 243, 243, 243, 243, 307,
908 243, 306, 305, 275, 275, 52, 275, 275, 275, 275,
909 275, 304, 275, 303, 52, 53, 53, 302, 53, 53,
910 53, 53, 53, 301, 53, 243, 300, 299, 297, 276,
911 276, 295, 276, 276, 276, 276, 276, 275, 276, 280,
912 280, 294, 280, 280, 280, 280, 280, 293, 280, 53,
913 292, 291, 290, 274, 53, 54, 54, 273, 54, 54,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000914
Chris Lattnerf87bd842007-07-05 17:27:31 +0000915 54, 54, 54, 276, 54, 272, 271, 270, 269, 268,
916 267, 266, 265, 280, 264, 263, 281, 281, 54, 281,
917 281, 281, 281, 281, 262, 281, 261, 260, 259, 54,
918 55, 55, 258, 55, 55, 55, 55, 55, 257, 55,
919 286, 286, 256, 286, 286, 286, 286, 286, 255, 286,
920 281, 254, 318, 318, 253, 318, 318, 318, 318, 318,
921 252, 318, 321, 321, 55, 321, 321, 321, 321, 321,
922 251, 321, 250, 249, 286, 248, 247, 55, 56, 56,
923 246, 56, 56, 56, 56, 56, 318, 56, 322, 322,
924 245, 322, 322, 322, 322, 322, 321, 322, 326, 326,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000925
Chris Lattnerf87bd842007-07-05 17:27:31 +0000926 228, 326, 326, 326, 326, 326, 227, 326, 226, 225,
927 349, 349, 56, 349, 349, 349, 349, 349, 224, 349,
928 223, 56, 322, 56, 57, 57, 222, 57, 57, 57,
929 57, 57, 326, 57, 351, 351, 221, 351, 351, 351,
930 351, 351, 220, 351, 349, 219, 218, 393, 393, 217,
931 393, 393, 393, 393, 393, 216, 393, 215, 57, 214,
932 401, 401, 213, 401, 401, 401, 401, 401, 351, 401,
933 212, 211, 210, 57, 209, 208, 207, 206, 57, 58,
934 58, 393, 58, 58, 58, 58, 58, 199, 58, 198,
935 195, 194, 193, 192, 401, 191, 190, 189, 188, 171,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000936
Chris Lattnerf87bd842007-07-05 17:27:31 +0000937 170, 169, 168, 167, 166, 164, 163, 162, 161, 160,
938 159, 158, 157, 58, 156, 155, 154, 153, 152, 151,
939 150, 149, 148, 147, 146, 144, 142, 141, 140, 139,
940 138, 137, 58, 59, 59, 136, 59, 59, 59, 59,
941 59, 135, 59, 134, 133, 132, 131, 130, 129, 128,
942 127, 110, 109, 107, 106, 105, 104, 103, 102, 100,
943 99, 98, 97, 95, 93, 92, 91, 59, 59, 90,
944 87, 86, 85, 84, 83, 82, 59, 60, 60, 81,
945 60, 60, 60, 60, 60, 80, 60, 79, 77, 76,
946 74, 72, 70, 69, 68, 67, 66, 65, 64, 62,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000947
Chris Lattnerf87bd842007-07-05 17:27:31 +0000948 45, 41, 39, 38, 37, 36, 35, 34, 30, 29,
949 27, 60, 8, 7, 5, 3, 60, 111, 111, 0,
950 111, 111, 111, 111, 111, 0, 111, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000951 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
952 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +0000953 0, 111, 0, 0, 0, 0, 0, 0, 0, 0,
954 0, 0, 0, 0, 0, 0, 111, 112, 112, 0,
955 112, 112, 112, 112, 112, 0, 112, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000956 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000957 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
958
Chris Lattnerf87bd842007-07-05 17:27:31 +0000959 0, 112, 0, 0, 0, 0, 0, 0, 0, 0,
960 0, 0, 0, 0, 0, 0, 112, 113, 113, 0,
961 113, 113, 113, 113, 113, 0, 113, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000962 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
963 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +0000964 0, 113, 0, 0, 0, 0, 0, 0, 113, 114,
965 114, 0, 114, 114, 114, 114, 114, 0, 114, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000966 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +0000967 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
968 0, 0, 0, 114, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000969
Chris Lattnerf87bd842007-07-05 17:27:31 +0000970 0, 0, 0, 0, 0, 0, 114, 115, 115, 0,
971 115, 115, 115, 115, 115, 0, 115, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000972 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000973 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +0000974 0, 115, 0, 0, 0, 0, 0, 115, 116, 116,
975 0, 116, 116, 116, 116, 116, 0, 116, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000976 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +0000977 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
978 0, 0, 116, 0, 0, 0, 0, 0, 0, 0,
979 0, 0, 0, 0, 0, 0, 0, 116, 117, 117,
980
981 0, 117, 117, 117, 117, 117, 0, 117, 0, 0,
982 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
983 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
984 0, 0, 117, 0, 0, 117, 118, 118, 0, 118,
985 118, 118, 118, 118, 0, 118, 0, 0, 0, 0,
986 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
987 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
988 118, 0, 118, 119, 119, 0, 119, 119, 119, 119,
989 119, 0, 119, 0, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000990 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
991
Chris Lattnerf87bd842007-07-05 17:27:31 +0000992 0, 0, 0, 0, 0, 0, 0, 119, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000993 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +0000994 0, 0, 0, 0, 0, 0, 0, 0, 119, 120,
995 120, 0, 120, 120, 120, 120, 120, 0, 120, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +0000996 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +0000997 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
998 0, 0, 0, 120, 0, 0, 0, 0, 0, 0,
999 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1000 0, 0, 120, 121, 121, 0, 121, 121, 121, 121,
1001 121, 0, 121, 0, 0, 0, 0, 0, 0, 0,
1002
1003 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1004 0, 0, 0, 0, 0, 0, 0, 121, 0, 0,
1005 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1006 0, 0, 0, 0, 0, 0, 121, 122, 122, 0,
1007 122, 122, 122, 122, 122, 0, 122, 0, 0, 0,
1008 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1009 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1010 0, 122, 122, 123, 123, 0, 123, 123, 123, 123,
1011 123, 0, 123, 0, 0, 0, 0, 0, 0, 0,
1012 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1013
1014 0, 0, 0, 0, 0, 0, 0, 123, 0, 0,
1015 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1016 0, 0, 0, 0, 123, 124, 124, 0, 124, 124,
1017 124, 124, 124, 0, 124, 0, 0, 0, 0, 0,
1018 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001019 0, 0, 0, 0, 0, 0, 0, 0, 0, 124,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001020 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001021 0, 124, 125, 125, 0, 125, 125, 125, 125, 125,
1022 0, 125, 0, 0, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001023 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1024
Chris Lattnerf87bd842007-07-05 17:27:31 +00001025 0, 0, 0, 0, 0, 0, 125, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001026 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001027 0, 0, 0, 125, 172, 172, 0, 172, 172, 172,
1028 172, 172, 0, 172, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001029 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001030 0, 0, 0, 0, 0, 0, 0, 0, 172, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001031 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001032 0, 0, 0, 0, 0, 0, 0, 172, 173, 173,
1033 0, 173, 173, 173, 173, 173, 0, 173, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001034 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1035
1036 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001037 0, 0, 173, 0, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001038 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001039 0, 173, 174, 174, 0, 174, 174, 174, 174, 174,
1040 0, 174, 0, 0, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001041 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001042 0, 0, 0, 0, 0, 0, 174, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001043 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001044 0, 0, 0, 0, 174, 175, 175, 0, 175, 175,
1045 175, 175, 175, 0, 175, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001046
1047 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001048 0, 0, 0, 0, 0, 0, 0, 0, 0, 175,
1049 0, 0, 0, 175, 176, 176, 0, 176, 176, 176,
1050 176, 176, 0, 176, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001051 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001052 0, 0, 0, 0, 0, 0, 0, 0, 176, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001053 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001054 0, 0, 0, 0, 0, 0, 176, 177, 177, 0,
1055 177, 177, 177, 177, 177, 0, 177, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001056 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1057
Reid Spencer68a24bd2005-08-27 18:50:39 +00001058 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001059 0, 177, 0, 0, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001060 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001061 177, 179, 179, 0, 179, 179, 179, 179, 179, 0,
1062 179, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001063 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001064 0, 0, 0, 0, 0, 179, 0, 0, 0, 0,
1065 0, 0, 0, 0, 0, 0, 179, 180, 180, 0,
1066 180, 180, 180, 180, 180, 0, 180, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001067 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1068
Chris Lattnerf87bd842007-07-05 17:27:31 +00001069 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1070 0, 180, 0, 0, 0, 180, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001071 0, 0, 0, 0, 0, 0, 0, 0, 0, 180,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001072 181, 181, 0, 181, 181, 181, 181, 181, 0, 181,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001073 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1074 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001075 0, 0, 0, 0, 181, 0, 0, 0, 0, 0,
1076 0, 0, 0, 0, 0, 0, 181, 184, 184, 0,
1077 184, 184, 184, 184, 184, 0, 184, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001078 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1079
Reid Spencer68a24bd2005-08-27 18:50:39 +00001080 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001081 0, 184, 0, 0, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001082 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001083 184, 185, 185, 0, 185, 185, 185, 185, 185, 0,
1084 185, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001085 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001086 0, 0, 0, 0, 0, 185, 0, 0, 0, 0,
1087 0, 0, 185, 186, 186, 0, 186, 186, 186, 186,
1088 186, 0, 186, 0, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001089 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1090
Chris Lattnerf87bd842007-07-05 17:27:31 +00001091 0, 0, 0, 0, 0, 0, 0, 186, 0, 0,
1092 0, 0, 186, 187, 187, 0, 187, 187, 187, 187,
1093 187, 0, 187, 0, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001094 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001095 0, 0, 0, 0, 0, 0, 0, 187, 0, 187,
1096 229, 229, 0, 229, 229, 229, 229, 229, 0, 229,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001097 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1098 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001099 0, 0, 0, 0, 229, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001100 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1101
Chris Lattnerf87bd842007-07-05 17:27:31 +00001102 0, 0, 229, 230, 230, 0, 230, 230, 230, 230,
1103 230, 0, 230, 0, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001104 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001105 0, 0, 0, 0, 0, 0, 0, 230, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001106 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001107 0, 0, 0, 0, 0, 230, 232, 232, 0, 232,
1108 232, 232, 232, 232, 0, 232, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001109 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001110 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1111 232, 0, 0, 0, 0, 0, 0, 0, 0, 232,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001112
Chris Lattnerf87bd842007-07-05 17:27:31 +00001113 234, 234, 0, 234, 234, 234, 234, 234, 0, 234,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001114 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1115 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001116 0, 0, 0, 0, 234, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001117 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001118 0, 0, 234, 235, 235, 0, 235, 235, 235, 235,
1119 235, 0, 235, 0, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001120 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001121 0, 0, 0, 0, 0, 0, 0, 235, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001122 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1123
Chris Lattnerf87bd842007-07-05 17:27:31 +00001124 0, 0, 0, 0, 0, 235, 236, 236, 0, 236,
1125 236, 236, 236, 236, 0, 236, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001126 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1127 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001128 236, 0, 0, 0, 0, 0, 0, 0, 0, 236,
1129 238, 238, 0, 238, 238, 238, 238, 238, 0, 238,
1130 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1131 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1132 0, 0, 0, 0, 238, 0, 0, 238, 0, 0,
1133 0, 238, 241, 241, 0, 241, 241, 241, 241, 241,
1134
1135 0, 241, 0, 0, 0, 0, 0, 0, 0, 0,
1136 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1137 0, 0, 0, 0, 0, 0, 241, 0, 0, 0,
1138 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1139 0, 0, 0, 0, 241, 242, 242, 0, 242, 242,
1140 242, 242, 242, 0, 242, 0, 0, 0, 0, 0,
1141 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1142 0, 0, 0, 0, 0, 0, 0, 0, 0, 242,
1143 0, 0, 0, 0, 242, 244, 244, 0, 244, 244,
1144 244, 244, 244, 0, 244, 0, 0, 0, 0, 0,
1145
1146 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1147 0, 0, 0, 0, 0, 0, 0, 0, 0, 244,
1148 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1149 0, 0, 0, 244, 278, 278, 0, 278, 278, 278,
1150 278, 278, 0, 278, 0, 0, 0, 0, 0, 0,
1151 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1152 0, 0, 0, 0, 0, 0, 0, 0, 278, 0,
1153 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1154 0, 0, 0, 0, 0, 278, 282, 282, 0, 282,
1155 282, 282, 282, 282, 0, 282, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001156
1157 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1158 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001159 282, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1160 0, 0, 0, 0, 0, 0, 0, 282, 284, 284,
1161 0, 284, 284, 284, 284, 284, 0, 284, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001162 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1163 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001164 0, 0, 284, 0, 0, 284, 285, 285, 0, 285,
1165 285, 285, 285, 285, 0, 285, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001166 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1167
Reid Spencer68a24bd2005-08-27 18:50:39 +00001168 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001169 285, 0, 0, 285, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001170 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001171 0, 0, 285, 287, 287, 0, 287, 287, 287, 287,
1172 287, 0, 287, 0, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001173 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001174 0, 0, 0, 0, 0, 0, 0, 287, 0, 0,
1175 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1176 0, 0, 0, 0, 0, 0, 287, 289, 289, 0,
1177 289, 289, 289, 289, 289, 0, 289, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001178
1179 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001180 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1181 0, 289, 0, 0, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001182 0, 0, 0, 0, 0, 0, 0, 0, 0, 289,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001183 323, 323, 0, 323, 323, 323, 323, 323, 0, 323,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001184 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1185 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001186 0, 0, 0, 0, 323, 0, 0, 323, 324, 324,
1187 0, 324, 324, 324, 324, 324, 0, 324, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001188 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1189
1190 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001191 0, 0, 324, 0, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001192 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001193 0, 0, 0, 0, 324, 327, 327, 0, 327, 327,
1194 327, 327, 327, 0, 327, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001195 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001196 0, 0, 0, 0, 0, 0, 0, 0, 0, 327,
1197 0, 0, 0, 0, 327, 348, 348, 0, 348, 348,
1198 348, 348, 348, 0, 348, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001199 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1200
Chris Lattnerf87bd842007-07-05 17:27:31 +00001201 0, 0, 0, 0, 0, 0, 0, 0, 0, 348,
1202 348, 0, 0, 348, 368, 368, 0, 368, 368, 368,
1203 368, 368, 0, 368, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001204 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001205 0, 0, 0, 0, 0, 0, 0, 0, 368, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001206 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001207 0, 0, 0, 0, 0, 368, 369, 369, 0, 369,
1208 369, 369, 369, 369, 0, 369, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001209 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001210 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001211
Chris Lattnerf87bd842007-07-05 17:27:31 +00001212 369, 0, 0, 0, 0, 0, 0, 0, 0, 369,
1213 384, 384, 0, 384, 384, 384, 384, 384, 0, 384,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001214 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1215 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001216 0, 0, 0, 0, 384, 0, 0, 384, 385, 385,
1217 0, 385, 385, 385, 385, 385, 0, 385, 0, 0,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001218 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1219 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001220 0, 0, 385, 0, 0, 0, 0, 0, 0, 0,
1221 0, 0, 0, 0, 0, 0, 0, 0, 0, 385,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001222
Chris Lattnerf87bd842007-07-05 17:27:31 +00001223 392, 392, 0, 392, 392, 392, 392, 392, 0, 392,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001224 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1225 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Chris Lattnerf87bd842007-07-05 17:27:31 +00001226 0, 0, 0, 0, 392, 0, 0, 0, 0, 0,
1227 0, 0, 392, 408, 408, 408, 409, 409, 409, 410,
1228 410, 407, 407, 407, 407, 407, 407, 407, 407, 407,
1229 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
1230 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
1231 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
1232 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
Reid Spencer68a24bd2005-08-27 18:50:39 +00001233
Chris Lattnerf87bd842007-07-05 17:27:31 +00001234 407, 407, 407, 407, 407, 407, 407, 407, 407, 407,
1235 407, 407, 407, 407, 407, 407, 407
Reid Spencer68a24bd2005-08-27 18:50:39 +00001236 } ;
1237
1238static yy_state_type yy_last_accepting_state;
1239static char *yy_last_accepting_cpos;
1240
1241/* The intent behind this definition is that it'll catch
1242 * any uses of REJECT which flex missed.
1243 */
1244#define REJECT reject_used_but_not_detected
1245#define yymore() yymore_used_but_not_detected
1246#define YY_MORE_ADJ 0
1247#define YY_RESTORE_YY_MORE_OFFSET
1248char *yytext;
Chris Lattnerf87bd842007-07-05 17:27:31 +00001249#line 1 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001250#define INITIAL 0
1251/*===- ConfigLexer.l - Scanner for CompilerDriver Config Files -*- C++ -*--===//
1252//
1253// The LLVM Compiler Infrastructure
1254//
1255// This file was developed by Reid Spencer and is distributed under the
1256// University of Illinois Open Source License. See LICENSE.TXT for details.
1257//
1258//===----------------------------------------------------------------------===//
1259//
1260// This file implements the flex scanner for configuration files for the
1261// llvmc CompilerDriver.
1262//
1263//===----------------------------------------------------------------------===*/
1264#define YY_NEVER_INTERACTIVE 1
Chris Lattnerf87bd842007-07-05 17:27:31 +00001265#line 29 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001266
1267#include "ConfigLexer.h"
1268
1269#define YY_INPUT(buf,result,max_size) \
1270 { \
1271 assert(ConfigLexerInput != 0 && "Oops"); \
1272 result = ConfigLexerInput->read(buf,max_size); \
1273 if (result == 0 ) result = YY_NULL; \
1274 }
1275
1276#define YY_FATAL_ERROR(msg) \
1277 { \
1278 assert(ConfigLexerInput != 0 && "Oops"); \
1279 ConfigLexerInput->error(msg); \
1280 }
1281
1282#define YY_DECL ConfigLexerTokens llvm::Configlex()
1283
1284#define yyterminate() { return EOFTOK; }
1285
1286using namespace llvm;
1287
1288inline llvm::ConfigLexerTokens
1289handleNameContext(llvm::ConfigLexerTokens token) {
1290 ConfigLexerState.StringVal = yytext;
1291 if (ConfigLexerState.in_value)
1292 return OPTION;
1293 return token;
1294}
1295
1296inline llvm::ConfigLexerTokens
1297handleSubstitution(llvm::ConfigLexerTokens token) {
1298 if (ConfigLexerState.in_value) {
1299 ConfigLexerState.StringVal = yytext;
1300 return token;
1301 }
1302 YY_FATAL_ERROR("Substitition tokens not allowed in names" );
1303 return ERRORTOK;
Chris Lattnerf87bd842007-07-05 17:27:31 +00001304}
Reid Spencer68a24bd2005-08-27 18:50:39 +00001305
1306inline llvm::ConfigLexerTokens handleValueContext(llvm::ConfigLexerTokens token) {
1307 ConfigLexerState.StringVal = yytext;
1308 if (ConfigLexerState.in_value)
1309 return token;
1310 return OPTION;
1311}
1312
1313#line 1314 "ConfigLexer.cpp"
1314
1315/* Macros after this point can all be overridden by user definitions in
1316 * section 1.
1317 */
1318
1319#ifndef YY_SKIP_YYWRAP
1320#ifdef __cplusplus
1321extern "C" int yywrap YY_PROTO(( void ));
1322#else
1323extern int yywrap YY_PROTO(( void ));
1324#endif
1325#endif
1326
1327#ifndef YY_NO_UNPUT
1328static inline void yyunput YY_PROTO(( int c, char *buf_ptr ));
1329#endif
1330
1331#ifndef yytext_ptr
1332static void yy_flex_strncpy YY_PROTO(( char *, yyconst char *, int ));
1333#endif
1334
1335#ifdef YY_NEED_STRLEN
1336static int yy_flex_strlen YY_PROTO(( yyconst char * ));
1337#endif
1338
1339#ifndef YY_NO_INPUT
1340#ifdef __cplusplus
1341static int yyinput YY_PROTO(( void ));
1342#else
1343static int input YY_PROTO(( void ));
1344#endif
1345#endif
1346
1347#if YY_STACK_USED
1348static int yy_start_stack_ptr = 0;
1349static int yy_start_stack_depth = 0;
1350static int *yy_start_stack = 0;
1351#ifndef YY_NO_PUSH_STATE
1352static void yy_push_state YY_PROTO(( int new_state ));
1353#endif
1354#ifndef YY_NO_POP_STATE
1355static void yy_pop_state YY_PROTO(( void ));
1356#endif
1357#ifndef YY_NO_TOP_STATE
1358static int yy_top_state YY_PROTO(( void ));
1359#endif
1360
1361#else
1362#define YY_NO_PUSH_STATE 1
1363#define YY_NO_POP_STATE 1
1364#define YY_NO_TOP_STATE 1
1365#endif
1366
1367#ifdef YY_MALLOC_DECL
1368YY_MALLOC_DECL
1369#else
1370#if __STDC__
1371#ifndef __cplusplus
1372#include <stdlib.h>
1373#endif
1374#else
1375/* Just try to get by without declaring the routines. This will fail
1376 * miserably on non-ANSI systems for which sizeof(size_t) != sizeof(int)
1377 * or sizeof(void*) != sizeof(int).
1378 */
1379#endif
1380#endif
1381
1382/* Amount of stuff to slurp up with each read. */
1383#ifndef YY_READ_BUF_SIZE
1384#define YY_READ_BUF_SIZE 8192
1385#endif
1386
1387/* Copy whatever the last rule matched to the standard output. */
1388
1389#ifndef ECHO
1390/* This used to be an fputs(), but since the string might contain NUL's,
1391 * we now use fwrite().
1392 */
1393#define ECHO (void) fwrite( yytext, yyleng, 1, yyout )
1394#endif
1395
1396/* Gets input and stuffs it into "buf". number of characters read, or YY_NULL,
1397 * is returned in "result".
1398 */
1399#ifndef YY_INPUT
1400#define YY_INPUT(buf,result,max_size) \
1401 if ( yy_current_buffer->yy_is_interactive ) \
1402 { \
1403 int c = '*', n; \
1404 for ( n = 0; n < max_size && \
1405 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1406 buf[n] = (char) c; \
1407 if ( c == '\n' ) \
1408 buf[n++] = (char) c; \
1409 if ( c == EOF && ferror( yyin ) ) \
1410 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1411 result = n; \
1412 } \
1413 else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
1414 && ferror( yyin ) ) \
1415 YY_FATAL_ERROR( "input in flex scanner failed" );
1416#endif
1417
1418/* No semi-colon after return; correct usage is to write "yyterminate();" -
1419 * we don't want an extra ';' after the "return" because that will cause
1420 * some compilers to complain about unreachable statements.
1421 */
1422#ifndef yyterminate
1423#define yyterminate() return YY_NULL
1424#endif
1425
1426/* Number of entries by which start-condition stack grows. */
1427#ifndef YY_START_STACK_INCR
1428#define YY_START_STACK_INCR 25
1429#endif
1430
1431/* Report a fatal error. */
1432#ifndef YY_FATAL_ERROR
1433#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
1434#endif
1435
1436/* Default declaration of generated scanner - a define so the user can
1437 * easily add parameters.
1438 */
1439#ifndef YY_DECL
1440#define YY_DECL int yylex YY_PROTO(( void ))
1441#endif
1442
1443/* Code executed at the beginning of each rule, after yytext and yyleng
1444 * have been set up.
1445 */
1446#ifndef YY_USER_ACTION
1447#define YY_USER_ACTION
1448#endif
1449
1450/* Code executed at the end of each rule. */
1451#ifndef YY_BREAK
1452#define YY_BREAK break;
1453#endif
1454
1455#define YY_RULE_SETUP \
1456 YY_USER_ACTION
1457
1458YY_DECL
1459 {
1460 register yy_state_type yy_current_state;
Chris Lattner74f48d12006-05-29 18:52:05 +00001461 register char *yy_cp, *yy_bp;
Reid Spencer68a24bd2005-08-27 18:50:39 +00001462 register int yy_act;
1463
Chris Lattnerf87bd842007-07-05 17:27:31 +00001464#line 114 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001465
1466
1467#line 1468 "ConfigLexer.cpp"
1468
1469 if ( yy_init )
1470 {
1471 yy_init = 0;
1472
1473#ifdef YY_USER_INIT
1474 YY_USER_INIT;
1475#endif
1476
1477 if ( ! yy_start )
1478 yy_start = 1; /* first start state */
1479
1480 if ( ! yyin )
1481 yyin = stdin;
1482
1483 if ( ! yyout )
1484 yyout = stdout;
1485
1486 if ( ! yy_current_buffer )
1487 yy_current_buffer =
1488 yy_create_buffer( yyin, YY_BUF_SIZE );
1489
1490 yy_load_buffer_state();
1491 }
1492
1493 while ( 1 ) /* loops until end-of-file is reached */
1494 {
1495 yy_cp = yy_c_buf_p;
1496
1497 /* Support of yytext. */
1498 *yy_cp = yy_hold_char;
1499
1500 /* yy_bp points to the position in yy_ch_buf of the start of
1501 * the current run.
1502 */
1503 yy_bp = yy_cp;
1504
1505 yy_current_state = yy_start;
1506yy_match:
1507 do
1508 {
1509 register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
1510 if ( yy_accept[yy_current_state] )
1511 {
1512 yy_last_accepting_state = yy_current_state;
1513 yy_last_accepting_cpos = yy_cp;
1514 }
1515 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1516 {
1517 yy_current_state = (int) yy_def[yy_current_state];
Chris Lattnerf87bd842007-07-05 17:27:31 +00001518 if ( yy_current_state >= 408 )
Reid Spencer68a24bd2005-08-27 18:50:39 +00001519 yy_c = yy_meta[(unsigned int) yy_c];
1520 }
1521 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
1522 ++yy_cp;
1523 }
Chris Lattnerf87bd842007-07-05 17:27:31 +00001524 while ( yy_current_state != 407 );
Reid Spencer68a24bd2005-08-27 18:50:39 +00001525 yy_cp = yy_last_accepting_cpos;
1526 yy_current_state = yy_last_accepting_state;
1527
1528yy_find_action:
1529 yy_act = yy_accept[yy_current_state];
1530
1531 YY_DO_BEFORE_ACTION;
1532
1533
1534do_action: /* This label is used only to access EOF actions. */
1535
1536
1537 switch ( yy_act )
1538 { /* beginning of action switch */
1539 case 0: /* must back up */
1540 /* undo the effects of YY_DO_BEFORE_ACTION */
1541 *yy_cp = yy_hold_char;
1542 yy_cp = yy_last_accepting_cpos;
1543 yy_current_state = yy_last_accepting_state;
1544 goto yy_find_action;
1545
1546case 1:
1547YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001548#line 116 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001549{ if (ConfigLexerState.in_value) return SPACE; }
1550 YY_BREAK
1551case 2:
1552YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001553#line 118 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001554{ /* Ignore comments */
1555 ConfigLexerState.in_value = false;
1556 ConfigLexerState.lineNum++;
1557 return EOLTOK;
1558 }
1559 YY_BREAK
1560case 3:
1561YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001562#line 124 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001563{ ConfigLexerState.lineNum++;
1564 /* Don't return EOLTOK! */
1565 }
1566 YY_BREAK
1567case 4:
1568YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001569#line 128 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001570{ ConfigLexerState.in_value = false;
1571 ConfigLexerState.lineNum++;
1572 return EOLTOK;
1573 }
1574 YY_BREAK
1575case 5:
1576YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001577#line 133 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001578{ ConfigLexerState.in_value = true;
1579 return EQUALS;
1580 }
1581 YY_BREAK
1582case 6:
1583YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001584#line 137 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001585{ return SEPARATOR; }
1586 YY_BREAK
1587case 7:
1588YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001589#line 139 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001590{ return handleNameContext(VERSION_TOK); }
1591 YY_BREAK
1592case 8:
1593YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001594#line 141 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001595{ return handleNameContext(LANG); }
1596 YY_BREAK
1597case 9:
1598YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001599#line 142 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001600{ return handleNameContext(LIBS); }
1601 YY_BREAK
1602case 10:
1603YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001604#line 143 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001605{ return handleNameContext(NAME); }
1606 YY_BREAK
1607case 11:
1608YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001609#line 144 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001610{ return handleNameContext(OPT1); }
1611 YY_BREAK
1612case 12:
1613YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001614#line 145 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001615{ return handleNameContext(OPT2); }
1616 YY_BREAK
1617case 13:
1618YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001619#line 146 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001620{ return handleNameContext(OPT3); }
1621 YY_BREAK
1622case 14:
1623YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001624#line 147 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001625{ return handleNameContext(OPT4); }
1626 YY_BREAK
1627case 15:
1628YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001629#line 148 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001630{ return handleNameContext(OPT5); }
1631 YY_BREAK
1632case 16:
1633YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001634#line 150 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001635{ return handleNameContext(PREPROCESSOR); }
1636 YY_BREAK
1637case 17:
1638YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001639#line 151 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001640{ return handleNameContext(COMMAND); }
1641 YY_BREAK
1642case 18:
1643YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001644#line 152 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001645{ return handleNameContext(REQUIRED); }
1646 YY_BREAK
1647case 19:
1648YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001649#line 154 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001650{ return handleNameContext(TRANSLATOR); }
1651 YY_BREAK
1652case 20:
1653YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001654#line 155 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001655{ return handleNameContext(PREPROCESSES); }
1656 YY_BREAK
1657case 21:
1658YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001659#line 156 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001660{ return handleNameContext(OUTPUT); }
1661 YY_BREAK
1662case 22:
1663YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001664#line 158 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001665{ return handleNameContext(OPTIMIZER); }
1666 YY_BREAK
1667case 23:
1668YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001669#line 159 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001670{ return handleNameContext(TRANSLATES); }
1671 YY_BREAK
1672case 24:
1673YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001674#line 161 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001675{ return handleNameContext(ASSEMBLER); }
1676 YY_BREAK
1677case 25:
1678YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001679#line 163 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001680{ return handleNameContext(LINKER); }
1681 YY_BREAK
1682case 26:
1683YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001684#line 165 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001685{ return handleSubstitution(ARGS_SUBST); }
1686 YY_BREAK
1687case 27:
1688YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001689#line 166 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001690{ return handleSubstitution(BINDIR_SUBST); }
1691 YY_BREAK
1692case 28:
1693YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001694#line 167 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001695{ return handleSubstitution(DEFS_SUBST); }
1696 YY_BREAK
1697case 29:
1698YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001699#line 168 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001700{ return handleSubstitution(IN_SUBST); }
1701 YY_BREAK
1702case 30:
1703YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001704#line 169 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001705{ return handleSubstitution(INCLS_SUBST); }
1706 YY_BREAK
1707case 31:
1708YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001709#line 170 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001710{ return handleSubstitution(LIBDIR_SUBST); }
1711 YY_BREAK
1712case 32:
1713YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001714#line 171 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001715{ return handleSubstitution(LIBS_SUBST); }
1716 YY_BREAK
1717case 33:
1718YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001719#line 172 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001720{ return handleSubstitution(LLVMGCCDIR_SUBST); }
1721 YY_BREAK
1722case 34:
1723YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001724#line 173 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001725{ return handleSubstitution(LLVMGCCARCH_SUBST); }
1726 YY_BREAK
1727case 35:
1728YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001729#line 174 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001730{ return handleSubstitution(LLVMGCC_SUBST); }
1731 YY_BREAK
1732case 36:
1733YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001734#line 175 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001735{ return handleSubstitution(LLVMGXX_SUBST); }
1736 YY_BREAK
1737case 37:
1738YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001739#line 176 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001740{ return handleSubstitution(LLVMCC1_SUBST); }
1741 YY_BREAK
1742case 38:
1743YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001744#line 177 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001745{ return handleSubstitution(LLVMCC1PLUS_SUBST); }
1746 YY_BREAK
1747case 39:
1748YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001749#line 178 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001750{ return handleSubstitution(OPT_SUBST); }
1751 YY_BREAK
1752case 40:
1753YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001754#line 179 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001755{ return handleSubstitution(OUT_SUBST); }
1756 YY_BREAK
1757case 41:
1758YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001759#line 180 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001760{ return handleSubstitution(STATS_SUBST); }
1761 YY_BREAK
1762case 42:
1763YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001764#line 181 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001765{ return handleSubstitution(TARGET_SUBST); }
1766 YY_BREAK
1767case 43:
1768YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001769#line 182 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001770{ return handleSubstitution(TIME_SUBST); }
1771 YY_BREAK
1772case 44:
1773YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001774#line 183 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001775{ return handleSubstitution(VERBOSE_SUBST); }
1776 YY_BREAK
1777case 45:
1778YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001779#line 184 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001780{ return handleSubstitution(FOPTS_SUBST); }
1781 YY_BREAK
1782case 46:
1783YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001784#line 185 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001785{ return handleSubstitution(MOPTS_SUBST); }
1786 YY_BREAK
1787case 47:
1788YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001789#line 186 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001790{ return handleSubstitution(WOPTS_SUBST); }
1791 YY_BREAK
1792case 48:
1793YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001794#line 188 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001795{ return handleValueContext(ASSEMBLY); }
1796 YY_BREAK
1797case 49:
1798YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001799#line 189 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
1800{ return handleValueContext(BITCODE); }
Reid Spencer68a24bd2005-08-27 18:50:39 +00001801 YY_BREAK
1802case 50:
1803YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001804#line 190 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001805{ return handleValueContext(TRUETOK); }
1806 YY_BREAK
1807case 51:
1808YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001809#line 191 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001810{ return handleValueContext(FALSETOK); }
1811 YY_BREAK
1812case 52:
1813YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001814#line 193 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001815{ ConfigLexerState.StringVal = yytext; return OPTION; }
1816 YY_BREAK
1817case 53:
1818YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001819#line 194 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001820{ ConfigLexerState.StringVal = yytext+1; // Nuke start quote
1821 ConfigLexerState.StringVal.erase(
1822 --ConfigLexerState.StringVal.end());
1823 return STRING;
1824 }
1825 YY_BREAK
1826case 54:
1827YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001828#line 199 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001829{ YY_FATAL_ERROR("Invalid substitution token"); }
1830 YY_BREAK
1831case 55:
1832YY_RULE_SETUP
Chris Lattnerf87bd842007-07-05 17:27:31 +00001833#line 201 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00001834ECHO;
1835 YY_BREAK
1836#line 1837 "ConfigLexer.cpp"
1837case YY_STATE_EOF(INITIAL):
1838 yyterminate();
1839
1840 case YY_END_OF_BUFFER:
1841 {
1842 /* Amount of text matched not including the EOB char. */
1843 int yy_amount_of_matched_text = (int) (yy_cp - yytext_ptr) - 1;
1844
1845 /* Undo the effects of YY_DO_BEFORE_ACTION. */
1846 *yy_cp = yy_hold_char;
1847 YY_RESTORE_YY_MORE_OFFSET
1848
1849 if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_NEW )
1850 {
1851 /* We're scanning a new file or input source. It's
1852 * possible that this happened because the user
1853 * just pointed yyin at a new source and called
1854 * yylex(). If so, then we have to assure
1855 * consistency between yy_current_buffer and our
1856 * globals. Here is the right place to do so, because
1857 * this is the first action (other than possibly a
1858 * back-up) that will match for the new input source.
1859 */
1860 yy_n_chars = yy_current_buffer->yy_n_chars;
1861 yy_current_buffer->yy_input_file = yyin;
1862 yy_current_buffer->yy_buffer_status = YY_BUFFER_NORMAL;
1863 }
1864
1865 /* Note that here we test for yy_c_buf_p "<=" to the position
1866 * of the first EOB in the buffer, since yy_c_buf_p will
1867 * already have been incremented past the NUL character
1868 * (since all states make transitions on EOB to the
1869 * end-of-buffer state). Contrast this with the test
1870 * in input().
1871 */
1872 if ( yy_c_buf_p <= &yy_current_buffer->yy_ch_buf[yy_n_chars] )
1873 { /* This was really a NUL. */
1874 yy_state_type yy_next_state;
1875
1876 yy_c_buf_p = yytext_ptr + yy_amount_of_matched_text;
1877
1878 yy_current_state = yy_get_previous_state();
1879
1880 /* Okay, we're now positioned to make the NUL
1881 * transition. We couldn't have
1882 * yy_get_previous_state() go ahead and do it
1883 * for us because it doesn't know how to deal
1884 * with the possibility of jamming (and we don't
1885 * want to build jamming into it because then it
1886 * will run more slowly).
1887 */
1888
1889 yy_next_state = yy_try_NUL_trans( yy_current_state );
1890
1891 yy_bp = yytext_ptr + YY_MORE_ADJ;
1892
1893 if ( yy_next_state )
1894 {
1895 /* Consume the NUL. */
1896 yy_cp = ++yy_c_buf_p;
1897 yy_current_state = yy_next_state;
1898 goto yy_match;
1899 }
1900
1901 else
1902 {
1903 yy_cp = yy_last_accepting_cpos;
1904 yy_current_state = yy_last_accepting_state;
1905 goto yy_find_action;
1906 }
1907 }
1908
1909 else switch ( yy_get_next_buffer() )
1910 {
1911 case EOB_ACT_END_OF_FILE:
1912 {
1913 yy_did_buffer_switch_on_eof = 0;
1914
1915 if ( yywrap() )
1916 {
1917 /* Note: because we've taken care in
1918 * yy_get_next_buffer() to have set up
1919 * yytext, we can now set up
1920 * yy_c_buf_p so that if some total
1921 * hoser (like flex itself) wants to
1922 * call the scanner after we return the
1923 * YY_NULL, it'll still work - another
1924 * YY_NULL will get returned.
1925 */
1926 yy_c_buf_p = yytext_ptr + YY_MORE_ADJ;
1927
1928 yy_act = YY_STATE_EOF(YY_START);
1929 goto do_action;
1930 }
1931
1932 else
1933 {
1934 if ( ! yy_did_buffer_switch_on_eof )
1935 YY_NEW_FILE;
1936 }
1937 break;
1938 }
1939
1940 case EOB_ACT_CONTINUE_SCAN:
1941 yy_c_buf_p =
1942 yytext_ptr + yy_amount_of_matched_text;
1943
1944 yy_current_state = yy_get_previous_state();
1945
1946 yy_cp = yy_c_buf_p;
1947 yy_bp = yytext_ptr + YY_MORE_ADJ;
1948 goto yy_match;
1949
1950 case EOB_ACT_LAST_MATCH:
1951 yy_c_buf_p =
1952 &yy_current_buffer->yy_ch_buf[yy_n_chars];
1953
1954 yy_current_state = yy_get_previous_state();
1955
1956 yy_cp = yy_c_buf_p;
1957 yy_bp = yytext_ptr + YY_MORE_ADJ;
1958 goto yy_find_action;
1959 }
1960 break;
1961 }
1962
1963 default:
1964 YY_FATAL_ERROR(
1965 "fatal flex scanner internal error--no action found" );
1966 } /* end of action switch */
1967 } /* end of scanning one token */
1968 } /* end of yylex */
1969
1970
1971/* yy_get_next_buffer - try to read in a new buffer
1972 *
1973 * Returns a code representing an action:
1974 * EOB_ACT_LAST_MATCH -
1975 * EOB_ACT_CONTINUE_SCAN - continue scanning from current position
1976 * EOB_ACT_END_OF_FILE - end of file
1977 */
1978
1979static int yy_get_next_buffer()
1980 {
1981 register char *dest = yy_current_buffer->yy_ch_buf;
1982 register char *source = yytext_ptr;
1983 register int number_to_move, i;
1984 int ret_val;
1985
1986 if ( yy_c_buf_p > &yy_current_buffer->yy_ch_buf[yy_n_chars + 1] )
1987 YY_FATAL_ERROR(
1988 "fatal flex scanner internal error--end of buffer missed" );
1989
1990 if ( yy_current_buffer->yy_fill_buffer == 0 )
1991 { /* Don't try to fill the buffer, so this is an EOF. */
1992 if ( yy_c_buf_p - yytext_ptr - YY_MORE_ADJ == 1 )
1993 {
1994 /* We matched a single character, the EOB, so
1995 * treat this as a final EOF.
1996 */
1997 return EOB_ACT_END_OF_FILE;
1998 }
1999
2000 else
2001 {
2002 /* We matched some text prior to the EOB, first
2003 * process it.
2004 */
2005 return EOB_ACT_LAST_MATCH;
2006 }
2007 }
2008
2009 /* Try to read more data. */
2010
2011 /* First move last chars to start of buffer. */
2012 number_to_move = (int) (yy_c_buf_p - yytext_ptr) - 1;
2013
2014 for ( i = 0; i < number_to_move; ++i )
2015 *(dest++) = *(source++);
2016
2017 if ( yy_current_buffer->yy_buffer_status == YY_BUFFER_EOF_PENDING )
2018 /* don't do the read, it's not guaranteed to return an EOF,
2019 * just force an EOF
2020 */
2021 yy_current_buffer->yy_n_chars = yy_n_chars = 0;
2022
2023 else
2024 {
2025 int num_to_read =
2026 yy_current_buffer->yy_buf_size - number_to_move - 1;
2027
2028 while ( num_to_read <= 0 )
2029 { /* Not enough room in the buffer - grow it. */
2030#ifdef YY_USES_REJECT
2031 YY_FATAL_ERROR(
2032"input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
2033#else
2034
2035 /* just a shorter name for the current buffer */
2036 YY_BUFFER_STATE b = yy_current_buffer;
2037
2038 int yy_c_buf_p_offset =
2039 (int) (yy_c_buf_p - b->yy_ch_buf);
2040
2041 if ( b->yy_is_our_buffer )
2042 {
2043 int new_size = b->yy_buf_size * 2;
2044
2045 if ( new_size <= 0 )
2046 b->yy_buf_size += b->yy_buf_size / 8;
2047 else
2048 b->yy_buf_size *= 2;
2049
2050 b->yy_ch_buf = (char *)
2051 /* Include room in for 2 EOB chars. */
2052 yy_flex_realloc( (void *) b->yy_ch_buf,
2053 b->yy_buf_size + 2 );
2054 }
2055 else
2056 /* Can't grow it, we don't own it. */
2057 b->yy_ch_buf = 0;
2058
2059 if ( ! b->yy_ch_buf )
2060 YY_FATAL_ERROR(
2061 "fatal error - scanner input buffer overflow" );
2062
2063 yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
2064
2065 num_to_read = yy_current_buffer->yy_buf_size -
2066 number_to_move - 1;
2067#endif
2068 }
2069
2070 if ( num_to_read > YY_READ_BUF_SIZE )
2071 num_to_read = YY_READ_BUF_SIZE;
2072
2073 /* Read in more data. */
2074 YY_INPUT( (&yy_current_buffer->yy_ch_buf[number_to_move]),
2075 yy_n_chars, num_to_read );
2076
2077 yy_current_buffer->yy_n_chars = yy_n_chars;
2078 }
2079
2080 if ( yy_n_chars == 0 )
2081 {
2082 if ( number_to_move == YY_MORE_ADJ )
2083 {
2084 ret_val = EOB_ACT_END_OF_FILE;
2085 yyrestart( yyin );
2086 }
2087
2088 else
2089 {
2090 ret_val = EOB_ACT_LAST_MATCH;
2091 yy_current_buffer->yy_buffer_status =
2092 YY_BUFFER_EOF_PENDING;
2093 }
2094 }
2095
2096 else
2097 ret_val = EOB_ACT_CONTINUE_SCAN;
2098
2099 yy_n_chars += number_to_move;
2100 yy_current_buffer->yy_ch_buf[yy_n_chars] = YY_END_OF_BUFFER_CHAR;
2101 yy_current_buffer->yy_ch_buf[yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
2102
2103 yytext_ptr = &yy_current_buffer->yy_ch_buf[0];
2104
2105 return ret_val;
2106 }
2107
2108
2109/* yy_get_previous_state - get the state just before the EOB char was reached */
2110
2111static yy_state_type yy_get_previous_state()
2112 {
2113 register yy_state_type yy_current_state;
2114 register char *yy_cp;
2115
2116 yy_current_state = yy_start;
2117
2118 for ( yy_cp = yytext_ptr + YY_MORE_ADJ; yy_cp < yy_c_buf_p; ++yy_cp )
2119 {
2120 register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
2121 if ( yy_accept[yy_current_state] )
2122 {
2123 yy_last_accepting_state = yy_current_state;
2124 yy_last_accepting_cpos = yy_cp;
2125 }
2126 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2127 {
2128 yy_current_state = (int) yy_def[yy_current_state];
Chris Lattnerf87bd842007-07-05 17:27:31 +00002129 if ( yy_current_state >= 408 )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002130 yy_c = yy_meta[(unsigned int) yy_c];
2131 }
2132 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
2133 }
2134
2135 return yy_current_state;
2136 }
2137
2138
2139/* yy_try_NUL_trans - try to make a transition on the NUL character
2140 *
2141 * synopsis
2142 * next_state = yy_try_NUL_trans( current_state );
2143 */
2144
2145#ifdef YY_USE_PROTOS
2146static yy_state_type yy_try_NUL_trans( yy_state_type yy_current_state )
2147#else
2148static yy_state_type yy_try_NUL_trans( yy_current_state )
2149yy_state_type yy_current_state;
2150#endif
2151 {
2152 register int yy_is_jam;
2153 register char *yy_cp = yy_c_buf_p;
2154
2155 register YY_CHAR yy_c = 1;
2156 if ( yy_accept[yy_current_state] )
2157 {
2158 yy_last_accepting_state = yy_current_state;
2159 yy_last_accepting_cpos = yy_cp;
2160 }
2161 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2162 {
2163 yy_current_state = (int) yy_def[yy_current_state];
Chris Lattnerf87bd842007-07-05 17:27:31 +00002164 if ( yy_current_state >= 408 )
Reid Spencer68a24bd2005-08-27 18:50:39 +00002165 yy_c = yy_meta[(unsigned int) yy_c];
2166 }
2167 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
Chris Lattnerf87bd842007-07-05 17:27:31 +00002168 yy_is_jam = (yy_current_state == 407);
Reid Spencer68a24bd2005-08-27 18:50:39 +00002169
2170 return yy_is_jam ? 0 : yy_current_state;
2171 }
2172
2173
2174#ifndef YY_NO_UNPUT
2175#ifdef YY_USE_PROTOS
2176static inline void yyunput( int c, register char *yy_bp )
2177#else
2178static inline void yyunput( c, yy_bp )
2179int c;
2180register char *yy_bp;
2181#endif
2182 {
2183 register char *yy_cp = yy_c_buf_p;
2184
2185 /* undo effects of setting up yytext */
2186 *yy_cp = yy_hold_char;
2187
2188 if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
2189 { /* need to shift things up to make room */
2190 /* +2 for EOB chars. */
2191 register int number_to_move = yy_n_chars + 2;
2192 register char *dest = &yy_current_buffer->yy_ch_buf[
2193 yy_current_buffer->yy_buf_size + 2];
2194 register char *source =
2195 &yy_current_buffer->yy_ch_buf[number_to_move];
2196
2197 while ( source > yy_current_buffer->yy_ch_buf )
2198 *--dest = *--source;
2199
2200 yy_cp += (int) (dest - source);
2201 yy_bp += (int) (dest - source);
2202 yy_current_buffer->yy_n_chars =
2203 yy_n_chars = yy_current_buffer->yy_buf_size;
2204
2205 if ( yy_cp < yy_current_buffer->yy_ch_buf + 2 )
2206 YY_FATAL_ERROR( "flex scanner push-back overflow" );
2207 }
2208
2209 *--yy_cp = (char) c;
2210
2211
2212 yytext_ptr = yy_bp;
2213 yy_hold_char = *yy_cp;
2214 yy_c_buf_p = yy_cp;
2215 }
2216#endif /* ifndef YY_NO_UNPUT */
2217
2218
Reid Spencer68a24bd2005-08-27 18:50:39 +00002219#ifdef __cplusplus
2220static int yyinput()
2221#else
2222static int input()
2223#endif
2224 {
2225 int c;
2226
2227 *yy_c_buf_p = yy_hold_char;
2228
2229 if ( *yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
2230 {
2231 /* yy_c_buf_p now points to the character we want to return.
2232 * If this occurs *before* the EOB characters, then it's a
2233 * valid NUL; if not, then we've hit the end of the buffer.
2234 */
2235 if ( yy_c_buf_p < &yy_current_buffer->yy_ch_buf[yy_n_chars] )
2236 /* This was really a NUL. */
2237 *yy_c_buf_p = '\0';
2238
2239 else
2240 { /* need more input */
2241 int offset = yy_c_buf_p - yytext_ptr;
2242 ++yy_c_buf_p;
2243
2244 switch ( yy_get_next_buffer() )
2245 {
2246 case EOB_ACT_LAST_MATCH:
2247 /* This happens because yy_g_n_b()
2248 * sees that we've accumulated a
2249 * token and flags that we need to
2250 * try matching the token before
2251 * proceeding. But for input(),
2252 * there's no matching to consider.
2253 * So convert the EOB_ACT_LAST_MATCH
2254 * to EOB_ACT_END_OF_FILE.
2255 */
2256
2257 /* Reset buffer status. */
2258 yyrestart( yyin );
2259
2260 /* fall through */
2261
2262 case EOB_ACT_END_OF_FILE:
2263 {
2264 if ( yywrap() )
2265 return EOF;
2266
2267 if ( ! yy_did_buffer_switch_on_eof )
2268 YY_NEW_FILE;
2269#ifdef __cplusplus
2270 return yyinput();
2271#else
2272 return input();
2273#endif
2274 }
2275
2276 case EOB_ACT_CONTINUE_SCAN:
2277 yy_c_buf_p = yytext_ptr + offset;
2278 break;
2279 }
2280 }
2281 }
2282
2283 c = *(unsigned char *) yy_c_buf_p; /* cast for 8-bit char's */
2284 *yy_c_buf_p = '\0'; /* preserve yytext */
2285 yy_hold_char = *++yy_c_buf_p;
2286
2287
2288 return c;
2289 }
Chris Lattner74f48d12006-05-29 18:52:05 +00002290
Reid Spencer68a24bd2005-08-27 18:50:39 +00002291
2292#ifdef YY_USE_PROTOS
2293void yyrestart( FILE *input_file )
2294#else
2295void yyrestart( input_file )
2296FILE *input_file;
2297#endif
2298 {
2299 if ( ! yy_current_buffer )
2300 yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE );
2301
2302 yy_init_buffer( yy_current_buffer, input_file );
2303 yy_load_buffer_state();
2304 }
2305
2306
2307#ifdef YY_USE_PROTOS
2308void yy_switch_to_buffer( YY_BUFFER_STATE new_buffer )
2309#else
2310void yy_switch_to_buffer( new_buffer )
2311YY_BUFFER_STATE new_buffer;
2312#endif
2313 {
2314 if ( yy_current_buffer == new_buffer )
2315 return;
2316
2317 if ( yy_current_buffer )
2318 {
2319 /* Flush out information for old buffer. */
2320 *yy_c_buf_p = yy_hold_char;
2321 yy_current_buffer->yy_buf_pos = yy_c_buf_p;
2322 yy_current_buffer->yy_n_chars = yy_n_chars;
2323 }
2324
2325 yy_current_buffer = new_buffer;
2326 yy_load_buffer_state();
2327
2328 /* We don't actually know whether we did this switch during
2329 * EOF (yywrap()) processing, but the only time this flag
2330 * is looked at is after yywrap() is called, so it's safe
2331 * to go ahead and always set it.
2332 */
2333 yy_did_buffer_switch_on_eof = 1;
2334 }
2335
2336
2337#ifdef YY_USE_PROTOS
2338void yy_load_buffer_state( void )
2339#else
2340void yy_load_buffer_state()
2341#endif
2342 {
2343 yy_n_chars = yy_current_buffer->yy_n_chars;
2344 yytext_ptr = yy_c_buf_p = yy_current_buffer->yy_buf_pos;
2345 yyin = yy_current_buffer->yy_input_file;
2346 yy_hold_char = *yy_c_buf_p;
2347 }
2348
2349
2350#ifdef YY_USE_PROTOS
2351YY_BUFFER_STATE yy_create_buffer( FILE *file, int size )
2352#else
2353YY_BUFFER_STATE yy_create_buffer( file, size )
2354FILE *file;
2355int size;
2356#endif
2357 {
2358 YY_BUFFER_STATE b;
2359
2360 b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
2361 if ( ! b )
2362 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
2363
2364 b->yy_buf_size = size;
2365
2366 /* yy_ch_buf has to be 2 characters longer than the size given because
2367 * we need to put in 2 end-of-buffer characters.
2368 */
2369 b->yy_ch_buf = (char *) yy_flex_alloc( b->yy_buf_size + 2 );
2370 if ( ! b->yy_ch_buf )
2371 YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" );
2372
2373 b->yy_is_our_buffer = 1;
2374
2375 yy_init_buffer( b, file );
2376
2377 return b;
2378 }
2379
2380
2381#ifdef YY_USE_PROTOS
2382void yy_delete_buffer( YY_BUFFER_STATE b )
2383#else
2384void yy_delete_buffer( b )
2385YY_BUFFER_STATE b;
2386#endif
2387 {
2388 if ( ! b )
2389 return;
2390
2391 if ( b == yy_current_buffer )
2392 yy_current_buffer = (YY_BUFFER_STATE) 0;
2393
2394 if ( b->yy_is_our_buffer )
2395 yy_flex_free( (void *) b->yy_ch_buf );
2396
2397 yy_flex_free( (void *) b );
2398 }
2399
2400
Chris Lattner74f48d12006-05-29 18:52:05 +00002401#ifndef YY_ALWAYS_INTERACTIVE
2402#ifndef YY_NEVER_INTERACTIVE
2403extern int isatty YY_PROTO(( int ));
2404#endif
2405#endif
Reid Spencer68a24bd2005-08-27 18:50:39 +00002406
2407#ifdef YY_USE_PROTOS
2408void yy_init_buffer( YY_BUFFER_STATE b, FILE *file )
2409#else
2410void yy_init_buffer( b, file )
2411YY_BUFFER_STATE b;
2412FILE *file;
2413#endif
2414
2415
2416 {
2417 yy_flush_buffer( b );
2418
2419 b->yy_input_file = file;
2420 b->yy_fill_buffer = 1;
2421
2422#if YY_ALWAYS_INTERACTIVE
2423 b->yy_is_interactive = 1;
2424#else
2425#if YY_NEVER_INTERACTIVE
2426 b->yy_is_interactive = 0;
2427#else
2428 b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
2429#endif
2430#endif
2431 }
2432
2433
2434#ifdef YY_USE_PROTOS
2435void yy_flush_buffer( YY_BUFFER_STATE b )
2436#else
2437void yy_flush_buffer( b )
2438YY_BUFFER_STATE b;
2439#endif
2440
2441 {
2442 if ( ! b )
2443 return;
2444
2445 b->yy_n_chars = 0;
2446
2447 /* We always need two end-of-buffer characters. The first causes
2448 * a transition to the end-of-buffer state. The second causes
2449 * a jam in that state.
2450 */
2451 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
2452 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
2453
2454 b->yy_buf_pos = &b->yy_ch_buf[0];
2455
2456 b->yy_at_bol = 1;
2457 b->yy_buffer_status = YY_BUFFER_NEW;
2458
2459 if ( b == yy_current_buffer )
2460 yy_load_buffer_state();
2461 }
2462
2463
2464#ifndef YY_NO_SCAN_BUFFER
2465#ifdef YY_USE_PROTOS
2466YY_BUFFER_STATE yy_scan_buffer( char *base, yy_size_t size )
2467#else
2468YY_BUFFER_STATE yy_scan_buffer( base, size )
2469char *base;
2470yy_size_t size;
2471#endif
2472 {
2473 YY_BUFFER_STATE b;
2474
2475 if ( size < 2 ||
2476 base[size-2] != YY_END_OF_BUFFER_CHAR ||
2477 base[size-1] != YY_END_OF_BUFFER_CHAR )
2478 /* They forgot to leave room for the EOB's. */
2479 return 0;
2480
2481 b = (YY_BUFFER_STATE) yy_flex_alloc( sizeof( struct yy_buffer_state ) );
2482 if ( ! b )
2483 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" );
2484
2485 b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */
2486 b->yy_buf_pos = b->yy_ch_buf = base;
2487 b->yy_is_our_buffer = 0;
2488 b->yy_input_file = 0;
2489 b->yy_n_chars = b->yy_buf_size;
2490 b->yy_is_interactive = 0;
2491 b->yy_at_bol = 1;
2492 b->yy_fill_buffer = 0;
2493 b->yy_buffer_status = YY_BUFFER_NEW;
2494
2495 yy_switch_to_buffer( b );
2496
2497 return b;
2498 }
2499#endif
2500
2501
2502#ifndef YY_NO_SCAN_STRING
2503#ifdef YY_USE_PROTOS
2504YY_BUFFER_STATE yy_scan_string( yyconst char *yy_str )
2505#else
2506YY_BUFFER_STATE yy_scan_string( yy_str )
2507yyconst char *yy_str;
2508#endif
2509 {
2510 int len;
2511 for ( len = 0; yy_str[len]; ++len )
2512 ;
2513
2514 return yy_scan_bytes( yy_str, len );
2515 }
2516#endif
2517
2518
2519#ifndef YY_NO_SCAN_BYTES
2520#ifdef YY_USE_PROTOS
2521YY_BUFFER_STATE yy_scan_bytes( yyconst char *bytes, int len )
2522#else
2523YY_BUFFER_STATE yy_scan_bytes( bytes, len )
2524yyconst char *bytes;
2525int len;
2526#endif
2527 {
2528 YY_BUFFER_STATE b;
2529 char *buf;
2530 yy_size_t n;
2531 int i;
2532
2533 /* Get memory for full buffer, including space for trailing EOB's. */
2534 n = len + 2;
2535 buf = (char *) yy_flex_alloc( n );
2536 if ( ! buf )
2537 YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" );
2538
2539 for ( i = 0; i < len; ++i )
2540 buf[i] = bytes[i];
2541
2542 buf[len] = buf[len+1] = YY_END_OF_BUFFER_CHAR;
2543
2544 b = yy_scan_buffer( buf, n );
2545 if ( ! b )
2546 YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" );
2547
2548 /* It's okay to grow etc. this buffer, and we should throw it
2549 * away when we're done.
2550 */
2551 b->yy_is_our_buffer = 1;
2552
2553 return b;
2554 }
2555#endif
2556
2557
2558#ifndef YY_NO_PUSH_STATE
2559#ifdef YY_USE_PROTOS
2560static void yy_push_state( int new_state )
2561#else
2562static void yy_push_state( new_state )
2563int new_state;
2564#endif
2565 {
2566 if ( yy_start_stack_ptr >= yy_start_stack_depth )
2567 {
2568 yy_size_t new_size;
2569
2570 yy_start_stack_depth += YY_START_STACK_INCR;
2571 new_size = yy_start_stack_depth * sizeof( int );
2572
2573 if ( ! yy_start_stack )
2574 yy_start_stack = (int *) yy_flex_alloc( new_size );
2575
2576 else
2577 yy_start_stack = (int *) yy_flex_realloc(
2578 (void *) yy_start_stack, new_size );
2579
2580 if ( ! yy_start_stack )
2581 YY_FATAL_ERROR(
2582 "out of memory expanding start-condition stack" );
2583 }
2584
2585 yy_start_stack[yy_start_stack_ptr++] = YY_START;
2586
2587 BEGIN(new_state);
2588 }
2589#endif
2590
2591
2592#ifndef YY_NO_POP_STATE
2593static void yy_pop_state()
2594 {
2595 if ( --yy_start_stack_ptr < 0 )
2596 YY_FATAL_ERROR( "start-condition stack underflow" );
2597
2598 BEGIN(yy_start_stack[yy_start_stack_ptr]);
2599 }
2600#endif
2601
2602
2603#ifndef YY_NO_TOP_STATE
2604static int yy_top_state()
2605 {
2606 return yy_start_stack[yy_start_stack_ptr - 1];
2607 }
2608#endif
2609
2610#ifndef YY_EXIT_FAILURE
2611#define YY_EXIT_FAILURE 2
2612#endif
2613
2614#ifdef YY_USE_PROTOS
2615static void yy_fatal_error( yyconst char msg[] )
2616#else
2617static void yy_fatal_error( msg )
2618char msg[];
2619#endif
2620 {
2621 (void) fprintf( stderr, "%s\n", msg );
2622 exit( YY_EXIT_FAILURE );
2623 }
2624
2625
2626
2627/* Redefine yyless() so it works in section 3 code. */
2628
2629#undef yyless
2630#define yyless(n) \
2631 do \
2632 { \
2633 /* Undo effects of setting up yytext. */ \
2634 yytext[yyleng] = yy_hold_char; \
2635 yy_c_buf_p = yytext + n; \
2636 yy_hold_char = *yy_c_buf_p; \
2637 *yy_c_buf_p = '\0'; \
2638 yyleng = n; \
2639 } \
2640 while ( 0 )
2641
2642
2643/* Internal utility routines. */
2644
2645#ifndef yytext_ptr
2646#ifdef YY_USE_PROTOS
2647static void yy_flex_strncpy( char *s1, yyconst char *s2, int n )
2648#else
2649static void yy_flex_strncpy( s1, s2, n )
2650char *s1;
2651yyconst char *s2;
2652int n;
2653#endif
2654 {
2655 register int i;
2656 for ( i = 0; i < n; ++i )
2657 s1[i] = s2[i];
2658 }
2659#endif
2660
2661#ifdef YY_NEED_STRLEN
2662#ifdef YY_USE_PROTOS
2663static int yy_flex_strlen( yyconst char *s )
2664#else
2665static int yy_flex_strlen( s )
2666yyconst char *s;
2667#endif
2668 {
2669 register int n;
2670 for ( n = 0; s[n]; ++n )
2671 ;
2672
2673 return n;
2674 }
2675#endif
2676
2677
2678#ifdef YY_USE_PROTOS
2679static void *yy_flex_alloc( yy_size_t size )
2680#else
2681static void *yy_flex_alloc( size )
2682yy_size_t size;
2683#endif
2684 {
2685 return (void *) malloc( size );
2686 }
2687
2688#ifdef YY_USE_PROTOS
2689static inline void *yy_flex_realloc( void *ptr, yy_size_t size )
2690#else
2691static inline void *yy_flex_realloc( ptr, size )
2692void *ptr;
2693yy_size_t size;
2694#endif
2695 {
2696 /* The cast to (char *) in the following accommodates both
2697 * implementations that use char* generic pointers, and those
2698 * that use void* generic pointers. It works with the latter
2699 * because both ANSI C and C++ allow castless assignment from
2700 * any pointer type to void*, and deal with argument conversions
2701 * as though doing an assignment.
2702 */
2703 return (void *) realloc( (char *) ptr, size );
2704 }
2705
2706#ifdef YY_USE_PROTOS
2707static void yy_flex_free( void *ptr )
2708#else
2709static void yy_flex_free( ptr )
2710void *ptr;
2711#endif
2712 {
2713 free( ptr );
2714 }
2715
2716#if YY_MAIN
2717int main()
2718 {
2719 yylex();
2720 return 0;
2721 }
2722#endif
Chris Lattnerf87bd842007-07-05 17:27:31 +00002723#line 201 "/Volumes/ProjectsDisk/cvs/llvm/tools/llvmc/ConfigLexer.l"
Reid Spencer68a24bd2005-08-27 18:50:39 +00002724