5 #define YY_INT_ALIGNED short int
9 #define yy_create_buffer gse__create_buffer
10 #define yy_delete_buffer gse__delete_buffer
11 #define yy_flex_debug gse__flex_debug
12 #define yy_init_buffer gse__init_buffer
13 #define yy_flush_buffer gse__flush_buffer
14 #define yy_load_buffer_state gse__load_buffer_state
15 #define yy_switch_to_buffer gse__switch_to_buffer
17 #define yyleng gse_leng
19 #define yylineno gse_lineno
21 #define yyrestart gse_restart
22 #define yytext gse_text
23 #define yywrap gse_wrap
24 #define yyalloc gse_alloc
25 #define yyrealloc gse_realloc
26 #define yyfree gse_free
29 #define YY_FLEX_MAJOR_VERSION 2
30 #define YY_FLEX_MINOR_VERSION 5
31 #define YY_FLEX_SUBMINOR_VERSION 35
32 #if YY_FLEX_SUBMINOR_VERSION > 0
53 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
58 #ifndef __STDC_LIMIT_MACROS
59 #define __STDC_LIMIT_MACROS 1
80 #define INT8_MIN (-128)
83 #define INT16_MIN (-32767-1)
86 #define INT32_MIN (-2147483647-1)
89 #define INT8_MAX (127)
92 #define INT16_MAX (32767)
95 #define INT32_MAX (2147483647)
98 #define UINT8_MAX (255U)
101 #define UINT16_MAX (65535U)
104 #define UINT32_MAX (4294967295U)
117 #if defined (__STDC__)
125 #define yyconst const
138 #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
144 #define BEGIN (yy_start) = 1 + 2 *
150 #define YY_START (((yy_start) - 1) / 2)
151 #define YYSTATE YY_START
154 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
157 #define YY_NEW_FILE gse_restart(gse_in )
159 #define YY_END_OF_BUFFER_CHAR 0
163 #define YY_BUF_SIZE 16384
168 #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
170 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
171 #define YY_TYPEDEF_YY_BUFFER_STATE
179 #define EOB_ACT_CONTINUE_SCAN 0
180 #define EOB_ACT_END_OF_FILE 1
181 #define EOB_ACT_LAST_MATCH 2
183 #define YY_LESS_LINENO(n)
190 int yyless_macro_arg = (n); \
191 YY_LESS_LINENO(yyless_macro_arg);\
192 *yy_cp = (yy_hold_char); \
193 YY_RESTORE_YY_MORE_OFFSET \
194 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
195 YY_DO_BEFORE_ACTION; \
199 #define unput(c) yyunput( c, (yytext_ptr) )
201 #ifndef YY_TYPEDEF_YY_SIZE_T
202 #define YY_TYPEDEF_YY_SIZE_T
206 #ifndef YY_STRUCT_YY_BUFFER_STATE
207 #define YY_STRUCT_YY_BUFFER_STATE
208 struct yy_buffer_state
229 int yy_is_our_buffer;
236 int yy_is_interactive;
252 int yy_buffer_status;
254 #define YY_BUFFER_NEW 0
255 #define YY_BUFFER_NORMAL 1
266 #define YY_BUFFER_EOF_PENDING 2
272 static size_t yy_buffer_stack_top = 0;
273 static size_t yy_buffer_stack_max = 0;
282 #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
283 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
289 #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
292 static char yy_hold_char;
293 static int yy_n_chars;
297 static char *yy_c_buf_p = (
char *) 0;
298 static int yy_init = 0;
299 static int yy_start = 0;
304 static int yy_did_buffer_switch_on_eof;
314 static void gse_ensure_buffer_stack (
void );
315 static void gse__load_buffer_state (
void );
318 #define YY_FLUSH_BUFFER gse__flush_buffer(YY_CURRENT_BUFFER )
328 #define yy_new_buffer gse__create_buffer
330 #define yy_set_interactive(is_interactive) \
332 if ( ! YY_CURRENT_BUFFER ){ \
333 gse_ensure_buffer_stack (); \
334 YY_CURRENT_BUFFER_LVALUE = \
335 gse__create_buffer(gse_in,YY_BUF_SIZE ); \
337 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
340 #define yy_set_bol(at_bol) \
342 if ( ! YY_CURRENT_BUFFER ){\
343 gse_ensure_buffer_stack (); \
344 YY_CURRENT_BUFFER_LVALUE = \
345 gse__create_buffer(gse_in,YY_BUF_SIZE ); \
347 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
350 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
354 #define gse_wrap(n) 1
355 #define YY_SKIP_YYWRAP
368 #define yytext_ptr gse_text
370 static yy_state_type yy_get_previous_state (
void );
371 static yy_state_type yy_try_NUL_trans (yy_state_type current_state );
372 static int yy_get_next_buffer (
void );
373 static void yy_fatal_error (
yyconst char msg[] );
378 #define YY_DO_BEFORE_ACTION \
379 (yytext_ptr) = yy_bp; \
380 gse_leng = (size_t) (yy_cp - yy_bp); \
381 (yy_hold_char) = *yy_cp; \
383 (yy_c_buf_p) = yy_cp;
385 #define YY_NUM_RULES 10
386 #define YY_END_OF_BUFFER 11
396 0, 0, 11, 10, 10, 3, 3, 3, 1, 8,
397 4, 6, 3, 3, 5, 3, 3, 1, 2, 2,
398 1, 3, 9, 7, 3, 3, 2, 3, 2, 2,
404 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
405 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
406 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
407 1, 1, 2, 1, 3, 1, 4, 1, 1, 1,
408 1, 1, 5, 1, 5, 6, 4, 7, 7, 7,
409 7, 7, 7, 7, 7, 7, 7, 1, 1, 8,
410 9, 10, 1, 1, 11, 4, 4, 4, 12, 13,
411 4, 4, 14, 4, 4, 4, 4, 15, 4, 4,
412 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
413 1, 4, 1, 1, 4, 1, 11, 4, 4, 4,
415 16, 13, 4, 4, 14, 4, 4, 4, 4, 15,
416 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
417 4, 4, 1, 1, 1, 1, 1, 1, 1, 1,
418 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
419 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
420 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
421 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
422 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
423 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
424 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
426 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
427 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
428 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
429 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
430 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
436 1, 1, 2, 2, 2, 2, 2, 1, 1, 1,
442 0, 0, 43, 44, 33, 0, 11, 34, 13, 31,
443 44, 30, 23, 26, 44, 0, 29, 0, 15, 17,
444 0, 21, 44, 44, 22, 19, 24, 26, 25, 0,
450 31, 1, 31, 31, 31, 32, 32, 32, 32, 31,
451 31, 31, 32, 32, 31, 32, 32, 9, 9, 9,
452 9, 32, 31, 31, 32, 32, 9, 32, 32, 32,
458 4, 5, 4, 6, 7, 8, 9, 10, 11, 12,
459 6, 6, 6, 13, 14, 6, 17, 18, 20, 21,
460 16, 19, 16, 27, 22, 28, 16, 29, 22, 16,
461 27, 29, 29, 30, 30, 19, 26, 25, 24, 23,
462 19, 15, 31, 3, 31, 31, 31, 31, 31, 31,
463 31, 31, 31, 31, 31, 31, 31, 31, 31, 31
468 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
469 1, 1, 1, 1, 1, 1, 7, 7, 9, 9,
470 19, 19, 20, 20, 9, 22, 32, 22, 9, 27,
471 27, 29, 28, 26, 25, 17, 14, 13, 12, 10,
472 8, 5, 3, 31, 31, 31, 31, 31, 31, 31,
473 31, 31, 31, 31, 31, 31, 31, 31, 31, 31
476 static yy_state_type yy_last_accepting_state;
477 static char *yy_last_accepting_cpos;
480 int gse__flex_debug = 0;
485 #define REJECT reject_used_but_not_detected
486 #define yymore() yymore_used_but_not_detected
487 #define YY_MORE_ADJ 0
488 #define YY_RESTORE_YY_MORE_OFFSET
540 #define YY_PROTO(proto) proto
543 #define YY_DECL int gse_lex YY_PROTO(( void ))
545 #define YY_NO_UNPUT 1
546 #define YY_NO_INPUT 1
549 #define YY_FATAL_ERROR(msg) {\
550 throw(Error(string("Error scanning grid constraint expression text: ") + string(msg)));\
551 yy_fatal_error("never called");\
554 #include "gse.tab.hh"
557 using namespace libdap;
559 static void store_int32();
560 static void store_float64();
561 static void store_id();
562 static void store_op(
int op);
566 #line 567 "lex.gse.cc"
570 #ifndef YY_NO_UNISTD_H
578 #ifndef YY_EXTRA_TYPE
579 #define YY_EXTRA_TYPE void *
582 static int yy_init_globals (
void );
617 #ifndef YY_SKIP_YYWRAP
626 static void yy_flex_strncpy (
char *,
yyconst char *,
int );
629 #ifdef YY_NEED_STRLEN
630 static int yy_flex_strlen (
yyconst char * );
636 static int yyinput (
void );
638 static int input (
void );
644 #ifndef YY_READ_BUF_SIZE
645 #define YY_READ_BUF_SIZE 8192
653 #define ECHO do { if (fwrite( gse_text, gse_leng, 1, gse_out )) {} } while (0)
660 #define YY_INPUT(buf,result,max_size) \
661 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
665 for ( n = 0; n < max_size && \
666 (c = getc( gse_in )) != EOF && c != '\n'; ++n ) \
669 buf[n++] = (char) c; \
670 if ( c == EOF && ferror( gse_in ) ) \
671 YY_FATAL_ERROR( "input in flex scanner failed" ); \
677 while ( (result = fread(buf, 1, max_size, gse_in))==0 && ferror(gse_in)) \
679 if( errno != EINTR) \
681 YY_FATAL_ERROR( "input in flex scanner failed" ); \
697 #define yyterminate() return YY_NULL
701 #ifndef YY_START_STACK_INCR
702 #define YY_START_STACK_INCR 25
706 #ifndef YY_FATAL_ERROR
707 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
716 #define YY_DECL_IS_OURS 1
720 #define YY_DECL int gse_lex (void)
726 #ifndef YY_USER_ACTION
727 #define YY_USER_ACTION
732 #define YY_BREAK break;
735 #define YY_RULE_SETUP \
742 register yy_state_type yy_current_state;
749 #line 750 "lex.gse.cc"
769 gse_ensure_buffer_stack ();
774 gse__load_buffer_state( );
779 yy_cp = (yy_c_buf_p);
782 *yy_cp = (yy_hold_char);
789 yy_current_state = (yy_start);
794 if ( yy_accept[yy_current_state] )
796 (yy_last_accepting_state) = yy_current_state;
797 (yy_last_accepting_cpos) = yy_cp;
799 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
801 yy_current_state = (int) yy_def[yy_current_state];
802 if ( yy_current_state >= 32 )
803 yy_c = yy_meta[(
unsigned int) yy_c];
805 yy_current_state = yy_nxt[yy_base[yy_current_state] + (
unsigned int) yy_c];
808 while ( yy_base[yy_current_state] != 44 );
811 yy_act = yy_accept[yy_current_state];
814 yy_cp = (yy_last_accepting_cpos);
815 yy_current_state = (yy_last_accepting_state);
816 yy_act = yy_accept[yy_current_state];
827 *yy_cp = (yy_hold_char);
828 yy_cp = (yy_last_accepting_cpos);
829 yy_current_state = (yy_last_accepting_state);
882 #line 883 "lex.gse.cc"
889 int yy_amount_of_matched_text = (int) (yy_cp - (
yytext_ptr)) - 1;
892 *yy_cp = (yy_hold_char);
920 yy_state_type yy_next_state;
922 (yy_c_buf_p) = (
yytext_ptr) + yy_amount_of_matched_text;
924 yy_current_state = yy_get_previous_state( );
935 yy_next_state = yy_try_NUL_trans( yy_current_state );
942 yy_cp = ++(yy_c_buf_p);
943 yy_current_state = yy_next_state;
949 yy_cp = (yy_c_buf_p);
954 else switch ( yy_get_next_buffer( ) )
958 (yy_did_buffer_switch_on_eof) = 0;
979 if ( ! (yy_did_buffer_switch_on_eof) )
989 yy_current_state = yy_get_previous_state( );
991 yy_cp = (yy_c_buf_p);
999 yy_current_state = yy_get_previous_state( );
1001 yy_cp = (yy_c_buf_p);
1003 goto yy_find_action;
1010 "fatal flex scanner internal error--no action found" );
1022 static int yy_get_next_buffer (
void)
1026 register int number_to_move, i;
1031 "fatal flex scanner internal error--end of buffer missed" );
1055 number_to_move = (int) ((yy_c_buf_p) - (
yytext_ptr)) - 1;
1057 for ( i = 0; i < number_to_move; ++i )
1058 *(dest++) = *(source++);
1071 while ( num_to_read <= 0 )
1077 int yy_c_buf_p_offset =
1078 (int) ((yy_c_buf_p) - b->yy_ch_buf);
1080 if ( b->yy_is_our_buffer )
1082 int new_size = b->yy_buf_size * 2;
1084 if ( new_size <= 0 )
1085 b->yy_buf_size += b->yy_buf_size / 8;
1087 b->yy_buf_size *= 2;
1089 b->yy_ch_buf = (
char *)
1091 gse_realloc((
void *) b->yy_ch_buf,b->yy_buf_size + 2 );
1097 if ( ! b->yy_ch_buf )
1099 "fatal error - scanner input buffer overflow" );
1101 (yy_c_buf_p) = &b->yy_ch_buf[yy_c_buf_p_offset];
1113 (yy_n_chars), (
size_t) num_to_read );
1118 if ( (yy_n_chars) == 0 )
1139 yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
1142 YY_FATAL_ERROR(
"out of dynamic memory in yy_get_next_buffer()" );
1145 (yy_n_chars) += number_to_move;
1156 static yy_state_type yy_get_previous_state (
void)
1158 register yy_state_type yy_current_state;
1159 register char *
yy_cp;
1161 yy_current_state = (yy_start);
1166 if ( yy_accept[yy_current_state] )
1168 (yy_last_accepting_state) = yy_current_state;
1169 (yy_last_accepting_cpos) = yy_cp;
1171 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1173 yy_current_state = (int) yy_def[yy_current_state];
1174 if ( yy_current_state >= 32 )
1175 yy_c = yy_meta[(
unsigned int) yy_c];
1177 yy_current_state = yy_nxt[yy_base[yy_current_state] + (
unsigned int) yy_c];
1180 return yy_current_state;
1188 static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state )
1190 register int yy_is_jam;
1191 register char *yy_cp = (yy_c_buf_p);
1194 if ( yy_accept[yy_current_state] )
1196 (yy_last_accepting_state) = yy_current_state;
1197 (yy_last_accepting_cpos) = yy_cp;
1199 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1201 yy_current_state = (int) yy_def[yy_current_state];
1202 if ( yy_current_state >= 32 )
1203 yy_c = yy_meta[(
unsigned int) yy_c];
1205 yy_current_state = yy_nxt[yy_base[yy_current_state] + (
unsigned int) yy_c];
1206 yy_is_jam = (yy_current_state == 31);
1208 return yy_is_jam ? 0 : yy_current_state;
1213 static int yyinput (
void)
1215 static int input (
void)
1221 *(yy_c_buf_p) = (yy_hold_char);
1231 *(yy_c_buf_p) =
'\0';
1238 switch ( yy_get_next_buffer( ) )
1261 if ( ! (yy_did_buffer_switch_on_eof) )
1277 c = *(
unsigned char *) (yy_c_buf_p);
1278 *(yy_c_buf_p) =
'\0';
1279 (yy_hold_char) = *++(yy_c_buf_p);
1294 gse_ensure_buffer_stack ();
1300 gse__load_buffer_state( );
1315 gse_ensure_buffer_stack ();
1322 *(yy_c_buf_p) = (yy_hold_char);
1328 gse__load_buffer_state( );
1335 (yy_did_buffer_switch_on_eof) = 1;
1338 static void gse__load_buffer_state (
void)
1343 (yy_hold_char) = *(yy_c_buf_p);
1358 YY_FATAL_ERROR(
"out of dynamic memory in gse__create_buffer()" );
1360 b->yy_buf_size = size;
1365 b->yy_ch_buf = (
char *)
gse_alloc(b->yy_buf_size + 2 );
1366 if ( ! b->yy_ch_buf )
1367 YY_FATAL_ERROR(
"out of dynamic memory in gse__create_buffer()" );
1369 b->yy_is_our_buffer = 1;
1371 gse__init_buffer(b,file );
1389 if ( b->yy_is_our_buffer )
1396 extern int isatty (
int );
1410 b->yy_input_file = file;
1411 b->yy_fill_buffer = 1;
1418 b->yy_bs_lineno = 1;
1419 b->yy_bs_column = 0;
1422 b->yy_is_interactive = file ? (
isatty( fileno(file) ) > 0) : 0;
1445 b->yy_buf_pos = &b->yy_ch_buf[0];
1451 gse__load_buffer_state( );
1462 if (new_buffer == NULL)
1465 gse_ensure_buffer_stack();
1471 *(yy_c_buf_p) = (yy_hold_char);
1478 (yy_buffer_stack_top)++;
1482 gse__load_buffer_state( );
1483 (yy_did_buffer_switch_on_eof) = 1;
1497 if ((yy_buffer_stack_top) > 0)
1498 --(yy_buffer_stack_top);
1501 gse__load_buffer_state( );
1502 (yy_did_buffer_switch_on_eof) = 1;
1509 static void gse_ensure_buffer_stack (
void)
1513 if (!(yy_buffer_stack)) {
1520 (yy_buffer_stack) = (
struct yy_buffer_state**)
gse_alloc
1521 (num_to_alloc *
sizeof(
struct yy_buffer_state*)
1523 if ( ! (yy_buffer_stack) )
1524 YY_FATAL_ERROR(
"out of dynamic memory in gse_ensure_buffer_stack()" );
1526 memset((yy_buffer_stack), 0, num_to_alloc *
sizeof(
struct yy_buffer_state*));
1528 (yy_buffer_stack_max) = num_to_alloc;
1529 (yy_buffer_stack_top) = 0;
1533 if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
1538 num_to_alloc = (yy_buffer_stack_max) + grow_size;
1539 (yy_buffer_stack) = (
struct yy_buffer_state**)
gse_realloc
1541 num_to_alloc *
sizeof(
struct yy_buffer_state*)
1543 if ( ! (yy_buffer_stack) )
1544 YY_FATAL_ERROR(
"out of dynamic memory in gse_ensure_buffer_stack()" );
1547 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size *
sizeof(
struct yy_buffer_state*));
1548 (yy_buffer_stack_max) = num_to_alloc;
1572 b->yy_buf_size = size - 2;
1573 b->yy_buf_pos = b->yy_ch_buf = base;
1574 b->yy_is_our_buffer = 0;
1575 b->yy_input_file = 0;
1576 b->yy_n_chars = b->yy_buf_size;
1577 b->yy_is_interactive = 0;
1579 b->yy_fill_buffer = 0;
1616 n = _yybytes_len + 2;
1621 for ( i = 0; i < _yybytes_len; ++i )
1622 buf[i] = yybytes[i];
1633 b->yy_is_our_buffer = 1;
1638 #ifndef YY_EXIT_FAILURE
1639 #define YY_EXIT_FAILURE 2
1642 static void yy_fatal_error (
yyconst char* msg )
1644 (void) fprintf( stderr,
"%s\n", msg );
1655 int yyless_macro_arg = (n); \
1656 YY_LESS_LINENO(yyless_macro_arg);\
1657 gse_text[gse_leng] = (yy_hold_char); \
1658 (yy_c_buf_p) = gse_text + yyless_macro_arg; \
1659 (yy_hold_char) = *(yy_c_buf_p); \
1660 *(yy_c_buf_p) = '\0'; \
1661 gse_leng = yyless_macro_arg; \
1716 gse_lineno = line_number;
1742 gse__flex_debug = bdebug ;
1745 static int yy_init_globals (
void)
1751 (yy_buffer_stack) = 0;
1752 (yy_buffer_stack_top) = 0;
1753 (yy_buffer_stack_max) = 0;
1754 (yy_c_buf_p) = (
char *) 0;
1786 (yy_buffer_stack) = NULL;
1800 static void yy_flex_strncpy (
char* s1,
yyconst char * s2,
int n )
1803 for ( i = 0; i < n; ++i )
1808 #ifdef YY_NEED_STRLEN
1809 static int yy_flex_strlen (
yyconst char * s )
1812 for ( n = 0; s[n]; ++n )
1821 return (
void *) malloc( size );
1833 return (
void *) realloc( (
char *) ptr, size );
1838 free( (
char *) ptr );
1841 #define YYTABLES_NAME "yytables"
1877 gse_lval.val = atof(gse_text);
1883 gse_lval.val = atof(gse_text);
1889 strncpy(gse_lval.id, gse_text,
ID_MAX-1);
1890 gse_lval.id[
ID_MAX-1] =
'\0';
int gse_get_leng(void)
Get the length of the current token.
void * gse_realloc(void *, yy_size_t)
#define EOB_ACT_END_OF_FILE
void gse_restart(FILE *input_file)
Immediately switch to a different input stream.
#define YY_CURRENT_BUFFER
#define YY_DO_BEFORE_ACTION
FILE * gse_get_out(void)
Get the output stream.
void gse_delete_buffer(void *buf)
YY_BUFFER_STATE gse__scan_buffer(char *base, yy_size_t size)
Setup the input buffer state to scan directly from a user-specified character buffer.
#define YY_END_OF_BUFFER_CHAR
void * gse_alloc(yy_size_t)
unsigned short int flex_uint16_t
void gse__flush_buffer(YY_BUFFER_STATE b)
Discard all buffered characters.
char * gse_get_text(void)
Get the current token.
#define YY_CURRENT_BUFFER_LVALUE
unsigned int flex_uint32_t
void gse_switch_to_buffer(void *buf)
YY_BUFFER_STATE gse__scan_string(yyconst char *yy_str)
Setup the input buffer state to scan a string.
void gse_pop_buffer_state(void)
Removes and deletes the top of the stack, if present.
void gse_set_lineno(int line_number)
Set the current line number.
YY_BUFFER_STATE gse__scan_bytes(yyconst char *bytes, int len)
Setup the input buffer state to scan the given bytes.
#define YY_STATE_EOF(state)
int gse_lex_destroy(void)
#define YY_RESTORE_YY_MORE_OFFSET
void gse_set_debug(int debug_flag)
#define EOB_ACT_CONTINUE_SCAN
void gse_push_buffer_state(YY_BUFFER_STATE new_buffer)
Pushes the new state onto the stack.
#define YY_FATAL_ERROR(msg)
YY_EXTRA_TYPE gse_get_extra(void)
void * gse_string(const char *str)
void gse_set_in(FILE *in_str)
Set the input stream.
#define EOB_ACT_LAST_MATCH
void gse_set_out(FILE *out_str)
YY_BUFFER_STATE gse__create_buffer(FILE *file, int size)
Allocate and initialize an input buffer state.
unsigned char flex_uint8_t
FILE * gse_get_in(void)
Get the input stream.
#define YY_INPUT(buf, result, max_size)
#define YY_BUFFER_EOF_PENDING
struct yy_buffer_state * YY_BUFFER_STATE
int gse_get_lineno(void)
Get the current line number.
void gse__switch_to_buffer(YY_BUFFER_STATE new_buffer)
Switch to a different input buffer.
void gse__delete_buffer(YY_BUFFER_STATE b)
Destroy the buffer.
void gse_set_extra(YY_EXTRA_TYPE user_defined)