00001 #line 2 "../../../../OS/src/OSParsers/OSParseosss.cpp"
00002
00003 #line 4 "../../../../OS/src/OSParsers/OSParseosss.cpp"
00004
00005 #define YY_INT_ALIGNED short int
00006
00007
00008
00009 #define FLEX_SCANNER
00010 #define YY_FLEX_MAJOR_VERSION 2
00011 #define YY_FLEX_MINOR_VERSION 5
00012 #define YY_FLEX_SUBMINOR_VERSION 35
00013 #if YY_FLEX_SUBMINOR_VERSION > 0
00014 #define FLEX_BETA
00015 #endif
00016
00017
00018
00019
00020 #include <stdio.h>
00021 #include <string.h>
00022 #include <errno.h>
00023 #include <stdlib.h>
00024
00025
00026
00027
00028
00029 #ifndef FLEXINT_H
00030 #define FLEXINT_H
00031
00032
00033
00034 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
00035
00036
00037
00038
00039 #ifndef __STDC_LIMIT_MACROS
00040 #define __STDC_LIMIT_MACROS 1
00041 #endif
00042
00043 #include <inttypes.h>
00044 typedef int8_t flex_int8_t;
00045 typedef uint8_t flex_uint8_t;
00046 typedef int16_t flex_int16_t;
00047 typedef uint16_t flex_uint16_t;
00048 typedef int32_t flex_int32_t;
00049 typedef uint32_t flex_uint32_t;
00050 #else
00051 typedef signed char flex_int8_t;
00052 typedef short int flex_int16_t;
00053 typedef int flex_int32_t;
00054 typedef unsigned char flex_uint8_t;
00055 typedef unsigned short int flex_uint16_t;
00056 typedef unsigned int flex_uint32_t;
00057
00058
00059 #ifndef INT8_MIN
00060 #define INT8_MIN (-128)
00061 #endif
00062 #ifndef INT16_MIN
00063 #define INT16_MIN (-32767-1)
00064 #endif
00065 #ifndef INT32_MIN
00066 #define INT32_MIN (-2147483647-1)
00067 #endif
00068 #ifndef INT8_MAX
00069 #define INT8_MAX (127)
00070 #endif
00071 #ifndef INT16_MAX
00072 #define INT16_MAX (32767)
00073 #endif
00074 #ifndef INT32_MAX
00075 #define INT32_MAX (2147483647)
00076 #endif
00077 #ifndef UINT8_MAX
00078 #define UINT8_MAX (255U)
00079 #endif
00080 #ifndef UINT16_MAX
00081 #define UINT16_MAX (65535U)
00082 #endif
00083 #ifndef UINT32_MAX
00084 #define UINT32_MAX (4294967295U)
00085 #endif
00086
00087 #endif
00088
00089 #endif
00090
00091 #ifdef __cplusplus
00092
00093
00094 #define YY_USE_CONST
00095
00096 #else
00097
00098
00099 #if defined (__STDC__)
00100
00101 #define YY_USE_CONST
00102
00103 #endif
00104 #endif
00105
00106 #ifdef YY_USE_CONST
00107 #define yyconst const
00108 #else
00109 #define yyconst
00110 #endif
00111
00112
00113 #define YY_NULL 0
00114
00115
00116
00117
00118
00119
00120 #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
00121
00122
00123 #ifndef YY_TYPEDEF_YY_SCANNER_T
00124 #define YY_TYPEDEF_YY_SCANNER_T
00125 typedef void* yyscan_t;
00126 #endif
00127
00128
00129
00130 #define yyin yyg->yyin_r
00131 #define yyout yyg->yyout_r
00132 #define yyextra yyg->yyextra_r
00133 #define yyleng yyg->yyleng_r
00134 #define yytext yyg->yytext_r
00135 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
00136 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
00137 #define yy_flex_debug yyg->yy_flex_debug_r
00138
00139
00140
00141
00142
00143 #define BEGIN yyg->yy_start = 1 + 2 *
00144
00145
00146
00147
00148
00149 #define YY_START ((yyg->yy_start - 1) / 2)
00150 #define YYSTATE YY_START
00151
00152
00153 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
00154
00155
00156 #define YY_NEW_FILE osssrestart(yyin ,yyscanner )
00157
00158 #define YY_END_OF_BUFFER_CHAR 0
00159
00160
00161 #ifndef YY_BUF_SIZE
00162 #ifdef __ia64__
00163
00164
00165
00166
00167 #define YY_BUF_SIZE 32768
00168 #else
00169 #define YY_BUF_SIZE 16384
00170 #endif
00171 #endif
00172
00173
00174
00175 #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
00176
00177 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
00178 #define YY_TYPEDEF_YY_BUFFER_STATE
00179 typedef struct yy_buffer_state *YY_BUFFER_STATE;
00180 #endif
00181
00182 #define EOB_ACT_CONTINUE_SCAN 0
00183 #define EOB_ACT_END_OF_FILE 1
00184 #define EOB_ACT_LAST_MATCH 2
00185
00186
00187
00188
00189
00190
00191
00192
00193 #define YY_LESS_LINENO(n) \
00194 do { \
00195 int yyl;\
00196 for ( yyl = n; yyl < yyleng; ++yyl )\
00197 if ( yytext[yyl] == '\n' )\
00198 --yylineno;\
00199 }while(0)
00200
00201
00202 #define yyless(n) \
00203 do \
00204 { \
00205 \
00206 int yyless_macro_arg = (n); \
00207 YY_LESS_LINENO(yyless_macro_arg);\
00208 *yy_cp = yyg->yy_hold_char; \
00209 YY_RESTORE_YY_MORE_OFFSET \
00210 yyg->yy_c_buf_p = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
00211 YY_DO_BEFORE_ACTION; \
00212 } \
00213 while ( 0 )
00214
00215 #define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner )
00216
00217 #ifndef YY_TYPEDEF_YY_SIZE_T
00218 #define YY_TYPEDEF_YY_SIZE_T
00219 typedef size_t yy_size_t;
00220 #endif
00221
00222 #ifndef YY_STRUCT_YY_BUFFER_STATE
00223 #define YY_STRUCT_YY_BUFFER_STATE
00224 struct yy_buffer_state
00225 {
00226 FILE *yy_input_file;
00227
00228 char *yy_ch_buf;
00229 char *yy_buf_pos;
00230
00231
00232
00233
00234 yy_size_t yy_buf_size;
00235
00236
00237
00238
00239 int yy_n_chars;
00240
00241
00242
00243
00244
00245 int yy_is_our_buffer;
00246
00247
00248
00249
00250
00251
00252 int yy_is_interactive;
00253
00254
00255
00256
00257
00258 int yy_at_bol;
00259
00260 int yy_bs_lineno;
00261 int yy_bs_column;
00263
00264
00265
00266 int yy_fill_buffer;
00267
00268 int yy_buffer_status;
00269
00270 #define YY_BUFFER_NEW 0
00271 #define YY_BUFFER_NORMAL 1
00272
00273
00274
00275
00276
00277
00278
00279
00280
00281
00282 #define YY_BUFFER_EOF_PENDING 2
00283
00284 };
00285 #endif
00286
00287
00288
00289
00290
00291
00292
00293 #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
00294 ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
00295 : NULL)
00296
00297
00298
00299
00300 #define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
00301
00302 void osssrestart (FILE *input_file ,yyscan_t yyscanner );
00303 void osss_switch_to_buffer (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
00304 YY_BUFFER_STATE osss_create_buffer (FILE *file,int size ,yyscan_t yyscanner );
00305 void osss_delete_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
00306 void osss_flush_buffer (YY_BUFFER_STATE b ,yyscan_t yyscanner );
00307 void ossspush_buffer_state (YY_BUFFER_STATE new_buffer ,yyscan_t yyscanner );
00308 void ossspop_buffer_state (yyscan_t yyscanner );
00309
00310 static void osssensure_buffer_stack (yyscan_t yyscanner );
00311 static void osss_load_buffer_state (yyscan_t yyscanner );
00312 static void osss_init_buffer (YY_BUFFER_STATE b,FILE *file ,yyscan_t yyscanner );
00313
00314 #define YY_FLUSH_BUFFER osss_flush_buffer(YY_CURRENT_BUFFER ,yyscanner)
00315
00316 YY_BUFFER_STATE osss_scan_buffer (char *base,yy_size_t size ,yyscan_t yyscanner );
00317 YY_BUFFER_STATE osss_scan_string (yyconst char *yy_str ,yyscan_t yyscanner );
00318 YY_BUFFER_STATE osss_scan_bytes (yyconst char *bytes,int len ,yyscan_t yyscanner );
00319
00320 void *osssalloc (yy_size_t ,yyscan_t yyscanner );
00321 void *osssrealloc (void *,yy_size_t ,yyscan_t yyscanner );
00322 void osssfree (void * ,yyscan_t yyscanner );
00323
00324 #define yy_new_buffer osss_create_buffer
00325
00326 #define yy_set_interactive(is_interactive) \
00327 { \
00328 if ( ! YY_CURRENT_BUFFER ){ \
00329 osssensure_buffer_stack (yyscanner); \
00330 YY_CURRENT_BUFFER_LVALUE = \
00331 osss_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
00332 } \
00333 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
00334 }
00335
00336 #define yy_set_bol(at_bol) \
00337 { \
00338 if ( ! YY_CURRENT_BUFFER ){\
00339 osssensure_buffer_stack (yyscanner); \
00340 YY_CURRENT_BUFFER_LVALUE = \
00341 osss_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
00342 } \
00343 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
00344 }
00345
00346 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
00347
00348
00349
00350 #define ossswrap(n) 1
00351 #define YY_SKIP_YYWRAP
00352
00353 typedef unsigned char YY_CHAR;
00354
00355 typedef int yy_state_type;
00356
00357 #define yytext_ptr yytext_r
00358
00359 static yy_state_type yy_get_previous_state (yyscan_t yyscanner );
00360 static yy_state_type yy_try_NUL_trans (yy_state_type current_state ,yyscan_t yyscanner);
00361 static int yy_get_next_buffer (yyscan_t yyscanner );
00362 static void yy_fatal_error (yyconst char msg[] ,yyscan_t yyscanner );
00363
00364
00365
00366
00367 #define YY_DO_BEFORE_ACTION \
00368 yyg->yytext_ptr = yy_bp; \
00369 yyleng = (size_t) (yy_cp - yy_bp); \
00370 yyg->yy_hold_char = *yy_cp; \
00371 *yy_cp = '\0'; \
00372 yyg->yy_c_buf_p = yy_cp;
00373
00374 #define YY_NUM_RULES 60
00375 #define YY_END_OF_BUFFER 61
00376
00377
00378 struct yy_trans_info
00379 {
00380 flex_int32_t yy_verify;
00381 flex_int32_t yy_nxt;
00382 };
00383 static yyconst flex_int16_t yy_accept[568] =
00384 { 0,
00385 1, 1, 61, 59, 1, 1, 59, 8, 59, 59,
00386 59, 59, 59, 59, 59, 59, 59, 59, 59, 59,
00387 59, 59, 59, 59, 1, 0, 7, 0, 0, 0,
00388 0, 6, 0, 0, 0, 0, 0, 0, 0, 0,
00389 16, 0, 0, 0, 0, 0, 0, 0, 0, 0,
00390 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
00391 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
00392 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
00393 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
00394 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
00395
00396 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
00397 0, 0, 0, 0, 0, 0, 18, 0, 5, 0,
00398 0, 0, 0, 40, 0, 0, 0, 0, 0, 0,
00399 17, 0, 0, 0, 0, 0, 0, 0, 0, 0,
00400 0, 0, 0, 0, 0, 39, 0, 0, 0, 0,
00401 0, 0, 0, 0, 0, 0, 42, 0, 0, 0,
00402 0, 0, 38, 0, 0, 40, 0, 0, 0, 0,
00403 0, 0, 0, 0, 0, 0, 0, 4, 0, 0,
00404 0, 0, 41, 0, 0, 0, 0, 0, 37, 0,
00405 0, 39, 0, 0, 0, 0, 0, 0, 0, 0,
00406
00407 0, 0, 0, 0, 0, 42, 0, 0, 0, 0,
00408 0, 38, 20, 0, 0, 25, 0, 0, 0, 0,
00409 34, 0, 0, 0, 0, 0, 0, 0, 0, 0,
00410 0, 0, 0, 41, 0, 0, 0, 0, 0, 37,
00411 19, 0, 0, 24, 0, 0, 0, 0, 33, 0,
00412 0, 0, 0, 0, 0, 0, 0, 0, 58, 0,
00413 0, 0, 20, 0, 0, 25, 0, 0, 0, 0,
00414 34, 0, 0, 0, 0, 0, 15, 0, 0, 0,
00415 0, 0, 0, 57, 0, 0, 0, 19, 0, 0,
00416 24, 0, 0, 0, 0, 33, 0, 0, 0, 0,
00417
00418 0, 3, 0, 0, 0, 0, 58, 0, 0, 0,
00419 0, 0, 0, 0, 0, 0, 0, 48, 0, 0,
00420 14, 0, 2, 0, 0, 0, 0, 57, 0, 0,
00421 0, 0, 0, 0, 0, 0, 0, 47, 0, 50,
00422 0, 0, 3, 0, 36, 0, 54, 0, 0, 0,
00423 0, 0, 0, 0, 13, 0, 0, 0, 48, 0,
00424 49, 0, 0, 2, 0, 35, 0, 53, 0, 0,
00425 0, 0, 0, 0, 0, 0, 0, 0, 47, 0,
00426 50, 0, 0, 36, 0, 54, 0, 0, 0, 0,
00427 0, 10, 12, 0, 0, 0, 0, 0, 49, 0,
00428
00429 0, 35, 0, 53, 0, 0, 0, 0, 0, 11,
00430 0, 0, 0, 0, 23, 28, 30, 0, 0, 0,
00431 0, 12, 0, 0, 9, 0, 0, 0, 29, 0,
00432 0, 0, 0, 11, 0, 0, 0, 22, 0, 27,
00433 0, 0, 30, 32, 0, 52, 0, 0, 0, 0,
00434 21, 0, 26, 0, 0, 29, 31, 0, 51, 0,
00435 0, 0, 0, 0, 22, 0, 27, 0, 32, 0,
00436 52, 0, 0, 0, 0, 21, 0, 26, 0, 31,
00437 0, 51, 0, 0, 0, 0, 0, 0, 0, 0,
00438 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
00439
00440 0, 0, 56, 0, 0, 0, 0, 0, 0, 0,
00441 0, 55, 0, 0, 0, 0, 0, 0, 0, 0,
00442 0, 56, 46, 0, 0, 0, 0, 0, 0, 0,
00443 0, 55, 45, 0, 0, 0, 0, 0, 0, 0,
00444 0, 46, 0, 44, 0, 0, 0, 0, 45, 0,
00445 43, 0, 0, 0, 0, 0, 0, 0, 0, 0,
00446 0, 0, 0, 0, 0, 0, 0
00447 } ;
00448
00449 static yyconst flex_int32_t yy_ec[256] =
00450 { 0,
00451 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
00452 1, 1, 2, 1, 1, 1, 1, 1, 1, 1,
00453 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
00454 1, 2, 4, 5, 4, 4, 1, 4, 1, 4,
00455 4, 4, 4, 1, 6, 4, 4, 4, 4, 4,
00456 4, 4, 4, 4, 4, 4, 4, 4, 1, 1,
00457 1, 1, 7, 4, 4, 4, 4, 8, 4, 9,
00458 4, 4, 10, 11, 4, 12, 13, 4, 14, 15,
00459 4, 16, 4, 4, 4, 4, 4, 4, 4, 4,
00460 1, 4, 1, 1, 4, 1, 17, 18, 19, 20,
00461
00462 21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
00463 31, 32, 33, 34, 35, 36, 37, 38, 39, 40,
00464 4, 4, 1, 1, 1, 4, 1, 1, 1, 1,
00465 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
00466 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
00467 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
00468 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
00469 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
00470 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
00471 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
00472
00473 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
00474 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
00475 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
00476 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
00477 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
00478 1, 1, 1, 1, 1
00479 } ;
00480
00481 static yyconst flex_int32_t yy_meta[41] =
00482 { 0,
00483 1, 2, 3, 2, 2, 2, 2, 2, 2, 2,
00484 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
00485 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
00486 2, 2, 2, 2, 2, 2, 2, 2, 2, 2
00487 } ;
00488
00489 static yyconst flex_int16_t yy_base[648] =
00490 { 0,
00491 0, 0, 964, 965, 39, 41, 39, 965, 929, 931,
00492 944, 920, 934, 937, 927, 925, 924, 922, 925, 917,
00493 917, 913, 29, 928, 45, 48, 965, 914, 916, 929,
00494 920, 965, 914, 912, 911, 909, 912, 904, 904, 31,
00495 965, 906, 906, 899, 909, 905, 904, 896, 912, 906,
00496 893, 51, 50, 902, 901, 891, 896, 889, 901, 887,
00497 899, 888, 888, 881, 888, 880, 896, 890, 877, 53,
00498 58, 886, 876, 881, 869, 885, 76, 870, 884, 872,
00499 891, 892, 892, 85, 91, 872, 871, 870, 869, 866,
00500 859, 856, 855, 857, 863, 865, 855, 849, 865, 95,
00501
00502 865, 873, 874, 874, 97, 99, 854, 853, 852, 851,
00503 848, 839, 838, 840, 849, 103, 965, 858, 965, 847,
00504 863, 845, 107, 111, 864, 115, 117, 81, 119, 832,
00505 965, 842, 845, 840, 832, 833, 827, 826, 835, 121,
00506 844, 833, 849, 831, 125, 130, 850, 134, 136, 93,
00507 138, 818, 828, 831, 830, 827, 140, 844, 814, 812,
00508 144, 818, 149, 840, 839, 965, 153, 806, 157, 805,
00509 811, 803, 161, 155, 820, 804, 806, 965, 800, 810,
00510 813, 810, 167, 827, 797, 795, 171, 801, 173, 823,
00511 822, 965, 177, 789, 181, 788, 794, 786, 185, 99,
00512
00513 803, 787, 786, 189, 814, 965, 793, 781, 191, 795,
00514 810, 965, 195, 809, 777, 199, 807, 775, 778, 773,
00515 203, 803, 786, 775, 774, 783, 207, 773, 789, 770,
00516 766, 209, 794, 965, 773, 761, 211, 775, 790, 965,
00517 215, 789, 757, 219, 787, 755, 758, 753, 223, 783,
00518 766, 755, 764, 227, 229, 231, 754, 235, 237, 778,
00519 241, 777, 965, 749, 775, 965, 747, 741, 745, 771,
00520 965, 737, 754, 734, 233, 245, 965, 741, 741, 249,
00521 251, 740, 255, 257, 764, 261, 763, 965, 735, 761,
00522 965, 733, 727, 731, 757, 965, 723, 721, 253, 265,
00523
00524 269, 273, 754, 722, 277, 752, 965, 281, 719, 718,
00525 718, 716, 731, 730, 285, 719, 728, 287, 743, 727,
00526 965, 291, 295, 741, 709, 299, 739, 965, 303, 706,
00527 705, 705, 703, 718, 307, 707, 716, 309, 731, 313,
00528 730, 729, 965, 721, 317, 727, 321, 726, 694, 693,
00529 325, 692, 699, 698, 327, 706, 688, 718, 965, 701,
00530 331, 716, 715, 965, 707, 335, 713, 339, 712, 680,
00531 679, 343, 678, 685, 345, 693, 675, 705, 965, 704,
00532 965, 687, 702, 965, 701, 965, 349, 351, 353, 357,
00533 359, 965, 361, 700, 687, 679, 674, 696, 965, 679,
00534
00535 694, 965, 693, 965, 365, 367, 369, 373, 375, 377,
00536 692, 679, 671, 656, 381, 385, 389, 688, 393, 397,
00537 687, 965, 655, 659, 965, 651, 401, 405, 409, 683,
00538 413, 417, 682, 965, 650, 654, 663, 421, 678, 425,
00539 677, 676, 965, 429, 675, 433, 674, 653, 657, 655,
00540 437, 509, 441, 505, 501, 965, 445, 497, 449, 492,
00541 471, 475, 460, 480, 965, 479, 965, 471, 965, 448,
00542 965, 418, 453, 417, 436, 965, 432, 965, 428, 965,
00543 424, 965, 394, 455, 457, 391, 459, 461, 387, 464,
00544 466, 470, 392, 119, 388, 45, 472, 476, 384, 440,
00545
00546 380, 164, 478, 392, 487, 357, 361, 354, 345, 343,
00547 337, 498, 352, 502, 313, 315, 308, 299, 301, 297,
00548 316, 965, 506, 312, 302, 279, 284, 265, 275, 253,
00549 280, 965, 510, 276, 266, 245, 250, 227, 235, 211,
00550 236, 965, 204, 965, 200, 198, 198, 210, 965, 176,
00551 965, 176, 174, 168, 163, 156, 147, 140, 147, 115,
00552 124, 87, 77, 52, 43, 28, 965, 514, 516, 518,
00553 520, 523, 524, 526, 529, 531, 533, 534, 536, 538,
00554 541, 543, 544, 546, 548, 550, 553, 555, 557, 558,
00555 561, 563, 565, 566, 569, 570, 572, 575, 576, 578,
00556
00557 581, 582, 584, 587, 588, 591, 592, 594, 597, 599,
00558 601, 603, 604, 607, 609, 611, 612, 614, 617, 618,
00559 621, 622, 624, 627, 628, 630, 632, 634, 637, 638,
00560 640, 643, 645, 647, 649, 651, 653, 655, 657, 658,
00561 660, 663, 664, 667, 668, 671, 673
00562 } ;
00563
00564 static yyconst flex_int16_t yy_def[648] =
00565 { 0,
00566 567, 1, 567, 567, 567, 567, 567, 567, 567, 567,
00567 567, 567, 567, 567, 567, 567, 567, 567, 567, 567,
00568 567, 567, 567, 567, 567, 567, 567, 567, 567, 567,
00569 567, 567, 567, 567, 567, 567, 567, 567, 567, 567,
00570 567, 567, 567, 567, 567, 567, 567, 567, 567, 567,
00571 567, 567, 567, 567, 567, 567, 567, 567, 567, 567,
00572 567, 567, 567, 567, 567, 567, 567, 567, 567, 567,
00573 567, 567, 567, 567, 567, 567, 567, 567, 567, 567,
00574 567, 567, 567, 567, 568, 567, 567, 567, 567, 567,
00575 567, 567, 567, 567, 567, 567, 567, 567, 567, 567,
00576
00577 567, 567, 567, 567, 567, 569, 567, 567, 567, 567,
00578 567, 567, 567, 567, 567, 570, 567, 567, 567, 567,
00579 567, 567, 571, 568, 572, 567, 567, 567, 567, 567,
00580 567, 567, 567, 567, 567, 567, 567, 567, 567, 573,
00581 567, 567, 567, 567, 574, 569, 575, 567, 567, 567,
00582 567, 567, 567, 567, 567, 567, 570, 576, 567, 567,
00583 567, 567, 571, 577, 572, 567, 578, 567, 579, 567,
00584 567, 567, 580, 567, 567, 567, 567, 567, 567, 567,
00585 567, 567, 573, 581, 567, 567, 567, 567, 574, 582,
00586 575, 567, 583, 567, 584, 567, 567, 567, 585, 567,
00587
00588 567, 567, 567, 567, 576, 567, 567, 567, 586, 567,
00589 577, 567, 578, 587, 567, 579, 588, 567, 567, 567,
00590 580, 589, 567, 567, 567, 567, 567, 567, 567, 567,
00591 567, 567, 581, 567, 567, 567, 590, 567, 582, 567,
00592 583, 591, 567, 584, 592, 567, 567, 567, 585, 593,
00593 567, 567, 567, 567, 567, 594, 567, 567, 586, 595,
00594 567, 587, 567, 567, 588, 567, 567, 567, 567, 589,
00595 567, 567, 567, 567, 567, 596, 567, 567, 567, 567,
00596 597, 567, 567, 590, 598, 567, 591, 567, 567, 592,
00597 567, 567, 567, 567, 593, 567, 567, 567, 567, 599,
00598
00599 600, 594, 601, 567, 602, 595, 567, 603, 567, 567,
00600 567, 567, 567, 567, 567, 567, 567, 596, 604, 567,
00601 567, 605, 597, 606, 567, 607, 598, 567, 608, 567,
00602 567, 567, 567, 567, 567, 567, 567, 599, 609, 600,
00603 610, 601, 567, 567, 602, 611, 603, 612, 567, 567,
00604 567, 567, 567, 567, 613, 567, 567, 604, 567, 567,
00605 605, 614, 606, 567, 567, 607, 615, 608, 616, 567,
00606 567, 567, 567, 567, 617, 567, 567, 609, 567, 610,
00607 567, 567, 611, 567, 612, 567, 567, 567, 618, 567,
00608 567, 567, 613, 619, 567, 567, 567, 614, 567, 567,
00609
00610 615, 567, 616, 567, 567, 567, 620, 567, 567, 617,
00611 621, 567, 567, 567, 622, 623, 618, 624, 625, 626,
00612 619, 567, 567, 567, 567, 567, 627, 628, 620, 629,
00613 630, 631, 621, 567, 567, 567, 567, 622, 632, 623,
00614 633, 624, 567, 625, 634, 626, 635, 567, 567, 567,
00615 627, 636, 628, 637, 629, 567, 630, 638, 631, 639,
00616 567, 567, 567, 632, 567, 633, 567, 634, 567, 635,
00617 567, 567, 567, 567, 636, 567, 637, 567, 638, 567,
00618 639, 567, 567, 567, 567, 567, 567, 567, 567, 567,
00619 640, 567, 567, 567, 567, 567, 641, 567, 567, 567,
00620
00621 567, 567, 640, 642, 643, 567, 567, 567, 567, 567,
00622 567, 641, 644, 645, 567, 567, 567, 567, 567, 567,
00623 642, 567, 643, 646, 567, 567, 567, 567, 567, 567,
00624 644, 567, 645, 647, 567, 567, 567, 567, 567, 567,
00625 646, 567, 567, 567, 567, 567, 567, 647, 567, 567,
00626 567, 567, 567, 567, 567, 567, 567, 567, 567, 567,
00627 567, 567, 567, 567, 567, 567, 0, 567, 567, 567,
00628 567, 567, 567, 567, 567, 567, 567, 567, 567, 567,
00629 567, 567, 567, 567, 567, 567, 567, 567, 567, 567,
00630 567, 567, 567, 567, 567, 567, 567, 567, 567, 567,
00631
00632 567, 567, 567, 567, 567, 567, 567, 567, 567, 567,
00633 567, 567, 567, 567, 567, 567, 567, 567, 567, 567,
00634 567, 567, 567, 567, 567, 567, 567, 567, 567, 567,
00635 567, 567, 567, 567, 567, 567, 567, 567, 567, 567,
00636 567, 567, 567, 567, 567, 567, 567
00637 } ;
00638
00639 static yyconst flex_int16_t yy_nxt[1006] =
00640 { 0,
00641 4, 5, 6, 4, 4, 7, 8, 4, 4, 4,
00642 4, 4, 4, 4, 4, 4, 4, 9, 10, 11,
00643 12, 13, 4, 14, 15, 16, 4, 17, 18, 19,
00644 20, 21, 22, 4, 23, 4, 4, 24, 4, 4,
00645 25, 25, 25, 25, 26, 27, 25, 25, 551, 56,
00646 551, 73, 85, 85, 106, 106, 28, 29, 30, 57,
00647 31, 74, 32, 33, 34, 510, 35, 36, 37, 38,
00648 39, 59, 544, 40, 86, 511, 41, 116, 116, 60,
00649 87, 88, 107, 89, 544, 61, 123, 123, 108, 109,
00650 171, 110, 85, 85, 172, 125, 140, 140, 145, 145,
00651
00652 106, 106, 197, 147, 116, 116, 198, 158, 123, 123,
00653 251, 164, 567, 567, 252, 567, 167, 167, 169, 169,
00654 173, 173, 140, 140, 566, 184, 145, 145, 168, 190,
00655 170, 567, 567, 565, 567, 193, 193, 195, 195, 199,
00656 199, 567, 567, 507, 567, 209, 209, 194, 508, 196,
00657 567, 567, 564, 567, 167, 167, 563, 214, 169, 169,
00658 562, 217, 173, 173, 561, 222, 223, 224, 567, 567,
00659 225, 567, 237, 237, 567, 567, 560, 567, 193, 193,
00660 559, 242, 195, 195, 519, 245, 199, 199, 551, 250,
00661 256, 256, 209, 209, 520, 260, 567, 567, 558, 567,
00662
00663 567, 567, 551, 567, 567, 567, 557, 567, 276, 276,
00664 281, 281, 237, 237, 549, 285, 567, 567, 544, 567,
00665 567, 567, 556, 567, 567, 567, 544, 567, 300, 300,
00666 301, 301, 256, 256, 555, 303, 305, 305, 567, 567,
00667 542, 567, 308, 308, 316, 317, 276, 276, 554, 319,
00668 322, 322, 281, 281, 551, 324, 326, 326, 567, 567,
00669 553, 567, 329, 329, 336, 337, 300, 300, 552, 339,
00670 301, 301, 551, 341, 567, 567, 550, 567, 305, 305,
00671 549, 346, 308, 308, 532, 348, 355, 355, 567, 567,
00672 547, 567, 322, 322, 544, 362, 567, 567, 546, 567,
00673
00674 326, 326, 545, 367, 329, 329, 544, 369, 375, 375,
00675 567, 567, 543, 567, 567, 567, 542, 567, 567, 567,
00676 522, 567, 567, 567, 540, 567, 389, 389, 355, 355,
00677 539, 394, 567, 567, 538, 567, 567, 567, 537, 567,
00678 567, 567, 536, 567, 407, 407, 375, 375, 535, 411,
00679 415, 415, 416, 416, 389, 389, 532, 418, 419, 419,
00680 420, 420, 567, 567, 530, 567, 427, 427, 428, 428,
00681 407, 407, 529, 430, 431, 431, 432, 432, 567, 567,
00682 528, 567, 415, 415, 527, 439, 416, 416, 526, 441,
00683 567, 567, 525, 567, 419, 419, 522, 445, 420, 420,
00684
00685 518, 447, 427, 427, 515, 452, 428, 428, 509, 454,
00686 567, 567, 506, 567, 431, 431, 498, 458, 432, 432,
00687 492, 460, 567, 567, 489, 567, 567, 567, 482, 567,
00688 567, 567, 480, 567, 567, 567, 478, 567, 567, 567,
00689 476, 567, 567, 567, 488, 567, 567, 567, 486, 567,
00690 567, 567, 471, 567, 487, 487, 490, 490, 491, 491,
00691 487, 487, 497, 497, 516, 490, 490, 491, 491, 517,
00692 504, 505, 505, 497, 497, 469, 513, 514, 514, 567,
00693 567, 493, 567, 467, 465, 494, 499, 485, 505, 505,
00694 500, 524, 495, 496, 484, 483, 482, 501, 502, 567,
00695
00696 567, 480, 567, 514, 514, 456, 534, 567, 567, 478,
00697 567, 567, 567, 476, 567, 124, 124, 146, 146, 157,
00698 157, 163, 163, 165, 165, 183, 183, 189, 189, 191,
00699 191, 205, 205, 211, 211, 213, 213, 216, 216, 221,
00700 221, 233, 233, 239, 239, 241, 241, 244, 244, 249,
00701 249, 259, 259, 262, 262, 265, 265, 270, 270, 284,
00702 284, 287, 287, 290, 290, 295, 295, 302, 302, 306,
00703 306, 318, 318, 323, 323, 327, 327, 338, 338, 340,
00704 340, 342, 342, 345, 345, 347, 347, 358, 358, 361,
00705 361, 363, 363, 366, 366, 368, 368, 378, 378, 380,
00706
00707 380, 383, 383, 385, 385, 393, 393, 398, 398, 401,
00708 401, 403, 403, 410, 410, 417, 417, 421, 421, 429,
00709 429, 433, 433, 438, 438, 440, 440, 442, 442, 444,
00710 444, 446, 446, 451, 451, 453, 453, 455, 455, 457,
00711 457, 459, 459, 464, 464, 466, 466, 468, 468, 470,
00712 470, 475, 475, 477, 477, 479, 479, 481, 481, 503,
00713 503, 512, 512, 521, 521, 523, 523, 531, 531, 533,
00714 533, 541, 541, 548, 548, 474, 473, 472, 471, 469,
00715 443, 467, 465, 463, 462, 461, 434, 456, 450, 449,
00716 448, 422, 443, 437, 436, 435, 434, 404, 402, 426,
00717
00718 399, 425, 424, 423, 422, 386, 384, 414, 381, 379,
00719 413, 412, 409, 408, 406, 405, 404, 402, 400, 364,
00720 399, 397, 359, 396, 395, 392, 391, 390, 388, 387,
00721 386, 384, 382, 343, 381, 379, 377, 376, 374, 373,
00722 372, 371, 370, 328, 365, 364, 360, 359, 357, 356,
00723 354, 353, 352, 351, 350, 349, 307, 344, 343, 335,
00724 334, 296, 333, 332, 331, 291, 330, 288, 328, 325,
00725 321, 320, 315, 314, 313, 271, 312, 311, 310, 266,
00726 309, 263, 307, 304, 299, 298, 297, 296, 294, 293,
00727 292, 291, 289, 288, 240, 286, 283, 282, 234, 280,
00728
00729 279, 278, 277, 275, 274, 273, 272, 271, 269, 268,
00730 267, 266, 264, 263, 212, 261, 258, 257, 206, 255,
00731 254, 253, 248, 247, 246, 243, 192, 240, 238, 236,
00732 235, 234, 232, 231, 230, 229, 228, 227, 226, 220,
00733 219, 218, 215, 166, 212, 210, 208, 207, 206, 204,
00734 203, 202, 201, 200, 192, 188, 187, 186, 185, 182,
00735 181, 180, 179, 178, 177, 176, 175, 174, 166, 162,
00736 161, 160, 159, 156, 155, 154, 153, 152, 151, 150,
00737 149, 148, 144, 143, 142, 141, 139, 138, 137, 136,
00738 135, 134, 133, 132, 131, 130, 129, 128, 127, 126,
00739
00740 122, 121, 120, 119, 118, 117, 115, 114, 113, 112,
00741 111, 105, 104, 103, 102, 101, 100, 99, 98, 97,
00742 96, 95, 94, 93, 92, 91, 90, 84, 83, 82,
00743 81, 80, 79, 78, 77, 76, 75, 72, 71, 70,
00744 69, 68, 67, 66, 65, 64, 63, 62, 58, 55,
00745 54, 53, 52, 51, 50, 49, 48, 47, 46, 45,
00746 44, 43, 42, 567, 3, 567, 567, 567, 567, 567,
00747 567, 567, 567, 567, 567, 567, 567, 567, 567, 567,
00748 567, 567, 567, 567, 567, 567, 567, 567, 567, 567,
00749 567, 567, 567, 567, 567, 567, 567, 567, 567, 567,
00750
00751 567, 567, 567, 567, 567
00752 } ;
00753
00754 static yyconst flex_int16_t yy_chk[1006] =
00755 { 0,
00756 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
00757 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
00758 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
00759 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
00760 5, 5, 6, 6, 7, 7, 25, 25, 566, 23,
00761 565, 40, 52, 52, 70, 70, 7, 7, 7, 23,
00762 7, 40, 7, 7, 7, 496, 7, 7, 7, 7,
00763 7, 26, 564, 7, 53, 496, 7, 77, 77, 26,
00764 53, 53, 71, 53, 563, 26, 84, 84, 71, 71,
00765 128, 71, 85, 85, 128, 85, 100, 100, 105, 105,
00766
00767 106, 106, 150, 106, 116, 116, 150, 116, 123, 123,
00768 200, 123, 124, 124, 200, 124, 126, 126, 127, 127,
00769 129, 129, 140, 140, 562, 140, 145, 145, 126, 145,
00770 127, 146, 146, 561, 146, 148, 148, 149, 149, 151,
00771 151, 157, 157, 494, 157, 161, 161, 148, 494, 149,
00772 163, 163, 560, 163, 167, 167, 559, 167, 169, 169,
00773 558, 169, 173, 173, 557, 173, 174, 174, 183, 183,
00774 174, 183, 187, 187, 189, 189, 556, 189, 193, 193,
00775 555, 193, 195, 195, 502, 195, 199, 199, 554, 199,
00776 204, 204, 209, 209, 502, 209, 213, 213, 553, 213,
00777
00778 216, 216, 552, 216, 221, 221, 550, 221, 227, 227,
00779 232, 232, 237, 237, 548, 237, 241, 241, 547, 241,
00780 244, 244, 546, 244, 249, 249, 545, 249, 254, 254,
00781 255, 255, 256, 256, 543, 256, 258, 258, 259, 259,
00782 541, 259, 261, 261, 275, 275, 276, 276, 540, 276,
00783 280, 280, 281, 281, 539, 281, 283, 283, 284, 284,
00784 538, 284, 286, 286, 299, 299, 300, 300, 537, 300,
00785 301, 301, 536, 301, 302, 302, 535, 302, 305, 305,
00786 534, 305, 308, 308, 531, 308, 315, 315, 318, 318,
00787 530, 318, 322, 322, 529, 322, 323, 323, 528, 323,
00788
00789 326, 326, 527, 326, 329, 329, 526, 329, 335, 335,
00790 338, 338, 525, 338, 340, 340, 524, 340, 345, 345,
00791 521, 345, 347, 347, 520, 347, 351, 351, 355, 355,
00792 519, 355, 361, 361, 518, 361, 366, 366, 517, 366,
00793 368, 368, 516, 368, 372, 372, 375, 375, 515, 375,
00794 387, 387, 388, 388, 389, 389, 513, 389, 390, 390,
00795 391, 391, 393, 393, 511, 393, 405, 405, 406, 406,
00796 407, 407, 510, 407, 408, 408, 409, 409, 410, 410,
00797 509, 410, 415, 415, 508, 415, 416, 416, 507, 416,
00798 417, 417, 506, 417, 419, 419, 504, 419, 420, 420,
00799
00800 501, 420, 427, 427, 499, 427, 428, 428, 495, 428,
00801 429, 429, 493, 429, 431, 431, 489, 431, 432, 432,
00802 486, 432, 438, 438, 483, 438, 440, 440, 481, 440,
00803 444, 444, 479, 444, 446, 446, 477, 446, 451, 451,
00804 475, 451, 453, 453, 474, 453, 457, 457, 472, 457,
00805 459, 459, 470, 459, 473, 473, 484, 484, 485, 485,
00806 487, 487, 488, 488, 500, 490, 490, 491, 491, 500,
00807 491, 492, 492, 497, 497, 468, 497, 498, 498, 503,
00808 503, 487, 503, 466, 464, 487, 490, 463, 505, 505,
00809 490, 505, 487, 487, 462, 461, 460, 490, 490, 512,
00810
00811 512, 458, 512, 514, 514, 455, 514, 523, 523, 454,
00812 523, 533, 533, 452, 533, 568, 568, 569, 569, 570,
00813 570, 571, 571, 572, 572, 573, 573, 574, 574, 575,
00814 575, 576, 576, 577, 577, 578, 578, 579, 579, 580,
00815 580, 581, 581, 582, 582, 583, 583, 584, 584, 585,
00816 585, 586, 586, 587, 587, 588, 588, 589, 589, 590,
00817 590, 591, 591, 592, 592, 593, 593, 594, 594, 595,
00818 595, 596, 596, 597, 597, 598, 598, 599, 599, 600,
00819 600, 601, 601, 602, 602, 603, 603, 604, 604, 605,
00820 605, 606, 606, 607, 607, 608, 608, 609, 609, 610,
00821
00822 610, 611, 611, 612, 612, 613, 613, 614, 614, 615,
00823 615, 616, 616, 617, 617, 618, 618, 619, 619, 620,
00824 620, 621, 621, 622, 622, 623, 623, 624, 624, 625,
00825 625, 626, 626, 627, 627, 628, 628, 629, 629, 630,
00826 630, 631, 631, 632, 632, 633, 633, 634, 634, 635,
00827 635, 636, 636, 637, 637, 638, 638, 639, 639, 640,
00828 640, 641, 641, 642, 642, 643, 643, 644, 644, 645,
00829 645, 646, 646, 647, 647, 450, 449, 448, 447, 445,
00830 442, 441, 439, 437, 436, 435, 433, 430, 426, 424,
00831 423, 421, 418, 414, 413, 412, 411, 403, 401, 400,
00832
00833 398, 397, 396, 395, 394, 385, 383, 382, 380, 378,
00834 377, 376, 374, 373, 371, 370, 369, 367, 365, 363,
00835 362, 360, 358, 357, 356, 354, 353, 352, 350, 349,
00836 348, 346, 344, 342, 341, 339, 337, 336, 334, 333,
00837 332, 331, 330, 327, 325, 324, 320, 319, 317, 316,
00838 314, 313, 312, 311, 310, 309, 306, 304, 303, 298,
00839 297, 295, 294, 293, 292, 290, 289, 287, 285, 282,
00840 279, 278, 274, 273, 272, 270, 269, 268, 267, 265,
00841 264, 262, 260, 257, 253, 252, 251, 250, 248, 247,
00842 246, 245, 243, 242, 239, 238, 236, 235, 233, 231,
00843
00844 230, 229, 228, 226, 225, 224, 223, 222, 220, 219,
00845 218, 217, 215, 214, 211, 210, 208, 207, 205, 203,
00846 202, 201, 198, 197, 196, 194, 191, 190, 188, 186,
00847 185, 184, 182, 181, 180, 179, 177, 176, 175, 172,
00848 171, 170, 168, 165, 164, 162, 160, 159, 158, 156,
00849 155, 154, 153, 152, 147, 144, 143, 142, 141, 139,
00850 138, 137, 136, 135, 134, 133, 132, 130, 125, 122,
00851 121, 120, 118, 115, 114, 113, 112, 111, 110, 109,
00852 108, 107, 104, 103, 102, 101, 99, 98, 97, 96,
00853 95, 94, 93, 92, 91, 90, 89, 88, 87, 86,
00854
00855 83, 82, 81, 80, 79, 78, 76, 75, 74, 73,
00856 72, 69, 68, 67, 66, 65, 64, 63, 62, 61,
00857 60, 59, 58, 57, 56, 55, 54, 51, 50, 49,
00858 48, 47, 46, 45, 44, 43, 42, 39, 38, 37,
00859 36, 35, 34, 33, 31, 30, 29, 28, 24, 22,
00860 21, 20, 19, 18, 17, 16, 15, 14, 13, 12,
00861 11, 10, 9, 3, 567, 567, 567, 567, 567, 567,
00862 567, 567, 567, 567, 567, 567, 567, 567, 567, 567,
00863 567, 567, 567, 567, 567, 567, 567, 567, 567, 567,
00864 567, 567, 567, 567, 567, 567, 567, 567, 567, 567,
00865
00866 567, 567, 567, 567, 567
00867 } ;
00868
00869
00870 static yyconst flex_int32_t yy_rule_can_match_eol[61] =
00871 { 0,
00872 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1,
00873 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
00874 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0,
00875 0, };
00876
00877
00878
00879
00880 #define REJECT reject_used_but_not_detected
00881 #define yymore() yymore_used_but_not_detected
00882 #define YY_MORE_ADJ 0
00883 #define YY_RESTORE_YY_MORE_OFFSET
00884 #line 1 "../../../../OS/src/OSParsers/OSParseosss.l"
00885
00898 #line 16 "../../../../OS/src/OSParsers/OSParseosss.l"
00899
00900
00901 #include <iostream>
00902 #include "OSConfig.h"
00903
00904
00905 #ifdef HAVE_CSTRING
00906 # include <cstring>
00907 #else
00908 # ifdef HAVE_STRING_H
00909 # include <string.h>
00910 # else
00911 # error "don't have header file for string"
00912 # endif
00913 #endif
00914
00915 #ifdef HAVE_CSTDIO
00916 # include <cstdio>
00917 #else
00918 # ifdef HAVE_STDIO_H
00919 # include <stdio.h>
00920 # else
00921 # error "don't have header file for stdio"
00922 # endif
00923 #endif
00924 #include "OSErrorClass.h"
00925 #include <sstream>
00926 #include "OSCommandLine.h"
00927
00928
00929 using std::cout;
00930 using std::endl;
00931 using std::ostringstream;
00932
00933
00934 #ifdef PARSERDEBUG
00935 #define YY_PRINT printf("Found option: %s\n", yytext);
00936 #else
00937 #define YY_PRINT ;
00938 #endif
00939
00940
00941 #ifdef WIN_
00942 #define YY_NO_UNISTD_H
00943 #include <io.h>
00944 #include <process.h>
00945 #ifdef USE_OLD_UNISTD
00946 #include<sys/unistd.h>
00947 #endif
00948 #endif
00949
00950
00951 #define YY_EXTRA_TYPE class OSCommandLine*
00952
00953 void setyyextra( OSCommandLine* oscommandline, void* scanner);
00954
00986 #line 987 "../../../../OS/src/OSParsers/OSParseosss.cpp"
00987
00988 #define INITIAL 0
00989
00990 #ifndef YY_NO_UNISTD_H
00991
00992
00993
00994
00995 #include <unistd.h>
00996 #endif
00997
00998 #ifndef YY_EXTRA_TYPE
00999 #define YY_EXTRA_TYPE void *
01000 #endif
01001
01002
01003 struct yyguts_t
01004 {
01005
01006
01007 YY_EXTRA_TYPE yyextra_r;
01008
01009
01010 FILE *yyin_r, *yyout_r;
01011 size_t yy_buffer_stack_top;
01012 size_t yy_buffer_stack_max;
01013 YY_BUFFER_STATE * yy_buffer_stack;
01014 char yy_hold_char;
01015 int yy_n_chars;
01016 int yyleng_r;
01017 char *yy_c_buf_p;
01018 int yy_init;
01019 int yy_start;
01020 int yy_did_buffer_switch_on_eof;
01021 int yy_start_stack_ptr;
01022 int yy_start_stack_depth;
01023 int *yy_start_stack;
01024 yy_state_type yy_last_accepting_state;
01025 char* yy_last_accepting_cpos;
01026
01027 int yylineno_r;
01028 int yy_flex_debug_r;
01029
01030 char *yytext_r;
01031 int yy_more_flag;
01032 int yy_more_len;
01033
01034 };
01035
01036 static int yy_init_globals (yyscan_t yyscanner );
01037
01038 int ossslex_init (yyscan_t* scanner);
01039
01040 int ossslex_init_extra (YY_EXTRA_TYPE user_defined,yyscan_t* scanner);
01041
01042
01043
01044
01045 int ossslex_destroy (yyscan_t yyscanner );
01046
01047 int osssget_debug (yyscan_t yyscanner );
01048
01049 void osssset_debug (int debug_flag ,yyscan_t yyscanner );
01050
01051 YY_EXTRA_TYPE osssget_extra (yyscan_t yyscanner );
01052
01053 void osssset_extra (YY_EXTRA_TYPE user_defined ,yyscan_t yyscanner );
01054
01055 FILE *osssget_in (yyscan_t yyscanner );
01056
01057 void osssset_in (FILE * in_str ,yyscan_t yyscanner );
01058
01059 FILE *osssget_out (yyscan_t yyscanner );
01060
01061 void osssset_out (FILE * out_str ,yyscan_t yyscanner );
01062
01063 int osssget_leng (yyscan_t yyscanner );
01064
01065 char *osssget_text (yyscan_t yyscanner );
01066
01067 int osssget_lineno (yyscan_t yyscanner );
01068
01069 void osssset_lineno (int line_number ,yyscan_t yyscanner );
01070
01071
01072
01073
01074
01075 #ifndef YY_SKIP_YYWRAP
01076 #ifdef __cplusplus
01077 extern "C" int ossswrap (yyscan_t yyscanner );
01078 #else
01079 extern int ossswrap (yyscan_t yyscanner );
01080 #endif
01081 #endif
01082
01083 #ifndef yytext_ptr
01084 static void yy_flex_strncpy (char *,yyconst char *,int ,yyscan_t yyscanner);
01085 #endif
01086
01087 #ifdef YY_NEED_STRLEN
01088 static int yy_flex_strlen (yyconst char * ,yyscan_t yyscanner);
01089 #endif
01090
01091 #ifndef YY_NO_INPUT
01092
01093 #ifdef __cplusplus
01094 static int yyinput (yyscan_t yyscanner );
01095 #else
01096 static int input (yyscan_t yyscanner );
01097 #endif
01098
01099 #endif
01100
01101
01102 #ifndef YY_READ_BUF_SIZE
01103 #ifdef __ia64__
01104
01105 #define YY_READ_BUF_SIZE 16384
01106 #else
01107 #define YY_READ_BUF_SIZE 8192
01108 #endif
01109 #endif
01110
01111
01112 #ifndef ECHO
01113
01114
01115
01116 #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
01117 #endif
01118
01119
01120
01121
01122 #ifndef YY_INPUT
01123 #define YY_INPUT(buf,result,max_size) \
01124 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
01125 { \
01126 int c = '*'; \
01127 size_t n; \
01128 for ( n = 0; n < max_size && \
01129 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
01130 buf[n] = (char) c; \
01131 if ( c == '\n' ) \
01132 buf[n++] = (char) c; \
01133 if ( c == EOF && ferror( yyin ) ) \
01134 YY_FATAL_ERROR( "input in flex scanner failed" ); \
01135 result = n; \
01136 } \
01137 else \
01138 { \
01139 errno=0; \
01140 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
01141 { \
01142 if( errno != EINTR) \
01143 { \
01144 YY_FATAL_ERROR( "input in flex scanner failed" ); \
01145 break; \
01146 } \
01147 errno=0; \
01148 clearerr(yyin); \
01149 } \
01150 }\
01151 \
01152
01153 #endif
01154
01155
01156
01157
01158
01159 #ifndef yyterminate
01160 #define yyterminate() return YY_NULL
01161 #endif
01162
01163
01164 #ifndef YY_START_STACK_INCR
01165 #define YY_START_STACK_INCR 25
01166 #endif
01167
01168
01169 #ifndef YY_FATAL_ERROR
01170 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg , yyscanner)
01171 #endif
01172
01173
01174
01175
01176
01177
01178 #ifndef YY_DECL
01179 #define YY_DECL_IS_OURS 1
01180
01181 extern int ossslex (yyscan_t yyscanner);
01182
01183 #define YY_DECL int ossslex (yyscan_t yyscanner)
01184 #endif
01185
01186
01187
01188
01189 #ifndef YY_USER_ACTION
01190 #define YY_USER_ACTION
01191 #endif
01192
01193
01194 #ifndef YY_BREAK
01195 #define YY_BREAK break;
01196 #endif
01197
01198 #define YY_RULE_SETUP \
01199 YY_USER_ACTION
01200
01203 YY_DECL
01204 {
01205 register yy_state_type yy_current_state;
01206 register char *yy_cp, *yy_bp;
01207 register int yy_act;
01208 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
01209
01210 #line 116 "../../../../OS/src/OSParsers/OSParseosss.l"
01211
01212
01213 #line 1214 "../../../../OS/src/OSParsers/OSParseosss.cpp"
01214
01215 if ( !yyg->yy_init )
01216 {
01217 yyg->yy_init = 1;
01218
01219 #ifdef YY_USER_INIT
01220 YY_USER_INIT;
01221 #endif
01222
01223 if ( ! yyg->yy_start )
01224 yyg->yy_start = 1;
01225
01226 if ( ! yyin )
01227 yyin = stdin;
01228
01229 if ( ! yyout )
01230 yyout = stdout;
01231
01232 if ( ! YY_CURRENT_BUFFER ) {
01233 osssensure_buffer_stack (yyscanner);
01234 YY_CURRENT_BUFFER_LVALUE =
01235 osss_create_buffer(yyin,YY_BUF_SIZE ,yyscanner);
01236 }
01237
01238 osss_load_buffer_state(yyscanner );
01239 }
01240
01241 while ( 1 )
01242 {
01243 yy_cp = yyg->yy_c_buf_p;
01244
01245
01246 *yy_cp = yyg->yy_hold_char;
01247
01248
01249
01250
01251 yy_bp = yy_cp;
01252
01253 yy_current_state = yyg->yy_start;
01254 yy_match:
01255 do
01256 {
01257 register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)];
01258 if ( yy_accept[yy_current_state] )
01259 {
01260 yyg->yy_last_accepting_state = yy_current_state;
01261 yyg->yy_last_accepting_cpos = yy_cp;
01262 }
01263 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
01264 {
01265 yy_current_state = (int) yy_def[yy_current_state];
01266 if ( yy_current_state >= 568 )
01267 yy_c = yy_meta[(unsigned int) yy_c];
01268 }
01269 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
01270 ++yy_cp;
01271 }
01272 while ( yy_base[yy_current_state] != 965 );
01273
01274 yy_find_action:
01275 yy_act = yy_accept[yy_current_state];
01276 if ( yy_act == 0 )
01277 {
01278 yy_cp = yyg->yy_last_accepting_cpos;
01279 yy_current_state = yyg->yy_last_accepting_state;
01280 yy_act = yy_accept[yy_current_state];
01281 }
01282
01283 YY_DO_BEFORE_ACTION;
01284
01285 if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] )
01286 {
01287 int yyl;
01288 for ( yyl = 0; yyl < yyleng; ++yyl )
01289 if ( yytext[yyl] == '\n' )
01290
01291 do{ yylineno++;
01292 yycolumn=0;
01293 }while(0)
01294 ;
01295 }
01296
01297 do_action:
01298
01299 switch ( yy_act )
01300 {
01301 case 0:
01302
01303 *yy_cp = yyg->yy_hold_char;
01304 yy_cp = yyg->yy_last_accepting_cpos;
01305 yy_current_state = yyg->yy_last_accepting_state;
01306 goto yy_find_action;
01307
01308 case 1:
01309
01310 YY_RULE_SETUP
01311 #line 118 "../../../../OS/src/OSParsers/OSParseosss.l"
01312
01313 YY_BREAK
01314 case 2:
01315
01316 YY_RULE_SETUP
01317 #line 122 "../../../../OS/src/OSParsers/OSParseosss.l"
01318 {
01319 YY_PRINT
01320
01321 char *ch = yytext;
01322
01323 ch+=7;
01324 for(; isspace(*ch); ch++);
01325 std::string str( ch);
01326 if (str[0] == '\"')
01327 yyextra->configFile = str.substr(1,str.length()-2);
01328 else
01329 yyextra->configFile = str;
01330 }
01331 YY_BREAK
01332 case 3:
01333
01334 YY_RULE_SETUP
01335 #line 136 "../../../../OS/src/OSParsers/OSParseosss.l"
01336 {
01337 YY_PRINT
01338
01339 char *ch = yytext;
01340
01341 ch+=6;
01342 for(; isspace(*ch); ch++);
01343 std::string str( ch);
01344 if (str[0] == '\"')
01345 yyextra->configFile = str.substr(1,str.length()-2);
01346 else
01347 yyextra->configFile = str;
01348 }
01349 YY_BREAK
01350 case 4:
01351 YY_RULE_SETUP
01352 #line 150 "../../../../OS/src/OSParsers/OSParseosss.l"
01353 {
01354 YY_PRINT
01355 yyextra->invokeHelp = true;
01356 }
01357 YY_BREAK
01358 case 5:
01359 YY_RULE_SETUP
01360 #line 155 "../../../../OS/src/OSParsers/OSParseosss.l"
01361 {
01362 YY_PRINT
01363 yyextra->invokeHelp = true;
01364 }
01365 YY_BREAK
01366 case 6:
01367 YY_RULE_SETUP
01368 #line 160 "../../../../OS/src/OSParsers/OSParseosss.l"
01369 {
01370 YY_PRINT
01371 yyextra->invokeHelp = true;
01372 }
01373 YY_BREAK
01374 case 7:
01375 YY_RULE_SETUP
01376 #line 165 "../../../../OS/src/OSParsers/OSParseosss.l"
01377 {
01378 YY_PRINT
01379 yyextra->invokeHelp = true;
01380 }
01381 YY_BREAK
01382 case 8:
01383 YY_RULE_SETUP
01384 #line 170 "../../../../OS/src/OSParsers/OSParseosss.l"
01385 {
01386 YY_PRINT
01387 yyextra->invokeHelp = true;
01388 }
01389 YY_BREAK
01390 case 9:
01391 YY_RULE_SETUP
01392 #line 176 "../../../../OS/src/OSParsers/OSParseosss.l"
01393 {
01394 YY_PRINT
01395 yyextra->printModel = true;
01396 }
01397 YY_BREAK
01398 case 10:
01399 YY_RULE_SETUP
01400 #line 182 "../../../../OS/src/OSParsers/OSParseosss.l"
01401 {
01402 YY_PRINT
01403 yyextra->printModel = true;
01404 }
01405 YY_BREAK
01406 case 11:
01407
01408 YY_RULE_SETUP
01409 #line 187 "../../../../OS/src/OSParsers/OSParseosss.l"
01410 {
01411
01412 YY_PRINT
01413
01414 yyextra->printRowNumberAsString = yytext;
01415
01416 char *ch = yytext;
01417
01418 ch+=9;
01419 for(; isspace(*ch); ch++);
01420 std::string str( ch);
01421 yyextra->printRowNumberAsString = str;
01422
01423 }
01424 YY_BREAK
01425 case 12:
01426
01427 YY_RULE_SETUP
01428 #line 202 "../../../../OS/src/OSParsers/OSParseosss.l"
01429 {
01430
01431 YY_PRINT
01432
01433 yyextra->printRowNumberAsString = yytext;
01434
01435 char *ch = yytext;
01436
01437 ch+=8;
01438 for(; isspace(*ch); ch++);
01439 std::string str( ch);
01440 yyextra->printRowNumberAsString = str;
01441
01442 }
01443 YY_BREAK
01444 case 13:
01445
01446 YY_RULE_SETUP
01447 #line 217 "../../../../OS/src/OSParsers/OSParseosss.l"
01448 {
01449
01450 YY_PRINT
01451
01452 yyextra->printRowNumberAsString = yytext;
01453
01454 char *ch = yytext;
01455
01456 ch+=8;
01457 for(; isspace(*ch); ch++);
01458 std::string str( ch);
01459 yyextra->printRowNumberAsString = str;
01460
01461 }
01462 YY_BREAK
01463 case 14:
01464 YY_RULE_SETUP
01465 #line 233 "../../../../OS/src/OSParsers/OSParseosss.l"
01466 {
01467 YY_PRINT
01468 yyextra->writeVersion = true;
01469 }
01470 YY_BREAK
01471 case 15:
01472 YY_RULE_SETUP
01473 #line 238 "../../../../OS/src/OSParsers/OSParseosss.l"
01474 {
01475 YY_PRINT
01476 yyextra->writeVersion = true;
01477 }
01478 YY_BREAK
01479 case 16:
01480 YY_RULE_SETUP
01481 #line 243 "../../../../OS/src/OSParsers/OSParseosss.l"
01482 {
01483 YY_PRINT
01484 yyextra->writeVersion = true;
01485 }
01486 YY_BREAK
01487 case 17:
01488 YY_RULE_SETUP
01489 #line 249 "../../../../OS/src/OSParsers/OSParseosss.l"
01490 {
01491 YY_PRINT
01492 yyextra->quit = true;
01493 }
01494 YY_BREAK
01495 case 18:
01496 YY_RULE_SETUP
01497 #line 254 "../../../../OS/src/OSParsers/OSParseosss.l"
01498 {
01499 YY_PRINT
01500 yyextra->quit = true;
01501 }
01502 YY_BREAK
01503 case 19:
01504
01505 YY_RULE_SETUP
01506 #line 260 "../../../../OS/src/OSParsers/OSParseosss.l"
01507 {
01508
01509 YY_PRINT
01510
01511 char *ch = yytext;
01512
01513 ch+=5;
01514 for(; isspace(*ch); ch++);
01515 std::string str( ch);
01516 if (str[0] == '\"')
01517 yyextra->osilFile = str.substr(1,str.length()-2);
01518 else
01519 yyextra->osilFile = str;
01520
01521 }
01522 YY_BREAK
01523 case 20:
01524
01525 YY_RULE_SETUP
01526 #line 276 "../../../../OS/src/OSParsers/OSParseosss.l"
01527 {
01528
01529 YY_PRINT
01530
01531 char *ch = yytext;
01532
01533 ch+=4;
01534 for(; isspace(*ch); ch++);
01535 std::string str( ch);
01536 if (str[0] == '\"')
01537 yyextra->osilFile = str.substr(1,str.length()-2);
01538 else
01539 yyextra->osilFile = str;
01540
01541 }
01542 YY_BREAK
01543 case 21:
01544
01545 YY_RULE_SETUP
01546 #line 292 "../../../../OS/src/OSParsers/OSParseosss.l"
01547 {
01548 YY_PRINT
01549
01550 char *ch = yytext;
01551
01552 ch+=11;
01553 for(; isspace(*ch); ch++);
01554 std::string str( ch);
01555 yyextra->osilOutputFile = str;
01556 }
01557 YY_BREAK
01558 case 22:
01559
01560 YY_RULE_SETUP
01561 #line 303 "../../../../OS/src/OSParsers/OSParseosss.l"
01562 {
01563 YY_PRINT
01564
01565 char *ch = yytext;
01566
01567 ch+=10;
01568 for(; isspace(*ch); ch++);
01569 std::string str( ch);
01570 yyextra->osilOutputFile = str;
01571 }
01572 YY_BREAK
01573 case 23:
01574
01575 YY_RULE_SETUP
01576 #line 314 "../../../../OS/src/OSParsers/OSParseosss.l"
01577 {
01578 YY_PRINT
01579
01580 char *ch = yytext;
01581
01582 ch+=10;
01583 for(; isspace(*ch); ch++);
01584 std::string str( ch);
01585 yyextra->osilOutputFile = str;
01586 }
01587 YY_BREAK
01588 case 24:
01589
01590 YY_RULE_SETUP
01591 #line 325 "../../../../OS/src/OSParsers/OSParseosss.l"
01592 {
01593
01594 YY_PRINT
01595
01596 char *ch = yytext;
01597
01598 ch+=5;
01599 for(; isspace(*ch); ch++);
01600 std::string str( ch);
01601 if (str[0] == '\"')
01602 yyextra->osolFile = str.substr(1,str.length()-2);
01603 else
01604 yyextra->osolFile = str;
01605
01606 }
01607 YY_BREAK
01608 case 25:
01609
01610 YY_RULE_SETUP
01611 #line 341 "../../../../OS/src/OSParsers/OSParseosss.l"
01612 {
01613
01614 YY_PRINT
01615
01616 char *ch = yytext;
01617
01618 ch+=4;
01619 for(; isspace(*ch); ch++);
01620 std::string str( ch);
01621 if (str[0] == '\"')
01622 yyextra->osolFile = str.substr(1,str.length()-2);
01623 else
01624 yyextra->osolFile = str;
01625
01626 }
01627 YY_BREAK
01628 case 26:
01629
01630 YY_RULE_SETUP
01631 #line 357 "../../../../OS/src/OSParsers/OSParseosss.l"
01632 {
01633 YY_PRINT
01634
01635 char *ch = yytext;
01636
01637 ch+=11;
01638 for(; isspace(*ch); ch++);
01639 std::string str( ch);
01640 if (str[0] == '\"')
01641 yyextra->osolOutputFile = str.substr(1,str.length()-2);
01642 else
01643 yyextra->osolOutputFile = str;
01644 }
01645 YY_BREAK
01646 case 27:
01647
01648 YY_RULE_SETUP
01649 #line 371 "../../../../OS/src/OSParsers/OSParseosss.l"
01650 {
01651 YY_PRINT
01652
01653 char *ch = yytext;
01654
01655 ch+=10;
01656 for(; isspace(*ch); ch++);
01657 std::string str( ch);
01658 if (str[0] == '\"')
01659 yyextra->osolOutputFile = str.substr(1,str.length()-2);
01660 else
01661 yyextra->osolOutputFile = str;
01662 }
01663 YY_BREAK
01664 case 28:
01665
01666 YY_RULE_SETUP
01667 #line 385 "../../../../OS/src/OSParsers/OSParseosss.l"
01668 {
01669 YY_PRINT
01670
01671 char *ch = yytext;
01672
01673 ch+=10;
01674 for(; isspace(*ch); ch++);
01675 std::string str( ch);
01676 yyextra->osolOutputFile = str;
01677 }
01678 YY_BREAK
01679 case 29:
01680
01681 YY_RULE_SETUP
01682 #line 396 "../../../../OS/src/OSParsers/OSParseosss.l"
01683 {
01684
01685 YY_PRINT
01686
01687 char *ch = yytext;
01688
01689 ch+=10;
01690 for(; isspace(*ch); ch++);
01691 std::string str( ch);
01692 if (str[0] == '\"')
01693 yyextra->osplInputFile = str.substr(1,str.length()-2);
01694 else
01695 yyextra->osplInputFile = str;
01696
01697 }
01698 YY_BREAK
01699 case 30:
01700
01701 YY_RULE_SETUP
01702 #line 412 "../../../../OS/src/OSParsers/OSParseosss.l"
01703 {
01704 YY_PRINT
01705
01706 char *ch = yytext;
01707
01708 ch+=9;
01709 for(; isspace(*ch); ch++);
01710 std::string str( ch);
01711 if (str[0] == '\"')
01712 yyextra->osplInputFile = str.substr(1,str.length()-2);
01713 else
01714 yyextra->osplInputFile = str;
01715 }
01716 YY_BREAK
01717 case 31:
01718
01719 YY_RULE_SETUP
01720 #line 426 "../../../../OS/src/OSParsers/OSParseosss.l"
01721 {
01722 YY_PRINT
01723
01724 char *ch = yytext;
01725
01726 ch+=11;
01727 for(; isspace(*ch); ch++);
01728 std::string str( ch);
01729 if (str[0] == '\"')
01730 yyextra->osplOutputFile = str.substr(1,str.length()-2);
01731 else
01732 yyextra->osplOutputFile = str;
01733 }
01734 YY_BREAK
01735 case 32:
01736
01737 YY_RULE_SETUP
01738 #line 440 "../../../../OS/src/OSParsers/OSParseosss.l"
01739 {
01740 YY_PRINT
01741
01742 char *ch = yytext;
01743
01744 ch+=10;
01745 for(; isspace(*ch); ch++);
01746 std::string str( ch);
01747 if (str[0] == '\"')
01748 yyextra->osplOutputFile = str.substr(1,str.length()-2);
01749 else
01750 yyextra->osplOutputFile = str;
01751 }
01752 YY_BREAK
01753 case 33:
01754
01755 YY_RULE_SETUP
01756 #line 454 "../../../../OS/src/OSParsers/OSParseosss.l"
01757 {
01758
01759 YY_PRINT
01760
01761 char *ch = yytext;
01762
01763 ch+=5;
01764 for(; isspace(*ch); ch++);
01765 std::string str( ch);
01766 if (str[0] == '\"')
01767 yyextra->osrlFile = str.substr(1,str.length()-2);
01768 else
01769 yyextra->osrlFile = str;
01770
01771 }
01772 YY_BREAK
01773 case 34:
01774
01775 YY_RULE_SETUP
01776 #line 470 "../../../../OS/src/OSParsers/OSParseosss.l"
01777 {
01778
01779 YY_PRINT
01780
01781 char *ch = yytext;
01782
01783 ch+=4;
01784 for(; isspace(*ch); ch++);
01785 std::string str( ch);
01786 if (str[0] == '\"')
01787 yyextra->osrlFile = str.substr(1,str.length()-2);
01788 else
01789 yyextra->osrlFile = str;
01790
01791 }
01792 YY_BREAK
01793 case 35:
01794
01795 YY_RULE_SETUP
01796 #line 486 "../../../../OS/src/OSParsers/OSParseosss.l"
01797 {
01798 YY_PRINT
01799
01800 char *ch = yytext;
01801
01802 ch+=8;
01803 for(; isspace(*ch); ch++);
01804 std::string str( ch);
01805 if (str[0] == '\"')
01806 yyextra->insListFile = str.substr(1,str.length()-2);
01807 else
01808 yyextra->insListFile = str;
01809 }
01810 YY_BREAK
01811 case 36:
01812
01813 YY_RULE_SETUP
01814 #line 500 "../../../../OS/src/OSParsers/OSParseosss.l"
01815 {
01816 YY_PRINT
01817
01818 char *ch = yytext;
01819
01820 ch+=7;
01821 for(; isspace(*ch); ch++);
01822 std::string str( ch);
01823 yyextra->insListFile = str;
01824 if (str[0] == '\"')
01825 yyextra->insListFile = str.substr(1,str.length()-2);
01826 else
01827 yyextra->insListFile = str;
01828 }
01829 YY_BREAK
01830 case 37:
01831
01832 YY_RULE_SETUP
01833 #line 515 "../../../../OS/src/OSParsers/OSParseosss.l"
01834 {
01835 YY_PRINT
01836
01837 char *ch = yytext;
01838
01839 ch+=4;
01840 for(; isspace(*ch); ch++);
01841 std::string str( ch);
01842 if (str[0] == '\"')
01843 yyextra->mpsFile = str.substr(1,str.length()-2);
01844 else
01845 yyextra->mpsFile = str;
01846 }
01847 YY_BREAK
01848 case 38:
01849
01850 YY_RULE_SETUP
01851 #line 529 "../../../../OS/src/OSParsers/OSParseosss.l"
01852 {
01853 YY_PRINT
01854
01855 char *ch = yytext;
01856
01857 ch+=3;
01858 for(; isspace(*ch); ch++);
01859 std::string str( ch);
01860 if (str[0] == '\"')
01861 yyextra->mpsFile = str.substr(1,str.length()-2);
01862 else
01863 yyextra->mpsFile = str;
01864 }
01865 YY_BREAK
01866 case 39:
01867
01868 YY_RULE_SETUP
01869 #line 543 "../../../../OS/src/OSParsers/OSParseosss.l"
01870 {
01871 YY_PRINT
01872
01873 char *ch = yytext;
01874
01875 ch+=3;
01876 for(; isspace(*ch); ch++);
01877 std::string str( ch);
01878 if (str[0] == '\"')
01879 yyextra->nlFile = str.substr(1,str.length()-2);
01880 else
01881 yyextra->nlFile = str;
01882 }
01883 YY_BREAK
01884 case 40:
01885
01886 YY_RULE_SETUP
01887 #line 557 "../../../../OS/src/OSParsers/OSParseosss.l"
01888 {
01889 YY_PRINT
01890
01891 char *ch = yytext;
01892
01893 ch+=2;
01894 for(; isspace(*ch); ch++);
01895 std::string str( ch);
01896 if (str[0] == '\"')
01897 yyextra->nlFile = str.substr(1,str.length()-2);
01898 else
01899 yyextra->nlFile = str;
01900 }
01901 YY_BREAK
01902 case 41:
01903
01904 YY_RULE_SETUP
01905 #line 571 "../../../../OS/src/OSParsers/OSParseosss.l"
01906 {
01907 YY_PRINT
01908
01909 char *ch = yytext;
01910
01911 ch+=4;
01912 for(; isspace(*ch); ch++);
01913 std::string str( ch);
01914 if (str[0] == '\"')
01915 yyextra->gamsControlFile = str.substr(1,str.length()-2);
01916 else
01917 yyextra->gamsControlFile = str;
01918 }
01919 YY_BREAK
01920 case 42:
01921
01922 YY_RULE_SETUP
01923 #line 585 "../../../../OS/src/OSParsers/OSParseosss.l"
01924 {
01925 YY_PRINT
01926
01927 char *ch = yytext;
01928
01929 ch+=3;
01930 for(; isspace(*ch); ch++);
01931 std::string str( ch);
01932 if (str[0] == '\"')
01933 yyextra->gamsControlFile = str.substr(1,str.length()-2);
01934 else
01935 yyextra->gamsControlFile = str;
01936 }
01937 YY_BREAK
01938 case 43:
01939
01940 YY_RULE_SETUP
01941 #line 599 "../../../../OS/src/OSParsers/OSParseosss.l"
01942 {
01943 YY_PRINT
01944
01945 char *ch = yytext;
01946
01947 ch+=14;
01948 for(; isspace(*ch); ch++);
01949 std::string str( ch);
01950 if (str[0] == '\"')
01951 yyextra->serviceMethod = str.substr(1,str.length()-2);
01952 else
01953 yyextra->serviceMethod = str;
01954 }
01955 YY_BREAK
01956 case 44:
01957
01958 YY_RULE_SETUP
01959 #line 613 "../../../../OS/src/OSParsers/OSParseosss.l"
01960 {
01961 YY_PRINT
01962
01963 char *ch = yytext;
01964
01965 ch+=13;
01966 for(; isspace(*ch); ch++);
01967 std::string str( ch);
01968 yyextra->serviceMethod = str;
01969 if (str[0] == '\"')
01970 yyextra->serviceMethod = str.substr(1,str.length()-2);
01971 else
01972 yyextra->serviceMethod = str;
01973 }
01974 YY_BREAK
01975 case 45:
01976
01977 YY_RULE_SETUP
01978 #line 628 "../../../../OS/src/OSParsers/OSParseosss.l"
01979 {
01980 YY_PRINT
01981
01982 yyextra->serviceLocation = yytext;
01983
01984 char *ch = yytext;
01985
01986 ch+=16;
01987 for(; isspace(*ch); ch++);
01988 std::string str( ch);
01989 if (str[0] == '\"')
01990 yyextra->serviceLocation = str.substr(1,str.length()-2);
01991 else
01992 yyextra->serviceLocation = str;
01993 }
01994 YY_BREAK
01995 case 46:
01996
01997 YY_RULE_SETUP
01998 #line 644 "../../../../OS/src/OSParsers/OSParseosss.l"
01999 {
02000 YY_PRINT
02001
02002 yyextra->serviceLocation = yytext;
02003
02004 char *ch = yytext;
02005
02006 ch+=15;
02007 for(; isspace(*ch); ch++);
02008 std::string str( ch);
02009 if (str[0] == '\"')
02010 yyextra->serviceLocation = str.substr(1,str.length()-2);
02011 else
02012 yyextra->serviceLocation = str;
02013 }
02014 YY_BREAK
02015 case 47:
02016
02017 YY_RULE_SETUP
02018 #line 660 "../../../../OS/src/OSParsers/OSParseosss.l"
02019 {
02020 YY_PRINT
02021
02022 char *ch = yytext;
02023
02024 ch+=7;
02025 for(; isspace(*ch); ch++);
02026 std::string str( ch);
02027 if (str[0] == '\"')
02028 yyextra->solverName = str.substr(1,str.length()-2);
02029 else
02030 yyextra->solverName = str;
02031 }
02032 YY_BREAK
02033 case 48:
02034
02035 YY_RULE_SETUP
02036 #line 674 "../../../../OS/src/OSParsers/OSParseosss.l"
02037 {
02038 YY_PRINT
02039
02040 char *ch = yytext;
02041
02042 ch+=6;
02043 for(; isspace(*ch); ch++);
02044 std::string str( ch);
02045 if (str[0] == '\"')
02046 yyextra->solverName = str.substr(1,str.length()-2);
02047 else
02048 yyextra->solverName = str;
02049 }
02050 YY_BREAK
02051 case 49:
02052
02053 YY_RULE_SETUP
02054 #line 688 "../../../../OS/src/OSParsers/OSParseosss.l"
02055 {
02056 YY_PRINT
02057
02058 char *ch = yytext;
02059
02060 ch+=8;
02061 for(; isspace(*ch); ch++);
02062 std::string str( ch);
02063 if (str[0] == '\"')
02064 yyextra->browser = str.substr(1,str.length()-2);
02065 else
02066 yyextra->browser = str;
02067 }
02068 YY_BREAK
02069 case 50:
02070
02071 YY_RULE_SETUP
02072 #line 702 "../../../../OS/src/OSParsers/OSParseosss.l"
02073 {
02074 YY_PRINT
02075
02076 char *ch = yytext;
02077
02078 ch+=7;
02079 for(; isspace(*ch); ch++);
02080 std::string str( ch);
02081 if (str[0] == '\"')
02082 yyextra->browser = str.substr(1,str.length()-2);
02083 else
02084 yyextra->browser = str;
02085 }
02086 YY_BREAK
02087 case 51:
02088
02089 YY_RULE_SETUP
02090 #line 716 "../../../../OS/src/OSParsers/OSParseosss.l"
02091 {
02092 YY_PRINT
02093
02094 char *ch = yytext;
02095
02096 ch+=11;
02097 for(; isspace(*ch); ch++);
02098 std::string str( ch);
02099 std::string temp;
02100 if (str[0] == '\"')
02101 temp = str.substr(1,str.length()-2);
02102 else
02103 temp = str;
02104 yyextra->printLevel = atoi(temp.c_str());
02105 }
02106 YY_BREAK
02107 case 52:
02108
02109 YY_RULE_SETUP
02110 #line 732 "../../../../OS/src/OSParsers/OSParseosss.l"
02111 {
02112 YY_PRINT
02113
02114 char *ch = yytext;
02115
02116 ch+=10;
02117 for(; isspace(*ch); ch++);
02118 std::string str( ch);
02119 std::string temp;
02120 if (str[0] == '\"')
02121 temp = str.substr(1,str.length()-2);
02122 else
02123 temp = str;
02124 yyextra->printLevel = atoi(temp.c_str());
02125 }
02126 YY_BREAK
02127 case 53:
02128
02129 YY_RULE_SETUP
02130 #line 748 "../../../../OS/src/OSParsers/OSParseosss.l"
02131 {
02132 YY_PRINT
02133
02134 char *ch = yytext;
02135
02136 ch+=8;
02137 for(; isspace(*ch); ch++);
02138 std::string str( ch);
02139 if (str[0] == '\"')
02140 yyextra->logFile = str.substr(1,str.length()-2);
02141 else
02142 yyextra->logFile = str;
02143 }
02144 YY_BREAK
02145 case 54:
02146
02147 YY_RULE_SETUP
02148 #line 762 "../../../../OS/src/OSParsers/OSParseosss.l"
02149 {
02150 YY_PRINT
02151
02152 char *ch = yytext;
02153
02154 ch+=7;
02155 for(; isspace(*ch); ch++);
02156 std::string str( ch);
02157 if (str[0] == '\"')
02158 yyextra->logFile = str.substr(1,str.length()-2);
02159 else
02160 yyextra->logFile = str;
02161 }
02162 YY_BREAK
02163 case 55:
02164
02165 YY_RULE_SETUP
02166 #line 776 "../../../../OS/src/OSParsers/OSParseosss.l"
02167 {
02168 YY_PRINT
02169
02170 char *ch = yytext;
02171
02172 ch+=15;
02173 for(; isspace(*ch); ch++);
02174 std::string str( ch);
02175 std::string temp;
02176 if (str[0] == '\"')
02177 temp = str.substr(1,str.length()-2);
02178 else
02179 temp = str;
02180 yyextra->filePrintLevel = atoi(temp.c_str());
02181 }
02182 YY_BREAK
02183 case 56:
02184
02185 YY_RULE_SETUP
02186 #line 792 "../../../../OS/src/OSParsers/OSParseosss.l"
02187 {
02188 YY_PRINT
02189
02190 char *ch = yytext;
02191
02192 ch+=14;
02193 for(; isspace(*ch); ch++);
02194 std::string str( ch);
02195 std::string temp;
02196 if (str[0] == '\"')
02197 temp = str.substr(1,str.length()-2);
02198 else
02199 temp = str;
02200 yyextra->filePrintLevel = atoi(temp.c_str());
02201 }
02202 YY_BREAK
02203 case 57:
02204
02205 YY_RULE_SETUP
02206 #line 808 "../../../../OS/src/OSParsers/OSParseosss.l"
02207 {
02208 YY_PRINT
02209
02210 char *ch = yytext;
02211
02212 ch+=6;
02213 for(; isspace(*ch); ch++);
02214 std::string str( ch);
02215 yyextra->jobID = str;
02216 }
02217 YY_BREAK
02218 case 58:
02219
02220 YY_RULE_SETUP
02221 #line 819 "../../../../OS/src/OSParsers/OSParseosss.l"
02222 {
02223 YY_PRINT
02224
02225 char *ch = yytext;
02226
02227 ch+=5;
02228 for(; isspace(*ch); ch++);
02229 std::string str( ch);
02230 yyextra->jobID = str;
02231 }
02232 YY_BREAK
02233 case 59:
02234 YY_RULE_SETUP
02235 #line 830 "../../../../OS/src/OSParsers/OSParseosss.l"
02236 {
02237 std::string error;
02238 std::ostringstream outStr;
02239 outStr << "encountered a spurious character in the lexer" << endl;
02240 outStr << "Please make sure your options are spelled correctly" << endl;
02241 outStr << "Type OSSolverService -h or OSSolverService --help for valid commands" << endl;
02242 outStr << "The first character is: ";
02243 outStr << yytext;
02244 outStr << endl;
02245
02246 error = outStr.str();
02247 throw ErrorClass( error);
02248 }
02249 YY_BREAK
02250 case 60:
02251 YY_RULE_SETUP
02252 #line 843 "../../../../OS/src/OSParsers/OSParseosss.l"
02253 ECHO;
02254 YY_BREAK
02255 #line 2256 "../../../../OS/src/OSParsers/OSParseosss.cpp"
02256 case YY_STATE_EOF(INITIAL):
02257 yyterminate();
02258
02259 case YY_END_OF_BUFFER:
02260 {
02261
02262 int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1;
02263
02264
02265 *yy_cp = yyg->yy_hold_char;
02266 YY_RESTORE_YY_MORE_OFFSET
02267
02268 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW )
02269 {
02270
02271
02272
02273
02274
02275
02276
02277
02278
02279 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
02280 YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin;
02281 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL;
02282 }
02283
02284
02285
02286
02287
02288
02289
02290
02291 if ( yyg->yy_c_buf_p <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
02292 {
02293 yy_state_type yy_next_state;
02294
02295 yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text;
02296
02297 yy_current_state = yy_get_previous_state( yyscanner );
02298
02299
02300
02301
02302
02303
02304
02305
02306
02307
02308 yy_next_state = yy_try_NUL_trans( yy_current_state , yyscanner);
02309
02310 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
02311
02312 if ( yy_next_state )
02313 {
02314
02315 yy_cp = ++yyg->yy_c_buf_p;
02316 yy_current_state = yy_next_state;
02317 goto yy_match;
02318 }
02319
02320 else
02321 {
02322 yy_cp = yyg->yy_c_buf_p;
02323 goto yy_find_action;
02324 }
02325 }
02326
02327 else switch ( yy_get_next_buffer( yyscanner ) )
02328 {
02329 case EOB_ACT_END_OF_FILE:
02330 {
02331 yyg->yy_did_buffer_switch_on_eof = 0;
02332
02333 if ( ossswrap(yyscanner ) )
02334 {
02335
02336
02337
02338
02339
02340
02341
02342
02343
02344 yyg->yy_c_buf_p = yyg->yytext_ptr + YY_MORE_ADJ;
02345
02346 yy_act = YY_STATE_EOF(YY_START);
02347 goto do_action;
02348 }
02349
02350 else
02351 {
02352 if ( ! yyg->yy_did_buffer_switch_on_eof )
02353 YY_NEW_FILE;
02354 }
02355 break;
02356 }
02357
02358 case EOB_ACT_CONTINUE_SCAN:
02359 yyg->yy_c_buf_p =
02360 yyg->yytext_ptr + yy_amount_of_matched_text;
02361
02362 yy_current_state = yy_get_previous_state( yyscanner );
02363
02364 yy_cp = yyg->yy_c_buf_p;
02365 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
02366 goto yy_match;
02367
02368 case EOB_ACT_LAST_MATCH:
02369 yyg->yy_c_buf_p =
02370 &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars];
02371
02372 yy_current_state = yy_get_previous_state( yyscanner );
02373
02374 yy_cp = yyg->yy_c_buf_p;
02375 yy_bp = yyg->yytext_ptr + YY_MORE_ADJ;
02376 goto yy_find_action;
02377 }
02378 break;
02379 }
02380
02381 default:
02382 YY_FATAL_ERROR(
02383 "fatal flex scanner internal error--no action found" );
02384 }
02385 }
02386 }
02387
02388
02389
02390
02391
02392
02393
02394
02395 static int yy_get_next_buffer (yyscan_t yyscanner)
02396 {
02397 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
02398 register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf;
02399 register char *source = yyg->yytext_ptr;
02400 register int number_to_move, i;
02401 int ret_val;
02402
02403 if ( yyg->yy_c_buf_p > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] )
02404 YY_FATAL_ERROR(
02405 "fatal flex scanner internal error--end of buffer missed" );
02406
02407 if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 )
02408 {
02409 if ( yyg->yy_c_buf_p - yyg->yytext_ptr - YY_MORE_ADJ == 1 )
02410 {
02411
02412
02413
02414 return EOB_ACT_END_OF_FILE;
02415 }
02416
02417 else
02418 {
02419
02420
02421
02422 return EOB_ACT_LAST_MATCH;
02423 }
02424 }
02425
02426
02427
02428
02429 number_to_move = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr) - 1;
02430
02431 for ( i = 0; i < number_to_move; ++i )
02432 *(dest++) = *(source++);
02433
02434 if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING )
02435
02436
02437
02438 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars = 0;
02439
02440 else
02441 {
02442 int num_to_read =
02443 YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
02444
02445 while ( num_to_read <= 0 )
02446 {
02447
02448
02449 YY_BUFFER_STATE b = YY_CURRENT_BUFFER;
02450
02451 int yy_c_buf_p_offset =
02452 (int) (yyg->yy_c_buf_p - b->yy_ch_buf);
02453
02454 if ( b->yy_is_our_buffer )
02455 {
02456 int new_size = b->yy_buf_size * 2;
02457
02458 if ( new_size <= 0 )
02459 b->yy_buf_size += b->yy_buf_size / 8;
02460 else
02461 b->yy_buf_size *= 2;
02462
02463 b->yy_ch_buf = (char *)
02464
02465 osssrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ,yyscanner );
02466 }
02467 else
02468
02469 b->yy_ch_buf = 0;
02470
02471 if ( ! b->yy_ch_buf )
02472 YY_FATAL_ERROR(
02473 "fatal error - scanner input buffer overflow" );
02474
02475 yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
02476
02477 num_to_read = YY_CURRENT_BUFFER_LVALUE->yy_buf_size -
02478 number_to_move - 1;
02479
02480 }
02481
02482 if ( num_to_read > YY_READ_BUF_SIZE )
02483 num_to_read = YY_READ_BUF_SIZE;
02484
02485
02486 YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
02487 yyg->yy_n_chars, (size_t) num_to_read );
02488
02489 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
02490 }
02491
02492 if ( yyg->yy_n_chars == 0 )
02493 {
02494 if ( number_to_move == YY_MORE_ADJ )
02495 {
02496 ret_val = EOB_ACT_END_OF_FILE;
02497 osssrestart(yyin ,yyscanner);
02498 }
02499
02500 else
02501 {
02502 ret_val = EOB_ACT_LAST_MATCH;
02503 YY_CURRENT_BUFFER_LVALUE->yy_buffer_status =
02504 YY_BUFFER_EOF_PENDING;
02505 }
02506 }
02507
02508 else
02509 ret_val = EOB_ACT_CONTINUE_SCAN;
02510
02511 if ((yy_size_t) (yyg->yy_n_chars + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) {
02512
02513 yy_size_t new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1);
02514 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) osssrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ,yyscanner );
02515 if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf )
02516 YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" );
02517 }
02518
02519 yyg->yy_n_chars += number_to_move;
02520 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] = YY_END_OF_BUFFER_CHAR;
02521 YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars + 1] = YY_END_OF_BUFFER_CHAR;
02522
02523 yyg->yytext_ptr = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0];
02524
02525 return ret_val;
02526 }
02527
02528
02529
02530 static yy_state_type yy_get_previous_state (yyscan_t yyscanner)
02531 {
02532 register yy_state_type yy_current_state;
02533 register char *yy_cp;
02534 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
02535
02536 yy_current_state = yyg->yy_start;
02537
02538 for ( yy_cp = yyg->yytext_ptr + YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp )
02539 {
02540 register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1);
02541 if ( yy_accept[yy_current_state] )
02542 {
02543 yyg->yy_last_accepting_state = yy_current_state;
02544 yyg->yy_last_accepting_cpos = yy_cp;
02545 }
02546 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
02547 {
02548 yy_current_state = (int) yy_def[yy_current_state];
02549 if ( yy_current_state >= 568 )
02550 yy_c = yy_meta[(unsigned int) yy_c];
02551 }
02552 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
02553 }
02554
02555 return yy_current_state;
02556 }
02557
02558
02559
02560
02561
02562
02563 static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state , yyscan_t yyscanner)
02564 {
02565 register int yy_is_jam;
02566 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
02567 register char *yy_cp = yyg->yy_c_buf_p;
02568
02569 register YY_CHAR yy_c = 1;
02570 if ( yy_accept[yy_current_state] )
02571 {
02572 yyg->yy_last_accepting_state = yy_current_state;
02573 yyg->yy_last_accepting_cpos = yy_cp;
02574 }
02575 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
02576 {
02577 yy_current_state = (int) yy_def[yy_current_state];
02578 if ( yy_current_state >= 568 )
02579 yy_c = yy_meta[(unsigned int) yy_c];
02580 }
02581 yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c];
02582 yy_is_jam = (yy_current_state == 567);
02583
02584 return yy_is_jam ? 0 : yy_current_state;
02585 }
02586
02587 #ifndef YY_NO_INPUT
02588 #ifdef __cplusplus
02589 static int yyinput (yyscan_t yyscanner)
02590 #else
02591 static int input (yyscan_t yyscanner)
02592 #endif
02593
02594 {
02595 int c;
02596 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
02597
02598 *yyg->yy_c_buf_p = yyg->yy_hold_char;
02599
02600 if ( *yyg->yy_c_buf_p == YY_END_OF_BUFFER_CHAR )
02601 {
02602
02603
02604
02605
02606 if ( yyg->yy_c_buf_p < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[yyg->yy_n_chars] )
02607
02608 *yyg->yy_c_buf_p = '\0';
02609
02610 else
02611 {
02612 int offset = yyg->yy_c_buf_p - yyg->yytext_ptr;
02613 ++yyg->yy_c_buf_p;
02614
02615 switch ( yy_get_next_buffer( yyscanner ) )
02616 {
02617 case EOB_ACT_LAST_MATCH:
02618
02619
02620
02621
02622
02623
02624
02625
02626
02627
02628
02629 osssrestart(yyin ,yyscanner);
02630
02631
02632
02633 case EOB_ACT_END_OF_FILE:
02634 {
02635 if ( ossswrap(yyscanner ) )
02636 return EOF;
02637
02638 if ( ! yyg->yy_did_buffer_switch_on_eof )
02639 YY_NEW_FILE;
02640 #ifdef __cplusplus
02641 return yyinput(yyscanner);
02642 #else
02643 return input(yyscanner);
02644 #endif
02645 }
02646
02647 case EOB_ACT_CONTINUE_SCAN:
02648 yyg->yy_c_buf_p = yyg->yytext_ptr + offset;
02649 break;
02650 }
02651 }
02652 }
02653
02654 c = *(unsigned char *) yyg->yy_c_buf_p;
02655 *yyg->yy_c_buf_p = '\0';
02656 yyg->yy_hold_char = *++yyg->yy_c_buf_p;
02657
02658 if ( c == '\n' )
02659
02660 do{ yylineno++;
02661 yycolumn=0;
02662 }while(0)
02663 ;
02664
02665 return c;
02666 }
02667 #endif
02668
02674 void osssrestart (FILE * input_file , yyscan_t yyscanner)
02675 {
02676 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
02677
02678 if ( ! YY_CURRENT_BUFFER ){
02679 osssensure_buffer_stack (yyscanner);
02680 YY_CURRENT_BUFFER_LVALUE =
02681 osss_create_buffer(yyin,YY_BUF_SIZE ,yyscanner);
02682 }
02683
02684 osss_init_buffer(YY_CURRENT_BUFFER,input_file ,yyscanner);
02685 osss_load_buffer_state(yyscanner );
02686 }
02687
02692 void osss_switch_to_buffer (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner)
02693 {
02694 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
02695
02696
02697
02698
02699
02700
02701 osssensure_buffer_stack (yyscanner);
02702 if ( YY_CURRENT_BUFFER == new_buffer )
02703 return;
02704
02705 if ( YY_CURRENT_BUFFER )
02706 {
02707
02708 *yyg->yy_c_buf_p = yyg->yy_hold_char;
02709 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
02710 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
02711 }
02712
02713 YY_CURRENT_BUFFER_LVALUE = new_buffer;
02714 osss_load_buffer_state(yyscanner );
02715
02716
02717
02718
02719
02720
02721 yyg->yy_did_buffer_switch_on_eof = 1;
02722 }
02723
02724 static void osss_load_buffer_state (yyscan_t yyscanner)
02725 {
02726 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
02727 yyg->yy_n_chars = YY_CURRENT_BUFFER_LVALUE->yy_n_chars;
02728 yyg->yytext_ptr = yyg->yy_c_buf_p = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos;
02729 yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file;
02730 yyg->yy_hold_char = *yyg->yy_c_buf_p;
02731 }
02732
02739 YY_BUFFER_STATE osss_create_buffer (FILE * file, int size , yyscan_t yyscanner)
02740 {
02741 YY_BUFFER_STATE b;
02742
02743 b = (YY_BUFFER_STATE) osssalloc(sizeof( struct yy_buffer_state ) ,yyscanner );
02744 if ( ! b )
02745 YY_FATAL_ERROR( "out of dynamic memory in osss_create_buffer()" );
02746
02747 b->yy_buf_size = size;
02748
02749
02750
02751
02752 b->yy_ch_buf = (char *) osssalloc(b->yy_buf_size + 2 ,yyscanner );
02753 if ( ! b->yy_ch_buf )
02754 YY_FATAL_ERROR( "out of dynamic memory in osss_create_buffer()" );
02755
02756 b->yy_is_our_buffer = 1;
02757
02758 osss_init_buffer(b,file ,yyscanner);
02759
02760 return b;
02761 }
02762
02767 void osss_delete_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner)
02768 {
02769 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
02770
02771 if ( ! b )
02772 return;
02773
02774 if ( b == YY_CURRENT_BUFFER )
02775 YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0;
02776
02777 if ( b->yy_is_our_buffer )
02778 osssfree((void *) b->yy_ch_buf ,yyscanner );
02779
02780 osssfree((void *) b ,yyscanner );
02781 }
02782
02783 #ifndef __cplusplus
02784 extern int isatty (int );
02785 #endif
02786
02787
02788
02789
02790
02791 static void osss_init_buffer (YY_BUFFER_STATE b, FILE * file , yyscan_t yyscanner)
02792
02793 {
02794 int oerrno = errno;
02795 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
02796
02797 osss_flush_buffer(b ,yyscanner);
02798
02799 b->yy_input_file = file;
02800 b->yy_fill_buffer = 1;
02801
02802
02803
02804
02805
02806 if (b != YY_CURRENT_BUFFER){
02807 b->yy_bs_lineno = 1;
02808 b->yy_bs_column = 0;
02809 }
02810
02811 b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
02812
02813 errno = oerrno;
02814 }
02815
02820 void osss_flush_buffer (YY_BUFFER_STATE b , yyscan_t yyscanner)
02821 {
02822 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
02823 if ( ! b )
02824 return;
02825
02826 b->yy_n_chars = 0;
02827
02828
02829
02830
02831
02832 b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR;
02833 b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR;
02834
02835 b->yy_buf_pos = &b->yy_ch_buf[0];
02836
02837 b->yy_at_bol = 1;
02838 b->yy_buffer_status = YY_BUFFER_NEW;
02839
02840 if ( b == YY_CURRENT_BUFFER )
02841 osss_load_buffer_state(yyscanner );
02842 }
02843
02850 void ossspush_buffer_state (YY_BUFFER_STATE new_buffer , yyscan_t yyscanner)
02851 {
02852 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
02853 if (new_buffer == NULL)
02854 return;
02855
02856 osssensure_buffer_stack(yyscanner);
02857
02858
02859 if ( YY_CURRENT_BUFFER )
02860 {
02861
02862 *yyg->yy_c_buf_p = yyg->yy_hold_char;
02863 YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = yyg->yy_c_buf_p;
02864 YY_CURRENT_BUFFER_LVALUE->yy_n_chars = yyg->yy_n_chars;
02865 }
02866
02867
02868 if (YY_CURRENT_BUFFER)
02869 yyg->yy_buffer_stack_top++;
02870 YY_CURRENT_BUFFER_LVALUE = new_buffer;
02871
02872
02873 osss_load_buffer_state(yyscanner );
02874 yyg->yy_did_buffer_switch_on_eof = 1;
02875 }
02876
02881 void ossspop_buffer_state (yyscan_t yyscanner)
02882 {
02883 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
02884 if (!YY_CURRENT_BUFFER)
02885 return;
02886
02887 osss_delete_buffer(YY_CURRENT_BUFFER ,yyscanner);
02888 YY_CURRENT_BUFFER_LVALUE = NULL;
02889 if (yyg->yy_buffer_stack_top > 0)
02890 --yyg->yy_buffer_stack_top;
02891
02892 if (YY_CURRENT_BUFFER) {
02893 osss_load_buffer_state(yyscanner );
02894 yyg->yy_did_buffer_switch_on_eof = 1;
02895 }
02896 }
02897
02898
02899
02900
02901 static void osssensure_buffer_stack (yyscan_t yyscanner)
02902 {
02903 int num_to_alloc;
02904 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
02905
02906 if (!yyg->yy_buffer_stack) {
02907
02908
02909
02910
02911
02912 num_to_alloc = 1;
02913 yyg->yy_buffer_stack = (struct yy_buffer_state**)osssalloc
02914 (num_to_alloc * sizeof(struct yy_buffer_state*)
02915 , yyscanner);
02916 if ( ! yyg->yy_buffer_stack )
02917 YY_FATAL_ERROR( "out of dynamic memory in osssensure_buffer_stack()" );
02918
02919 memset(yyg->yy_buffer_stack, 0, num_to_alloc * sizeof(struct yy_buffer_state*));
02920
02921 yyg->yy_buffer_stack_max = num_to_alloc;
02922 yyg->yy_buffer_stack_top = 0;
02923 return;
02924 }
02925
02926 if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){
02927
02928
02929 int grow_size = 8 ;
02930
02931 num_to_alloc = yyg->yy_buffer_stack_max + grow_size;
02932 yyg->yy_buffer_stack = (struct yy_buffer_state**)osssrealloc
02933 (yyg->yy_buffer_stack,
02934 num_to_alloc * sizeof(struct yy_buffer_state*)
02935 , yyscanner);
02936 if ( ! yyg->yy_buffer_stack )
02937 YY_FATAL_ERROR( "out of dynamic memory in osssensure_buffer_stack()" );
02938
02939
02940 memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size * sizeof(struct yy_buffer_state*));
02941 yyg->yy_buffer_stack_max = num_to_alloc;
02942 }
02943 }
02944
02951 YY_BUFFER_STATE osss_scan_buffer (char * base, yy_size_t size , yyscan_t yyscanner)
02952 {
02953 YY_BUFFER_STATE b;
02954
02955 if ( size < 2 ||
02956 base[size-2] != YY_END_OF_BUFFER_CHAR ||
02957 base[size-1] != YY_END_OF_BUFFER_CHAR )
02958
02959 return 0;
02960
02961 b = (YY_BUFFER_STATE) osssalloc(sizeof( struct yy_buffer_state ) ,yyscanner );
02962 if ( ! b )
02963 YY_FATAL_ERROR( "out of dynamic memory in osss_scan_buffer()" );
02964
02965 b->yy_buf_size = size - 2;
02966 b->yy_buf_pos = b->yy_ch_buf = base;
02967 b->yy_is_our_buffer = 0;
02968 b->yy_input_file = 0;
02969 b->yy_n_chars = b->yy_buf_size;
02970 b->yy_is_interactive = 0;
02971 b->yy_at_bol = 1;
02972 b->yy_fill_buffer = 0;
02973 b->yy_buffer_status = YY_BUFFER_NEW;
02974
02975 osss_switch_to_buffer(b ,yyscanner );
02976
02977 return b;
02978 }
02979
02988 YY_BUFFER_STATE osss_scan_string (yyconst char * yystr , yyscan_t yyscanner)
02989 {
02990
02991 return osss_scan_bytes(yystr,strlen(yystr) ,yyscanner);
02992 }
02993
03001 YY_BUFFER_STATE osss_scan_bytes (yyconst char * yybytes, int _yybytes_len , yyscan_t yyscanner)
03002 {
03003 YY_BUFFER_STATE b;
03004 char *buf;
03005 yy_size_t n;
03006 int i;
03007
03008
03009 n = _yybytes_len + 2;
03010 buf = (char *) osssalloc(n ,yyscanner );
03011 if ( ! buf )
03012 YY_FATAL_ERROR( "out of dynamic memory in osss_scan_bytes()" );
03013
03014 for ( i = 0; i < _yybytes_len; ++i )
03015 buf[i] = yybytes[i];
03016
03017 buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR;
03018
03019 b = osss_scan_buffer(buf,n ,yyscanner);
03020 if ( ! b )
03021 YY_FATAL_ERROR( "bad buffer in osss_scan_bytes()" );
03022
03023
03024
03025
03026 b->yy_is_our_buffer = 1;
03027
03028 return b;
03029 }
03030
03031 #ifndef YY_EXIT_FAILURE
03032 #define YY_EXIT_FAILURE 2
03033 #endif
03034
03035 static void yy_fatal_error (yyconst char* msg , yyscan_t yyscanner)
03036 {
03037 (void) fprintf( stderr, "%s\n", msg );
03038 exit( YY_EXIT_FAILURE );
03039 }
03040
03041
03042
03043 #undef yyless
03044 #define yyless(n) \
03045 do \
03046 { \
03047 \
03048 int yyless_macro_arg = (n); \
03049 YY_LESS_LINENO(yyless_macro_arg);\
03050 yytext[yyleng] = yyg->yy_hold_char; \
03051 yyg->yy_c_buf_p = yytext + yyless_macro_arg; \
03052 yyg->yy_hold_char = *yyg->yy_c_buf_p; \
03053 *yyg->yy_c_buf_p = '\0'; \
03054 yyleng = yyless_macro_arg; \
03055 } \
03056 while ( 0 )
03057
03058
03059
03063 YY_EXTRA_TYPE osssget_extra (yyscan_t yyscanner)
03064 {
03065 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
03066 return yyextra;
03067 }
03068
03072 int osssget_lineno (yyscan_t yyscanner)
03073 {
03074 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
03075
03076 if (! YY_CURRENT_BUFFER)
03077 return 0;
03078
03079 return yylineno;
03080 }
03081
03085 int osssget_column (yyscan_t yyscanner)
03086 {
03087 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
03088
03089 if (! YY_CURRENT_BUFFER)
03090 return 0;
03091
03092 return yycolumn;
03093 }
03094
03098 FILE *osssget_in (yyscan_t yyscanner)
03099 {
03100 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
03101 return yyin;
03102 }
03103
03107 FILE *osssget_out (yyscan_t yyscanner)
03108 {
03109 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
03110 return yyout;
03111 }
03112
03116 int osssget_leng (yyscan_t yyscanner)
03117 {
03118 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
03119 return yyleng;
03120 }
03121
03126 char *osssget_text (yyscan_t yyscanner)
03127 {
03128 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
03129 return yytext;
03130 }
03131
03136 void osssset_extra (YY_EXTRA_TYPE user_defined , yyscan_t yyscanner)
03137 {
03138 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
03139 yyextra = user_defined ;
03140 }
03141
03146 void osssset_lineno (int line_number , yyscan_t yyscanner)
03147 {
03148 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
03149
03150
03151 if (! YY_CURRENT_BUFFER )
03152 yy_fatal_error( "osssset_lineno called with no buffer" , yyscanner);
03153
03154 yylineno = line_number;
03155 }
03156
03161 void osssset_column (int column_no , yyscan_t yyscanner)
03162 {
03163 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
03164
03165
03166 if (! YY_CURRENT_BUFFER )
03167 yy_fatal_error( "osssset_column called with no buffer" , yyscanner);
03168
03169 yycolumn = column_no;
03170 }
03171
03178 void osssset_in (FILE * in_str , yyscan_t yyscanner)
03179 {
03180 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
03181 yyin = in_str ;
03182 }
03183
03184 void osssset_out (FILE * out_str , yyscan_t yyscanner)
03185 {
03186 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
03187 yyout = out_str ;
03188 }
03189
03190 int osssget_debug (yyscan_t yyscanner)
03191 {
03192 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
03193 return yy_flex_debug;
03194 }
03195
03196 void osssset_debug (int bdebug , yyscan_t yyscanner)
03197 {
03198 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
03199 yy_flex_debug = bdebug ;
03200 }
03201
03202
03203
03204
03205
03206
03207
03208
03209
03210
03211 int ossslex_init(yyscan_t* ptr_yy_globals)
03212
03213 {
03214 if (ptr_yy_globals == NULL){
03215 errno = EINVAL;
03216 return 1;
03217 }
03218
03219 *ptr_yy_globals = (yyscan_t) osssalloc ( sizeof( struct yyguts_t ), NULL );
03220
03221 if (*ptr_yy_globals == NULL){
03222 errno = ENOMEM;
03223 return 1;
03224 }
03225
03226
03227 memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t));
03228
03229 return yy_init_globals ( *ptr_yy_globals );
03230 }
03231
03232
03233
03234
03235
03236
03237
03238
03239
03240 int ossslex_init_extra(YY_EXTRA_TYPE yy_user_defined,yyscan_t* ptr_yy_globals )
03241
03242 {
03243 struct yyguts_t dummy_yyguts;
03244
03245 osssset_extra (yy_user_defined, &dummy_yyguts);
03246
03247 if (ptr_yy_globals == NULL){
03248 errno = EINVAL;
03249 return 1;
03250 }
03251
03252 *ptr_yy_globals = (yyscan_t) osssalloc ( sizeof( struct yyguts_t ), &dummy_yyguts );
03253
03254 if (*ptr_yy_globals == NULL){
03255 errno = ENOMEM;
03256 return 1;
03257 }
03258
03259
03260
03261 memset(*ptr_yy_globals,0x00,sizeof(struct yyguts_t));
03262
03263 osssset_extra (yy_user_defined, *ptr_yy_globals);
03264
03265 return yy_init_globals ( *ptr_yy_globals );
03266 }
03267
03268 static int yy_init_globals (yyscan_t yyscanner)
03269 {
03270 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
03271
03272
03273
03274
03275 yyg->yy_buffer_stack = 0;
03276 yyg->yy_buffer_stack_top = 0;
03277 yyg->yy_buffer_stack_max = 0;
03278 yyg->yy_c_buf_p = (char *) 0;
03279 yyg->yy_init = 0;
03280 yyg->yy_start = 0;
03281
03282 yyg->yy_start_stack_ptr = 0;
03283 yyg->yy_start_stack_depth = 0;
03284 yyg->yy_start_stack = NULL;
03285
03286
03287 #ifdef YY_STDINIT
03288 yyin = stdin;
03289 yyout = stdout;
03290 #else
03291 yyin = (FILE *) 0;
03292 yyout = (FILE *) 0;
03293 #endif
03294
03295
03296
03297
03298 return 0;
03299 }
03300
03301
03302 int ossslex_destroy (yyscan_t yyscanner)
03303 {
03304 struct yyguts_t * yyg = (struct yyguts_t*)yyscanner;
03305
03306
03307 while(YY_CURRENT_BUFFER){
03308 osss_delete_buffer(YY_CURRENT_BUFFER ,yyscanner );
03309 YY_CURRENT_BUFFER_LVALUE = NULL;
03310 ossspop_buffer_state(yyscanner);
03311 }
03312
03313
03314 osssfree(yyg->yy_buffer_stack ,yyscanner);
03315 yyg->yy_buffer_stack = NULL;
03316
03317
03318 osssfree(yyg->yy_start_stack ,yyscanner );
03319 yyg->yy_start_stack = NULL;
03320
03321
03322
03323 yy_init_globals( yyscanner);
03324
03325
03326 osssfree ( yyscanner , yyscanner );
03327 yyscanner = NULL;
03328 return 0;
03329 }
03330
03331
03332
03333
03334
03335 #ifndef yytext_ptr
03336 static void yy_flex_strncpy (char* s1, yyconst char * s2, int n , yyscan_t yyscanner)
03337 {
03338 register int i;
03339 for ( i = 0; i < n; ++i )
03340 s1[i] = s2[i];
03341 }
03342 #endif
03343
03344 #ifdef YY_NEED_STRLEN
03345 static int yy_flex_strlen (yyconst char * s , yyscan_t yyscanner)
03346 {
03347 register int n;
03348 for ( n = 0; s[n]; ++n )
03349 ;
03350
03351 return n;
03352 }
03353 #endif
03354
03355 void *osssalloc (yy_size_t size , yyscan_t yyscanner)
03356 {
03357 return (void *) malloc( size );
03358 }
03359
03360 void *osssrealloc (void * ptr, yy_size_t size , yyscan_t yyscanner)
03361 {
03362
03363
03364
03365
03366
03367
03368
03369 return (void *) realloc( (char *) ptr, size );
03370 }
03371
03372 void osssfree (void * ptr , yyscan_t yyscanner)
03373 {
03374 free( (char *) ptr );
03375 }
03376
03377 #define YYTABLES_NAME "yytables"
03378
03379 #line 843 "../../../../OS/src/OSParsers/OSParseosss.l"
03380
03381
03382
03383 void setyyextra(OSCommandLine *oscommandline, void* scanner){
03384 osssset_extra(oscommandline, scanner);
03385 }
03386