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