26 #if defined (HAVE_CONFIG_H)
30 #if defined (HAVE_PRAGMA_GCC_DIAGNOSTIC)
32 # pragma GCC diagnostic ignored "-Wunused-function"
37 # pragma GCC diagnostic push
38 # pragma GCC diagnostic ignored "-Wold-style-cast"
39 # pragma GCC diagnostic ignored "-Wsign-compare"
40 # pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
45 #if ! defined (register)
49 #line 50 "libinterp/corefcn/oct-tex-lexer.cc"
51 #define YY_INT_ALIGNED short int
56 #define YY_FLEX_MAJOR_VERSION 2
57 #define YY_FLEX_MINOR_VERSION 6
58 #define YY_FLEX_SUBMINOR_VERSION 4
59 #if YY_FLEX_SUBMINOR_VERSION > 0
63 #ifdef yy_create_buffer
64 #define octave_tex__create_buffer_ALREADY_DEFINED
66 #define yy_create_buffer octave_tex__create_buffer
69 #ifdef yy_delete_buffer
70 #define octave_tex__delete_buffer_ALREADY_DEFINED
72 #define yy_delete_buffer octave_tex__delete_buffer
76 #define octave_tex__scan_buffer_ALREADY_DEFINED
78 #define yy_scan_buffer octave_tex__scan_buffer
82 #define octave_tex__scan_string_ALREADY_DEFINED
84 #define yy_scan_string octave_tex__scan_string
88 #define octave_tex__scan_bytes_ALREADY_DEFINED
90 #define yy_scan_bytes octave_tex__scan_bytes
94 #define octave_tex__init_buffer_ALREADY_DEFINED
96 #define yy_init_buffer octave_tex__init_buffer
99 #ifdef yy_flush_buffer
100 #define octave_tex__flush_buffer_ALREADY_DEFINED
102 #define yy_flush_buffer octave_tex__flush_buffer
105 #ifdef yy_load_buffer_state
106 #define octave_tex__load_buffer_state_ALREADY_DEFINED
108 #define yy_load_buffer_state octave_tex__load_buffer_state
111 #ifdef yy_switch_to_buffer
112 #define octave_tex__switch_to_buffer_ALREADY_DEFINED
114 #define yy_switch_to_buffer octave_tex__switch_to_buffer
117 #ifdef yypush_buffer_state
118 #define octave_tex_push_buffer_state_ALREADY_DEFINED
120 #define yypush_buffer_state octave_tex_push_buffer_state
123 #ifdef yypop_buffer_state
124 #define octave_tex_pop_buffer_state_ALREADY_DEFINED
126 #define yypop_buffer_state octave_tex_pop_buffer_state
129 #ifdef yyensure_buffer_stack
130 #define octave_tex_ensure_buffer_stack_ALREADY_DEFINED
132 #define yyensure_buffer_stack octave_tex_ensure_buffer_stack
136 #define octave_tex_lex_ALREADY_DEFINED
138 #define yylex octave_tex_lex
142 #define octave_tex_restart_ALREADY_DEFINED
144 #define yyrestart octave_tex_restart
148 #define octave_tex_lex_init_ALREADY_DEFINED
150 #define yylex_init octave_tex_lex_init
153 #ifdef yylex_init_extra
154 #define octave_tex_lex_init_extra_ALREADY_DEFINED
156 #define yylex_init_extra octave_tex_lex_init_extra
160 #define octave_tex_lex_destroy_ALREADY_DEFINED
162 #define yylex_destroy octave_tex_lex_destroy
166 #define octave_tex_get_debug_ALREADY_DEFINED
168 #define yyget_debug octave_tex_get_debug
172 #define octave_tex_set_debug_ALREADY_DEFINED
174 #define yyset_debug octave_tex_set_debug
178 #define octave_tex_get_extra_ALREADY_DEFINED
180 #define yyget_extra octave_tex_get_extra
184 #define octave_tex_set_extra_ALREADY_DEFINED
186 #define yyset_extra octave_tex_set_extra
190 #define octave_tex_get_in_ALREADY_DEFINED
192 #define yyget_in octave_tex_get_in
196 #define octave_tex_set_in_ALREADY_DEFINED
198 #define yyset_in octave_tex_set_in
202 #define octave_tex_get_out_ALREADY_DEFINED
204 #define yyget_out octave_tex_get_out
208 #define octave_tex_set_out_ALREADY_DEFINED
210 #define yyset_out octave_tex_set_out
214 #define octave_tex_get_leng_ALREADY_DEFINED
216 #define yyget_leng octave_tex_get_leng
220 #define octave_tex_get_text_ALREADY_DEFINED
222 #define yyget_text octave_tex_get_text
226 #define octave_tex_get_lineno_ALREADY_DEFINED
228 #define yyget_lineno octave_tex_get_lineno
232 #define octave_tex_set_lineno_ALREADY_DEFINED
234 #define yyset_lineno octave_tex_set_lineno
238 #define octave_tex_get_column_ALREADY_DEFINED
240 #define yyget_column octave_tex_get_column
244 #define octave_tex_set_column_ALREADY_DEFINED
246 #define yyset_column octave_tex_set_column
250 #define octave_tex_wrap_ALREADY_DEFINED
252 #define yywrap octave_tex_wrap
256 #define octave_tex_get_lval_ALREADY_DEFINED
258 #define yyget_lval octave_tex_get_lval
262 #define octave_tex_set_lval_ALREADY_DEFINED
264 #define yyset_lval octave_tex_set_lval
268 #define octave_tex_alloc_ALREADY_DEFINED
270 #define yyalloc octave_tex_alloc
274 #define octave_tex_realloc_ALREADY_DEFINED
276 #define yyrealloc octave_tex_realloc
280 #define octave_tex_free_ALREADY_DEFINED
282 #define yyfree octave_tex_free
302 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
307 #ifndef __STDC_LIMIT_MACROS
308 #define __STDC_LIMIT_MACROS 1
311 #include <inttypes.h>
328 #define INT8_MIN (-128)
331 #define INT16_MIN (-32767-1)
334 #define INT32_MIN (-2147483647-1)
337 #define INT8_MAX (127)
340 #define INT16_MAX (32767)
343 #define INT32_MAX (2147483647)
346 #define UINT8_MAX (255U)
349 #define UINT16_MAX (65535U)
352 #define UINT32_MAX (4294967295U)
356 #define SIZE_MAX (~(size_t)0)
366 #define yyconst const
368 #if defined(__GNUC__) && __GNUC__ >= 3
369 #define yynoreturn __attribute__((__noreturn__))
380 #define YY_SC_TO_UI(c) ((YY_CHAR) (c))
383 #ifndef YY_TYPEDEF_YY_SCANNER_T
384 #define YY_TYPEDEF_YY_SCANNER_T
390 #define yyin yyg->yyin_r
391 #define yyout yyg->yyout_r
392 #define yyextra yyg->yyextra_r
393 #define yyleng yyg->yyleng_r
394 #define yytext yyg->yytext_r
395 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
396 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
397 #define yy_flex_debug yyg->yy_flex_debug_r
403 #define BEGIN yyg->yy_start = 1 + 2 *
408 #define YY_START ((yyg->yy_start - 1) / 2)
409 #define YYSTATE YY_START
411 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
413 #define YY_NEW_FILE yyrestart( yyin , yyscanner )
414 #define YY_END_OF_BUFFER_CHAR 0
423 #define YY_BUF_SIZE 32768
425 #define YY_BUF_SIZE 16384
431 #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
433 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
434 #define YY_TYPEDEF_YY_BUFFER_STATE
438 #ifndef YY_TYPEDEF_YY_SIZE_T
439 #define YY_TYPEDEF_YY_SIZE_T
443 #define EOB_ACT_CONTINUE_SCAN 0
444 #define EOB_ACT_END_OF_FILE 1
445 #define EOB_ACT_LAST_MATCH 2
447 #define YY_LESS_LINENO(n)
448 #define YY_LINENO_REWIND_TO(ptr)
455 int yyless_macro_arg = (n); \
456 YY_LESS_LINENO(yyless_macro_arg);\
457 *yy_cp = yyg->yy_hold_char; \
458 YY_RESTORE_YY_MORE_OFFSET \
459 yyg->yy_c_buf_p = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
460 YY_DO_BEFORE_ACTION; \
463 #define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner )
465 #ifndef YY_STRUCT_YY_BUFFER_STATE
466 #define YY_STRUCT_YY_BUFFER_STATE
467 struct yy_buffer_state
488 int yy_is_our_buffer;
495 int yy_is_interactive;
511 int yy_buffer_status;
513 #define YY_BUFFER_NEW 0
514 #define YY_BUFFER_NORMAL 1
525 #define YY_BUFFER_EOF_PENDING 2
536 #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
537 ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
542 #define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
555 #define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER , yyscanner)
565 #define yy_new_buffer yy_create_buffer
566 #define yy_set_interactive(is_interactive) \
568 if ( ! YY_CURRENT_BUFFER ){ \
569 yyensure_buffer_stack (yyscanner); \
570 YY_CURRENT_BUFFER_LVALUE = \
571 yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner); \
573 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
575 #define yy_set_bol(at_bol) \
577 if ( ! YY_CURRENT_BUFFER ){\
578 yyensure_buffer_stack (yyscanner); \
579 YY_CURRENT_BUFFER_LVALUE = \
580 yy_create_buffer( yyin, YY_BUF_SIZE , yyscanner); \
582 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
584 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
588 #define octave_tex_wrap(yyscanner) (1)
589 #define YY_SKIP_YYWRAP
594 #define yytext_ptr yytext_r
598 static int yy_get_next_buffer (
yyscan_t yyscanner );
604 #define YY_DO_BEFORE_ACTION \
605 yyg->yytext_ptr = yy_bp; \
606 yyleng = (int) (yy_cp - yy_bp); \
607 yyg->yy_hold_char = *yy_cp; \
609 yyg->yy_c_buf_p = yy_cp;
610 #define YY_NUM_RULES 128
611 #define YY_END_OF_BUFFER 129
621 0, 0, 0, 0, 0, 0, 129, 127, 126, 127,
622 16, 17, 14, 15, 3, 2, 3, 1, 5, 4,
623 123, 0, 0, 0, 0, 0, 0, 0, 0, 0,
624 0, 0, 22, 20, 21, 0, 0, 0, 0, 0,
625 0, 0, 0, 0, 0, 0, 0, 0, 38, 0,
626 0, 0, 0, 0, 0, 0, 0, 0, 18, 19,
627 2, 1, 1, 1, 0, 0, 64, 0, 0, 0,
628 0, 55, 0, 63, 0, 0, 0, 0, 54, 0,
629 0, 0, 0, 0, 6, 0, 0, 0, 0, 0,
630 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
632 0, 0, 0, 0, 96, 0, 7, 0, 0, 0,
633 0, 0, 0, 0, 35, 0, 0, 100, 36, 0,
634 0, 0, 0, 0, 0, 0, 39, 79, 0, 0,
635 0, 0, 0, 0, 0, 9, 0, 8, 0, 0,
636 0, 0, 0, 0, 0, 0, 0, 62, 37, 0,
637 1, 0, 0, 0, 0, 0, 58, 59, 0, 0,
638 0, 0, 0, 0, 0, 0, 82, 0, 0, 86,
639 0, 47, 0, 0, 0, 0, 0, 87, 125, 0,
640 0, 85, 0, 0, 0, 29, 0, 0, 0, 0,
641 97, 0, 0, 78, 0, 0, 0, 0, 0, 0,
643 0, 93, 0, 101, 0, 73, 121, 0, 0, 0,
644 0, 0, 0, 46, 0, 0, 48, 0, 0, 0,
645 41, 0, 0, 103, 0, 0, 0, 0, 44, 0,
646 0, 0, 0, 0, 88, 0, 0, 0, 0, 0,
647 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
648 24, 0, 80, 83, 0, 0, 105, 0, 0, 0,
649 0, 0, 0, 0, 0, 0, 0, 0, 0, 32,
650 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
651 0, 0, 0, 107, 0, 0, 0, 0, 0, 0,
652 0, 0, 0, 0, 69, 0, 0, 0, 0, 0,
654 0, 0, 0, 28, 51, 50, 0, 0, 60, 0,
655 56, 52, 0, 61, 23, 70, 0, 0, 0, 13,
656 0, 26, 0, 0, 0, 102, 0, 0, 0, 0,
657 25, 0, 66, 33, 0, 0, 117, 122, 0, 0,
658 0, 68, 49, 90, 0, 0, 0, 67, 0, 0,
659 120, 0, 0, 42, 0, 0, 0, 30, 81, 0,
660 0, 40, 0, 0, 89, 53, 0, 0, 0, 104,
661 84, 0, 0, 0, 0, 0, 0, 72, 0, 0,
662 71, 0, 34, 116, 0, 0, 115, 92, 91, 0,
663 106, 119, 118, 0, 0, 94, 98, 0, 0, 0,
665 0, 0, 0, 57, 0, 0, 0, 0, 0, 27,
666 0, 0, 0, 0, 0, 65, 0, 0, 0, 0,
667 113, 45, 0, 0, 0, 0, 74, 0, 0, 0,
668 0, 10, 11, 0, 0, 0, 0, 0, 95, 99,
669 43, 31, 109, 0, 0, 124, 0, 114, 76, 108,
670 0, 0, 77, 111, 12, 0, 0, 110, 75, 0,
674 static const YY_CHAR yy_ec[256] =
676 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
677 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
678 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
679 1, 2, 1, 1, 1, 1, 1, 1, 1, 1,
680 1, 1, 1, 2, 1, 4, 1, 5, 6, 6,
681 6, 6, 6, 6, 6, 6, 6, 1, 1, 1,
682 1, 1, 1, 1, 1, 1, 1, 7, 1, 1,
683 8, 1, 9, 1, 1, 10, 1, 1, 11, 12,
684 1, 13, 14, 15, 16, 1, 1, 17, 1, 1,
685 18, 19, 20, 21, 22, 1, 23, 24, 25, 26,
687 27, 28, 29, 30, 31, 1, 32, 33, 34, 35,
688 36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
689 46, 47, 48, 1, 49, 1, 1, 1, 1, 1,
690 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
691 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
692 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
693 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
694 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
695 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
696 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
698 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
699 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
700 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
701 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
702 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
706 static const YY_CHAR yy_meta[50] =
708 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
709 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
710 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
711 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
712 1, 1, 1, 1, 1, 1, 1, 1, 1
717 0, 4, 0, 6, 434, 433, 480, 483, 483, 49,
718 483, 483, 483, 483, 483, 477, 8, 11, 483, 483,
719 483, 451, 454, 442, 1, 441, 0, 2, 443, 443,
720 435, 440, 483, 483, 483, 1, 72, 79, 8, 5,
721 434, 24, 442, 72, 445, 97, 64, 103, 95, 110,
722 123, 125, 88, 430, 104, 0, 435, 438, 483, 483,
723 462, 98, 111, 155, 430, 428, 483, 427, 432, 432,
724 427, 483, 426, 483, 427, 426, 427, 413, 483, 18,
725 423, 414, 409, 408, 483, 415, 410, 410, 414, 405,
726 401, 131, 405, 109, 44, 397, 400, 397, 415, 406,
728 104, 402, 397, 411, 124, 392, 483, 395, 135, 404,
729 394, 135, 396, 402, 483, 403, 142, 483, 483, 399,
730 392, 391, 392, 383, 382, 389, 483, 483, 141, 388,
731 383, 390, 383, 379, 385, 483, 145, 483, 390, 151,
732 370, 384, 376, 153, 370, 381, 381, 483, 483, 365,
733 176, 364, 370, 379, 361, 372, 483, 483, 370, 365,
734 357, 366, 359, 365, 361, 354, 483, 369, 358, 483,
735 349, 483, 364, 364, 351, 357, 339, 483, 483, 343,
736 349, 483, 347, 350, 349, 483, 339, 337, 354, 342,
737 483, 336, 333, 483, 350, 335, 347, 341, 338, 327,
739 326, 483, 330, 483, 332, 483, 483, 335, 321, 339,
740 327, 319, 322, 483, 324, 320, 483, 327, 324, 318,
741 483, 323, 318, 483, 325, 310, 309, 322, 483, 306,
742 319, 306, 313, 146, 483, 314, 319, 318, 317, 313,
743 315, 314, 295, 312, 311, 300, 302, 308, 303, 293,
744 483, 301, 483, 483, 287, 287, 483, 286, 301, 287,
745 299, 288, 277, 278, 149, 285, 294, 275, 269, 483,
746 291, 287, 279, 278, 270, 155, 273, 285, 284, 266,
747 265, 277, 272, 483, 275, 260, 267, 266, 262, 256,
748 273, 268, 267, 266, 483, 269, 251, 251, 256, 257,
750 256, 256, 258, 483, 483, 483, 261, 244, 483, 259,
751 483, 483, 245, 483, 483, 483, 235, 238, 236, 259,
752 245, 483, 240, 235, 237, 483, 232, 248, 239, 236,
753 483, 228, 483, 483, 244, 239, 483, 483, 226, 233,
754 224, 483, 483, 483, 232, 221, 237, 483, 223, 231,
755 483, 218, 233, 483, 215, 213, 212, 483, 483, 216,
756 215, 483, 221, 222, 483, 483, 209, 208, 211, 483,
757 483, 214, 205, 214, 216, 202, 205, 483, 205, 191,
758 483, 195, 483, 483, 197, 206, 483, 483, 483, 201,
759 483, 483, 483, 194, 190, 204, 203, 185, 193, 193,
761 185, 189, 185, 483, 182, 193, 191, 180, 183, 483,
762 191, 190, 185, 179, 184, 483, 174, 181, 173, 172,
763 483, 483, 186, 185, 163, 170, 483, 181, 163, 161,
764 158, 483, 483, 160, 156, 158, 162, 156, 483, 483,
765 483, 483, 483, 152, 175, 483, 161, 483, 483, 483,
766 168, 141, 483, 483, 483, 114, 108, 483, 483, 89,
767 65, 25, 483, 483, 17, 8, 0
772 465, 465, 466, 466, 467, 467, 464, 464, 464, 464,
773 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
774 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
775 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
776 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
777 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
778 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
779 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
780 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
781 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
783 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
784 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
785 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
786 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
787 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
788 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
789 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
790 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
791 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
792 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
794 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
795 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
796 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
797 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
798 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
799 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
800 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
801 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
802 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
803 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
805 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
806 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
807 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
808 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
809 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
810 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
811 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
812 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
813 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
814 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
816 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
817 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
818 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
819 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
820 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
821 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
822 464, 464, 464, 0, 464, 464, 464
827 19, 16, 9, 17, 18, 18, 9, 16, 15, 17,
828 18, 18, 62, 62, 63, 64, 64, 8, 10, 464,
829 11, 12, 10, 68, 11, 12, 147, 69, 74, 71,
830 72, 464, 75, 80, 94, 81, 148, 82, 95, 73,
831 83, 97, 98, 96, 163, 99, 102, 13, 14, 100,
832 103, 13, 14, 21, 164, 22, 23, 24, 25, 26,
833 27, 28, 29, 30, 31, 32, 181, 33, 463, 34,
834 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
835 45, 46, 47, 48, 49, 50, 182, 51, 52, 53,
836 54, 55, 56, 57, 114, 58, 59, 60, 84, 85,
838 462, 87, 62, 62, 88, 115, 105, 106, 89, 90,
839 141, 91, 107, 86, 92, 151, 151, 142, 143, 109,
840 93, 110, 111, 112, 113, 116, 145, 461, 120, 117,
841 146, 121, 124, 118, 122, 123, 125, 179, 188, 126,
842 127, 180, 189, 128, 119, 131, 460, 132, 129, 130,
843 133, 193, 134, 135, 459, 137, 136, 138, 63, 64,
844 64, 139, 201, 175, 194, 176, 140, 177, 197, 198,
845 206, 215, 202, 223, 226, 232, 216, 339, 224, 207,
846 151, 151, 300, 328, 458, 301, 302, 227, 329, 228,
847 457, 456, 233, 340, 455, 454, 453, 452, 451, 450,
849 449, 448, 447, 446, 445, 444, 443, 442, 441, 440,
850 439, 438, 437, 436, 435, 434, 433, 432, 431, 430,
851 429, 428, 427, 426, 425, 424, 423, 422, 421, 420,
852 419, 418, 417, 416, 415, 414, 413, 412, 411, 410,
853 409, 408, 407, 406, 405, 404, 403, 402, 401, 400,
854 399, 398, 397, 396, 395, 394, 393, 392, 391, 390,
855 389, 388, 387, 386, 385, 384, 383, 382, 381, 380,
856 379, 378, 377, 376, 375, 374, 373, 372, 371, 370,
857 369, 368, 367, 366, 365, 364, 363, 362, 361, 360,
858 359, 358, 357, 356, 355, 354, 353, 352, 351, 350,
860 349, 348, 347, 346, 345, 344, 343, 342, 341, 338,
861 337, 336, 335, 334, 333, 332, 331, 330, 327, 326,
862 325, 324, 323, 322, 321, 320, 319, 318, 317, 316,
863 315, 314, 313, 312, 311, 310, 309, 308, 307, 306,
864 305, 304, 303, 299, 298, 297, 296, 295, 294, 293,
865 292, 291, 290, 289, 288, 287, 286, 285, 284, 283,
866 282, 281, 280, 279, 278, 277, 276, 275, 274, 273,
867 272, 271, 270, 269, 268, 267, 266, 265, 264, 263,
868 262, 261, 260, 259, 258, 257, 256, 255, 254, 253,
869 252, 251, 250, 249, 248, 247, 246, 245, 244, 243,
871 242, 241, 240, 239, 238, 237, 236, 235, 234, 231,
872 230, 229, 225, 222, 221, 220, 219, 218, 217, 214,
873 213, 212, 211, 210, 209, 208, 205, 204, 203, 200,
874 199, 196, 195, 192, 191, 190, 187, 186, 185, 184,
875 183, 178, 174, 173, 172, 171, 170, 169, 168, 167,
876 166, 165, 162, 161, 160, 159, 158, 157, 156, 155,
877 154, 153, 152, 61, 150, 149, 144, 108, 104, 101,
878 79, 78, 77, 76, 70, 67, 66, 65, 61, 464,
879 20, 20, 7, 464, 464, 464, 464, 464, 464, 464,
880 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
882 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
883 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
884 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
890 467, 3, 1, 3, 3, 3, 2, 4, 466, 4,
891 4, 4, 17, 17, 18, 18, 18, 465, 1, 0,
892 1, 1, 2, 25, 2, 2, 56, 25, 28, 27,
893 27, 0, 28, 36, 39, 36, 56, 36, 39, 27,
894 36, 40, 40, 39, 80, 40, 42, 1, 1, 40,
895 42, 2, 2, 10, 80, 10, 10, 10, 10, 10,
896 10, 10, 10, 10, 10, 10, 95, 10, 462, 10,
897 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
898 10, 10, 10, 10, 10, 10, 95, 10, 10, 10,
899 10, 10, 10, 10, 47, 10, 10, 10, 37, 37,
901 461, 38, 62, 62, 38, 47, 44, 44, 38, 38,
902 53, 38, 44, 37, 38, 63, 63, 53, 53, 46,
903 38, 46, 46, 46, 46, 48, 55, 460, 49, 48,
904 55, 49, 50, 48, 49, 49, 50, 94, 101, 50,
905 50, 94, 101, 50, 48, 51, 457, 51, 50, 50,
906 51, 105, 51, 51, 456, 52, 51, 52, 64, 64,
907 64, 52, 112, 92, 105, 92, 52, 92, 109, 109,
908 117, 129, 112, 137, 140, 144, 129, 276, 137, 117,
909 151, 151, 234, 265, 452, 234, 234, 140, 265, 140,
910 451, 447, 144, 276, 445, 444, 438, 437, 436, 435,
912 434, 431, 430, 429, 428, 426, 425, 424, 423, 420,
913 419, 418, 417, 415, 414, 413, 412, 411, 409, 408,
914 407, 406, 405, 403, 402, 401, 400, 399, 398, 397,
915 396, 395, 394, 390, 386, 385, 382, 380, 379, 377,
916 376, 375, 374, 373, 372, 369, 368, 367, 364, 363,
917 361, 360, 357, 356, 355, 353, 352, 350, 349, 347,
918 346, 345, 341, 340, 339, 336, 335, 332, 330, 329,
919 328, 327, 325, 324, 323, 321, 320, 319, 318, 317,
920 313, 310, 308, 307, 303, 302, 301, 300, 299, 298,
921 297, 296, 294, 293, 292, 291, 290, 289, 288, 287,
923 286, 285, 283, 282, 281, 280, 279, 278, 277, 275,
924 274, 273, 272, 271, 269, 268, 267, 266, 264, 263,
925 262, 261, 260, 259, 258, 256, 255, 252, 250, 249,
926 248, 247, 246, 245, 244, 243, 242, 241, 240, 239,
927 238, 237, 236, 233, 232, 231, 230, 228, 227, 226,
928 225, 223, 222, 220, 219, 218, 216, 215, 213, 212,
929 211, 210, 209, 208, 205, 203, 201, 200, 199, 198,
930 197, 196, 195, 193, 192, 190, 189, 188, 187, 185,
931 184, 183, 181, 180, 177, 176, 175, 174, 173, 171,
932 169, 168, 166, 165, 164, 163, 162, 161, 160, 159,
934 156, 155, 154, 153, 152, 150, 147, 146, 145, 143,
935 142, 141, 139, 135, 134, 133, 132, 131, 130, 126,
936 125, 124, 123, 122, 121, 120, 116, 114, 113, 111,
937 110, 108, 106, 104, 103, 102, 100, 99, 98, 97,
938 96, 93, 91, 90, 89, 88, 87, 86, 84, 83,
939 82, 81, 78, 77, 76, 75, 73, 71, 70, 69,
940 68, 66, 65, 61, 58, 57, 54, 45, 43, 41,
941 32, 31, 30, 29, 26, 24, 23, 22, 16, 7,
942 6, 5, 464, 464, 464, 464, 464, 464, 464, 464,
943 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
945 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
946 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
947 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
954 #define REJECT reject_used_but_not_detected
955 #define yymore() yymore_used_but_not_detected
956 #define YY_MORE_ADJ 0
957 #define YY_RESTORE_YY_MORE_OFFSET
958 #line 1 "libinterp/corefcn/oct-tex-lexer.ll"
963 #line 66 "libinterp/corefcn/oct-tex-lexer.ll"
979 #if defined (OCTAVE_TEX_STYPE_IS_DECLARED) && ! defined YYSTYPE
980 # define YYSTYPE OCTAVE_TEX_STYPE
983 #define YY_NO_UNISTD_H 1
984 #define isatty octave_isatty_wrapper
985 #define yyguts_t octave_tex_yyguts_t
987 #line 988 "libinterp/corefcn/oct-tex-lexer.cc"
988 #line 989 "libinterp/corefcn/oct-tex-lexer.cc"
992 #define MAYBE_NUM_MODE 2
994 #ifndef YY_NO_UNISTD_H
1002 #ifndef YY_EXTRA_TYPE
1003 #define YY_EXTRA_TYPE void *
1014 FILE *yyin_r, *yyout_r;
1015 size_t yy_buffer_stack_top;
1016 size_t yy_buffer_stack_max;
1024 int yy_did_buffer_switch_on_eof;
1025 int yy_start_stack_ptr;
1026 int yy_start_stack_depth;
1027 int *yy_start_stack;
1029 char* yy_last_accepting_cpos;
1032 int yy_flex_debug_r;
1042 static int yy_init_globals (
yyscan_t yyscanner );
1046 # define yylval yyg->yylval_r
1093 #ifndef YY_SKIP_YYWRAP
1103 static void yyunput (
int c,
char *buf_ptr ,
yyscan_t yyscanner);
1108 static void yy_flex_strncpy (
char *,
const char *,
int ,
yyscan_t yyscanner);
1111 #ifdef YY_NEED_STRLEN
1112 static int yy_flex_strlen (
const char * ,
yyscan_t yyscanner);
1117 static int yyinput (
yyscan_t yyscanner );
1119 static int input (
yyscan_t yyscanner );
1125 #ifndef YY_READ_BUF_SIZE
1128 #define YY_READ_BUF_SIZE 16384
1130 #define YY_READ_BUF_SIZE 8192
1139 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
1146 #define YY_INPUT(buf,result,max_size) \
1147 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
1151 for ( n = 0; n < max_size && \
1152 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1153 buf[n] = (char) c; \
1155 buf[n++] = (char) c; \
1156 if ( c == EOF && ferror( yyin ) ) \
1157 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1163 while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
1165 if( errno != EINTR) \
1167 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1183 #define yyterminate() return YY_NULL
1187 #ifndef YY_START_STACK_INCR
1188 #define YY_START_STACK_INCR 25
1192 #ifndef YY_FATAL_ERROR
1193 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg , yyscanner)
1202 #define YY_DECL_IS_OURS 1
1207 #define YY_DECL int yylex \
1208 (YYSTYPE * yylval_param , yyscan_t yyscanner)
1214 #ifndef YY_USER_ACTION
1215 #define YY_USER_ACTION
1220 #define YY_BREAK break;
1223 #define YY_RULE_SETUP \
1231 char *yy_cp, *yy_bp;
1237 if ( !yyg->yy_init )
1245 if ( ! yyg->yy_start )
1264 #line 94 "libinterp/corefcn/oct-tex-lexer.ll"
1268 #line 98 "libinterp/corefcn/oct-tex-lexer.ll"
1272 #line 1273 "libinterp/corefcn/oct-tex-lexer.cc"
1276 yy_cp = yyg->yy_c_buf_p;
1279 *yy_cp = yyg->yy_hold_char;
1286 yy_current_state = yyg->yy_start;
1291 if ( yy_accept[yy_current_state] )
1293 yyg->yy_last_accepting_state = yy_current_state;
1294 yyg->yy_last_accepting_cpos = yy_cp;
1296 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1298 yy_current_state = (int) yy_def[yy_current_state];
1299 if ( yy_current_state >= 465 )
1300 yy_c = yy_meta[yy_c];
1302 yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
1305 while ( yy_base[yy_current_state] != 483 );
1308 yy_act = yy_accept[yy_current_state];
1311 yy_cp = yyg->yy_last_accepting_cpos;
1312 yy_current_state = yyg->yy_last_accepting_state;
1313 yy_act = yy_accept[yy_current_state];
1324 *yy_cp = yyg->yy_hold_char;
1325 yy_cp = yyg->yy_last_accepting_cpos;
1326 yy_current_state = yyg->yy_last_accepting_state;
1327 goto yy_find_action;
1331 #line 101 "libinterp/corefcn/oct-tex-lexer.ll"
1341 #line 108 "libinterp/corefcn/oct-tex-lexer.ll"
1347 #line 110 "libinterp/corefcn/oct-tex-lexer.ll"
1355 #line 115 "libinterp/corefcn/oct-tex-lexer.ll"
1364 #line 120 "libinterp/corefcn/oct-tex-lexer.ll"
1375 #line 129 "libinterp/corefcn/oct-tex-lexer.ll"
1380 #line 130 "libinterp/corefcn/oct-tex-lexer.ll"
1385 #line 131 "libinterp/corefcn/oct-tex-lexer.ll"
1390 #line 132 "libinterp/corefcn/oct-tex-lexer.ll"
1398 #line 138 "libinterp/corefcn/oct-tex-lexer.ll"
1403 #line 140 "libinterp/corefcn/oct-tex-lexer.ll"
1411 #line 145 "libinterp/corefcn/oct-tex-lexer.ll"
1419 #line 150 "libinterp/corefcn/oct-tex-lexer.ll"
1427 #line 156 "libinterp/corefcn/oct-tex-lexer.ll"
1432 #line 157 "libinterp/corefcn/oct-tex-lexer.ll"
1437 #line 158 "libinterp/corefcn/oct-tex-lexer.ll"
1442 #line 159 "libinterp/corefcn/oct-tex-lexer.ll"
1446 #line 162 "libinterp/corefcn/oct-tex-lexer.ll"
1448 #line 163 "libinterp/corefcn/oct-tex-lexer.ll"
1450 #line 164 "libinterp/corefcn/oct-tex-lexer.ll"
1452 #line 165 "libinterp/corefcn/oct-tex-lexer.ll"
1455 #line 165 "libinterp/corefcn/oct-tex-lexer.ll"
1466 #line 174 "libinterp/corefcn/oct-tex-lexer.ll"
1471 #line 175 "libinterp/corefcn/oct-tex-lexer.ll"
1476 #line 176 "libinterp/corefcn/oct-tex-lexer.ll"
1481 #line 177 "libinterp/corefcn/oct-tex-lexer.ll"
1486 #line 178 "libinterp/corefcn/oct-tex-lexer.ll"
1491 #line 179 "libinterp/corefcn/oct-tex-lexer.ll"
1496 #line 180 "libinterp/corefcn/oct-tex-lexer.ll"
1501 #line 181 "libinterp/corefcn/oct-tex-lexer.ll"
1506 #line 182 "libinterp/corefcn/oct-tex-lexer.ll"
1511 #line 183 "libinterp/corefcn/oct-tex-lexer.ll"
1516 #line 184 "libinterp/corefcn/oct-tex-lexer.ll"
1521 #line 185 "libinterp/corefcn/oct-tex-lexer.ll"
1526 #line 186 "libinterp/corefcn/oct-tex-lexer.ll"
1531 #line 187 "libinterp/corefcn/oct-tex-lexer.ll"
1536 #line 188 "libinterp/corefcn/oct-tex-lexer.ll"
1541 #line 189 "libinterp/corefcn/oct-tex-lexer.ll"
1546 #line 190 "libinterp/corefcn/oct-tex-lexer.ll"
1551 #line 191 "libinterp/corefcn/oct-tex-lexer.ll"
1556 #line 192 "libinterp/corefcn/oct-tex-lexer.ll"
1561 #line 193 "libinterp/corefcn/oct-tex-lexer.ll"
1566 #line 194 "libinterp/corefcn/oct-tex-lexer.ll"
1571 #line 195 "libinterp/corefcn/oct-tex-lexer.ll"
1576 #line 196 "libinterp/corefcn/oct-tex-lexer.ll"
1581 #line 197 "libinterp/corefcn/oct-tex-lexer.ll"
1586 #line 198 "libinterp/corefcn/oct-tex-lexer.ll"
1591 #line 199 "libinterp/corefcn/oct-tex-lexer.ll"
1596 #line 200 "libinterp/corefcn/oct-tex-lexer.ll"
1601 #line 201 "libinterp/corefcn/oct-tex-lexer.ll"
1606 #line 202 "libinterp/corefcn/oct-tex-lexer.ll"
1611 #line 203 "libinterp/corefcn/oct-tex-lexer.ll"
1616 #line 204 "libinterp/corefcn/oct-tex-lexer.ll"
1621 #line 205 "libinterp/corefcn/oct-tex-lexer.ll"
1626 #line 206 "libinterp/corefcn/oct-tex-lexer.ll"
1631 #line 207 "libinterp/corefcn/oct-tex-lexer.ll"
1636 #line 208 "libinterp/corefcn/oct-tex-lexer.ll"
1641 #line 209 "libinterp/corefcn/oct-tex-lexer.ll"
1646 #line 210 "libinterp/corefcn/oct-tex-lexer.ll"
1651 #line 211 "libinterp/corefcn/oct-tex-lexer.ll"
1656 #line 212 "libinterp/corefcn/oct-tex-lexer.ll"
1661 #line 213 "libinterp/corefcn/oct-tex-lexer.ll"
1666 #line 214 "libinterp/corefcn/oct-tex-lexer.ll"
1671 #line 215 "libinterp/corefcn/oct-tex-lexer.ll"
1676 #line 216 "libinterp/corefcn/oct-tex-lexer.ll"
1681 #line 217 "libinterp/corefcn/oct-tex-lexer.ll"
1686 #line 218 "libinterp/corefcn/oct-tex-lexer.ll"
1691 #line 219 "libinterp/corefcn/oct-tex-lexer.ll"
1696 #line 220 "libinterp/corefcn/oct-tex-lexer.ll"
1701 #line 221 "libinterp/corefcn/oct-tex-lexer.ll"
1706 #line 222 "libinterp/corefcn/oct-tex-lexer.ll"
1711 #line 223 "libinterp/corefcn/oct-tex-lexer.ll"
1716 #line 224 "libinterp/corefcn/oct-tex-lexer.ll"
1721 #line 225 "libinterp/corefcn/oct-tex-lexer.ll"
1726 #line 226 "libinterp/corefcn/oct-tex-lexer.ll"
1731 #line 227 "libinterp/corefcn/oct-tex-lexer.ll"
1736 #line 228 "libinterp/corefcn/oct-tex-lexer.ll"
1741 #line 229 "libinterp/corefcn/oct-tex-lexer.ll"
1746 #line 230 "libinterp/corefcn/oct-tex-lexer.ll"
1751 #line 231 "libinterp/corefcn/oct-tex-lexer.ll"
1756 #line 232 "libinterp/corefcn/oct-tex-lexer.ll"
1761 #line 233 "libinterp/corefcn/oct-tex-lexer.ll"
1766 #line 234 "libinterp/corefcn/oct-tex-lexer.ll"
1771 #line 235 "libinterp/corefcn/oct-tex-lexer.ll"
1776 #line 236 "libinterp/corefcn/oct-tex-lexer.ll"
1781 #line 237 "libinterp/corefcn/oct-tex-lexer.ll"
1786 #line 238 "libinterp/corefcn/oct-tex-lexer.ll"
1791 #line 239 "libinterp/corefcn/oct-tex-lexer.ll"
1796 #line 240 "libinterp/corefcn/oct-tex-lexer.ll"
1801 #line 241 "libinterp/corefcn/oct-tex-lexer.ll"
1806 #line 242 "libinterp/corefcn/oct-tex-lexer.ll"
1811 #line 243 "libinterp/corefcn/oct-tex-lexer.ll"
1816 #line 244 "libinterp/corefcn/oct-tex-lexer.ll"
1821 #line 245 "libinterp/corefcn/oct-tex-lexer.ll"
1826 #line 246 "libinterp/corefcn/oct-tex-lexer.ll"
1831 #line 247 "libinterp/corefcn/oct-tex-lexer.ll"
1836 #line 248 "libinterp/corefcn/oct-tex-lexer.ll"
1841 #line 249 "libinterp/corefcn/oct-tex-lexer.ll"
1846 #line 250 "libinterp/corefcn/oct-tex-lexer.ll"
1851 #line 251 "libinterp/corefcn/oct-tex-lexer.ll"
1856 #line 252 "libinterp/corefcn/oct-tex-lexer.ll"
1861 #line 253 "libinterp/corefcn/oct-tex-lexer.ll"
1866 #line 254 "libinterp/corefcn/oct-tex-lexer.ll"
1871 #line 255 "libinterp/corefcn/oct-tex-lexer.ll"
1876 #line 256 "libinterp/corefcn/oct-tex-lexer.ll"
1881 #line 257 "libinterp/corefcn/oct-tex-lexer.ll"
1886 #line 258 "libinterp/corefcn/oct-tex-lexer.ll"
1891 #line 259 "libinterp/corefcn/oct-tex-lexer.ll"
1896 #line 260 "libinterp/corefcn/oct-tex-lexer.ll"
1901 #line 261 "libinterp/corefcn/oct-tex-lexer.ll"
1906 #line 262 "libinterp/corefcn/oct-tex-lexer.ll"
1911 #line 263 "libinterp/corefcn/oct-tex-lexer.ll"
1916 #line 264 "libinterp/corefcn/oct-tex-lexer.ll"
1921 #line 265 "libinterp/corefcn/oct-tex-lexer.ll"
1926 #line 266 "libinterp/corefcn/oct-tex-lexer.ll"
1931 #line 267 "libinterp/corefcn/oct-tex-lexer.ll"
1936 #line 268 "libinterp/corefcn/oct-tex-lexer.ll"
1941 #line 269 "libinterp/corefcn/oct-tex-lexer.ll"
1946 #line 270 "libinterp/corefcn/oct-tex-lexer.ll"
1951 #line 271 "libinterp/corefcn/oct-tex-lexer.ll"
1956 #line 272 "libinterp/corefcn/oct-tex-lexer.ll"
1961 #line 273 "libinterp/corefcn/oct-tex-lexer.ll"
1966 #line 274 "libinterp/corefcn/oct-tex-lexer.ll"
1971 #line 275 "libinterp/corefcn/oct-tex-lexer.ll"
1976 #line 276 "libinterp/corefcn/oct-tex-lexer.ll"
1984 #line 283 "libinterp/corefcn/oct-tex-lexer.ll"
1988 #line 283 "libinterp/corefcn/oct-tex-lexer.ll"
1995 #if defined (HAVE_PRAGMA_GCC_DIAGNOSTIC)
1998 # pragma GCC diagnostic ignored "-Wunused-parameter"
2003 #line 296 "libinterp/corefcn/oct-tex-lexer.ll"
2006 #line 2007 "libinterp/corefcn/oct-tex-lexer.cc"
2015 int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1;
2018 *yy_cp = yyg->yy_hold_char;
2048 yyg->yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text;
2050 yy_current_state = yy_get_previous_state( yyscanner );
2061 yy_next_state = yy_try_NUL_trans( yy_current_state , yyscanner);
2065 if ( yy_next_state )
2068 yy_cp = ++yyg->yy_c_buf_p;
2069 yy_current_state = yy_next_state;
2075 yy_cp = yyg->yy_c_buf_p;
2076 goto yy_find_action;
2080 else switch ( yy_get_next_buffer( yyscanner ) )
2084 yyg->yy_did_buffer_switch_on_eof = 0;
2086 if (
yywrap( yyscanner ) )
2105 if ( ! yyg->yy_did_buffer_switch_on_eof )
2113 yyg->yytext_ptr + yy_amount_of_matched_text;
2115 yy_current_state = yy_get_previous_state( yyscanner );
2117 yy_cp = yyg->yy_c_buf_p;
2125 yy_current_state = yy_get_previous_state( yyscanner );
2127 yy_cp = yyg->yy_c_buf_p;
2129 goto yy_find_action;
2136 "fatal flex scanner internal error--no action found" );
2149 static int yy_get_next_buffer (
yyscan_t yyscanner)
2153 char *source = yyg->yytext_ptr;
2154 int number_to_move, i;
2159 "fatal flex scanner internal error--end of buffer missed" );
2163 if ( yyg->yy_c_buf_p - yyg->yytext_ptr -
YY_MORE_ADJ == 1 )
2183 number_to_move = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr - 1);
2185 for ( i = 0; i < number_to_move; ++i )
2186 *(dest++) = *(source++);
2199 while ( num_to_read <= 0 )
2205 int yy_c_buf_p_offset =
2206 (int) (yyg->yy_c_buf_p - b->yy_ch_buf);
2208 if ( b->yy_is_our_buffer )
2210 int new_size = b->yy_buf_size * 2;
2212 if ( new_size <= 0 )
2213 b->yy_buf_size += b->yy_buf_size / 8;
2215 b->yy_buf_size *= 2;
2217 b->yy_ch_buf = (
char *)
2220 (
yy_size_t) (b->yy_buf_size + 2) , yyscanner );
2224 b->yy_ch_buf = NULL;
2226 if ( ! b->yy_ch_buf )
2228 "fatal error - scanner input buffer overflow" );
2230 yyg->yy_c_buf_p = &b->yy_ch_buf[yy_c_buf_p_offset];
2242 yyg->yy_n_chars, num_to_read );
2247 if ( yyg->yy_n_chars == 0 )
2268 int new_size = yyg->yy_n_chars + number_to_move + (yyg->yy_n_chars >> 1);
2272 YY_FATAL_ERROR(
"out of dynamic memory in yy_get_next_buffer()" );
2277 yyg->yy_n_chars += number_to_move;
2294 yy_current_state = yyg->yy_start;
2296 for ( yy_cp = yyg->yytext_ptr +
YY_MORE_ADJ; yy_cp < yyg->yy_c_buf_p; ++yy_cp )
2299 if ( yy_accept[yy_current_state] )
2301 yyg->yy_last_accepting_state = yy_current_state;
2302 yyg->yy_last_accepting_cpos = yy_cp;
2304 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2306 yy_current_state = (int) yy_def[yy_current_state];
2307 if ( yy_current_state >= 465 )
2308 yy_c = yy_meta[yy_c];
2310 yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
2313 return yy_current_state;
2325 char *yy_cp = yyg->yy_c_buf_p;
2328 if ( yy_accept[yy_current_state] )
2330 yyg->yy_last_accepting_state = yy_current_state;
2331 yyg->yy_last_accepting_cpos = yy_cp;
2333 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
2335 yy_current_state = (int) yy_def[yy_current_state];
2336 if ( yy_current_state >= 465 )
2337 yy_c = yy_meta[yy_c];
2339 yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
2340 yy_is_jam = (yy_current_state == 464);
2343 return yy_is_jam ? 0 : yy_current_state;
2348 static void yyunput (
int c,
char * yy_bp ,
yyscan_t yyscanner)
2353 yy_cp = yyg->yy_c_buf_p;
2356 *yy_cp = yyg->yy_hold_char;
2358 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
2361 int number_to_move = yyg->yy_n_chars + 2;
2368 *--dest = *--source;
2370 yy_cp += (int) (dest - source);
2371 yy_bp += (int) (dest - source);
2375 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
2379 *--yy_cp = (char) c;
2381 yyg->yytext_ptr = yy_bp;
2382 yyg->yy_hold_char = *yy_cp;
2383 yyg->yy_c_buf_p = yy_cp;
2390 static int yyinput (
yyscan_t yyscanner)
2392 static int input (
yyscan_t yyscanner)
2399 *yyg->yy_c_buf_p = yyg->yy_hold_char;
2409 *yyg->yy_c_buf_p =
'\0';
2413 int offset = (int) (yyg->yy_c_buf_p - yyg->yytext_ptr);
2416 switch ( yy_get_next_buffer( yyscanner ) )
2436 if (
yywrap( yyscanner ) )
2439 if ( ! yyg->yy_did_buffer_switch_on_eof )
2442 return yyinput(yyscanner);
2444 return input(yyscanner);
2449 yyg->yy_c_buf_p = yyg->yytext_ptr + offset;
2455 c = *(
unsigned char *) yyg->yy_c_buf_p;
2456 *yyg->yy_c_buf_p =
'\0';
2457 yyg->yy_hold_char = *++yyg->yy_c_buf_p;
2502 *yyg->yy_c_buf_p = yyg->yy_hold_char;
2515 yyg->yy_did_buffer_switch_on_eof = 1;
2524 yyg->yy_hold_char = *yyg->yy_c_buf_p;
2541 b->yy_buf_size = size;
2546 b->yy_ch_buf = (
char *)
yyalloc( (
yy_size_t) (b->yy_buf_size + 2) , yyscanner );
2547 if ( ! b->yy_ch_buf )
2550 b->yy_is_our_buffer = 1;
2571 if ( b->yy_is_our_buffer )
2572 yyfree( (
void *) b->yy_ch_buf , yyscanner );
2574 yyfree( (
void *) b , yyscanner );
2589 b->yy_input_file = file;
2590 b->yy_fill_buffer = 1;
2597 b->yy_bs_lineno = 1;
2598 b->yy_bs_column = 0;
2601 b->yy_is_interactive = file ? (
isatty( fileno(file) ) > 0) : 0;
2625 b->yy_buf_pos = &b->yy_ch_buf[0];
2643 if (new_buffer == NULL)
2652 *yyg->yy_c_buf_p = yyg->yy_hold_char;
2659 yyg->yy_buffer_stack_top++;
2664 yyg->yy_did_buffer_switch_on_eof = 1;
2679 if (yyg->yy_buffer_stack_top > 0)
2680 --yyg->yy_buffer_stack_top;
2684 yyg->yy_did_buffer_switch_on_eof = 1;
2696 if (!yyg->yy_buffer_stack) {
2703 yyg->yy_buffer_stack = (
struct yy_buffer_state**)
yyalloc
2704 (num_to_alloc *
sizeof(
struct yy_buffer_state*)
2706 if ( ! yyg->yy_buffer_stack )
2707 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
2709 memset(yyg->yy_buffer_stack, 0, num_to_alloc *
sizeof(
struct yy_buffer_state*));
2711 yyg->yy_buffer_stack_max = num_to_alloc;
2712 yyg->yy_buffer_stack_top = 0;
2716 if (yyg->yy_buffer_stack_top >= (yyg->yy_buffer_stack_max) - 1){
2721 num_to_alloc = yyg->yy_buffer_stack_max + grow_size;
2722 yyg->yy_buffer_stack = (
struct yy_buffer_state**)
yyrealloc
2723 (yyg->yy_buffer_stack,
2724 num_to_alloc *
sizeof(
struct yy_buffer_state*)
2726 if ( ! yyg->yy_buffer_stack )
2727 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
2730 memset(yyg->yy_buffer_stack + yyg->yy_buffer_stack_max, 0, grow_size *
sizeof(
struct yy_buffer_state*));
2731 yyg->yy_buffer_stack_max = num_to_alloc;
2755 b->yy_buf_size = (int) (size - 2);
2756 b->yy_buf_pos = b->yy_ch_buf = base;
2757 b->yy_is_our_buffer = 0;
2758 b->yy_input_file = NULL;
2759 b->yy_n_chars = b->yy_buf_size;
2760 b->yy_is_interactive = 0;
2762 b->yy_fill_buffer = 0;
2800 buf = (
char *)
yyalloc(
n , yyscanner );
2804 for ( i = 0; i < _yybytes_len; ++i )
2805 buf[i] = yybytes[i];
2816 b->yy_is_our_buffer = 1;
2821 #ifndef YY_EXIT_FAILURE
2822 #define YY_EXIT_FAILURE 2
2829 fprintf( stderr,
"%s\n", msg );
2840 int yyless_macro_arg = (n); \
2841 YY_LESS_LINENO(yyless_macro_arg);\
2842 yytext[yyleng] = yyg->yy_hold_char; \
2843 yyg->yy_c_buf_p = yytext + yyless_macro_arg; \
2844 yyg->yy_hold_char = *yyg->yy_c_buf_p; \
2845 *yyg->yy_c_buf_p = '\0'; \
2846 yyleng = yyless_macro_arg; \
3016 if (ptr_yy_globals == NULL){
3023 if (*ptr_yy_globals == NULL){
3029 memset(*ptr_yy_globals,0x00,
sizeof(
struct yyguts_t));
3031 return yy_init_globals ( *ptr_yy_globals );
3047 if (ptr_yy_globals == NULL){
3054 if (*ptr_yy_globals == NULL){
3061 memset(*ptr_yy_globals,0x00,
sizeof(
struct yyguts_t));
3065 return yy_init_globals ( *ptr_yy_globals );
3068 static int yy_init_globals (
yyscan_t yyscanner)
3075 yyg->yy_buffer_stack = NULL;
3076 yyg->yy_buffer_stack_top = 0;
3077 yyg->yy_buffer_stack_max = 0;
3078 yyg->yy_c_buf_p = NULL;
3082 yyg->yy_start_stack_ptr = 0;
3083 yyg->yy_start_stack_depth = 0;
3084 yyg->yy_start_stack = NULL;
3114 yyfree(yyg->yy_buffer_stack , yyscanner);
3115 yyg->yy_buffer_stack = NULL;
3118 yyfree( yyg->yy_start_stack , yyscanner );
3119 yyg->yy_start_stack = NULL;
3123 yy_init_globals( yyscanner);
3126 yyfree ( yyscanner , yyscanner );
3136 static void yy_flex_strncpy (
char* s1,
const char * s2,
int n ,
yyscan_t yyscanner)
3142 for ( i = 0; i <
n; ++i )
3147 #ifdef YY_NEED_STRLEN
3148 static int yy_flex_strlen (
const char * s ,
yyscan_t yyscanner)
3151 for (
n = 0; s[
n]; ++
n )
3158 #define YYTABLES_NAME "yytables"
3160 #line 296 "libinterp/corefcn/oct-tex-lexer.ll"
3163 #if defined (HAVE_PRAGMA_GCC_DIAGNOSTIC)
3165 # pragma GCC diagnostic pop
3177 return realloc (ptr, size);
3188 bool text_parser_tex::init_lexer (
const std::string& s)
3199 m_buffer_state =
nullptr;
3209 void text_parser_tex::destroy_lexer ()
3215 m_buffer_state =
nullptr;
3225 OCTAVE_END_NAMESPACE(
octave)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
T::size_type strlen(const typename T::value_type *str)
#define yy_load_buffer_state
unsigned char flex_uint8_t
void octave_tex__delete_buffer(YY_BUFFER_STATE b, yyscan_t yyscanner)
Destroy the buffer.
unsigned int flex_uint32_t
void * octave_tex_realloc(void *, yy_size_t, yyscan_t yyscanner)
int octave_tex_lex_init(yyscan_t *scanner)
#define yypush_buffer_state
struct yy_buffer_state * YY_BUFFER_STATE
#define YY_RESTORE_YY_MORE_OFFSET
void * octave_tex_alloc(yy_size_t, yyscan_t yyscanner)
#define yyensure_buffer_stack
int octave_tex_lex_destroy(yyscan_t yyscanner)
#define EOB_ACT_END_OF_FILE
#define yypop_buffer_state
#define YY_CURRENT_BUFFER_LVALUE
#define yy_switch_to_buffer
#define YY_CURRENT_BUFFER
#define YY_INPUT(buf, result, max_size)
#define YY_STATE_EOF(state)
#define YY_END_OF_BUFFER_CHAR
#define YY_FATAL_ERROR(msg)
unsigned short int flex_uint16_t
#define YY_DO_BEFORE_ACTION
#define EOB_ACT_LAST_MATCH
#define YY_BUFFER_EOF_PENDING
void octave_tex_free(void *, yyscan_t yyscanner)
#define EOB_ACT_CONTINUE_SCAN
YY_BUFFER_STATE octave_tex__scan_bytes(const char *bytes, int len, yyscan_t yyscanner)
Setup the input buffer state to scan the given bytes.