8#define YY_INT_ALIGNED short int
15#define yy_create_buffer d2_parser__create_buffer
16#define yy_delete_buffer d2_parser__delete_buffer
17#define yy_scan_buffer d2_parser__scan_buffer
18#define yy_scan_string d2_parser__scan_string
19#define yy_scan_bytes d2_parser__scan_bytes
20#define yy_init_buffer d2_parser__init_buffer
21#define yy_flush_buffer d2_parser__flush_buffer
22#define yy_load_buffer_state d2_parser__load_buffer_state
23#define yy_switch_to_buffer d2_parser__switch_to_buffer
24#define yypush_buffer_state d2_parser_push_buffer_state
25#define yypop_buffer_state d2_parser_pop_buffer_state
26#define yyensure_buffer_stack d2_parser_ensure_buffer_stack
27#define yy_flex_debug d2_parser__flex_debug
28#define yyin d2_parser_in
29#define yyleng d2_parser_leng
30#define yylex d2_parser_lex
31#define yylineno d2_parser_lineno
32#define yyout d2_parser_out
33#define yyrestart d2_parser_restart
34#define yytext d2_parser_text
35#define yywrap d2_parser_wrap
36#define yyalloc d2_parser_alloc
37#define yyrealloc d2_parser_realloc
38#define yyfree d2_parser_free
45#define YY_FLEX_MAJOR_VERSION 2
46#define YY_FLEX_MINOR_VERSION 6
47#define YY_FLEX_SUBMINOR_VERSION 4
48#if YY_FLEX_SUBMINOR_VERSION > 0
56#ifdef yy_create_buffer
57#define d2_parser__create_buffer_ALREADY_DEFINED
59#define yy_create_buffer d2_parser__create_buffer
62#ifdef yy_delete_buffer
63#define d2_parser__delete_buffer_ALREADY_DEFINED
65#define yy_delete_buffer d2_parser__delete_buffer
69#define d2_parser__scan_buffer_ALREADY_DEFINED
71#define yy_scan_buffer d2_parser__scan_buffer
75#define d2_parser__scan_string_ALREADY_DEFINED
77#define yy_scan_string d2_parser__scan_string
81#define d2_parser__scan_bytes_ALREADY_DEFINED
83#define yy_scan_bytes d2_parser__scan_bytes
87#define d2_parser__init_buffer_ALREADY_DEFINED
89#define yy_init_buffer d2_parser__init_buffer
93#define d2_parser__flush_buffer_ALREADY_DEFINED
95#define yy_flush_buffer d2_parser__flush_buffer
98#ifdef yy_load_buffer_state
99#define d2_parser__load_buffer_state_ALREADY_DEFINED
101#define yy_load_buffer_state d2_parser__load_buffer_state
104#ifdef yy_switch_to_buffer
105#define d2_parser__switch_to_buffer_ALREADY_DEFINED
107#define yy_switch_to_buffer d2_parser__switch_to_buffer
110#ifdef yypush_buffer_state
111#define d2_parser_push_buffer_state_ALREADY_DEFINED
113#define yypush_buffer_state d2_parser_push_buffer_state
116#ifdef yypop_buffer_state
117#define d2_parser_pop_buffer_state_ALREADY_DEFINED
119#define yypop_buffer_state d2_parser_pop_buffer_state
122#ifdef yyensure_buffer_stack
123#define d2_parser_ensure_buffer_stack_ALREADY_DEFINED
125#define yyensure_buffer_stack d2_parser_ensure_buffer_stack
129#define d2_parser_lex_ALREADY_DEFINED
131#define yylex d2_parser_lex
135#define d2_parser_restart_ALREADY_DEFINED
137#define yyrestart d2_parser_restart
141#define d2_parser_lex_init_ALREADY_DEFINED
143#define yylex_init d2_parser_lex_init
146#ifdef yylex_init_extra
147#define d2_parser_lex_init_extra_ALREADY_DEFINED
149#define yylex_init_extra d2_parser_lex_init_extra
153#define d2_parser_lex_destroy_ALREADY_DEFINED
155#define yylex_destroy d2_parser_lex_destroy
159#define d2_parser_get_debug_ALREADY_DEFINED
161#define yyget_debug d2_parser_get_debug
165#define d2_parser_set_debug_ALREADY_DEFINED
167#define yyset_debug d2_parser_set_debug
171#define d2_parser_get_extra_ALREADY_DEFINED
173#define yyget_extra d2_parser_get_extra
177#define d2_parser_set_extra_ALREADY_DEFINED
179#define yyset_extra d2_parser_set_extra
183#define d2_parser_get_in_ALREADY_DEFINED
185#define yyget_in d2_parser_get_in
189#define d2_parser_set_in_ALREADY_DEFINED
191#define yyset_in d2_parser_set_in
195#define d2_parser_get_out_ALREADY_DEFINED
197#define yyget_out d2_parser_get_out
201#define d2_parser_set_out_ALREADY_DEFINED
203#define yyset_out d2_parser_set_out
207#define d2_parser_get_leng_ALREADY_DEFINED
209#define yyget_leng d2_parser_get_leng
213#define d2_parser_get_text_ALREADY_DEFINED
215#define yyget_text d2_parser_get_text
219#define d2_parser_get_lineno_ALREADY_DEFINED
221#define yyget_lineno d2_parser_get_lineno
225#define d2_parser_set_lineno_ALREADY_DEFINED
227#define yyset_lineno d2_parser_set_lineno
231#define d2_parser_wrap_ALREADY_DEFINED
233#define yywrap d2_parser_wrap
239#define d2_parser_alloc_ALREADY_DEFINED
241#define yyalloc d2_parser_alloc
245#define d2_parser_realloc_ALREADY_DEFINED
247#define yyrealloc d2_parser_realloc
251#define d2_parser_free_ALREADY_DEFINED
253#define yyfree d2_parser_free
259#define d2_parser_text_ALREADY_DEFINED
261#define yytext d2_parser_text
265#define d2_parser_leng_ALREADY_DEFINED
267#define yyleng d2_parser_leng
271#define d2_parser_in_ALREADY_DEFINED
273#define yyin d2_parser_in
277#define d2_parser_out_ALREADY_DEFINED
279#define yyout d2_parser_out
283#define d2_parser__flex_debug_ALREADY_DEFINED
285#define yy_flex_debug d2_parser__flex_debug
289#define d2_parser_lineno_ALREADY_DEFINED
291#define yylineno d2_parser_lineno
318#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
323#ifndef __STDC_LIMIT_MACROS
324#define __STDC_LIMIT_MACROS 1
344#define INT8_MIN (-128)
347#define INT16_MIN (-32767-1)
350#define INT32_MIN (-2147483647-1)
353#define INT8_MAX (127)
356#define INT16_MAX (32767)
359#define INT32_MAX (2147483647)
362#define UINT8_MAX (255U)
365#define UINT16_MAX (65535U)
368#define UINT32_MAX (4294967295U)
372#define SIZE_MAX (~(size_t)0)
388#if defined(__GNUC__) && __GNUC__ >= 3
389#define yynoreturn __attribute__((__noreturn__))
403#define YY_SC_TO_UI(c) ((YY_CHAR) (c))
417#define BEGIN (yy_start) = 1 + 2 *
422#define YY_START (((yy_start) - 1) / 2)
423#define YYSTATE YY_START
425#define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1)
427#define YY_NEW_FILE yyrestart( yyin )
428#define YY_END_OF_BUFFER_CHAR 0
437#define YY_BUF_SIZE 32768
439#define YY_BUF_SIZE 16384
445#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
447#ifndef YY_TYPEDEF_YY_BUFFER_STATE
448#define YY_TYPEDEF_YY_BUFFER_STATE
452#ifndef YY_TYPEDEF_YY_SIZE_T
453#define YY_TYPEDEF_YY_SIZE_T
467#define EOB_ACT_CONTINUE_SCAN 0
468#define EOB_ACT_END_OF_FILE 1
469#define EOB_ACT_LAST_MATCH 2
471 #define YY_LESS_LINENO(n)
472 #define YY_LINENO_REWIND_TO(ptr)
479 int yyless_macro_arg = (n); \
480 YY_LESS_LINENO(yyless_macro_arg);\
481 *yy_cp = (yy_hold_char); \
482 YY_RESTORE_YY_MORE_OFFSET \
483 (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \
484 YY_DO_BEFORE_ACTION; \
487#define unput(c) yyunput( c, (yytext_ptr) )
489#ifndef YY_STRUCT_YY_BUFFER_STATE
490#define YY_STRUCT_YY_BUFFER_STATE
542#define YY_BUFFER_NEW 0
543#define YY_BUFFER_NORMAL 1
554#define YY_BUFFER_EOF_PENDING 2
564static size_t yy_buffer_stack_top = 0;
565static size_t yy_buffer_stack_max = 0;
578#define YY_CURRENT_BUFFER ( (yy_buffer_stack) \
579 ? (yy_buffer_stack)[(yy_buffer_stack_top)] \
584#define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)]
591static char yy_hold_char;
592static int yy_n_chars;
596static char *yy_c_buf_p = NULL;
597static int yy_init = 0;
598static int yy_start = 0;
603static int yy_did_buffer_switch_on_eof;
619#define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER )
631#define yy_new_buffer yy_create_buffer
632#define yy_set_interactive(is_interactive) \
634 if ( ! YY_CURRENT_BUFFER ){ \
635 yyensure_buffer_stack (); \
636 YY_CURRENT_BUFFER_LVALUE = \
637 yy_create_buffer( yyin, YY_BUF_SIZE ); \
639 YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \
641#define yy_set_bol(at_bol) \
643 if ( ! YY_CURRENT_BUFFER ){\
644 yyensure_buffer_stack (); \
645 YY_CURRENT_BUFFER_LVALUE = \
646 yy_create_buffer( yyin, YY_BUF_SIZE ); \
648 YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \
650#define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol)
655#define d2_parser_wrap() (1)
656#define YY_SKIP_YYWRAP
672#define yytext_ptr yytext
680static int yy_get_next_buffer (
void );
681static void yynoreturn yy_fatal_error (
const char* msg );
688#define YY_DO_BEFORE_ACTION \
689 (yytext_ptr) = yy_bp; \
691 yyleng = (int) (yy_cp - yy_bp); \
692 (yy_hold_char) = *yy_cp; \
695 (yy_c_buf_p) = yy_cp;
697#define YY_NUM_RULES 92
698#define YY_END_OF_BUFFER 93
708 85, 85, 0, 0, 0, 0, 0, 0, 0, 0,
709 93, 91, 10, 11, 91, 1, 83, 79, 85, 85,
710 91, 82, 82, 80, 91, 91, 91, 91, 91, 75,
711 76, 91, 91, 91, 77, 78, 5, 5, 5, 91,
712 91, 91, 10, 11, 0, 0, 70, 0, 0, 0,
713 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
714 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,
715 83, 83, 0, 85, 82, 82, 0, 85, 3, 2,
716 81, 82, 6, 0, 85, 0, 0, 0, 0, 0,
717 0, 4, 0, 0, 9, 0, 71, 0, 0, 0,
719 0, 0, 0, 73, 0, 0, 0, 0, 0, 0,
720 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
721 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
722 0, 0, 0, 0, 0, 0, 0, 83, 0, 83,
723 2, 84, 81, 0, 0, 0, 0, 0, 0, 0,
724 0, 8, 0, 0, 0, 0, 0, 72, 74, 0,
725 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
726 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
727 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
728 0, 0, 0, 0, 0, 0, 0, 0, 0, 84,
730 0, 0, 84, 0, 90, 88, 0, 87, 86, 0,
731 0, 0, 19, 18, 0, 0, 0, 0, 0, 0,
732 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
733 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
734 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
735 0, 0, 0, 0, 0, 0, 84, 89, 86, 0,
736 0, 20, 0, 0, 0, 0, 0, 0, 0, 0,
737 0, 0, 0, 0, 0, 0, 0, 0, 0, 37,
738 0, 0, 0, 0, 0, 0, 0, 0, 67, 0,
739 0, 0, 0, 0, 0, 14, 0, 0, 0, 0,
741 0, 0, 0, 43, 36, 48, 0, 0, 0, 0,
742 0, 44, 0, 0, 0, 0, 0, 0, 0, 0,
743 0, 0, 63, 0, 0, 0, 38, 0, 0, 0,
744 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
745 45, 0, 0, 0, 0, 0, 0, 0, 0, 7,
746 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
747 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
748 0, 0, 65, 0, 0, 62, 0, 0, 0, 0,
749 0, 0, 32, 0, 0, 0, 0, 0, 0, 0,
750 0, 0, 0, 0, 0, 47, 22, 0, 0, 0,
752 0, 0, 0, 0, 0, 0, 0, 0, 0, 58,
753 59, 64, 0, 0, 0, 0, 0, 0, 66, 0,
754 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
755 12, 0, 0, 0, 0, 0, 0, 0, 0, 0,
756 0, 0, 0, 28, 0, 54, 26, 0, 0, 0,
757 0, 0, 50, 0, 0, 0, 69, 0, 0, 0,
758 0, 0, 0, 0, 0, 30, 0, 53, 0, 0,
759 0, 0, 0, 46, 0, 0, 0, 0, 0, 0,
760 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
761 0, 29, 0, 49, 0, 0, 0, 0, 68, 0,
763 0, 0, 0, 0, 13, 17, 0, 0, 0, 57,
764 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
765 0, 0, 0, 31, 0, 27, 0, 0, 0, 0,
766 0, 0, 0, 33, 0, 39, 41, 35, 0, 0,
767 0, 0, 0, 25, 0, 23, 0, 16, 0, 0,
768 0, 24, 0, 52, 21, 0, 55, 0, 0, 0,
769 0, 0, 51, 0, 42, 0, 0, 0, 61, 60,
770 40, 34, 0, 56, 0, 0, 15, 0
773static const YY_CHAR yy_ec[256] =
775 1, 1, 1, 1, 1, 1, 1, 1, 2, 3,
776 1, 1, 2, 1, 1, 1, 1, 1, 1, 1,
777 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
778 1, 4, 5, 6, 7, 5, 5, 5, 5, 5,
779 5, 8, 9, 10, 11, 12, 13, 14, 15, 15,
780 15, 15, 15, 15, 15, 15, 15, 16, 5, 17,
781 5, 18, 19, 5, 20, 21, 22, 23, 24, 25,
782 5, 5, 5, 26, 5, 27, 5, 28, 29, 30,
783 5, 31, 32, 33, 34, 5, 5, 5, 5, 5,
784 35, 36, 37, 5, 38, 5, 39, 40, 41, 42,
786 43, 44, 45, 46, 47, 48, 49, 50, 51, 52,
787 53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
788 63, 64, 65, 5, 66, 5, 5, 5, 5, 5,
789 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
790 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
791 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
792 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
793 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
794 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
795 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
797 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
798 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
799 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
800 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
801 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
805static const YY_CHAR yy_meta[67] =
807 1, 1, 2, 1, 1, 3, 1, 1, 1, 1,
808 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
809 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
810 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
811 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
812 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
818 0, 65, 18, 28, 36, 44, 47, 53, 82, 92,
819 900, 901, 25, 896, 131, 0, 49, 901, 186, 73,
820 10, 190, 194, 901, 879, 104, 21, 11, 68, 901,
821 901, 83, 70, 168, 901, 901, 901, 103, 884, 844,
822 0, 877, 108, 891, 205, 219, 901, 847, 171, 84,
823 184, 243, 162, 853, 170, 188, 166, 68, 837, 847,
824 67, 850, 176, 829, 183, 844, 191, 233, 258, 0,
825 270, 292, 277, 294, 305, 309, 316, 325, 901, 0,
826 329, 342, 901, 113, 224, 198, 200, 198, 253, 255,
827 263, 901, 845, 879, 901, 292, 901, 352, 843, 283,
829 284, 296, 877, 0, 406, 837, 823, 823, 823, 831,
830 195, 825, 836, 198, 818, 815, 817, 289, 814, 860,
831 807, 829, 823, 805, 815, 809, 806, 303, 807, 272,
832 304, 821, 802, 813, 805, 811, 814, 355, 348, 359,
833 0, 362, 366, 380, 343, 356, 358, 361, 357, 373,
834 806, 901, 801, 319, 848, 847, 846, 901, 901, 437,
835 798, 804, 802, 790, 804, 795, 787, 787, 784, 799,
836 798, 829, 782, 777, 788, 778, 781, 795, 822, 776,
837 786, 342, 787, 818, 774, 788, 769, 767, 766, 773,
838 779, 765, 777, 770, 761, 772, 773, 753, 758, 399,
840 423, 410, 421, 379, 901, 901, 420, 901, 901, 754,
841 789, 805, 901, 901, 468, 754, 766, 767, 796, 754,
842 762, 748, 792, 757, 744, 759, 742, 752, 758, 739,
843 743, 409, 752, 10, 754, 749, 744, 747, 783, 389,
844 729, 736, 725, 742, 778, 732, 726, 738, 724, 736,
845 720, 766, 770, 769, 458, 425, 439, 901, 901, 732,
846 731, 901, 499, 725, 719, 764, 311, 711, 716, 714,
847 724, 715, 706, 705, 719, 755, 704, 748, 719, 901,
848 751, 714, 708, 715, 697, 696, 687, 694, 901, 696,
849 692, 689, 703, 692, 688, 901, 737, 685, 683, 693,
851 681, 727, 688, 901, 901, 901, 424, 693, 683, 676,
852 675, 901, 685, 688, 673, 671, 678, 674, 683, 714,
853 671, 667, 901, 680, 671, 669, 901, 663, 668, 666,
854 653, 658, 671, 707, 656, 658, 461, 652, 653, 656,
855 901, 664, 464, 648, 694, 665, 660, 649, 654, 901,
856 643, 653, 651, 647, 641, 689, 688, 682, 641, 631,
857 650, 633, 628, 676, 639, 642, 641, 640, 639, 675,
858 674, 673, 901, 627, 619, 901, 623, 622, 631, 631,
859 666, 660, 901, 626, 606, 446, 616, 604, 614, 615,
860 658, 612, 621, 618, 601, 901, 901, 602, 619, 614,
862 609, 592, 611, 611, 612, 645, 593, 643, 642, 901,
863 901, 901, 608, 593, 591, 590, 587, 490, 901, 600,
864 594, 634, 597, 599, 584, 573, 594, 577, 575, 589,
865 901, 625, 591, 623, 581, 574, 579, 575, 566, 617,
866 566, 579, 564, 901, 562, 901, 901, 560, 576, 558,
867 557, 557, 901, 569, 570, 561, 901, 568, 558, 552,
868 553, 560, 599, 561, 597, 901, 544, 901, 545, 559,
869 547, 592, 540, 901, 430, 544, 556, 588, 587, 539,
870 544, 543, 583, 541, 535, 543, 529, 541, 525, 539,
871 528, 901, 518, 901, 532, 535, 528, 519, 901, 569,
873 516, 567, 515, 515, 901, 901, 520, 516, 515, 901,
874 517, 509, 559, 517, 545, 531, 530, 479, 476, 480,
875 490, 488, 524, 901, 482, 901, 522, 480, 520, 473,
876 466, 474, 510, 901, 458, 901, 901, 901, 500, 499,
877 451, 496, 439, 901, 444, 901, 451, 901, 429, 427,
878 468, 901, 416, 901, 901, 465, 901, 399, 412, 362,
879 411, 381, 901, 345, 901, 328, 240, 258, 901, 901,
880 901, 901, 203, 901, 193, 2, 901, 901, 543, 546,
881 549, 0, 552, 555, 558, 561
886 579, 579, 580, 580, 579, 579, 579, 579, 579, 579,
887 578, 578, 578, 578, 578, 581, 578, 578, 578, 578,
888 578, 578, 578, 578, 578, 578, 578, 578, 578, 578,
889 578, 578, 578, 578, 578, 578, 578, 578, 578, 578,
890 582, 578, 578, 578, 583, 15, 578, 46, 46, 46,
891 46, 584, 46, 46, 46, 46, 46, 46, 46, 46,
892 46, 46, 46, 46, 46, 46, 46, 46, 46, 581,
893 578, 578, 578, 578, 578, 578, 578, 578, 578, 585,
894 578, 578, 578, 578, 578, 578, 578, 578, 578, 578,
895 578, 578, 578, 582, 578, 583, 578, 578, 46, 46,
897 46, 46, 586, 46, 584, 46, 46, 46, 46, 46,
898 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
899 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
900 46, 46, 46, 46, 46, 46, 46, 578, 578, 578,
901 585, 578, 578, 578, 578, 578, 578, 578, 578, 578,
902 578, 578, 46, 46, 46, 46, 586, 578, 578, 105,
903 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
904 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
905 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
906 46, 46, 46, 46, 46, 46, 46, 46, 46, 578,
908 578, 578, 578, 578, 578, 578, 578, 578, 578, 578,
909 46, 46, 578, 578, 105, 46, 46, 46, 46, 46,
910 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
911 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
912 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
913 46, 46, 46, 46, 46, 578, 578, 578, 578, 578,
914 46, 578, 105, 46, 46, 46, 46, 46, 46, 46,
915 46, 46, 46, 46, 46, 46, 46, 46, 46, 578,
916 46, 46, 46, 46, 46, 46, 46, 46, 578, 46,
917 46, 46, 46, 46, 46, 578, 46, 46, 46, 46,
919 46, 46, 46, 578, 578, 578, 46, 578, 46, 46,
920 46, 578, 46, 46, 46, 46, 46, 46, 46, 46,
921 46, 46, 578, 46, 46, 46, 578, 46, 46, 46,
922 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
923 578, 46, 46, 46, 46, 46, 46, 46, 46, 578,
924 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
925 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
926 46, 46, 578, 46, 46, 578, 46, 46, 46, 46,
927 46, 46, 578, 46, 46, 46, 46, 46, 46, 46,
928 46, 46, 46, 46, 46, 578, 578, 46, 46, 46,
930 46, 46, 46, 46, 46, 46, 46, 46, 46, 578,
931 578, 578, 46, 46, 46, 46, 46, 46, 578, 46,
932 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
933 578, 46, 46, 46, 46, 46, 46, 46, 46, 46,
934 46, 46, 46, 578, 46, 578, 578, 46, 46, 46,
935 46, 46, 578, 46, 46, 46, 578, 46, 46, 46,
936 46, 46, 46, 46, 46, 578, 46, 578, 46, 46,
937 46, 46, 46, 578, 46, 46, 46, 46, 46, 46,
938 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
939 46, 578, 46, 578, 46, 46, 46, 46, 578, 46,
941 46, 46, 46, 46, 578, 578, 46, 46, 46, 578,
942 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
943 46, 46, 46, 578, 46, 578, 46, 46, 46, 46,
944 46, 46, 46, 578, 46, 578, 578, 578, 46, 46,
945 46, 46, 46, 578, 46, 578, 46, 578, 46, 46,
946 46, 578, 46, 578, 578, 46, 578, 46, 46, 46,
947 46, 46, 578, 46, 578, 46, 46, 46, 578, 578,
948 578, 578, 46, 578, 46, 46, 578, 0, 578, 578,
949 578, 578, 578, 578, 578, 578
954 94, 13, 14, 13, 578, 15, 16, 577, 17, 18,
955 19, 20, 21, 22, 23, 24, 25, 79, 578, 38,
956 14, 38, 80, 26, 27, 39, 43, 28, 43, 38,
957 14, 38, 29, 578, 30, 39, 31, 13, 14, 13,
958 86, 578, 26, 32, 87, 13, 14, 13, 13, 14,
959 13, 33, 41, 283, 13, 14, 13, 34, 41, 86,
960 71, 284, 72, 72, 35, 36, 13, 14, 13, 87,
961 15, 16, 73, 17, 18, 19, 20, 21, 22, 23,
962 24, 25, 40, 13, 14, 13, 78, 78, 26, 27,
963 40, 73, 28, 13, 14, 13, 77, 29, 88, 30,
965 42, 31, 86, 87, 43, 101, 43, 26, 32, 43,
966 42, 43, 84, 122, 84, 77, 33, 85, 85, 123,
967 118, 89, 34, 88, 101, 119, 85, 85, 90, 35,
968 36, 45, 45, 45, 46, 46, 47, 46, 46, 46,
969 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
970 46, 46, 46, 48, 46, 46, 49, 46, 46, 46,
971 46, 46, 46, 50, 51, 46, 52, 46, 46, 53,
972 54, 55, 56, 46, 57, 46, 58, 59, 49, 60,
973 61, 62, 63, 64, 65, 46, 66, 67, 68, 69,
974 46, 46, 46, 46, 46, 46, 46, 74, 88, 75,
976 76, 74, 100, 81, 81, 74, 102, 82, 82, 77,
977 97, 106, 109, 77, 125, 116, 126, 77, 117, 110,
978 107, 128, 111, 91, 145, 102, 146, 100, 77, 112,
979 113, 147, 77, 131, 114, 129, 77, 85, 85, 115,
980 98, 46, 170, 132, 46, 166, 167, 145, 104, 146,
981 576, 46, 46, 171, 101, 46, 147, 46, 46, 46,
982 46, 575, 46, 574, 46, 46, 46, 46, 46, 46,
983 46, 46, 46, 101, 46, 46, 46, 46, 46, 145,
984 102, 146, 46, 138, 138, 139, 46, 139, 133, 134,
985 140, 140, 573, 73, 46, 135, 147, 97, 46, 102,
987 46, 105, 148, 71, 149, 72, 72, 78, 78, 136,
988 190, 154, 73, 155, 137, 73, 74, 77, 81, 81,
989 74, 150, 82, 82, 84, 156, 84, 98, 77, 85,
990 85, 191, 77, 572, 73, 154, 77, 155, 78, 78,
991 142, 175, 143, 143, 192, 176, 212, 77, 77, 156,
992 571, 77, 144, 74, 313, 82, 82, 96, 186, 187,
993 188, 140, 140, 193, 96, 77, 314, 77, 138, 138,
994 212, 144, 140, 140, 204, 200, 200, 142, 73, 143,
995 143, 206, 205, 205, 77, 201, 570, 96, 202, 144,
996 202, 96, 204, 203, 203, 96, 206, 73, 237, 204,
998 206, 238, 258, 96, 201, 205, 208, 96, 144, 96,
999 96, 159, 200, 200, 280, 209, 569, 207, 568, 160,
1000 160, 258, 201, 203, 203, 160, 160, 160, 160, 160,
1001 160, 256, 290, 256, 203, 203, 257, 257, 257, 257,
1002 501, 201, 291, 258, 160, 160, 160, 160, 160, 160,
1003 215, 215, 257, 257, 567, 566, 215, 215, 215, 215,
1004 215, 215, 259, 306, 348, 281, 376, 349, 307, 383,
1005 565, 377, 564, 563, 384, 215, 215, 215, 215, 215,
1006 215, 263, 263, 562, 423, 561, 502, 263, 263, 263,
1007 263, 263, 263, 560, 559, 453, 558, 424, 378, 425,
1009 454, 557, 556, 426, 555, 554, 263, 263, 263, 263,
1010 263, 263, 46, 46, 553, 552, 551, 550, 46, 46,
1011 46, 46, 46, 46, 549, 548, 547, 546, 545, 544,
1012 543, 542, 541, 540, 539, 538, 537, 46, 46, 46,
1013 46, 46, 46, 12, 12, 12, 37, 37, 37, 70,
1014 536, 70, 96, 96, 96, 103, 103, 103, 141, 535,
1015 141, 157, 157, 157, 534, 533, 532, 531, 530, 529,
1016 528, 527, 526, 525, 524, 523, 522, 521, 520, 519,
1017 518, 517, 516, 515, 514, 513, 512, 511, 510, 509,
1018 508, 507, 506, 505, 504, 503, 500, 499, 498, 497,
1020 496, 495, 494, 493, 492, 491, 490, 489, 488, 487,
1021 486, 485, 484, 483, 482, 481, 480, 479, 478, 477,
1022 476, 475, 474, 473, 472, 471, 470, 469, 468, 467,
1023 466, 465, 464, 463, 462, 461, 460, 459, 458, 457,
1024 456, 455, 452, 451, 450, 449, 448, 447, 446, 445,
1025 444, 443, 442, 441, 440, 439, 438, 437, 436, 435,
1026 434, 433, 432, 431, 430, 429, 428, 427, 422, 421,
1027 420, 419, 418, 417, 416, 415, 414, 413, 412, 411,
1028 410, 409, 408, 407, 406, 405, 404, 403, 402, 401,
1029 400, 399, 398, 397, 396, 395, 394, 393, 392, 391,
1031 390, 389, 388, 387, 386, 385, 382, 381, 380, 379,
1032 375, 374, 373, 372, 371, 370, 369, 368, 367, 366,
1033 365, 364, 363, 362, 361, 360, 359, 358, 357, 356,
1034 355, 354, 353, 352, 351, 350, 347, 346, 345, 344,
1035 343, 342, 341, 340, 339, 338, 337, 336, 335, 334,
1036 333, 332, 331, 330, 329, 328, 327, 326, 325, 324,
1037 323, 322, 321, 320, 319, 318, 317, 316, 315, 312,
1038 311, 310, 309, 308, 305, 304, 303, 302, 301, 300,
1039 299, 298, 297, 296, 295, 294, 293, 292, 289, 288,
1040 287, 286, 285, 282, 279, 278, 277, 276, 275, 274,
1042 273, 272, 271, 270, 269, 268, 267, 266, 265, 264,
1043 262, 261, 260, 255, 254, 253, 252, 251, 250, 249,
1044 248, 247, 246, 245, 244, 243, 242, 241, 240, 239,
1045 236, 235, 234, 233, 232, 231, 230, 229, 228, 227,
1046 226, 225, 224, 223, 222, 221, 220, 219, 218, 217,
1047 216, 158, 214, 213, 211, 210, 199, 198, 197, 196,
1048 195, 194, 189, 185, 184, 183, 182, 181, 180, 179,
1049 178, 177, 174, 173, 172, 169, 168, 165, 164, 163,
1050 162, 161, 158, 153, 152, 151, 130, 127, 124, 121,
1051 120, 108, 99, 44, 95, 93, 92, 83, 44, 578,
1053 11, 578, 578, 578, 578, 578, 578, 578, 578, 578,
1054 578, 578, 578, 578, 578, 578, 578, 578, 578, 578,
1055 578, 578, 578, 578, 578, 578, 578, 578, 578, 578,
1056 578, 578, 578, 578, 578, 578, 578, 578, 578, 578,
1057 578, 578, 578, 578, 578, 578, 578, 578, 578, 578,
1058 578, 578, 578, 578, 578, 578, 578, 578, 578, 578,
1059 578, 578, 578, 578, 578, 578, 578
1064 582, 1, 1, 1, 0, 1, 1, 576, 1, 1,
1065 1, 1, 1, 1, 1, 1, 1, 21, 0, 3,
1066 3, 3, 21, 1, 1, 3, 13, 1, 13, 4,
1067 4, 4, 1, 0, 1, 4, 1, 5, 5, 5,
1068 27, 0, 1, 1, 28, 6, 6, 6, 7, 7,
1069 7, 1, 7, 234, 8, 8, 8, 1, 8, 27,
1070 17, 234, 17, 17, 1, 1, 2, 2, 2, 28,
1071 2, 2, 17, 2, 2, 2, 2, 2, 2, 2,
1072 2, 2, 5, 9, 9, 9, 20, 20, 2, 2,
1073 6, 17, 2, 10, 10, 10, 20, 2, 29, 2,
1075 9, 2, 32, 33, 38, 50, 38, 2, 2, 43,
1076 10, 43, 26, 61, 26, 20, 2, 26, 26, 61,
1077 58, 32, 2, 29, 50, 58, 84, 84, 33, 2,
1078 2, 15, 15, 15, 15, 15, 15, 15, 15, 15,
1079 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
1080 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
1081 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
1082 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
1083 15, 15, 15, 15, 15, 15, 15, 15, 15, 15,
1084 15, 15, 15, 15, 15, 15, 15, 19, 34, 19,
1086 19, 22, 49, 22, 22, 23, 51, 23, 23, 19,
1087 45, 53, 55, 22, 63, 57, 63, 23, 57, 55,
1088 53, 65, 55, 34, 86, 51, 87, 49, 19, 56,
1089 56, 88, 22, 67, 56, 65, 23, 85, 85, 56,
1090 45, 46, 114, 67, 46, 111, 111, 86, 52, 87,
1091 575, 46, 46, 114, 68, 52, 88, 46, 46, 46,
1092 46, 573, 46, 568, 46, 46, 46, 46, 46, 46,
1093 46, 46, 46, 68, 46, 46, 46, 46, 52, 89,
1094 69, 90, 52, 71, 71, 73, 52, 73, 68, 68,
1095 73, 73, 567, 71, 52, 68, 91, 96, 52, 69,
1097 52, 52, 89, 72, 90, 72, 72, 74, 74, 69,
1098 130, 100, 71, 101, 69, 72, 75, 74, 75, 75,
1099 76, 91, 76, 76, 77, 102, 77, 96, 75, 77,
1100 77, 130, 76, 566, 72, 100, 74, 101, 78, 78,
1101 81, 118, 81, 81, 131, 118, 154, 75, 78, 102,
1102 564, 76, 81, 82, 267, 82, 82, 98, 128, 128,
1103 128, 139, 139, 131, 98, 82, 267, 78, 138, 138,
1104 154, 81, 140, 140, 145, 142, 142, 143, 138, 143,
1105 143, 147, 146, 149, 82, 142, 562, 98, 144, 143,
1106 144, 98, 148, 144, 144, 98, 150, 138, 182, 145,
1108 147, 182, 204, 98, 142, 146, 149, 98, 143, 98,
1109 98, 105, 200, 200, 232, 150, 561, 148, 560, 105,
1110 105, 204, 200, 202, 202, 105, 105, 105, 105, 105,
1111 105, 201, 240, 201, 203, 203, 201, 201, 256, 256,
1112 475, 200, 240, 207, 105, 105, 105, 105, 105, 105,
1113 160, 160, 257, 257, 559, 558, 160, 160, 160, 160,
1114 160, 160, 207, 255, 307, 232, 337, 307, 255, 343,
1115 556, 337, 553, 551, 343, 160, 160, 160, 160, 160,
1116 160, 215, 215, 550, 386, 549, 475, 215, 215, 215,
1117 215, 215, 215, 547, 545, 418, 543, 386, 337, 386,
1119 418, 542, 541, 386, 540, 539, 215, 215, 215, 215,
1120 215, 215, 263, 263, 535, 533, 532, 531, 263, 263,
1121 263, 263, 263, 263, 530, 529, 528, 527, 525, 523,
1122 522, 521, 520, 519, 518, 517, 516, 263, 263, 263,
1123 263, 263, 263, 579, 579, 579, 580, 580, 580, 581,
1124 515, 581, 583, 583, 583, 584, 584, 584, 585, 514,
1125 585, 586, 586, 586, 513, 512, 511, 509, 508, 507,
1126 504, 503, 502, 501, 500, 498, 497, 496, 495, 493,
1127 491, 490, 489, 488, 487, 486, 485, 484, 483, 482,
1128 481, 480, 479, 478, 477, 476, 473, 472, 471, 470,
1130 469, 467, 465, 464, 463, 462, 461, 460, 459, 458,
1131 456, 455, 454, 452, 451, 450, 449, 448, 445, 443,
1132 442, 441, 440, 439, 438, 437, 436, 435, 434, 433,
1133 432, 430, 429, 428, 427, 426, 425, 424, 423, 422,
1134 421, 420, 417, 416, 415, 414, 413, 409, 408, 407,
1135 406, 405, 404, 403, 402, 401, 400, 399, 398, 395,
1136 394, 393, 392, 391, 390, 389, 388, 387, 385, 384,
1137 382, 381, 380, 379, 378, 377, 375, 374, 372, 371,
1138 370, 369, 368, 367, 366, 365, 364, 363, 362, 361,
1139 360, 359, 358, 357, 356, 355, 354, 353, 352, 351,
1141 349, 348, 347, 346, 345, 344, 342, 340, 339, 338,
1142 336, 335, 334, 333, 332, 331, 330, 329, 328, 326,
1143 325, 324, 322, 321, 320, 319, 318, 317, 316, 315,
1144 314, 313, 311, 310, 309, 308, 303, 302, 301, 300,
1145 299, 298, 297, 295, 294, 293, 292, 291, 290, 288,
1146 287, 286, 285, 284, 283, 282, 281, 279, 278, 277,
1147 276, 275, 274, 273, 272, 271, 270, 269, 268, 266,
1148 265, 264, 261, 260, 254, 253, 252, 251, 250, 249,
1149 248, 247, 246, 245, 244, 243, 242, 241, 239, 238,
1150 237, 236, 235, 233, 231, 230, 229, 228, 227, 226,
1152 225, 224, 223, 222, 221, 220, 219, 218, 217, 216,
1153 212, 211, 210, 199, 198, 197, 196, 195, 194, 193,
1154 192, 191, 190, 189, 188, 187, 186, 185, 184, 183,
1155 181, 180, 179, 178, 177, 176, 175, 174, 173, 172,
1156 171, 170, 169, 168, 167, 166, 165, 164, 163, 162,
1157 161, 157, 156, 155, 153, 151, 137, 136, 135, 134,
1158 133, 132, 129, 127, 126, 125, 124, 123, 122, 121,
1159 120, 119, 117, 116, 115, 113, 112, 110, 109, 108,
1160 107, 106, 103, 99, 94, 93, 66, 64, 62, 60,
1161 59, 54, 48, 44, 42, 40, 39, 25, 14, 11,
1163 578, 578, 578, 578, 578, 578, 578, 578, 578, 578,
1164 578, 578, 578, 578, 578, 578, 578, 578, 578, 578,
1165 578, 578, 578, 578, 578, 578, 578, 578, 578, 578,
1166 578, 578, 578, 578, 578, 578, 578, 578, 578, 578,
1167 578, 578, 578, 578, 578, 578, 578, 578, 578, 578,
1168 578, 578, 578, 578, 578, 578, 578, 578, 578, 578,
1169 578, 578, 578, 578, 578, 578, 578
1173static char *yy_last_accepting_cpos;
1180 144, 146, 148, 153, 154, 159, 160, 161, 173, 176,
1181 181, 187, 196, 207, 218, 227, 236, 245, 255, 265,
1182 275, 294, 313, 322, 331, 341, 353, 363, 374, 383,
1183 393, 403, 413, 423, 432, 441, 450, 459, 468, 477,
1184 486, 495, 504, 513, 522, 531, 540, 549, 558, 567,
1185 576, 585, 594, 603, 612, 621, 630, 639, 648, 657,
1186 666, 675, 684, 693, 702, 711, 720, 733, 742, 751,
1187 852, 868, 917, 925, 940, 941, 942, 943, 944, 945,
1188 947, 966, 983, 989, 1004, 1017, 1022, 1026, 1028, 1030,
1196#define REJECT reject_used_but_not_detected
1197#define yymore() yymore_used_but_not_detected
1198#define YY_MORE_ADJ 0
1199#define YY_RESTORE_YY_MORE_OFFSET
1201#line 1 "d2_lexer.ll"
1208#line 15 "d2_lexer.ll"
1211#ifndef __clang_analyzer__
1221#include <boost/lexical_cast.hpp>
1235bool start_token_flag =
false;
1238unsigned int comment_start_line = 0;
1243#define YY_FATAL_ERROR(msg) isc::d2::D2ParserContext::fatal(msg)
1244#line 1244 "d2_lexer.cc"
1259#define YY_NO_INPUT 1
1265#line 101 "d2_lexer.ll"
1269#define YY_USER_ACTION driver.loc_.columns(yyleng);
1270#line 1270 "d2_lexer.cc"
1271#line 1271 "d2_lexer.cc"
1276#define DIR_INCLUDE 3
1279#ifndef YY_NO_UNISTD_H
1291#ifndef YY_EXTRA_TYPE
1292#define YY_EXTRA_TYPE void *
1299static int yy_init_globals (
void );
1342#ifndef YY_SKIP_YYWRAP
1344extern "C" int yywrap (
void );
1346extern int yywrap (
void );
1359static void yy_flex_strncpy (
char *,
const char *,
int );
1362#ifdef YY_NEED_STRLEN
1363static int yy_flex_strlen (
const char * );
1370static int yyinput (
void );
1372static int input (
void );
1384#ifndef YY_READ_BUF_SIZE
1387#define YY_READ_BUF_SIZE 16384
1389#define YY_READ_BUF_SIZE 8192
1399#define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0)
1409#define YY_INPUT(buf,result,max_size) \
1411 if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \
1415 for ( n = 0; n < max_size && \
1416 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
1417 buf[n] = (char) c; \
1419 buf[n++] = (char) c; \
1420 if ( c == EOF && ferror( yyin ) ) \
1421 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1427 while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \
1429 if( errno != EINTR) \
1431 YY_FATAL_ERROR( "input in flex scanner failed" ); \
1449#define yyterminate() return YY_NULL
1453#ifndef YY_START_STACK_INCR
1454#define YY_START_STACK_INCR 25
1458#ifndef YY_FATAL_ERROR
1460#define YY_FATAL_ERROR(msg) yy_fatal_error( msg )
1481#define YY_DECL_IS_OURS 1
1484extern int yylex (
void);
1486#define YY_DECL int yylex (void)
1495#ifndef YY_USER_ACTION
1496#define YY_USER_ACTION
1501#define YY_BREAK break;
1505#define YY_RULE_SETUP \
1553#line 107 "d2_lexer.ll"
1557#line 111 "d2_lexer.ll"
1565 if (start_token_flag) {
1566 start_token_flag =
false;
1567 switch (start_token_value) {
1591#line 1591 "d2_lexer.cc"
1596 yy_cp = (yy_c_buf_p);
1599 *
yy_cp = (yy_hold_char);
1607 yy_current_state = (yy_start);
1612 if ( yy_accept[yy_current_state] )
1614 (yy_last_accepting_state) = yy_current_state;
1615 (yy_last_accepting_cpos) =
yy_cp;
1617 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
1619 yy_current_state = (int) yy_def[yy_current_state];
1620 if ( yy_current_state >= 579 )
1621 yy_c = yy_meta[yy_c];
1623 yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
1626 while ( yy_current_state != 578 );
1627 yy_cp = (yy_last_accepting_cpos);
1628 yy_current_state = (yy_last_accepting_state);
1632 yy_act = yy_accept[yy_current_state];
1644 fprintf( stderr,
"--scanner backing up\n" );
1646 fprintf( stderr,
"--accepting rule at line %ld (\"%s\")\n",
1649 fprintf( stderr,
"--accepting default rule (\"%s\")\n",
1652 fprintf( stderr,
"--(end of buffer or a NUL)\n" );
1654 fprintf( stderr,
"--EOF (start condition %d)\n",
YY_START );
1662 *
yy_cp = (yy_hold_char);
1663 yy_cp = (yy_last_accepting_cpos);
1664 yy_current_state = (yy_last_accepting_state);
1665 goto yy_find_action;
1669#line 144 "d2_lexer.ll"
1674#line 146 "d2_lexer.ll"
1679#line 148 "d2_lexer.ll"
1682 comment_start_line = driver.loc_.end.line;;
1687#line 153 "d2_lexer.ll"
1692#line 154 "d2_lexer.ll"
1696#line 155 "d2_lexer.ll"
1703#line 159 "d2_lexer.ll"
1708#line 160 "d2_lexer.ll"
1713#line 161 "d2_lexer.ll"
1718 std::string tmp(
yytext+1);
1719 tmp.resize(tmp.size() - 1);
1721 driver.includeFile(tmp);
1727#line 170 "d2_lexer.ll"
1734#line 173 "d2_lexer.ll"
1739#line 176 "d2_lexer.ll"
1748#line 181 "d2_lexer.ll"
1751 driver.loc_.lines(
yyleng);
1757#line 187 "d2_lexer.ll"
1759 switch(driver.ctx_) {
1769#line 196 "d2_lexer.ll"
1771 switch(driver.ctx_) {
1783#line 207 "d2_lexer.ll"
1785 switch(driver.ctx_) {
1797#line 218 "d2_lexer.ll"
1799 switch(driver.ctx_) {
1809#line 227 "d2_lexer.ll"
1811 switch(driver.ctx_) {
1821#line 236 "d2_lexer.ll"
1823 switch(driver.ctx_) {
1833#line 245 "d2_lexer.ll"
1839 std::string tmp(
yytext+1);
1840 tmp.resize(tmp.size() - 1);
1846#line 255 "d2_lexer.ll"
1852 std::string tmp(
yytext+1);
1853 tmp.resize(tmp.size() - 1);
1859#line 265 "d2_lexer.ll"
1865 std::string tmp(
yytext+1);
1866 tmp.resize(tmp.size() - 1);
1872#line 275 "d2_lexer.ll"
1874 switch(driver.ctx_) {
1894#line 294 "d2_lexer.ll"
1896 switch(driver.ctx_) {
1916#line 313 "d2_lexer.ll"
1918 switch(driver.ctx_) {
1928#line 322 "d2_lexer.ll"
1930 switch(driver.ctx_) {
1940#line 331 "d2_lexer.ll"
1942 switch(driver.ctx_) {
1953#line 341 "d2_lexer.ll"
1955 switch(driver.ctx_) {
1968#line 353 "d2_lexer.ll"
1970 switch(driver.ctx_) {
1981#line 363 "d2_lexer.ll"
1983 switch(driver.ctx_) {
1994#line 374 "d2_lexer.ll"
1996 switch(driver.ctx_) {
2006#line 383 "d2_lexer.ll"
2008 switch(driver.ctx_) {
2019#line 393 "d2_lexer.ll"
2021 switch(driver.ctx_) {
2032#line 403 "d2_lexer.ll"
2034 switch(driver.ctx_) {
2045#line 413 "d2_lexer.ll"
2047 switch(driver.ctx_) {
2058#line 423 "d2_lexer.ll"
2060 switch(driver.ctx_) {
2070#line 432 "d2_lexer.ll"
2072 switch(driver.ctx_) {
2082#line 441 "d2_lexer.ll"
2084 switch(driver.ctx_) {
2094#line 450 "d2_lexer.ll"
2096 switch(driver.ctx_) {
2106#line 459 "d2_lexer.ll"
2108 switch(driver.ctx_) {
2118#line 468 "d2_lexer.ll"
2120 switch(driver.ctx_) {
2130#line 477 "d2_lexer.ll"
2132 switch(driver.ctx_) {
2142#line 486 "d2_lexer.ll"
2144 switch(driver.ctx_) {
2154#line 495 "d2_lexer.ll"
2156 switch(driver.ctx_) {
2166#line 504 "d2_lexer.ll"
2168 switch(driver.ctx_) {
2178#line 513 "d2_lexer.ll"
2180 switch(driver.ctx_) {
2190#line 522 "d2_lexer.ll"
2192 switch(driver.ctx_) {
2202#line 531 "d2_lexer.ll"
2204 switch(driver.ctx_) {
2214#line 540 "d2_lexer.ll"
2216 switch(driver.ctx_) {
2226#line 549 "d2_lexer.ll"
2228 switch(driver.ctx_) {
2238#line 558 "d2_lexer.ll"
2240 switch(driver.ctx_) {
2250#line 567 "d2_lexer.ll"
2252 switch(driver.ctx_) {
2262#line 576 "d2_lexer.ll"
2264 switch(driver.ctx_) {
2274#line 585 "d2_lexer.ll"
2276 switch(driver.ctx_) {
2286#line 594 "d2_lexer.ll"
2288 switch(driver.ctx_) {
2298#line 603 "d2_lexer.ll"
2300 switch(driver.ctx_) {
2310#line 612 "d2_lexer.ll"
2312 switch(driver.ctx_) {
2322#line 621 "d2_lexer.ll"
2324 switch(driver.ctx_) {
2334#line 630 "d2_lexer.ll"
2336 switch(driver.ctx_) {
2346#line 639 "d2_lexer.ll"
2348 switch(driver.ctx_) {
2358#line 648 "d2_lexer.ll"
2360 switch(driver.ctx_) {
2370#line 657 "d2_lexer.ll"
2372 switch(driver.ctx_) {
2382#line 666 "d2_lexer.ll"
2384 switch(driver.ctx_) {
2394#line 675 "d2_lexer.ll"
2396 switch(driver.ctx_) {
2406#line 684 "d2_lexer.ll"
2408 switch(driver.ctx_) {
2418#line 693 "d2_lexer.ll"
2420 switch(driver.ctx_) {
2430#line 702 "d2_lexer.ll"
2432 switch(driver.ctx_) {
2442#line 711 "d2_lexer.ll"
2444 switch(driver.ctx_) {
2454#line 720 "d2_lexer.ll"
2456 switch(driver.ctx_) {
2470#line 733 "d2_lexer.ll"
2472 switch(driver.ctx_) {
2482#line 742 "d2_lexer.ll"
2484 switch(driver.ctx_) {
2494#line 751 "d2_lexer.ll"
2499 std::string raw(
yytext+1);
2500 size_t len = raw.size() - 1;
2502 std::string decoded;
2503 decoded.reserve(len);
2504 for (
size_t pos = 0; pos < len; ++pos) {
2510 driver.error(driver.loc_,
"Bad quote in \"" + raw +
"\"");
2516 driver.error(driver.loc_,
"Overflow escape in \"" + raw +
"\"");
2523 decoded.push_back(c);
2526 decoded.push_back(
'\b');
2529 decoded.push_back(
'\f');
2532 decoded.push_back(
'\n');
2535 decoded.push_back(
'\r');
2538 decoded.push_back(
'\t');
2543 if (pos + 4 > len) {
2545 driver.error(driver.loc_,
2546 "Overflow unicode escape in \"" + raw +
"\"");
2548 if ((raw[pos] !=
'0') || (raw[pos + 1] !=
'0')) {
2549 driver.error(driver.loc_,
2550 "Unsupported unicode escape in \"" + raw +
"\"",
2555 if ((c >=
'0') && (c <=
'9')) {
2557 }
else if ((c >=
'A') && (c <=
'F')) {
2558 b = (c -
'A' + 10) << 4;
2559 }
else if ((c >=
'a') && (c <=
'f')) {
2560 b = (c -
'a' + 10) << 4;
2563 driver.error(driver.loc_,
"Not hexadecimal in unicode escape in \"" + raw +
"\"");
2567 if ((c >=
'0') && (c <=
'9')) {
2569 }
else if ((c >=
'A') && (c <=
'F')) {
2571 }
else if ((c >=
'a') && (c <=
'f')) {
2575 driver.error(driver.loc_,
"Not hexadecimal in unicode escape in \"" + raw +
"\"");
2577 decoded.push_back(
static_cast<char>(b & 0xff));
2581 driver.error(driver.loc_,
"Bad escape in \"" + raw +
"\"");
2585 if ((c >= 0) && (c < 0x20)) {
2587 driver.error(driver.loc_,
"Invalid control in \"" + raw +
"\"");
2589 decoded.push_back(c);
2599#line 852 "d2_lexer.ll"
2603 size_t len = raw.size() - 1;
2605 for (; pos < len; ++pos) {
2607 if ((c >= 0) && (c < 0x20)) {
2611 driver.error(driver.loc_,
2619#line 868 "d2_lexer.ll"
2623 size_t len = raw.size() - 1;
2626 for (; pos < len; ++pos) {
2645 if ((pos + 4 > len) ||
2646 !std::isxdigit(raw[pos + 1]) ||
2647 !std::isxdigit(raw[pos + 2]) ||
2648 !std::isxdigit(raw[pos + 3]) ||
2649 !std::isxdigit(raw[pos + 4])) {
2660 std::string trailer =
"";
2661 if (raw[len - 1] ==
'\\') {
2664 driver.error(driver.loc_,
2665 "Bad escape in " + std::string(
yytext,
yyleng) + trailer,
2671#line 917 "d2_lexer.ll"
2674 std::string raw(
yytext+1);
2675 driver.error(driver.loc_,
2676 "Overflow escape in " + std::string(
yytext),
2682#line 925 "d2_lexer.ll"
2685 std::string raw(
yytext+1);
2686 size_t pos = raw.size() - 1;
2687 for (; pos > 0; --pos) {
2693 driver.error(driver.loc_,
2694 "Overflow unicode escape in " + std::string(
yytext),
2700#line 940 "d2_lexer.ll"
2705#line 941 "d2_lexer.ll"
2710#line 942 "d2_lexer.ll"
2715#line 943 "d2_lexer.ll"
2720#line 944 "d2_lexer.ll"
2725#line 945 "d2_lexer.ll"
2730#line 947 "d2_lexer.ll"
2734 int64_t integer = 0;
2740 integer = boost::lexical_cast<int64_t>(tmp);
2741 }
catch (
const boost::bad_lexical_cast &) {
2742 driver.error(driver.loc_,
"Failed to convert " + tmp +
" to an integer.");
2745 driver.warning(driver.loc_,
"leading zeros in integers will be deprecated.");
2752#line 966 "d2_lexer.ll"
2756 int64_t integer = 0;
2762 integer = boost::lexical_cast<int64_t>(tmp);
2763 }
catch (
const boost::bad_lexical_cast &) {
2764 driver.error(driver.loc_,
"Failed to convert " + tmp +
" to an integer.");
2772#line 983 "d2_lexer.ll"
2776 driver.error(driver.loc_,
"Deprecated plus sign in " + tmp +
" number.");
2781#line 989 "d2_lexer.ll"
2787 fp = boost::lexical_cast<double>(tmp);
2788 }
catch (
const boost::bad_lexical_cast &) {
2789 driver.error(driver.loc_,
"Failed to convert " + tmp +
" to a floating point.");
2792 driver.warning(driver.loc_,
"leading zeros in numbers will be deprecated.");
2799#line 1004 "d2_lexer.ll"
2805 fp = boost::lexical_cast<double>(tmp);
2806 }
catch (
const boost::bad_lexical_cast &) {
2807 driver.error(driver.loc_,
"Failed to convert " + tmp +
" to a floating point.");
2815#line 1017 "d2_lexer.ll"
2823#line 1022 "d2_lexer.ll"
2830#line 1026 "d2_lexer.ll"
2831driver.error (driver.loc_,
"JSON true reserved keyword is lower case only");
2835#line 1028 "d2_lexer.ll"
2836driver.error (driver.loc_,
"JSON false reserved keyword is lower case only");
2840#line 1030 "d2_lexer.ll"
2841driver.error (driver.loc_,
"JSON null reserved keyword is lower case only");
2845#line 1032 "d2_lexer.ll"
2846driver.error (driver.loc_,
"Invalid character: " + std::string(
yytext,
yyleng));
2849#line 1034 "d2_lexer.ll"
2851 if (driver.states_.empty()) {
2854 driver.loc_ = driver.locs_.back();
2855 driver.locs_.pop_back();
2856 driver.file_ = driver.files_.back();
2857 driver.files_.pop_back();
2858 if (driver.sfile_) {
2859 fclose(driver.sfile_);
2862 if (!driver.sfiles_.empty()) {
2863 driver.sfile_ = driver.sfiles_.back();
2864 driver.sfiles_.pop_back();
2867 d2_parser__switch_to_buffer(driver.states_.back());
2868 driver.states_.pop_back();
2875#line 1057 "d2_lexer.ll"
2878#line 2878 "d2_lexer.cc"
2886 *
yy_cp = (yy_hold_char);
2920 (yy_c_buf_p) = (
yytext_ptr) + yy_amount_of_matched_text;
2922 yy_current_state = yy_get_previous_state( );
2933 yy_next_state = yy_try_NUL_trans( yy_current_state );
2937 if ( yy_next_state )
2940 yy_cp = ++(yy_c_buf_p);
2941 yy_current_state = yy_next_state;
2948 yy_cp = (yy_last_accepting_cpos);
2949 yy_current_state = (yy_last_accepting_state);
2950 goto yy_find_action;
2954 else switch ( yy_get_next_buffer( ) )
2958 (yy_did_buffer_switch_on_eof) = 0;
2979 if ( ! (yy_did_buffer_switch_on_eof) )
2989 yy_current_state = yy_get_previous_state( );
2991 yy_cp = (yy_c_buf_p);
2999 yy_current_state = yy_get_previous_state( );
3001 yy_cp = (yy_c_buf_p);
3003 goto yy_find_action;
3010 "fatal flex scanner internal error--no action found" );
3031static int yy_get_next_buffer (
void)
3038 int number_to_move, i;
3043 "fatal flex scanner internal error--end of buffer missed" );
3067 number_to_move = (int) ((yy_c_buf_p) - (
yytext_ptr) - 1);
3069 for ( i = 0; i < number_to_move; ++i )
3070 *(dest++) = *(source++);
3083 while ( num_to_read <= 0 )
3089 int yy_c_buf_p_offset =
3096 if ( new_size <= 0 )
3112 "fatal error - scanner input buffer overflow" );
3114 (yy_c_buf_p) = &b->
yy_ch_buf[yy_c_buf_p_offset];
3126 (yy_n_chars), num_to_read );
3131 if ( (yy_n_chars) == 0 )
3152 int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1);
3156 YY_FATAL_ERROR(
"out of dynamic memory in yy_get_next_buffer()" );
3161 (yy_n_chars) += number_to_move;
3183 yy_current_state = (yy_start);
3189 if ( yy_accept[yy_current_state] )
3191 (yy_last_accepting_state) = yy_current_state;
3192 (yy_last_accepting_cpos) =
yy_cp;
3194 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
3196 yy_current_state = (int) yy_def[yy_current_state];
3197 if ( yy_current_state >= 579 )
3198 yy_c = yy_meta[yy_c];
3200 yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
3203 return yy_current_state;
3219 char *
yy_cp = (yy_c_buf_p);
3222 if ( yy_accept[yy_current_state] )
3224 (yy_last_accepting_state) = yy_current_state;
3225 (yy_last_accepting_cpos) =
yy_cp;
3227 while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state )
3229 yy_current_state = (int) yy_def[yy_current_state];
3230 if ( yy_current_state >= 579 )
3231 yy_c = yy_meta[yy_c];
3233 yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c];
3234 yy_is_jam = (yy_current_state == 578);
3236 return yy_is_jam ? 0 : yy_current_state;
3248 static int yyinput (
void)
3250 static int input (
void)
3259 *(yy_c_buf_p) = (yy_hold_char);
3269 *(yy_c_buf_p) =
'\0';
3273 int offset = (int) ((yy_c_buf_p) - (
yytext_ptr));
3276 switch ( yy_get_next_buffer( ) )
3299 if ( ! (yy_did_buffer_switch_on_eof) )
3315 c = *(
unsigned char *) (yy_c_buf_p);
3316 *(yy_c_buf_p) =
'\0';
3317 (yy_hold_char) = *++(yy_c_buf_p);
3375 *(yy_c_buf_p) = (yy_hold_char);
3388 (yy_did_buffer_switch_on_eof) = 1;
3404 (yy_hold_char) = *(yy_c_buf_p);
3552 if (new_buffer == NULL)
3561 *(yy_c_buf_p) = (yy_hold_char);
3568 (yy_buffer_stack_top)++;
3573 (yy_did_buffer_switch_on_eof) = 1;
3593 if ((yy_buffer_stack_top) > 0)
3594 --(yy_buffer_stack_top);
3598 (yy_did_buffer_switch_on_eof) = 1;
3615 if (!(yy_buffer_stack)) {
3625 if ( ! (yy_buffer_stack) )
3626 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
3628 memset((yy_buffer_stack), 0, num_to_alloc *
sizeof(
struct yy_buffer_state*));
3630 (yy_buffer_stack_max) = num_to_alloc;
3631 (yy_buffer_stack_top) = 0;
3635 if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){
3640 num_to_alloc = (yy_buffer_stack_max) + grow_size;
3645 if ( ! (yy_buffer_stack) )
3646 YY_FATAL_ERROR(
"out of dynamic memory in yyensure_buffer_stack()" );
3649 memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size *
sizeof(
struct yy_buffer_state*));
3650 (yy_buffer_stack_max) = num_to_alloc;
3729 for ( i = 0; i < _yybytes_len; ++i )
3730 buf[i] = yybytes[i];
3747#ifndef YY_EXIT_FAILURE
3748#define YY_EXIT_FAILURE 2
3752static void yynoreturn yy_fatal_error (
const char* msg )
3754 fprintf( stderr,
"%s\n", msg );
3768 int yyless_macro_arg = (n); \
3769 YY_LESS_LINENO(yyless_macro_arg);\
3770 yytext[yyleng] = (yy_hold_char); \
3771 (yy_c_buf_p) = yytext + yyless_macro_arg; \
3772 (yy_hold_char) = *(yy_c_buf_p); \
3773 *(yy_c_buf_p) = '\0'; \
3774 yyleng = yyless_macro_arg; \
3873static int yy_init_globals (
void)
3879 (yy_buffer_stack) = NULL;
3880 (yy_buffer_stack_top) = 0;
3881 (yy_buffer_stack_max) = 0;
3882 (yy_c_buf_p) = NULL;
3915 yyfree((yy_buffer_stack) );
3916 (yy_buffer_stack) = NULL;
3933static void yy_flex_strncpy (
char* s1,
const char * s2,
int n )
3937 for ( i = 0; i < n; ++i )
3942#ifdef YY_NEED_STRLEN
3943static int yy_flex_strlen (
const char * s )
3946 for ( n = 0; s[n]; ++n )
3955 return malloc(size);
3968 return realloc(ptr, size);
3973 free( (
char *) ptr );
3978#define YYTABLES_NAME "yytables"
3983#line 1057 "d2_lexer.ll"
3991 start_token_flag =
true;
3992 start_token_value = parser_type;
3999 buffer = d2_parser__scan_bytes(
str.c_str(),
str.size());
4001 fatal(
"cannot scan string");
4008 const std::string& filename,
4011 start_token_flag =
true;
4012 start_token_value = parser_type;
4021 buffer = d2_parser__create_buffer(f, 65536 );
4023 fatal(
"cannot scan file " + filename);
4025 d2_parser__switch_to_buffer(buffer);
4033 static_cast<void>(d2_parser_lex_destroy());
4044 d2_parser__delete_buffer(
states_.back());
4052 fatal(
"Too many nested include.");
4055 FILE* f = fopen(filename.c_str(),
"r");
4057 fatal(
"Can't open include file " + filename);
4065 buffer = d2_parser__create_buffer(f, 65536 );
4067 fatal(
"Can't scan include file " + filename);
4069 d2_parser__switch_to_buffer(buffer);
4082 void dummy() { yy_fatal_error(
"Fix me: how to disable its definition?"); }
Evaluation error exception raised when trying to parse.
ParserType
Defines currently supported scopes.
@ PARSER_TSIG_KEY
Used for parsing a list of TSIG Keys.
@ PARSER_DDNS_DOMAINS
Used for parsing content of a DNS Server.
@ PARSER_DDNS_DOMAIN
Used for parsing a list a DDNS Domains.
@ PARSER_DNS_SERVER
Used for parsing a list of DNS servers.
@ PARSER_SUB_DHCPDDNS
Used for parsing content of a TSIG key.
@ PARSER_JSON
This parser will parse the content as generic JSON.
@ PARSER_TSIG_KEYS
Used for parsing content of a DDNS Domain.
@ PARSER_DHCPDDNS
Used for parsing content of DhcpDdns.
isc::d2::location loc_
Location of the current token.
std::string file_
File name.
void includeFile(const std::string &filename)
Divert input to an include file.
@ AUTHENTICATION
Used while parsing content of an authentication type.
@ DDNS_DOMAIN
Used while parsing a list of ddns-domains.
@ DNS_SERVERS
Used while parsing content of a control-sockets.
@ DDNS_DOMAINS
Used while parsing content of a dns-server.
@ AUTH_TYPE
Used while parsing content of a client.
@ NCR_FORMAT
Used while parsing DhcpDdns/ncr-format.
@ NCR_PROTOCOL
Used while parsing DhcpDdns/ncr-protocol.
@ DHCPDDNS
Used while parsing content of a tsig-key.
@ OUTPUT_OPTIONS
Used while parsing DhcpDdns/loggers/output-options structures.
@ FORWARD_DDNS
Used while parsing content of DhcpDdns/reverse-ddns.
@ CONTROL_SOCKET_TYPE
Used while parsing content of an authentication.
@ TSIG_KEY
Used while parsing a list of tsig-keys.
@ REVERSE_DDNS
Used while parsing content of a ddns-domain.
@ LOGGERS
Used while parsing DhcpDdns/loggers structures.
@ HOOKS_LIBRARIES
Used while parsing DhcpDdns/hooks-libraries.
@ TSIG_KEYS
Used while parsing content of DhcpDdns/tsig-keys/algorithm.
@ CONFIG
Used while parsing content of DhcpDdns.
@ DNS_SERVER
Used while parsing content of list of dns-servers.
@ CONTROL_SOCKETS
Used while parsing content of a socket-type.
std::vector< FILE * > sfiles_
sFile (aka FILE) stack
FILE * sfile_
sFile (aka FILE)
void scanStringBegin(const std::string &str, ParserType type)
Method called before scanning starts on a string.
void scanFileBegin(FILE *f, const std::string &filename, ParserType type)
Method called before scanning starts on a file.
std::vector< isc::d2::location > locs_
Location stack.
std::vector< struct yy_buffer_state * > states_
Lexer state stack.
std::vector< std::string > files_
File name stack.
void scanEnd()
Method called after the last tokens are scanned.
static symbol_type make_COMMENT(const location_type &l)
static symbol_type make_AUTHENTICATION(const location_type &l)
static symbol_type make_STRING(const std::string &v, const location_type &l)
static symbol_type make_SUB_DDNS_DOMAIN(const location_type &l)
static symbol_type make_SUB_HOOKS_LIBRARY(const location_type &l)
static symbol_type make_LOGGERS(const location_type &l)
static symbol_type make_KEY_NAME(const location_type &l)
static symbol_type make_PARAMETERS(const location_type &l)
static symbol_type make_SUB_TSIG_KEYS(const location_type &l)
static symbol_type make_FORWARD_DDNS(const location_type &l)
static symbol_type make_TOPLEVEL_DHCPDDNS(const location_type &l)
static symbol_type make_SOCKET_TYPE(const location_type &l)
static symbol_type make_SUB_DDNS_DOMAINS(const location_type &l)
static symbol_type make_TCP(const location_type &l)
static symbol_type make_NAME(const location_type &l)
static symbol_type make_MAXSIZE(const location_type &l)
static symbol_type make_PASSWORD_FILE(const location_type &l)
static symbol_type make_HTTPS(const location_type &l)
static symbol_type make_OUTPUT_OPTIONS(const location_type &l)
static symbol_type make_LSQUARE_BRACKET(const location_type &l)
static symbol_type make_PASSWORD(const location_type &l)
static symbol_type make_DEBUGLEVEL(const location_type &l)
static symbol_type make_LCURLY_BRACKET(const location_type &l)
static symbol_type make_DIGEST_BITS(const location_type &l)
static symbol_type make_SOCKET_ADDRESS(const location_type &l)
static symbol_type make_CERT_FILE(const location_type &l)
static symbol_type make_TOPLEVEL_JSON(const location_type &l)
static symbol_type make_SOCKET_NAME(const location_type &l)
static symbol_type make_DNS_SERVER_TIMEOUT(const location_type &l)
static symbol_type make_NULL_TYPE(const location_type &l)
static symbol_type make_LIBRARY(const location_type &l)
static symbol_type make_UDP(const location_type &l)
static symbol_type make_HOOKS_LIBRARIES(const location_type &l)
static symbol_type make_COLON(const location_type &l)
static symbol_type make_COMMA(const location_type &l)
static symbol_type make_SECRET(const location_type &l)
static symbol_type make_SUB_TSIG_KEY(const location_type &l)
static symbol_type make_RCURLY_BRACKET(const location_type &l)
static symbol_type make_UNIX(const location_type &l)
static symbol_type make_OUTPUT(const location_type &l)
static symbol_type make_SUB_DHCPDDNS(const location_type &l)
static symbol_type make_INTEGER(const int64_t &v, const location_type &l)
static symbol_type make_DHCPDDNS(const location_type &l)
static symbol_type make_CONTROL_SOCKETS(const location_type &l)
static symbol_type make_SUB_DNS_SERVER(const location_type &l)
static symbol_type make_MAXVER(const location_type &l)
static symbol_type make_SECRET_FILE(const location_type &l)
static symbol_type make_DDNS_DOMAINS(const location_type &l)
static symbol_type make_SEVERITY(const location_type &l)
static symbol_type make_REALM(const location_type &l)
static symbol_type make_RSQUARE_BRACKET(const location_type &l)
static symbol_type make_HTTP(const location_type &l)
static symbol_type make_HOSTNAME(const location_type &l)
static symbol_type make_USER_CONTEXT(const location_type &l)
static symbol_type make_USER(const location_type &l)
static symbol_type make_SOCKET_PORT(const location_type &l)
static symbol_type make_BASIC(const location_type &l)
static symbol_type make_FLUSH(const location_type &l)
static symbol_type make_REVERSE_DDNS(const location_type &l)
static symbol_type make_PATTERN(const location_type &l)
static symbol_type make_KEY_FILE(const location_type &l)
static symbol_type make_ALGORITHM(const location_type &l)
static symbol_type make_IP_ADDRESS(const location_type &l)
static symbol_type make_PORT(const location_type &l)
static symbol_type make_CLIENTS(const location_type &l)
static symbol_type make_CERT_REQUIRED(const location_type &l)
static symbol_type make_TYPE(const location_type &l)
static symbol_type make_TRUST_ANCHOR(const location_type &l)
static symbol_type make_FLOAT(const double &v, const location_type &l)
static symbol_type make_BOOLEAN(const bool &v, const location_type &l)
static symbol_type make_DIRECTORY(const location_type &l)
static symbol_type make_JSON(const location_type &l)
static symbol_type make_END(const location_type &l)
static symbol_type make_NCR_PROTOCOL(const location_type &l)
static symbol_type make_DNS_SERVERS(const location_type &l)
static symbol_type make_USER_FILE(const location_type &l)
static symbol_type make_TSIG_KEYS(const location_type &l)
static symbol_type make_NCR_FORMAT(const location_type &l)
#define yyget_in
Get the input stream.
unsigned char flex_uint8_t
unsigned int flex_uint32_t
#define yyget_lineno
Get the current line number.
#define yypush_buffer_state
struct yy_buffer_state * YY_BUFFER_STATE
#define yyget_out
Get the output stream.
#define YY_RESTORE_YY_MORE_OFFSET
#define yypop_buffer_state
Removes and deletes the top of the stack, if present.
#define EOB_ACT_END_OF_FILE
#define YY_CURRENT_BUFFER_LVALUE
#define yyget_leng
Get the length of the current token.
#define yyensure_buffer_stack
#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 yyget_text
Get the current token.
#define EOB_ACT_LAST_MATCH
#define YY_BUFFER_EOF_PENDING
#define EOB_ACT_CONTINUE_SCAN
#define yy_load_buffer_state
#define isc_throw(type, stream)
A shortcut macro to insert known values into exception arguments.
int yy_bs_column
The column count.
int yy_bs_lineno
The line count.