4 #define YY_INT_ALIGNED short int
9 #define YY_FLEX_MAJOR_VERSION 2
10 #define YY_FLEX_MINOR_VERSION 5
11 #define YY_FLEX_SUBMINOR_VERSION 35
12 #if YY_FLEX_SUBMINOR_VERSION > 0
22 #define yyFlexLexer space_constitution_FlexLexer
37 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
42 #ifndef __STDC_LIMIT_MACROS
43 #define __STDC_LIMIT_MACROS 1
63 #define INT8_MIN (-128)
66 #define INT16_MIN (-32767-1)
69 #define INT32_MIN (-2147483647-1)
72 #define INT8_MAX (127)
75 #define INT16_MAX (32767)
78 #define INT32_MAX (2147483647)
81 #define UINT8_MAX (255U)
84 #define UINT16_MAX (65535U)
87 #define UINT32_MAX (4294967295U)
110 #if defined (__STDC__)
118 #define yyconst const
131 #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
137 #define BEGIN (yy_start) = 1 + 2 *
143 #define YY_START (((yy_start) - 1) / 2)
144 #define YYSTATE YY_START
147 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
150 #define YY_NEW_FILE yyrestart( yyin )
152 #define YY_END_OF_BUFFER_CHAR 0
161 #define YY_BUF_SIZE 32768
163 #define YY_BUF_SIZE 16384
169 #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
171 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
172 #define YY_TYPEDEF_YY_BUFFER_STATE
178 #define EOB_ACT_CONTINUE_SCAN 0
179 #define EOB_ACT_END_OF_FILE 1
180 #define EOB_ACT_LAST_MATCH 2
182 #define YY_LESS_LINENO(n)
189 int yyless_macro_arg = (n); \
190 YY_LESS_LINENO(yyless_macro_arg);\
191 *yy_cp = (yy_hold_char); \
192 YY_RESTORE_YY_MORE_OFFSET \
193 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
194 YY_DO_BEFORE_ACTION; \
198 #define unput(c) yyunput( c, (yytext_ptr) )
200 #ifndef YY_TYPEDEF_YY_SIZE_T
201 #define YY_TYPEDEF_YY_SIZE_T
205 #ifndef YY_STRUCT_YY_BUFFER_STATE
206 #define YY_STRUCT_YY_BUFFER_STATE
254 #define YY_BUFFER_NEW 0
255 #define YY_BUFFER_NORMAL 1
266 #define YY_BUFFER_EOF_PENDING 2
277 #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
278 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
284 #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
290 #define yy_new_buffer yy_create_buffer
292 #define yy_set_interactive(is_interactive) \
294 if ( ! YY_CURRENT_BUFFER ){ \
295 yyensure_buffer_stack (); \
296 YY_CURRENT_BUFFER_LVALUE = \
297 yy_create_buffer( yyin, YY_BUF_SIZE ); \
299 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
302 #define yy_set_bol(at_bol) \
304 if ( ! YY_CURRENT_BUFFER ){\
305 yyensure_buffer_stack (); \
306 YY_CURRENT_BUFFER_LVALUE = \
307 yy_create_buffer( yyin, YY_BUF_SIZE ); \
309 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
312 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
315 #define YY_SKIP_YYWRAP
319 #define yytext_ptr yytext
320 #define YY_INTERACTIVE
332 #ifndef __FLEX_LEXER_H
333 #define __FLEX_LEXER_H
337 # define FLEX_STD std::
359 virtual int yylex() = 0;
370 FLEX_STD ostream* new_out = 0 ) = 0;
385 #endif // FLEXLEXER_H
387 #if defined(yyFlexLexer) || ! defined(yyFlexLexerOnce)
388 #define yyFlexLexerOnce
411 virtual int LexerInput(
char* buf,
int max_size );
412 virtual void LexerOutput(
const char* buf,
int size );
415 void yyunput(
int c,
char* buf_ptr );
476 #endif // yyFlexLexer || ! yyFlexLexerOnce
484 #define YY_DO_BEFORE_ACTION \
485 (yytext_ptr) = yy_bp; \
486 yyleng = (size_t) (yy_cp - yy_bp); \
487 (yy_hold_char) = *yy_cp; \
489 (yy_c_buf_p) = yy_cp;
491 #define YY_NUM_RULES 11
492 #define YY_END_OF_BUFFER 12
502 0, 0, 12, 10, 2, 1, 9, 8, 8, 8,
503 8, 8, 9, 8, 8, 8, 8, 8, 8, 8,
504 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
505 3, 5, 8, 4, 7, 8, 8, 8, 8, 8,
506 8, 8, 8, 8, 8, 8, 6, 0
511 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
512 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
513 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
514 1, 2, 1, 1, 4, 5, 1, 1, 1, 1,
515 1, 1, 1, 5, 5, 5, 1, 5, 5, 5,
516 5, 6, 5, 5, 5, 5, 5, 1, 5, 1,
517 5, 1, 1, 5, 7, 7, 7, 7, 7, 7,
518 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
519 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
520 5, 1, 5, 1, 8, 1, 9, 7, 10, 7,
522 11, 7, 7, 7, 12, 7, 7, 13, 14, 15,
523 16, 7, 7, 17, 18, 19, 20, 21, 7, 7,
524 22, 7, 1, 1, 1, 1, 1, 1, 1, 1,
525 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
526 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
527 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
528 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
529 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
530 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
531 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
533 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
534 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
535 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
536 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
537 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
543 1, 1, 2, 1, 3, 3, 3, 3, 3, 3,
544 3, 3, 3, 3, 3, 3, 3, 3, 3, 3,
550 0, 0, 59, 60, 60, 60, 0, 0, 48, 46,
551 41, 44, 0, 0, 45, 38, 34, 41, 37, 31,
552 26, 28, 37, 29, 30, 27, 25, 24, 26, 22,
553 0, 32, 26, 0, 0, 17, 18, 22, 23, 24,
554 12, 19, 14, 10, 11, 9, 0, 60, 22, 21
559 48, 1, 48, 48, 48, 48, 49, 50, 50, 50,
560 50, 50, 49, 50, 50, 50, 50, 50, 50, 50,
561 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
562 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
563 50, 50, 50, 50, 50, 50, 50, 0, 48, 48
568 4, 5, 6, 7, 4, 4, 8, 4, 8, 8,
569 8, 8, 8, 8, 8, 8, 8, 9, 10, 11,
570 12, 8, 13, 14, 13, 47, 46, 45, 44, 43,
571 42, 41, 40, 39, 38, 37, 36, 35, 34, 33,
572 32, 31, 30, 29, 28, 27, 26, 25, 24, 23,
573 22, 21, 20, 19, 18, 17, 16, 15, 48, 3,
574 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
575 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
581 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
582 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
583 1, 1, 49, 50, 49, 46, 45, 44, 43, 42,
584 41, 40, 39, 38, 37, 36, 33, 32, 30, 29,
585 28, 27, 26, 25, 24, 23, 22, 21, 20, 19,
586 18, 17, 16, 15, 12, 11, 10, 9, 3, 48,
587 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
588 48, 48, 48, 48, 48, 48, 48, 48, 48, 48,
595 #define REJECT reject_used_but_not_detected
596 #define yymore() yymore_used_but_not_detected
597 #define YY_MORE_ADJ 0
598 #define YY_RESTORE_YY_MORE_OFFSET
599 #line 1 "space_constitution_lex.flex"
600 #line 3 "space_constitution_lex.flex"
606 #ifndef YY_NO_UNISTD_H
614 #ifndef YY_EXTRA_TYPE
615 #define YY_EXTRA_TYPE void *
619 static void yy_flex_strncpy (
char *,
yyconst char *,
int );
622 #ifdef YY_NEED_STRLEN
623 static int yy_flex_strlen (
yyconst char * );
631 #ifndef YY_READ_BUF_SIZE
634 #define YY_READ_BUF_SIZE 16384
636 #define YY_READ_BUF_SIZE 8192
642 #define ECHO LexerOutput( yytext, yyleng )
649 #define YY_INPUT(buf,result,max_size) \
651 if ( (result = LexerInput( (char *) buf, max_size )) < 0 ) \
652 YY_FATAL_ERROR( "input in flex scanner failed" );
661 #define yyterminate() return YY_NULL
665 #ifndef YY_START_STACK_INCR
666 #define YY_START_STACK_INCR 25
670 #ifndef YY_FATAL_ERROR
671 #define YY_FATAL_ERROR(msg) LexerError( msg )
680 #define YY_DECL_IS_OURS 1
681 #define YY_DECL int yyFlexLexer::yylex()
687 #ifndef YY_USER_ACTION
688 #define YY_USER_ACTION
693 #define YY_BREAK break;
696 #define YY_RULE_SETUP \
707 #line 28 "space_constitution_lex.flex"
729 yyensure_buffer_stack ();
734 yy_load_buffer_state( );
739 yy_cp = (yy_c_buf_p);
742 *yy_cp = (yy_hold_char);
749 yy_current_state = (yy_start);
756 (yy_last_accepting_state) = yy_current_state;
757 (yy_last_accepting_cpos) = yy_cp;
759 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
761 yy_current_state = (int)
yy_def[yy_current_state];
762 if ( yy_current_state >= 49 )
763 yy_c =
yy_meta[(
unsigned int) yy_c];
768 while (
yy_base[yy_current_state] != 60 );
774 yy_cp = (yy_last_accepting_cpos);
775 yy_current_state = (yy_last_accepting_state);
787 *yy_cp = (yy_hold_char);
788 yy_cp = (yy_last_accepting_cpos);
789 yy_current_state = (yy_last_accepting_state);
795 #line 29 "space_constitution_lex.flex"
800 #line 30 "space_constitution_lex.flex"
805 #line 31 "space_constitution_lex.flex"
810 #line 32 "space_constitution_lex.flex"
815 #line 33 "space_constitution_lex.flex"
820 #line 34 "space_constitution_lex.flex"
825 #line 35 "space_constitution_lex.flex"
830 #line 36 "space_constitution_lex.flex"
835 #line 37 "space_constitution_lex.flex"
840 #line 38 "space_constitution_lex.flex"
845 #line 39 "space_constitution_lex.flex"
855 int yy_amount_of_matched_text = (int) (yy_cp - (
yytext_ptr)) - 1;
858 *yy_cp = (yy_hold_char);
888 (yy_c_buf_p) = (
yytext_ptr) + yy_amount_of_matched_text;
890 yy_current_state = yy_get_previous_state( );
901 yy_next_state = yy_try_NUL_trans( yy_current_state );
908 yy_cp = ++(yy_c_buf_p);
909 yy_current_state = yy_next_state;
915 yy_cp = (yy_c_buf_p);
920 else switch ( yy_get_next_buffer( ) )
924 (yy_did_buffer_switch_on_eof) = 0;
945 if ( ! (yy_did_buffer_switch_on_eof) )
955 yy_current_state = yy_get_previous_state( );
957 yy_cp = (yy_c_buf_p);
965 yy_current_state = yy_get_previous_state( );
967 yy_cp = (yy_c_buf_p);
976 "fatal flex scanner internal error--no action found" );
1035 #ifdef YY_INTERACTIVE
1041 if ( yyin->eof() || yyin->fail() )
1044 #ifdef YY_INTERACTIVE
1045 yyin->get( buf[0] );
1056 (void) yyin->read( buf, max_size );
1061 return yyin->gcount();
1067 (void)
yyout->write( buf, size );
1081 register int number_to_move, i;
1086 "fatal flex scanner internal error--end of buffer missed" );
1112 for ( i = 0; i < number_to_move; ++i )
1113 *(dest++) = *(source++);
1126 while ( num_to_read <= 0 )
1132 int yy_c_buf_p_offset =
1139 if ( new_size <= 0 )
1154 "fatal error - scanner input buffer overflow" );
1197 YY_FATAL_ERROR(
"out of dynamic memory in yy_get_next_buffer()" );
1214 register char *
yy_cp;
1226 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
1228 yy_current_state = (int)
yy_def[yy_current_state];
1229 if ( yy_current_state >= 49 )
1230 yy_c =
yy_meta[(
unsigned int) yy_c];
1245 register int yy_is_jam;
1254 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
1256 yy_current_state = (int)
yy_def[yy_current_state];
1257 if ( yy_current_state >= 49 )
1258 yy_c =
yy_meta[(
unsigned int) yy_c];
1261 yy_is_jam = (yy_current_state == 48);
1268 register char *
yy_cp;
1275 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1278 register int number_to_move = (
yy_n_chars) + 2;
1281 register char *source =
1285 *--dest = *--source;
1287 yy_cp += (int) (dest - source);
1288 yy_bp += (int) (dest - source);
1292 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
1296 *--yy_cp = (char) c;
1480 extern "C" int isatty (
int );
1544 if (new_buffer == NULL)
1606 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
1626 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
1650 YY_FATAL_ERROR(
"out of memory expanding start-condition stack" );
1671 #ifndef YY_EXIT_FAILURE
1672 #define YY_EXIT_FAILURE 2
1677 std::cerr << msg << std::endl;
1688 int yyless_macro_arg = (n); \
1689 YY_LESS_LINENO(yyless_macro_arg);\
1690 yytext[yyleng] = (yy_hold_char); \
1691 (yy_c_buf_p) = yytext + yyless_macro_arg; \
1692 (yy_hold_char) = *(yy_c_buf_p); \
1693 *(yy_c_buf_p) = '\0'; \
1694 yyleng = yyless_macro_arg; \
1705 static void yy_flex_strncpy (
char* s1,
yyconst char * s2,
int n )
1708 for ( i = 0; i < n; ++i )
1713 #ifdef YY_NEED_STRLEN
1714 static int yy_flex_strlen (
yyconst char * s )
1717 for ( n = 0; s[n]; ++n )
1726 return (
void *) malloc( size );
1738 return (
void *) realloc( (
char *) ptr, size );
1743 free( (
char *) ptr );
1746 #define YYTABLES_NAME "yytables"
1748 #line 39 "space_constitution_lex.flex"