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