1 #line 2 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/cbuild/src/cqasm/cqasm-v1-lexer.cpp" 3 #line 4 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/cbuild/src/cqasm/cqasm-v1-lexer.cpp" 5 #define YY_INT_ALIGNED short int 10 #define YY_FLEX_MAJOR_VERSION 2 11 #define YY_FLEX_MINOR_VERSION 6 12 #define YY_FLEX_SUBMINOR_VERSION 1 13 #if YY_FLEX_SUBMINOR_VERSION > 0 34 #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 39 #ifndef __STDC_LIMIT_MACROS 40 #define __STDC_LIMIT_MACROS 1 60 #define INT8_MIN (-128) 63 #define INT16_MIN (-32767-1) 66 #define INT32_MIN (-2147483647-1) 69 #define INT8_MAX (127) 72 #define INT16_MAX (32767) 75 #define INT32_MAX (2147483647) 78 #define UINT8_MAX (255U) 81 #define UINT16_MAX (65535U) 84 #define UINT32_MAX (4294967295U) 94 #if defined(__GNUC__) && __GNUC__ >= 3 95 #define yynoreturn __attribute__((__noreturn__)) 108 #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) 111 #ifndef YY_TYPEDEF_YY_SCANNER_T 112 #define YY_TYPEDEF_YY_SCANNER_T 118 #define yyin yyg->yyin_r 119 #define yyout yyg->yyout_r 120 #define yyextra yyg->yyextra_r 121 #define yyleng yyg->yyleng_r 122 #define yytext yyg->yytext_r 123 #define yylineno (YY_CURRENT_BUFFER_LVALUE->yy_bs_lineno) 124 #define yycolumn (YY_CURRENT_BUFFER_LVALUE->yy_bs_column) 125 #define yy_flex_debug yyg->yy_flex_debug_r 131 #define BEGIN yyg->yy_start = 1 + 2 * 137 #define YY_START ((yyg->yy_start - 1) / 2) 138 #define YYSTATE YY_START 141 #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) 144 #define YY_NEW_FILE cqasm_v1restart(yyin ,yyscanner ) 146 #define YY_END_OF_BUFFER_CHAR 0 155 #define YY_BUF_SIZE 32768 157 #define YY_BUF_SIZE 16384 163 #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) 165 #ifndef YY_TYPEDEF_YY_BUFFER_STATE 166 #define YY_TYPEDEF_YY_BUFFER_STATE 170 #ifndef YY_TYPEDEF_YY_SIZE_T 171 #define YY_TYPEDEF_YY_SIZE_T 175 #define EOB_ACT_CONTINUE_SCAN 0 176 #define EOB_ACT_END_OF_FILE 1 177 #define EOB_ACT_LAST_MATCH 2 186 #define YY_LESS_LINENO(n) \ 189 for ( yyl = n; yyl < yyleng; ++yyl )\ 190 if ( yytext[yyl] == '\n' )\ 193 #define YY_LINENO_REWIND_TO(dst) \ 196 for ( p = yy_cp-1; p >= (dst); --p)\ 206 int yyless_macro_arg = (n); \ 207 YY_LESS_LINENO(yyless_macro_arg);\ 208 *yy_cp = yyg->yy_hold_char; \ 209 YY_RESTORE_YY_MORE_OFFSET \ 210 yyg->yy_c_buf_p = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ 211 YY_DO_BEFORE_ACTION; \ 215 #define unput(c) yyunput( c, yyg->yytext_ptr , yyscanner ) 217 #ifndef YY_STRUCT_YY_BUFFER_STATE 218 #define YY_STRUCT_YY_BUFFER_STATE 265 #define YY_BUFFER_NEW 0 266 #define YY_BUFFER_NORMAL 1 277 #define YY_BUFFER_EOF_PENDING 2 288 #define YY_CURRENT_BUFFER ( yyg->yy_buffer_stack \ 289 ? yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] \ 295 #define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] 305 static void cqasm_v1ensure_buffer_stack (
yyscan_t yyscanner );
306 static void cqasm_v1_load_buffer_state (
yyscan_t yyscanner );
307 static void cqasm_v1_init_buffer (YY_BUFFER_STATE b,FILE *file ,
yyscan_t yyscanner );
309 #define YY_FLUSH_BUFFER cqasm_v1_flush_buffer(YY_CURRENT_BUFFER ,yyscanner) 319 #define yy_new_buffer cqasm_v1_create_buffer 321 #define yy_set_interactive(is_interactive) \ 323 if ( ! YY_CURRENT_BUFFER ){ \ 324 cqasm_v1ensure_buffer_stack (yyscanner); \ 325 YY_CURRENT_BUFFER_LVALUE = \ 326 cqasm_v1_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \ 328 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ 331 #define yy_set_bol(at_bol) \ 333 if ( ! YY_CURRENT_BUFFER ){\ 334 cqasm_v1ensure_buffer_stack (yyscanner); \ 335 YY_CURRENT_BUFFER_LVALUE = \ 336 cqasm_v1_create_buffer(yyin,YY_BUF_SIZE ,yyscanner); \ 338 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ 341 #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) 343 #define cqasm_v1wrap(yyscanner) (1) 344 #define YY_SKIP_YYWRAP 350 #define yytext_ptr yytext_r 354 static int yy_get_next_buffer (
yyscan_t yyscanner );
360 #define YY_DO_BEFORE_ACTION \ 361 yyg->yytext_ptr = yy_bp; \ 362 yyleng = (int) (yy_cp - yy_bp); \ 363 yyg->yy_hold_char = *yy_cp; \ 365 yyg->yy_c_buf_p = yy_cp; 367 #define YY_NUM_RULES 69 368 #define YY_END_OF_BUFFER 70 378 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
379 0, 0, 0, 0, 70, 66, 9, 1, 1, 52,
380 36, 4, 52, 52, 52, 52, 52, 33, 2, 52,
381 52, 52, 51, 51, 51, 51, 51, 51, 51, 51,
382 51, 51, 51, 51, 51, 66, 52, 52, 52, 8,
383 7, 7, 8, 16, 13, 11, 11, 15, 14, 12,
384 41, 40, 40, 37, 41, 46, 45, 45, 44, 46,
385 50, 49, 49, 47, 50, 68, 67, 67, 9, 1,
386 61, 4, 56, 53, 65, 34, 5, 54, 0, 33,
387 35, 62, 59, 60, 58, 63, 51, 51, 0, 51,
389 51, 51, 22, 51, 51, 51, 51, 51, 51, 51,
390 51, 3, 3, 57, 42, 55, 7, 6, 13, 11,
391 14, 40, 39, 39, 38, 45, 43, 49, 48, 67,
392 0, 33, 64, 51, 20, 51, 51, 24, 18, 51,
393 51, 51, 31, 51, 19, 51, 51, 0, 34, 51,
394 21, 51, 23, 51, 51, 51, 51, 51, 51, 51,
395 30, 51, 51, 51, 51, 51, 28, 51, 26, 51,
396 51, 17, 27, 0, 51, 51, 25, 0, 10, 29,
397 0, 0, 0, 0, 0, 0, 0, 32, 0
402 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
403 1, 1, 4, 1, 1, 1, 1, 1, 1, 1,
404 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
405 1, 2, 5, 6, 7, 1, 8, 9, 10, 8,
406 8, 11, 12, 8, 13, 14, 15, 16, 16, 16,
407 16, 16, 16, 16, 16, 16, 16, 8, 17, 18,
408 19, 20, 8, 8, 21, 22, 23, 24, 25, 26,
409 27, 28, 29, 30, 31, 32, 33, 34, 35, 36,
410 37, 38, 39, 40, 41, 42, 43, 30, 30, 30,
411 8, 44, 8, 45, 30, 1, 46, 47, 48, 49,
413 50, 51, 52, 53, 54, 30, 55, 56, 57, 58,
414 59, 60, 61, 62, 63, 64, 65, 66, 67, 30,
415 30, 30, 68, 69, 70, 8, 1, 1, 1, 1,
416 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
417 1, 1, 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,
424 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
425 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,
434 1, 1, 2, 1, 1, 1, 1, 1, 1, 1,
435 1, 1, 1, 3, 1, 4, 1, 1, 1, 1,
436 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
437 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
438 5, 5, 5, 1, 1, 5, 5, 5, 5, 5,
439 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
440 5, 5, 5, 5, 5, 5, 5, 1, 1, 1
445 0, 0, 68, 70, 73, 80, 82, 89, 95, 99,
446 103, 107, 111, 113, 348, 349, 345, 349, 343, 326,
447 349, 0, 349, 335, 332, 64, 89, 104, 349, 103,
448 323, 104, 0, 70, 99, 87, 90, 101, 107, 89,
449 106, 110, 103, 117, 112, 141, 296, 271, 270, 349,
450 349, 335, 322, 349, 331, 349, 320, 349, 274, 349,
451 349, 349, 285, 349, 166, 349, 349, 281, 349, 211,
452 349, 349, 277, 349, 0, 349, 349, 275, 274, 349,
453 349, 0, 349, 349, 349, 123, 349, 349, 259, 141,
454 349, 349, 349, 349, 349, 251, 0, 116, 0, 116,
456 120, 124, 0, 135, 153, 141, 138, 139, 143, 144,
457 155, 349, 265, 349, 349, 349, 349, 349, 224, 349,
458 183, 349, 349, 182, 349, 349, 349, 349, 349, 349,
459 175, 176, 349, 168, 349, 172, 168, 169, 0, 168,
460 173, 182, 0, 179, 0, 172, 181, 130, 120, 184,
461 0, 187, 0, 196, 180, 204, 187, 196, 200, 206,
462 0, 200, 215, 201, 203, 116, 0, 210, 0, 205,
463 219, 0, 0, 227, 219, 224, 0, 213, 0, 0,
464 232, 221, 239, 234, 233, 231, 239, 349, 349, 291,
465 296, 301, 306, 311, 316, 321, 324, 326, 331, 86
471 189, 1, 190, 190, 191, 191, 192, 192, 193, 193,
472 194, 194, 195, 195, 189, 189, 189, 189, 189, 189,
473 189, 196, 189, 189, 189, 189, 189, 197, 189, 189,
474 189, 189, 198, 198, 198, 198, 198, 198, 198, 198,
475 198, 198, 198, 198, 198, 189, 189, 189, 189, 189,
476 189, 189, 189, 189, 189, 189, 189, 189, 189, 189,
477 189, 189, 189, 189, 189, 189, 189, 189, 189, 189,
478 189, 189, 189, 189, 199, 189, 189, 189, 189, 189,
479 189, 196, 189, 189, 189, 189, 189, 189, 189, 189,
480 189, 189, 189, 189, 189, 189, 198, 198, 200, 198,
482 198, 198, 198, 198, 198, 198, 198, 198, 198, 198,
483 198, 189, 189, 189, 189, 189, 189, 189, 189, 189,
484 189, 189, 189, 189, 189, 189, 189, 189, 189, 189,
485 189, 189, 189, 198, 189, 198, 198, 198, 198, 198,
486 198, 198, 198, 198, 198, 198, 198, 189, 189, 198,
487 198, 198, 198, 198, 198, 198, 198, 198, 198, 198,
488 198, 198, 198, 198, 198, 198, 198, 198, 198, 198,
489 198, 198, 198, 189, 198, 198, 198, 189, 198, 198,
490 189, 189, 189, 189, 189, 189, 189, 189, 0, 189,
491 189, 189, 189, 189, 189, 189, 189, 189, 189, 189
497 16, 17, 18, 19, 20, 21, 22, 23, 24, 16,
498 25, 23, 23, 26, 27, 28, 29, 30, 31, 32,
499 33, 34, 35, 33, 36, 37, 33, 33, 38, 33,
500 33, 33, 39, 33, 33, 33, 40, 41, 42, 33,
501 43, 44, 45, 46, 47, 33, 34, 35, 33, 36,
502 37, 33, 33, 38, 33, 33, 39, 33, 33, 33,
503 40, 41, 42, 33, 43, 44, 45, 48, 49, 23,
504 51, 52, 51, 52, 55, 56, 57, 85, 53, 86,
505 53, 55, 56, 57, 62, 63, 58, 64, 59, 60,
506 135, 62, 63, 58, 64, 59, 60, 67, 68, 87,
508 69, 67, 68, 88, 69, 72, 73, 98, 74, 72,
509 73, 99, 74, 77, 78, 77, 78, 89, 101, 90,
510 92, 93, 95, 96, 102, 65, 103, 104, 174, 105,
511 106, 98, 65, 100, 107, 149, 108, 109, 86, 111,
512 134, 110, 101, 112, 113, 149, 75, 131, 102, 136,
513 75, 103, 104, 105, 89, 106, 132, 100, 137, 107,
514 108, 138, 109, 70, 111, 134, 110, 70, 123, 124,
515 139, 125, 131, 136, 140, 125, 141, 143, 144, 142,
516 145, 146, 137, 147, 123, 138, 148, 148, 150, 89,
517 149, 132, 153, 154, 139, 151, 155, 156, 121, 140,
519 141, 143, 144, 142, 145, 146, 157, 158, 147, 125,
520 159, 152, 160, 150, 161, 162, 163, 153, 154, 164,
521 151, 155, 156, 125, 165, 119, 166, 167, 168, 125,
522 169, 157, 158, 170, 159, 152, 160, 171, 161, 172,
523 162, 163, 173, 164, 175, 176, 177, 178, 180, 165,
524 166, 167, 179, 168, 181, 169, 182, 170, 183, 184,
525 185, 186, 171, 172, 187, 188, 173, 112, 175, 176,
526 133, 177, 178, 180, 86, 79, 179, 130, 181, 128,
527 127, 182, 183, 126, 184, 185, 186, 122, 187, 121,
528 188, 50, 50, 50, 50, 50, 54, 54, 54, 54,
530 54, 61, 61, 61, 61, 61, 66, 66, 66, 66,
531 66, 71, 71, 71, 71, 71, 76, 76, 76, 76,
532 76, 82, 120, 82, 82, 82, 91, 91, 91, 97,
533 97, 129, 119, 129, 129, 129, 118, 117, 116, 115,
534 114, 94, 84, 83, 81, 80, 79, 189, 15, 189,
535 189, 189, 189, 189, 189, 189, 189, 189, 189, 189,
536 189, 189, 189, 189, 189, 189, 189, 189, 189, 189,
537 189, 189, 189, 189, 189, 189, 189, 189, 189, 189,
538 189, 189, 189, 189, 189, 189, 189, 189, 189, 189,
539 189, 189, 189, 189, 189, 189, 189, 189, 189, 189,
541 189, 189, 189, 189, 189, 189, 189, 189, 189, 189,
542 189, 189, 189, 189, 189, 189, 189, 189, 189
547 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
548 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
549 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
550 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
551 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
552 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
553 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
554 3, 3, 4, 4, 5, 5, 5, 26, 3, 26,
555 4, 6, 6, 6, 7, 7, 5, 7, 5, 5,
556 200, 8, 8, 6, 8, 6, 6, 9, 9, 27,
558 9, 10, 10, 27, 10, 11, 11, 34, 11, 12,
559 12, 35, 12, 13, 13, 14, 14, 28, 36, 28,
560 30, 30, 32, 32, 37, 7, 38, 39, 166, 40,
561 41, 34, 8, 35, 42, 149, 43, 44, 86, 45,
562 98, 44, 36, 46, 46, 148, 11, 86, 37, 100,
563 12, 38, 39, 40, 90, 41, 90, 35, 101, 42,
564 43, 102, 44, 9, 45, 98, 44, 10, 65, 65,
565 104, 65, 86, 100, 105, 65, 106, 107, 108, 106,
566 109, 110, 101, 111, 124, 102, 131, 131, 134, 132,
567 131, 132, 137, 138, 104, 136, 140, 141, 121, 105,
569 106, 107, 108, 106, 109, 110, 142, 144, 111, 65,
570 146, 136, 147, 134, 150, 152, 154, 137, 138, 155,
571 136, 140, 141, 65, 156, 119, 157, 158, 159, 65,
572 160, 142, 144, 162, 146, 136, 147, 163, 150, 164,
573 152, 154, 165, 155, 168, 170, 171, 174, 176, 156,
574 157, 158, 175, 159, 178, 160, 181, 162, 182, 183,
575 184, 185, 163, 164, 186, 187, 165, 113, 168, 170,
576 96, 171, 174, 176, 89, 79, 175, 78, 178, 73,
577 70, 181, 182, 68, 183, 184, 185, 63, 186, 59,
578 187, 190, 190, 190, 190, 190, 191, 191, 191, 191,
580 191, 192, 192, 192, 192, 192, 193, 193, 193, 193,
581 193, 194, 194, 194, 194, 194, 195, 195, 195, 195,
582 195, 196, 57, 196, 196, 196, 197, 197, 197, 198,
583 198, 199, 55, 199, 199, 199, 53, 52, 49, 48,
584 47, 31, 25, 24, 20, 19, 17, 15, 189, 189,
585 189, 189, 189, 189, 189, 189, 189, 189, 189, 189,
586 189, 189, 189, 189, 189, 189, 189, 189, 189, 189,
587 189, 189, 189, 189, 189, 189, 189, 189, 189, 189,
588 189, 189, 189, 189, 189, 189, 189, 189, 189, 189,
589 189, 189, 189, 189, 189, 189, 189, 189, 189, 189,
591 189, 189, 189, 189, 189, 189, 189, 189, 189, 189,
592 189, 189, 189, 189, 189, 189, 189, 189, 189
598 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,
599 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
600 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
601 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, };
606 #define REJECT reject_used_but_not_detected 607 #define yymore() yymore_used_but_not_detected 608 #define YY_MORE_ADJ 0 609 #define YY_RESTORE_YY_MORE_OFFSET 610 #line 1 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 611 #define YY_NO_INPUT 1 612 #line 7 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 622 #define YY_USER_ACTION yylloc->last_column += yyleng; 623 #define LOCATION_RESET \ 624 yylloc->first_column = 1; yylloc->first_line = 1; \ 625 yylloc->last_column = 1; yylloc->last_line = 1; 626 #define LOCATION_LINE \ 627 yylloc->last_column = 1; yylloc->last_line += 1; 628 #define LOCATION_STEP \ 629 yylloc->first_column = yylloc->last_column; \ 630 yylloc->first_line = yylloc->last_line; 631 #define WITH_STR(TOKNAME) \ 632 DEBUG("Pushing %s token (%s) starting at %d:%d\n", #TOKNAME, yytext, yylloc->first_line, yylloc->first_column); \ 633 yylval->str = strdup(yytext); return TOKNAME 634 #define WITHOUT_STR(TOKNAME) \ 635 DEBUG("Pushing %s token starting at %d:%d\n", #TOKNAME, yylloc->first_line, yylloc->first_column); \ 638 DEBUG("Pushing '%c' token starting at %d:%d\n", yytext[0], yylloc->first_line, yylloc->first_column); \ 640 #define DELETE LOCATION_STEP 647 #line 648 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/cbuild/src/cqasm/cqasm-v1-lexer.cpp" 650 #define MODE_MULTILINE_COMMENT 1 651 #define MODE_VERSION 2 652 #define MODE_STRING 3 654 #define MODE_JSON_STRING 5 655 #define MODE_UNEXPECTED_EOF 6 657 #ifndef YY_NO_UNISTD_H 665 #ifndef YY_EXTRA_TYPE 666 #define YY_EXTRA_TYPE void * 707 static int yy_init_globals (
yyscan_t yyscanner );
711 # define yylval yyg->yylval_r 713 # define yylloc yyg->yylloc_r 764 #ifndef YY_SKIP_YYWRAP 777 static void yy_flex_strncpy (
char *,
yyconst char *,
int ,
yyscan_t yyscanner);
780 #ifdef YY_NEED_STRLEN 787 static int yyinput (
yyscan_t yyscanner );
789 static int input (
yyscan_t yyscanner );
795 #ifndef YY_READ_BUF_SIZE 798 #define YY_READ_BUF_SIZE 16384 800 #define YY_READ_BUF_SIZE 8192 809 #define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) 816 #define YY_INPUT(buf,result,max_size) \ 817 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ 821 for ( n = 0; n < max_size && \ 822 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ 825 buf[n++] = (char) c; \ 826 if ( c == EOF && ferror( yyin ) ) \ 827 YY_FATAL_ERROR( "input in flex scanner failed" ); \ 833 while ( (result = (int) fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ 835 if( errno != EINTR) \ 837 YY_FATAL_ERROR( "input in flex scanner failed" ); \ 853 #define yyterminate() return YY_NULL 857 #ifndef YY_START_STACK_INCR 858 #define YY_START_STACK_INCR 25 862 #ifndef YY_FATAL_ERROR 863 #define YY_FATAL_ERROR(msg) yy_fatal_error( msg , yyscanner) 872 #define YY_DECL_IS_OURS 1 877 #define YY_DECL int cqasm_v1lex \ 878 (YYSTYPE * yylval_param, YYLTYPE * yylloc_param , yyscan_t yyscanner) 884 #ifndef YY_USER_ACTION 885 #define YY_USER_ACTION 890 #define YY_BREAK break; 893 #define YY_RULE_SETUP \ 927 cqasm_v1ensure_buffer_stack (yyscanner);
932 cqasm_v1_load_buffer_state(yyscanner );
936 #line 44 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 943 #line 944 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/cbuild/src/cqasm/cqasm-v1-lexer.cpp" 962 if ( yy_accept[yy_current_state] )
967 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
969 yy_current_state = (int) yy_def[yy_current_state];
970 if ( yy_current_state >= 190 )
971 yy_c = yy_meta[(
unsigned int) yy_c];
973 yy_current_state = yy_nxt[yy_base[yy_current_state] + (
flex_int16_t) yy_c];
976 while ( yy_base[yy_current_state] != 349 );
979 yy_act = yy_accept[yy_current_state];
984 yy_act = yy_accept[yy_current_state];
992 for ( yyl = 0; yyl <
yyleng; ++yyl )
993 if (
yytext[yyl] ==
'\n' )
1010 goto yy_find_action;
1019 #line 58 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1025 #line 61 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1032 #line 64 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1038 #line 67 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1043 #line 68 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1050 #line 71 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1056 #line 72 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1061 #line 73 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1065 #line 74 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1073 #line 79 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1082 #line 87 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1090 #line 90 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1095 #line 91 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1100 #line 92 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1105 #line 93 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1110 #line 94 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1115 #line 95 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1126 #line 105 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1132 #line 108 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1138 #line 111 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1147 #line 114 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1153 #line 117 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1159 #line 120 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1164 #line 121 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1169 #line 122 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1174 #line 123 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1179 #line 124 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1184 #line 125 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1189 #line 126 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1194 #line 127 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1199 #line 128 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1205 #line 131 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1213 #line 136 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1222 #line 144 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1228 #line 147 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1234 #line 150 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1242 #line 157 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1249 #line 160 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1254 #line 161 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1260 #line 162 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1266 #line 163 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1271 #line 164 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1275 #line 165 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1285 #line 174 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1292 #line 177 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1297 #line 178 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1303 #line 179 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1308 #line 180 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1312 #line 181 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1319 #line 184 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1324 #line 185 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1330 #line 186 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1335 #line 187 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1339 #line 188 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1349 #line 197 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1357 #line 204 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1362 #line 205 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1367 #line 206 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1372 #line 207 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1377 #line 208 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1382 #line 209 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1387 #line 210 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1392 #line 211 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1397 #line 212 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1402 #line 213 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1407 #line 214 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1412 #line 215 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1417 #line 216 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1422 #line 217 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1431 #line 225 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1439 #line 230 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1444 #line 231 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1450 #line 233 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l" 1453 #line 1454 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/cbuild/src/cqasm/cqasm-v1-lexer.cpp" 1462 int yy_amount_of_matched_text = (int) (yy_cp - yyg->yytext_ptr) - 1;
1495 yyg->
yy_c_buf_p = yyg->yytext_ptr + yy_amount_of_matched_text;
1497 yy_current_state = yy_get_previous_state( yyscanner );
1508 yy_next_state = yy_try_NUL_trans( yy_current_state , yyscanner);
1512 if ( yy_next_state )
1516 yy_current_state = yy_next_state;
1523 goto yy_find_action;
1527 else switch ( yy_get_next_buffer( yyscanner ) )
1560 yyg->yytext_ptr + yy_amount_of_matched_text;
1562 yy_current_state = yy_get_previous_state( yyscanner );
1572 yy_current_state = yy_get_previous_state( yyscanner );
1576 goto yy_find_action;
1583 "fatal flex scanner internal error--no action found" );
1596 static int yy_get_next_buffer (
yyscan_t yyscanner)
1600 char *source = yyg->yytext_ptr;
1606 "fatal flex scanner internal error--end of buffer missed" );
1632 for ( i = 0; i < number_to_move; ++i )
1633 *(dest++) = *(source++);
1646 while ( num_to_read <= 0 )
1652 int yy_c_buf_p_offset =
1659 if ( new_size <= 0 )
1674 "fatal error - scanner input buffer overflow" );
1717 YY_FATAL_ERROR(
"out of dynamic memory in yy_get_next_buffer()" );
1742 if ( yy_accept[yy_current_state] )
1747 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1749 yy_current_state = (int) yy_def[yy_current_state];
1750 if ( yy_current_state >= 190 )
1751 yy_c = yy_meta[(
unsigned int) yy_c];
1753 yy_current_state = yy_nxt[yy_base[yy_current_state] + (
flex_int16_t) yy_c];
1756 return yy_current_state;
1771 if ( yy_accept[yy_current_state] )
1776 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1778 yy_current_state = (int) yy_def[yy_current_state];
1779 if ( yy_current_state >= 190 )
1780 yy_c = yy_meta[(
unsigned int) yy_c];
1782 yy_current_state = yy_nxt[yy_base[yy_current_state] + (
flex_int16_t) yy_c];
1783 yy_is_jam = (yy_current_state == 189);
1786 return yy_is_jam ? 0 : yy_current_state;
1795 static int yyinput (
yyscan_t yyscanner)
1797 static int input (
yyscan_t yyscanner)
1818 int offset = yyg->
yy_c_buf_p - yyg->yytext_ptr;
1821 switch ( yy_get_next_buffer( yyscanner ) )
1847 return yyinput(yyscanner);
1849 return input(yyscanner);
1885 cqasm_v1ensure_buffer_stack (yyscanner);
1891 cqasm_v1_load_buffer_state(yyscanner );
1907 cqasm_v1ensure_buffer_stack (yyscanner);
1920 cqasm_v1_load_buffer_state(yyscanner );
1930 static void cqasm_v1_load_buffer_state (
yyscan_t yyscanner)
1951 YY_FATAL_ERROR(
"out of dynamic memory in cqasm_v1_create_buffer()" );
1960 YY_FATAL_ERROR(
"out of dynamic memory in cqasm_v1_create_buffer()" );
1964 cqasm_v1_init_buffer(b,file ,yyscanner);
1993 static void cqasm_v1_init_buffer (YY_BUFFER_STATE b, FILE * file ,
yyscan_t yyscanner)
2043 cqasm_v1_load_buffer_state(yyscanner );
2055 if (new_buffer == NULL)
2058 cqasm_v1ensure_buffer_stack(yyscanner);
2075 cqasm_v1_load_buffer_state(yyscanner );
2095 cqasm_v1_load_buffer_state(yyscanner );
2103 static void cqasm_v1ensure_buffer_stack (
yyscan_t yyscanner)
2119 YY_FATAL_ERROR(
"out of dynamic memory in cqasm_v1ensure_buffer_stack()" );
2139 YY_FATAL_ERROR(
"out of dynamic memory in cqasm_v1ensure_buffer_stack()" );
2165 YY_FATAL_ERROR(
"out of dynamic memory in cqasm_v1_scan_buffer()" );
2214 YY_FATAL_ERROR(
"out of dynamic memory in cqasm_v1_scan_bytes()" );
2216 for ( i = 0; i < _yybytes_len; ++i )
2217 buf[i] = yybytes[i];
2233 #ifndef YY_EXIT_FAILURE 2234 #define YY_EXIT_FAILURE 2 2241 (void) fprintf( stderr,
"%s\n", msg );
2252 int yyless_macro_arg = (n); \ 2253 YY_LESS_LINENO(yyless_macro_arg);\ 2254 yytext[yyleng] = yyg->yy_hold_char; \ 2255 yyg->yy_c_buf_p = yytext + yyless_macro_arg; \ 2256 yyg->yy_hold_char = *yyg->yy_c_buf_p; \ 2257 *yyg->yy_c_buf_p = '\0'; \ 2258 yyleng = yyless_macro_arg; \ 2442 if (ptr_yy_globals == NULL){
2449 if (*ptr_yy_globals == NULL){
2455 memset(*ptr_yy_globals,0x00,
sizeof(
struct yyguts_t));
2457 return yy_init_globals ( *ptr_yy_globals );
2475 if (ptr_yy_globals == NULL){
2482 if (*ptr_yy_globals == NULL){
2489 memset(*ptr_yy_globals,0x00,
sizeof(
struct yyguts_t));
2493 return yy_init_globals ( *ptr_yy_globals );
2496 static int yy_init_globals (
yyscan_t yyscanner)
2551 yy_init_globals( yyscanner);
2564 static void yy_flex_strncpy (
char* s1,
yyconst char * s2,
int n ,
yyscan_t yyscanner)
2570 for ( i = 0; i < n; ++i )
2575 #ifdef YY_NEED_STRLEN 2579 for ( n = 0; s[n]; ++n )
2605 return realloc(ptr, size);
2612 free( (
char *) ptr );
2615 #define YYTABLES_NAME "yytables" 2617 #line 233 "/home/docs/checkouts/readthedocs.org/user_builds/libqasm/checkouts/latest/src/cqasm/src/cqasm-v1-lexer.l"
Parser, generated by Bison.
YY_BUFFER_STATE cqasm_v1_create_buffer(FILE *file, int size, yyscan_t yyscanner)
Allocate and initialize an input buffer state.
#define EOB_ACT_LAST_MATCH
void cqasm_v1_switch_to_buffer(YY_BUFFER_STATE new_buffer, yyscan_t yyscanner)
Switch to a different input buffer.
int cqasm_v1lex_destroy(yyscan_t yyscanner)
char * cqasm_v1get_text(yyscan_t yyscanner)
Get the current token.
size_t yy_buffer_stack_top
index of top of stack.
unsigned int flex_uint32_t
#define YY_STATE_EOF(state)
void cqasm_v1set_extra(YY_EXTRA_TYPE user_defined, yyscan_t yyscanner)
Set the user-defined data.
FILE * cqasm_v1get_in(yyscan_t yyscanner)
Get the input stream.
YYLTYPE * cqasm_v1get_lloc(yyscan_t yyscanner)
void cqasm_v1free(void *, yyscan_t yyscanner)
#define YY_CURRENT_BUFFER
void cqasm_v1push_buffer_state(YY_BUFFER_STATE new_buffer, yyscan_t yyscanner)
Pushes the new state onto the stack.
YY_BUFFER_STATE cqasm_v1_scan_string(yyconst char *yy_str, yyscan_t yyscanner)
Setup the input buffer state to scan a string.
void cqasm_v1set_lloc(YYLTYPE *yylloc_param, yyscan_t yyscanner)
int yy_bs_lineno
The line count.
FILE * cqasm_v1get_out(yyscan_t yyscanner)
Get the output stream.
size_t yy_buffer_stack_max
capacity of stack.
#define YY_RESTORE_YY_MORE_OFFSET
#define cqasm_v1wrap(yyscanner)
#define WITHOUT_STR(TOKNAME)
unsigned short int flex_uint16_t
YYSTYPE * cqasm_v1get_lval(yyscan_t yyscanner)
YY_EXTRA_TYPE cqasm_v1get_extra(yyscan_t yyscanner)
Get the user-defined data for this scanner.
void cqasm_v1set_debug(int debug_flag, yyscan_t yyscanner)
#define YY_INPUT(buf, result, max_size)
unsigned char flex_uint8_t
void cqasm_v1pop_buffer_state(yyscan_t yyscanner)
Removes and deletes the top of the stack, if present.
void cqasm_v1set_lineno(int _line_number, yyscan_t yyscanner)
Set the current line number.
int yy_did_buffer_switch_on_eof
void cqasm_v1set_out(FILE *_out_str, yyscan_t yyscanner)
int yy_bs_column
The column count.
int cqasm_v1get_debug(yyscan_t yyscanner)
YY_BUFFER_STATE cqasm_v1_scan_bytes(yyconst char *bytes, int len, yyscan_t yyscanner)
Setup the input buffer state to scan the given bytes.
void * cqasm_v1alloc(yy_size_t, yyscan_t yyscanner)
void cqasm_v1set_in(FILE *_in_str, yyscan_t yyscanner)
Set the input stream.
#define MODE_UNEXPECTED_EOF
void cqasm_v1_flush_buffer(YY_BUFFER_STATE b, yyscan_t yyscanner)
Discard all buffered characters.
#define YY_DO_BEFORE_ACTION
void cqasm_v1_delete_buffer(YY_BUFFER_STATE b, yyscan_t yyscanner)
Destroy the buffer.
YY_BUFFER_STATE cqasm_v1_scan_buffer(char *base, yy_size_t size, yyscan_t yyscanner)
Setup the input buffer state to scan directly from a user-specified character buffer.
#define EOB_ACT_END_OF_FILE
int cqasm_v1get_column(yyscan_t yyscanner)
Get the current column number.
int cqasm_v1lex(YYSTYPE *yylval_param, YYLTYPE *yylloc_param, yyscan_t yyscanner)
#define YY_END_OF_BUFFER_CHAR
yy_state_type yy_last_accepting_state
#define WITH_STR(TOKNAME)
#define EOB_ACT_CONTINUE_SCAN
#define MODE_MULTILINE_COMMENT
int cqasm_v1get_lineno(yyscan_t yyscanner)
Get the current line number.
void * cqasm_v1realloc(void *, yy_size_t, yyscan_t yyscanner)
int cqasm_v1lex_init(yyscan_t *scanner)
#define YY_BUFFER_EOF_PENDING
void cqasm_v1set_lval(YYSTYPE *yylval_param, yyscan_t yyscanner)
#define YY_FATAL_ERROR(msg)
int cqasm_v1lex_init_extra(YY_EXTRA_TYPE user_defined, yyscan_t *scanner)
YY_BUFFER_STATE * yy_buffer_stack
Stack as an array.
char * yy_last_accepting_cpos
void cqasm_v1set_column(int _column_no, yyscan_t yyscanner)
Set the current column.
int cqasm_v1get_leng(yyscan_t yyscanner)
Get the length of the current token.
struct yy_buffer_state * YY_BUFFER_STATE
#define YY_CURRENT_BUFFER_LVALUE
void cqasm_v1restart(FILE *input_file, yyscan_t yyscanner)
Immediately switch to a different input stream.