1 #line 30 "corefcn/oct-tex-lexer.ll"
9 #line 10 "corefcn/oct-tex-lexer.cc"
11 #define YY_INT_ALIGNED short int
16 #define YY_FLEX_MAJOR_VERSION 2
17 #define YY_FLEX_MINOR_VERSION 5
18 #define YY_FLEX_SUBMINOR_VERSION 35
19 #if YY_FLEX_SUBMINOR_VERSION > 0
40 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
45 #ifndef __STDC_LIMIT_MACROS
46 #define __STDC_LIMIT_MACROS 1
66 #define INT8_MIN (-128)
69 #define INT16_MIN (-32767-1)
72 #define INT32_MIN (-2147483647-1)
75 #define INT8_MAX (127)
78 #define INT16_MAX (32767)
81 #define INT32_MAX (2147483647)
84 #define UINT8_MAX (255U)
87 #define UINT16_MAX (65535U)
90 #define UINT32_MAX (4294967295U)
105 #if defined (__STDC__)
113 #define yyconst const
126 #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c)
129 #ifndef YY_TYPEDEF_YY_SCANNER_T
130 #define YY_TYPEDEF_YY_SCANNER_T
136 #define yyin yyg->yyin_r
137 #define yyout yyg->yyout_r
138 #define yyextra yyg->yyextra_r
139 #define yyleng yyg->yyleng_r
140 #define yytext yyg->yytext_r
141 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno)
142 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column)
143 #define yy_flex_debug yyg->yy_flex_debug_r
149 #define BEGIN yyg->yy_start = 1 + 2 *
155 #define YY_START ((yyg->yy_start - 1) / 2)
156 #define YYSTATE YY_START
159 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
162 #define YY_NEW_FILE octave_tex_restart(yyin ,yyscanner )
164 #define YY_END_OF_BUFFER_CHAR 0
173 #define YY_BUF_SIZE 32768
175 #define YY_BUF_SIZE 16384
181 #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
183 #ifndef YY_TYPEDEF_YY_BUFFER_STATE
184 #define YY_TYPEDEF_YY_BUFFER_STATE
188 #define EOB_ACT_CONTINUE_SCAN 0
189 #define EOB_ACT_END_OF_FILE 1
190 #define EOB_ACT_LAST_MATCH 2
192 #define YY_LESS_LINENO(n)
199 int yyless_macro_arg = (n); \
200 YY_LESS_LINENO(yyless_macro_arg);\
201 *yy_cp = yyg->yy_hold_char; \
202 YY_RESTORE_YY_MORE_OFFSET \
203 yyg->yy_c_buf_p = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
204 YY_DO_BEFORE_ACTION; \
208 #define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner )
210 #ifndef YY_TYPEDEF_YY_SIZE_T
211 #define YY_TYPEDEF_YY_SIZE_T
215 #ifndef YY_STRUCT_YY_BUFFER_STATE
216 #define YY_STRUCT_YY_BUFFER_STATE
263 #define YY_BUFFER_NEW 0
264 #define YY_BUFFER_NORMAL 1
275 #define YY_BUFFER_EOF_PENDING 2
286 #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \
287 ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \
293 #define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top]
307 #define YY_FLUSH_BUFFER octave_tex__flush_buffer(YY_CURRENT_BUFFER ,yyscanner)
317 #define yy_new_buffer octave_tex__create_buffer
319 #define yy_set_interactive(is_interactive) \
321 if ( ! YY_CURRENT_BUFFER ){ \
322 octave_tex_ensure_buffer_stack (yyscanner); \
323 YY_CURRENT_BUFFER_LVALUE = \
324 octave_tex__create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
326 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
329 #define yy_set_bol(at_bol) \
331 if ( ! YY_CURRENT_BUFFER ){\
332 octave_tex_ensure_buffer_stack (yyscanner); \
333 YY_CURRENT_BUFFER_LVALUE = \
334 octave_tex__create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \
336 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
339 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
343 #define octave_tex_wrap(n) 1
344 #define YY_SKIP_YYWRAP
350 #define yytext_ptr yytext_r
360 #define YY_DO_BEFORE_ACTION \
361 yyg->yytext_ptr = yy_bp; \
362 yyleng = (size_t) (yy_cp - yy_bp); \
363 yyg->yy_hold_char = *yy_cp; \
365 yyg->yy_c_buf_p = yy_cp;
367 #define YY_NUM_RULES 128
368 #define YY_END_OF_BUFFER 129
378 0, 0, 0, 0, 0, 0, 129, 127, 126, 127,
379 16, 17, 14, 15, 3, 2, 3, 1, 5, 4,
380 123, 0, 0, 0, 0, 0, 0, 0, 0, 0,
381 0, 0, 22, 20, 21, 0, 0, 0, 0, 0,
382 0, 0, 0, 0, 0, 0, 0, 0, 38, 0,
383 0, 0, 0, 0, 0, 0, 0, 0, 18, 19,
384 2, 1, 1, 1, 0, 0, 64, 0, 0, 0,
385 0, 55, 0, 63, 0, 0, 0, 0, 54, 0,
386 0, 0, 0, 0, 6, 0, 0, 0, 0, 0,
387 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
389 0, 0, 0, 0, 96, 0, 7, 0, 0, 0,
390 0, 0, 0, 0, 35, 0, 0, 100, 36, 0,
391 0, 0, 0, 0, 0, 0, 39, 79, 0, 0,
392 0, 0, 0, 0, 0, 9, 0, 8, 0, 0,
393 0, 0, 0, 0, 0, 0, 0, 62, 37, 0,
394 1, 0, 0, 0, 0, 0, 58, 59, 0, 0,
395 0, 0, 0, 0, 0, 0, 82, 0, 0, 86,
396 0, 47, 0, 0, 0, 0, 0, 87, 125, 0,
397 0, 85, 0, 0, 0, 29, 0, 0, 0, 0,
398 97, 0, 0, 78, 0, 0, 0, 0, 0, 0,
400 0, 93, 0, 101, 0, 73, 121, 0, 0, 0,
401 0, 0, 0, 46, 0, 0, 48, 0, 0, 0,
402 41, 0, 0, 103, 0, 0, 0, 0, 44, 0,
403 0, 0, 0, 0, 88, 0, 0, 0, 0, 0,
404 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
405 24, 0, 80, 83, 0, 0, 105, 0, 0, 0,
406 0, 0, 0, 0, 0, 0, 0, 0, 0, 32,
407 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
408 0, 0, 0, 107, 0, 0, 0, 0, 0, 0,
409 0, 0, 0, 0, 69, 0, 0, 0, 0, 0,
411 0, 0, 0, 28, 51, 50, 0, 0, 60, 0,
412 56, 52, 0, 61, 23, 70, 0, 0, 0, 13,
413 0, 26, 0, 0, 0, 102, 0, 0, 0, 0,
414 25, 0, 66, 33, 0, 0, 117, 122, 0, 0,
415 0, 68, 49, 90, 0, 0, 0, 67, 0, 0,
416 120, 0, 0, 42, 0, 0, 0, 30, 81, 0,
417 0, 40, 0, 0, 89, 53, 0, 0, 0, 104,
418 84, 0, 0, 0, 0, 0, 0, 72, 0, 0,
419 71, 0, 34, 116, 0, 0, 115, 92, 91, 0,
420 106, 119, 118, 0, 0, 94, 98, 0, 0, 0,
422 0, 0, 0, 57, 0, 0, 0, 0, 0, 27,
423 0, 0, 0, 0, 0, 65, 0, 0, 0, 0,
424 113, 45, 0, 0, 0, 0, 74, 0, 0, 0,
425 0, 10, 11, 0, 0, 0, 0, 0, 95, 99,
426 43, 31, 109, 0, 0, 124, 0, 114, 76, 108,
427 0, 0, 77, 111, 12, 0, 0, 110, 75, 0,
433 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
434 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
435 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
436 1, 2, 1, 1, 1, 1, 1, 1, 1, 1,
437 1, 1, 1, 1, 1, 4, 1, 5, 6, 6,
438 6, 6, 6, 6, 6, 6, 6, 1, 1, 1,
439 1, 1, 1, 1, 1, 1, 1, 7, 1, 1,
440 8, 1, 9, 1, 1, 10, 1, 1, 11, 12,
441 1, 13, 14, 15, 16, 1, 1, 17, 1, 1,
442 18, 19, 20, 21, 22, 1, 23, 24, 25, 26,
444 27, 28, 29, 30, 31, 1, 32, 33, 34, 35,
445 36, 37, 38, 39, 40, 41, 42, 43, 44, 45,
446 46, 47, 48, 1, 49, 1, 1, 1, 1, 1,
447 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
448 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
449 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
450 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
451 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
452 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
453 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
455 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
456 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
457 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
458 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
459 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
465 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
466 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
467 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
468 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
469 1, 1, 1, 1, 1, 1, 1, 1, 1
474 0, 4, 0, 6, 434, 433, 480, 483, 483, 49,
475 483, 483, 483, 483, 483, 477, 8, 11, 483, 483,
476 483, 451, 454, 442, 1, 441, 0, 2, 443, 443,
477 435, 440, 483, 483, 483, 1, 72, 79, 8, 5,
478 434, 24, 442, 72, 445, 97, 64, 103, 95, 110,
479 123, 125, 88, 430, 104, 0, 435, 438, 483, 483,
480 462, 98, 111, 155, 430, 428, 483, 427, 432, 432,
481 427, 483, 426, 483, 427, 426, 427, 413, 483, 18,
482 423, 414, 409, 408, 483, 415, 410, 410, 414, 405,
483 401, 131, 405, 109, 44, 397, 400, 397, 415, 406,
485 104, 402, 397, 411, 124, 392, 483, 395, 135, 404,
486 394, 135, 396, 402, 483, 403, 142, 483, 483, 399,
487 392, 391, 392, 383, 382, 389, 483, 483, 141, 388,
488 383, 390, 383, 379, 385, 483, 145, 483, 390, 151,
489 370, 384, 376, 153, 370, 381, 381, 483, 483, 365,
490 176, 364, 370, 379, 361, 372, 483, 483, 370, 365,
491 357, 366, 359, 365, 361, 354, 483, 369, 358, 483,
492 349, 483, 364, 364, 351, 357, 339, 483, 483, 343,
493 349, 483, 347, 350, 349, 483, 339, 337, 354, 342,
494 483, 336, 333, 483, 350, 335, 347, 341, 338, 327,
496 326, 483, 330, 483, 332, 483, 483, 335, 321, 339,
497 327, 319, 322, 483, 324, 320, 483, 327, 324, 318,
498 483, 323, 318, 483, 325, 310, 309, 322, 483, 306,
499 319, 306, 313, 146, 483, 314, 319, 318, 317, 313,
500 315, 314, 295, 312, 311, 300, 302, 308, 303, 293,
501 483, 301, 483, 483, 287, 287, 483, 286, 301, 287,
502 299, 288, 277, 278, 149, 285, 294, 275, 269, 483,
503 291, 287, 279, 278, 270, 155, 273, 285, 284, 266,
504 265, 277, 272, 483, 275, 260, 267, 266, 262, 256,
505 273, 268, 267, 266, 483, 269, 251, 251, 256, 257,
507 256, 256, 258, 483, 483, 483, 261, 244, 483, 259,
508 483, 483, 245, 483, 483, 483, 235, 238, 236, 259,
509 245, 483, 240, 235, 237, 483, 232, 248, 239, 236,
510 483, 228, 483, 483, 244, 239, 483, 483, 226, 233,
511 224, 483, 483, 483, 232, 221, 237, 483, 223, 231,
512 483, 218, 233, 483, 215, 213, 212, 483, 483, 216,
513 215, 483, 221, 222, 483, 483, 209, 208, 211, 483,
514 483, 214, 205, 214, 216, 202, 205, 483, 205, 191,
515 483, 195, 483, 483, 197, 206, 483, 483, 483, 201,
516 483, 483, 483, 194, 190, 204, 203, 185, 193, 193,
518 185, 189, 185, 483, 182, 193, 191, 180, 183, 483,
519 191, 190, 185, 179, 184, 483, 174, 181, 173, 172,
520 483, 483, 186, 185, 163, 170, 483, 181, 163, 161,
521 158, 483, 483, 160, 156, 158, 162, 156, 483, 483,
522 483, 483, 483, 152, 175, 483, 161, 483, 483, 483,
523 168, 141, 483, 483, 483, 114, 108, 483, 483, 89,
524 65, 25, 483, 483, 17, 8, 0
529 465, 465, 466, 466, 467, 467, 464, 464, 464, 464,
530 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
531 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
532 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
533 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
534 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
535 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
536 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
537 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
538 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
540 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
541 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
542 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
543 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
544 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
545 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
546 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
547 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
548 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
549 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
551 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
552 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
553 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
554 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
555 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
556 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
557 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
558 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
559 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
560 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
562 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
563 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
564 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
565 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
566 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
567 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
568 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
569 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
570 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
571 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
573 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
574 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
575 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
576 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
577 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
578 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
579 464, 464, 464, 0, 464, 464, 464
584 19, 16, 9, 17, 18, 18, 9, 16, 15, 17,
585 18, 18, 62, 62, 63, 64, 64, 8, 10, 464,
586 11, 12, 10, 68, 11, 12, 147, 69, 74, 71,
587 72, 464, 75, 80, 94, 81, 148, 82, 95, 73,
588 83, 97, 98, 96, 163, 99, 102, 13, 14, 100,
589 103, 13, 14, 21, 164, 22, 23, 24, 25, 26,
590 27, 28, 29, 30, 31, 32, 181, 33, 463, 34,
591 35, 36, 37, 38, 39, 40, 41, 42, 43, 44,
592 45, 46, 47, 48, 49, 50, 182, 51, 52, 53,
593 54, 55, 56, 57, 114, 58, 59, 60, 84, 85,
595 462, 87, 62, 62, 88, 115, 105, 106, 89, 90,
596 141, 91, 107, 86, 92, 151, 151, 142, 143, 109,
597 93, 110, 111, 112, 113, 116, 145, 461, 120, 117,
598 146, 121, 124, 118, 122, 123, 125, 179, 188, 126,
599 127, 180, 189, 128, 119, 131, 460, 132, 129, 130,
600 133, 193, 134, 135, 459, 137, 136, 138, 63, 64,
601 64, 139, 201, 175, 194, 176, 140, 177, 197, 198,
602 206, 215, 202, 223, 226, 232, 216, 339, 224, 207,
603 151, 151, 300, 328, 458, 301, 302, 227, 329, 228,
604 457, 456, 233, 340, 455, 454, 453, 452, 451, 450,
606 449, 448, 447, 446, 445, 444, 443, 442, 441, 440,
607 439, 438, 437, 436, 435, 434, 433, 432, 431, 430,
608 429, 428, 427, 426, 425, 424, 423, 422, 421, 420,
609 419, 418, 417, 416, 415, 414, 413, 412, 411, 410,
610 409, 408, 407, 406, 405, 404, 403, 402, 401, 400,
611 399, 398, 397, 396, 395, 394, 393, 392, 391, 390,
612 389, 388, 387, 386, 385, 384, 383, 382, 381, 380,
613 379, 378, 377, 376, 375, 374, 373, 372, 371, 370,
614 369, 368, 367, 366, 365, 364, 363, 362, 361, 360,
615 359, 358, 357, 356, 355, 354, 353, 352, 351, 350,
617 349, 348, 347, 346, 345, 344, 343, 342, 341, 338,
618 337, 336, 335, 334, 333, 332, 331, 330, 327, 326,
619 325, 324, 323, 322, 321, 320, 319, 318, 317, 316,
620 315, 314, 313, 312, 311, 310, 309, 308, 307, 306,
621 305, 304, 303, 299, 298, 297, 296, 295, 294, 293,
622 292, 291, 290, 289, 288, 287, 286, 285, 284, 283,
623 282, 281, 280, 279, 278, 277, 276, 275, 274, 273,
624 272, 271, 270, 269, 268, 267, 266, 265, 264, 263,
625 262, 261, 260, 259, 258, 257, 256, 255, 254, 253,
626 252, 251, 250, 249, 248, 247, 246, 245, 244, 243,
628 242, 241, 240, 239, 238, 237, 236, 235, 234, 231,
629 230, 229, 225, 222, 221, 220, 219, 218, 217, 214,
630 213, 212, 211, 210, 209, 208, 205, 204, 203, 200,
631 199, 196, 195, 192, 191, 190, 187, 186, 185, 184,
632 183, 178, 174, 173, 172, 171, 170, 169, 168, 167,
633 166, 165, 162, 161, 160, 159, 158, 157, 156, 155,
634 154, 153, 152, 61, 150, 149, 144, 108, 104, 101,
635 79, 78, 77, 76, 70, 67, 66, 65, 61, 464,
636 20, 20, 7, 464, 464, 464, 464, 464, 464, 464,
637 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
639 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
640 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
641 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
647 467, 3, 1, 3, 3, 3, 2, 4, 466, 4,
648 4, 4, 17, 17, 18, 18, 18, 465, 1, 0,
649 1, 1, 2, 25, 2, 2, 56, 25, 28, 27,
650 27, 0, 28, 36, 39, 36, 56, 36, 39, 27,
651 36, 40, 40, 39, 80, 40, 42, 1, 1, 40,
652 42, 2, 2, 10, 80, 10, 10, 10, 10, 10,
653 10, 10, 10, 10, 10, 10, 95, 10, 462, 10,
654 10, 10, 10, 10, 10, 10, 10, 10, 10, 10,
655 10, 10, 10, 10, 10, 10, 95, 10, 10, 10,
656 10, 10, 10, 10, 47, 10, 10, 10, 37, 37,
658 461, 38, 62, 62, 38, 47, 44, 44, 38, 38,
659 53, 38, 44, 37, 38, 63, 63, 53, 53, 46,
660 38, 46, 46, 46, 46, 48, 55, 460, 49, 48,
661 55, 49, 50, 48, 49, 49, 50, 94, 101, 50,
662 50, 94, 101, 50, 48, 51, 457, 51, 50, 50,
663 51, 105, 51, 51, 456, 52, 51, 52, 64, 64,
664 64, 52, 112, 92, 105, 92, 52, 92, 109, 109,
665 117, 129, 112, 137, 140, 144, 129, 276, 137, 117,
666 151, 151, 234, 265, 452, 234, 234, 140, 265, 140,
667 451, 447, 144, 276, 445, 444, 438, 437, 436, 435,
669 434, 431, 430, 429, 428, 426, 425, 424, 423, 420,
670 419, 418, 417, 415, 414, 413, 412, 411, 409, 408,
671 407, 406, 405, 403, 402, 401, 400, 399, 398, 397,
672 396, 395, 394, 390, 386, 385, 382, 380, 379, 377,
673 376, 375, 374, 373, 372, 369, 368, 367, 364, 363,
674 361, 360, 357, 356, 355, 353, 352, 350, 349, 347,
675 346, 345, 341, 340, 339, 336, 335, 332, 330, 329,
676 328, 327, 325, 324, 323, 321, 320, 319, 318, 317,
677 313, 310, 308, 307, 303, 302, 301, 300, 299, 298,
678 297, 296, 294, 293, 292, 291, 290, 289, 288, 287,
680 286, 285, 283, 282, 281, 280, 279, 278, 277, 275,
681 274, 273, 272, 271, 269, 268, 267, 266, 264, 263,
682 262, 261, 260, 259, 258, 256, 255, 252, 250, 249,
683 248, 247, 246, 245, 244, 243, 242, 241, 240, 239,
684 238, 237, 236, 233, 232, 231, 230, 228, 227, 226,
685 225, 223, 222, 220, 219, 218, 216, 215, 213, 212,
686 211, 210, 209, 208, 205, 203, 201, 200, 199, 198,
687 197, 196, 195, 193, 192, 190, 189, 188, 187, 185,
688 184, 183, 181, 180, 177, 176, 175, 174, 173, 171,
689 169, 168, 166, 165, 164, 163, 162, 161, 160, 159,
691 156, 155, 154, 153, 152, 150, 147, 146, 145, 143,
692 142, 141, 139, 135, 134, 133, 132, 131, 130, 126,
693 125, 124, 123, 122, 121, 120, 116, 114, 113, 111,
694 110, 108, 106, 104, 103, 102, 100, 99, 98, 97,
695 96, 93, 91, 90, 89, 88, 87, 86, 84, 83,
696 82, 81, 78, 77, 76, 75, 73, 71, 70, 69,
697 68, 66, 65, 61, 58, 57, 54, 45, 43, 41,
698 32, 31, 30, 29, 26, 24, 23, 22, 16, 7,
699 6, 5, 464, 464, 464, 464, 464, 464, 464, 464,
700 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
702 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
703 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
704 464, 464, 464, 464, 464, 464, 464, 464, 464, 464,
711 #define REJECT reject_used_but_not_detected
712 #define yymore() yymore_used_but_not_detected
713 #define YY_MORE_ADJ 0
714 #define YY_RESTORE_YY_MORE_OFFSET
715 #line 1 "corefcn/oct-tex-lexer.ll"
741 #line 40 "corefcn/oct-tex-lexer.ll"
747 #include <sys/types.h>
753 #if defined (GNULIB_NAMESPACE)
757 #define fprintf GNULIB_NAMESPACE::fprintf
758 #define fread GNULIB_NAMESPACE::fread
759 #define fwrite GNULIB_NAMESPACE::fwrite
760 #define getc GNULIB_NAMESPACE::getc
761 #define isatty GNULIB_NAMESPACE::isatty
762 #define malloc GNULIB_NAMESPACE::malloc
763 #define realloc GNULIB_NAMESPACE::realloc
766 #line 767 "corefcn/oct-tex-lexer.cc"
770 #define MAYBE_NUM_MODE 2
772 #ifndef YY_NO_UNISTD_H
780 #ifndef YY_EXTRA_TYPE
781 #define YY_EXTRA_TYPE void *
824 # define yylval yyg->yylval_r
871 #ifndef YY_SKIP_YYWRAP
882 static void yy_flex_strncpy (
char *,
yyconst char *,
int ,
yyscan_t yyscanner);
885 #ifdef YY_NEED_STRLEN
892 static int yyinput (
yyscan_t yyscanner );
900 #ifndef YY_READ_BUF_SIZE
903 #define YY_READ_BUF_SIZE 16384
905 #define YY_READ_BUF_SIZE 8192
914 #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0)
921 #define YY_INPUT(buf,result,max_size) \
922 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
926 for ( n = 0; n < max_size && \
927 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
930 buf[n++] = (char) c; \
931 if ( c == EOF && ferror( yyin ) ) \
932 YY_FATAL_ERROR( "input in flex scanner failed" ); \
938 while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \
940 if( errno != EINTR) \
942 YY_FATAL_ERROR( "input in flex scanner failed" ); \
958 #define yyterminate() return YY_NULL
962 #ifndef YY_START_STACK_INCR
963 #define YY_START_STACK_INCR 25
967 #ifndef YY_FATAL_ERROR
968 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg , yyscanner)
977 #define YY_DECL_IS_OURS 1
982 #define YY_DECL int octave_tex_lex \
983 (YYSTYPE * yylval_param , yyscan_t yyscanner)
989 #ifndef YY_USER_ACTION
990 #define YY_USER_ACTION
995 #define YY_BREAK break;
998 #define YY_RULE_SETUP \
1006 register char *yy_cp, *yy_bp;
1007 register int yy_act;
1010 #line 69 "corefcn/oct-tex-lexer.ll"
1017 #line 1018 "corefcn/oct-tex-lexer.cc"
1069 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
1071 yy_current_state = (
int)
yy_def[yy_current_state];
1072 if ( yy_current_state >= 465 )
1075 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + (
unsigned int) yy_c];
1078 while (
yy_base[yy_current_state] != 483 );
1100 goto yy_find_action;
1104 #line 75 "corefcn/oct-tex-lexer.ll"
1115 #line 82 "corefcn/oct-tex-lexer.ll"
1121 #line 83 "corefcn/oct-tex-lexer.ll"
1126 #line 85 "corefcn/oct-tex-lexer.ll"
1132 #line 86 "corefcn/oct-tex-lexer.ll"
1140 #line 92 "corefcn/oct-tex-lexer.ll"
1145 #line 93 "corefcn/oct-tex-lexer.ll"
1150 #line 94 "corefcn/oct-tex-lexer.ll"
1155 #line 95 "corefcn/oct-tex-lexer.ll"
1163 #line 101 "corefcn/oct-tex-lexer.ll"
1168 #line 102 "corefcn/oct-tex-lexer.ll"
1173 #line 103 "corefcn/oct-tex-lexer.ll"
1178 #line 104 "corefcn/oct-tex-lexer.ll"
1186 #line 110 "corefcn/oct-tex-lexer.ll"
1191 #line 111 "corefcn/oct-tex-lexer.ll"
1196 #line 112 "corefcn/oct-tex-lexer.ll"
1201 #line 113 "corefcn/oct-tex-lexer.ll"
1205 #line 116 "corefcn/oct-tex-lexer.ll"
1207 #line 117 "corefcn/oct-tex-lexer.ll"
1209 #line 118 "corefcn/oct-tex-lexer.ll"
1211 #line 119 "corefcn/oct-tex-lexer.ll"
1214 #line 119 "corefcn/oct-tex-lexer.ll"
1222 #line 125 "corefcn/oct-tex-lexer.ll"
1227 #line 126 "corefcn/oct-tex-lexer.ll"
1232 #line 127 "corefcn/oct-tex-lexer.ll"
1237 #line 128 "corefcn/oct-tex-lexer.ll"
1242 #line 129 "corefcn/oct-tex-lexer.ll"
1247 #line 130 "corefcn/oct-tex-lexer.ll"
1252 #line 131 "corefcn/oct-tex-lexer.ll"
1257 #line 132 "corefcn/oct-tex-lexer.ll"
1262 #line 133 "corefcn/oct-tex-lexer.ll"
1267 #line 134 "corefcn/oct-tex-lexer.ll"
1272 #line 135 "corefcn/oct-tex-lexer.ll"
1277 #line 136 "corefcn/oct-tex-lexer.ll"
1282 #line 137 "corefcn/oct-tex-lexer.ll"
1287 #line 138 "corefcn/oct-tex-lexer.ll"
1292 #line 139 "corefcn/oct-tex-lexer.ll"
1297 #line 140 "corefcn/oct-tex-lexer.ll"
1302 #line 141 "corefcn/oct-tex-lexer.ll"
1307 #line 142 "corefcn/oct-tex-lexer.ll"
1312 #line 143 "corefcn/oct-tex-lexer.ll"
1317 #line 144 "corefcn/oct-tex-lexer.ll"
1322 #line 145 "corefcn/oct-tex-lexer.ll"
1327 #line 146 "corefcn/oct-tex-lexer.ll"
1332 #line 147 "corefcn/oct-tex-lexer.ll"
1337 #line 148 "corefcn/oct-tex-lexer.ll"
1342 #line 149 "corefcn/oct-tex-lexer.ll"
1347 #line 150 "corefcn/oct-tex-lexer.ll"
1352 #line 151 "corefcn/oct-tex-lexer.ll"
1357 #line 152 "corefcn/oct-tex-lexer.ll"
1362 #line 153 "corefcn/oct-tex-lexer.ll"
1367 #line 154 "corefcn/oct-tex-lexer.ll"
1372 #line 155 "corefcn/oct-tex-lexer.ll"
1377 #line 156 "corefcn/oct-tex-lexer.ll"
1382 #line 157 "corefcn/oct-tex-lexer.ll"
1387 #line 158 "corefcn/oct-tex-lexer.ll"
1392 #line 159 "corefcn/oct-tex-lexer.ll"
1397 #line 160 "corefcn/oct-tex-lexer.ll"
1402 #line 161 "corefcn/oct-tex-lexer.ll"
1407 #line 162 "corefcn/oct-tex-lexer.ll"
1412 #line 163 "corefcn/oct-tex-lexer.ll"
1417 #line 164 "corefcn/oct-tex-lexer.ll"
1422 #line 165 "corefcn/oct-tex-lexer.ll"
1427 #line 166 "corefcn/oct-tex-lexer.ll"
1432 #line 167 "corefcn/oct-tex-lexer.ll"
1437 #line 168 "corefcn/oct-tex-lexer.ll"
1442 #line 169 "corefcn/oct-tex-lexer.ll"
1447 #line 170 "corefcn/oct-tex-lexer.ll"
1452 #line 171 "corefcn/oct-tex-lexer.ll"
1457 #line 172 "corefcn/oct-tex-lexer.ll"
1462 #line 173 "corefcn/oct-tex-lexer.ll"
1467 #line 174 "corefcn/oct-tex-lexer.ll"
1472 #line 175 "corefcn/oct-tex-lexer.ll"
1477 #line 176 "corefcn/oct-tex-lexer.ll"
1482 #line 177 "corefcn/oct-tex-lexer.ll"
1487 #line 178 "corefcn/oct-tex-lexer.ll"
1492 #line 179 "corefcn/oct-tex-lexer.ll"
1497 #line 180 "corefcn/oct-tex-lexer.ll"
1502 #line 181 "corefcn/oct-tex-lexer.ll"
1507 #line 182 "corefcn/oct-tex-lexer.ll"
1512 #line 183 "corefcn/oct-tex-lexer.ll"
1517 #line 184 "corefcn/oct-tex-lexer.ll"
1522 #line 185 "corefcn/oct-tex-lexer.ll"
1527 #line 186 "corefcn/oct-tex-lexer.ll"
1532 #line 187 "corefcn/oct-tex-lexer.ll"
1537 #line 188 "corefcn/oct-tex-lexer.ll"
1542 #line 189 "corefcn/oct-tex-lexer.ll"
1547 #line 190 "corefcn/oct-tex-lexer.ll"
1552 #line 191 "corefcn/oct-tex-lexer.ll"
1557 #line 192 "corefcn/oct-tex-lexer.ll"
1562 #line 193 "corefcn/oct-tex-lexer.ll"
1567 #line 194 "corefcn/oct-tex-lexer.ll"
1572 #line 195 "corefcn/oct-tex-lexer.ll"
1577 #line 196 "corefcn/oct-tex-lexer.ll"
1582 #line 197 "corefcn/oct-tex-lexer.ll"
1587 #line 198 "corefcn/oct-tex-lexer.ll"
1592 #line 199 "corefcn/oct-tex-lexer.ll"
1597 #line 200 "corefcn/oct-tex-lexer.ll"
1602 #line 201 "corefcn/oct-tex-lexer.ll"
1607 #line 202 "corefcn/oct-tex-lexer.ll"
1612 #line 203 "corefcn/oct-tex-lexer.ll"
1617 #line 204 "corefcn/oct-tex-lexer.ll"
1622 #line 205 "corefcn/oct-tex-lexer.ll"
1627 #line 206 "corefcn/oct-tex-lexer.ll"
1632 #line 207 "corefcn/oct-tex-lexer.ll"
1637 #line 208 "corefcn/oct-tex-lexer.ll"
1642 #line 209 "corefcn/oct-tex-lexer.ll"
1647 #line 210 "corefcn/oct-tex-lexer.ll"
1652 #line 211 "corefcn/oct-tex-lexer.ll"
1657 #line 212 "corefcn/oct-tex-lexer.ll"
1662 #line 213 "corefcn/oct-tex-lexer.ll"
1667 #line 214 "corefcn/oct-tex-lexer.ll"
1672 #line 215 "corefcn/oct-tex-lexer.ll"
1677 #line 216 "corefcn/oct-tex-lexer.ll"
1682 #line 217 "corefcn/oct-tex-lexer.ll"
1687 #line 218 "corefcn/oct-tex-lexer.ll"
1692 #line 219 "corefcn/oct-tex-lexer.ll"
1697 #line 220 "corefcn/oct-tex-lexer.ll"
1702 #line 221 "corefcn/oct-tex-lexer.ll"
1707 #line 222 "corefcn/oct-tex-lexer.ll"
1712 #line 223 "corefcn/oct-tex-lexer.ll"
1717 #line 224 "corefcn/oct-tex-lexer.ll"
1722 #line 225 "corefcn/oct-tex-lexer.ll"
1727 #line 226 "corefcn/oct-tex-lexer.ll"
1732 #line 227 "corefcn/oct-tex-lexer.ll"
1740 #line 234 "corefcn/oct-tex-lexer.ll"
1744 #line 234 "corefcn/oct-tex-lexer.ll"
1749 #line 236 "corefcn/oct-tex-lexer.ll"
1752 #line 1753 "corefcn/oct-tex-lexer.cc"
1761 int yy_amount_of_matched_text = (
int) (yy_cp - yyg->yytext_ptr) - 1;
1794 yyg->
yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text;
1811 if ( yy_next_state )
1815 yy_current_state = yy_next_state;
1822 goto yy_find_action;
1859 yyg->yytext_ptr + yy_amount_of_matched_text;
1875 goto yy_find_action;
1882 "fatal flex scanner internal error--no action found" );
1898 register char *source = yyg->yytext_ptr;
1899 register int number_to_move, i;
1904 "fatal flex scanner internal error--end of buffer missed" );
1928 number_to_move = (
int) (yyg->
yy_c_buf_p - yyg->yytext_ptr) - 1;
1930 for ( i = 0; i < number_to_move; ++i )
1931 *(dest++) = *(source++);
1944 while ( num_to_read <= 0 )
1950 int yy_c_buf_p_offset =
1957 if ( new_size <= 0 )
1972 "fatal error - scanner input buffer overflow" );
2015 YY_FATAL_ERROR(
"out of dynamic memory in yy_get_next_buffer()" );
2032 register char *yy_cp;
2045 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
2047 yy_current_state = (
int)
yy_def[yy_current_state];
2048 if ( yy_current_state >= 465 )
2051 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + (
unsigned int) yy_c];
2054 return yy_current_state;
2064 register int yy_is_jam;
2074 while (
yy_chk[
yy_base[yy_current_state] + yy_c] != yy_current_state )
2076 yy_current_state = (
int)
yy_def[yy_current_state];
2077 if ( yy_current_state >= 465 )
2080 yy_current_state =
yy_nxt[
yy_base[yy_current_state] + (
unsigned int) yy_c];
2081 yy_is_jam = (yy_current_state == 464);
2083 return yy_is_jam ? 0 : yy_current_state;
2088 register char *yy_cp;
2096 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
2099 register int number_to_move = yyg->
yy_n_chars + 2;
2102 register char *source =
2106 *--dest = *--source;
2108 yy_cp += (
int) (dest - source);
2109 yy_bp += (
int) (dest - source);
2113 if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 )
2117 *--yy_cp = (
char) c;
2119 yyg->yytext_ptr = yy_bp;
2126 static int yyinput (
yyscan_t yyscanner)
2149 int offset = yyg->
yy_c_buf_p - yyg->yytext_ptr;
2178 return yyinput(yyscanner);
2180 return input(yyscanner);
2275 YY_FATAL_ERROR(
"out of dynamic memory in octave_tex__create_buffer()" );
2284 YY_FATAL_ERROR(
"out of dynamic memory in octave_tex__create_buffer()" );
2314 extern int isatty (
int );
2383 if (new_buffer == NULL)
2447 YY_FATAL_ERROR(
"out of dynamic memory in octave_tex_ensure_buffer_stack()" );
2467 YY_FATAL_ERROR(
"out of dynamic memory in octave_tex_ensure_buffer_stack()" );
2493 YY_FATAL_ERROR(
"out of dynamic memory in octave_tex__scan_buffer()" );
2539 n = _yybytes_len + 2;
2542 YY_FATAL_ERROR(
"out of dynamic memory in octave_tex__scan_bytes()" );
2544 for ( i = 0; i < _yybytes_len; ++i )
2545 buf[i] = yybytes[i];
2561 #ifndef YY_EXIT_FAILURE
2562 #define YY_EXIT_FAILURE 2
2567 (
void) fprintf( stderr,
"%s\n", msg );
2578 int yyless_macro_arg = (n); \
2579 YY_LESS_LINENO(yyless_macro_arg);\
2580 yytext[yyleng] = yyg->yy_hold_char; \
2581 yyg->yy_c_buf_p = yytext + yyless_macro_arg; \
2582 yyg->yy_hold_char = *yyg->yy_c_buf_p; \
2583 *yyg->yy_c_buf_p = '\0'; \
2584 yyleng = yyless_macro_arg; \
2682 yy_fatal_error(
"octave_tex_set_lineno called with no buffer" , yyscanner);
2697 yy_fatal_error(
"octave_tex_set_column called with no buffer" , yyscanner);
2756 if (ptr_yy_globals == NULL){
2763 if (*ptr_yy_globals == NULL){
2769 memset(*ptr_yy_globals,0x00,
sizeof(
struct yyguts_t));
2789 if (ptr_yy_globals == NULL){
2796 if (*ptr_yy_globals == NULL){
2803 memset(*ptr_yy_globals,0x00,
sizeof(
struct yyguts_t));
2878 static void yy_flex_strncpy (
char* s1,
yyconst char * s2,
int n ,
yyscan_t yyscanner)
2881 for ( i = 0; i < n; ++i )
2886 #ifdef YY_NEED_STRLEN
2890 for ( n = 0; s[n]; ++n )
2899 return (
void *) malloc( size );
2911 return (
void *) realloc( (
char *) ptr, size );
2916 free( (
char *) ptr );
2919 #define YYTABLES_NAME "yytables"
2921 #line 236 "corefcn/oct-tex-lexer.ll"