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