120 |
PERCENT_LOCATIONS "%locations" |
PERCENT_LOCATIONS "%locations" |
121 |
PERCENT_NAME_PREFIX "%name-prefix" |
PERCENT_NAME_PREFIX "%name-prefix" |
122 |
PERCENT_NO_LINES "%no-lines" |
PERCENT_NO_LINES "%no-lines" |
123 |
|
PERCENT_NONDETERMINISTIC_PARSER "%nondeterministic-parser" |
124 |
PERCENT_OUTPUT "%output" |
PERCENT_OUTPUT "%output" |
125 |
PERCENT_PARSE_PARAM "%parse-param {...}" |
PERCENT_PARSE_PARAM "%parse-param {...}" |
126 |
PERCENT_PURE_PARSER "%pure-parser" |
PERCENT_PURE_PARSER "%pure-parser" |
181 |
| "%error-verbose" { error_verbose = 1; } |
| "%error-verbose" { error_verbose = 1; } |
182 |
| "%expect" INT { expected_conflicts = $2; } |
| "%expect" INT { expected_conflicts = $2; } |
183 |
| "%file-prefix" "=" string_content { spec_file_prefix = $3; } |
| "%file-prefix" "=" string_content { spec_file_prefix = $3; } |
184 |
| "%glr-parser" { glr_parser = 1; } |
| "%glr-parser" { nondeterministic_parser = true; |
185 |
|
glr_parser = true; } |
186 |
| "%lex-param {...}" { add_param ("lex_param", $1, @1); } |
| "%lex-param {...}" { add_param ("lex_param", $1, @1); } |
187 |
| "%locations" { locations_flag = 1; } |
| "%locations" { locations_flag = 1; } |
188 |
| "%name-prefix" "=" string_content { spec_name_prefix = $3; } |
| "%name-prefix" "=" string_content { spec_name_prefix = $3; } |
189 |
| "%no-lines" { no_lines_flag = 1; } |
| "%no-lines" { no_lines_flag = 1; } |
190 |
|
| "%nondeterministic-parser" { nondeterministic_parser = true; } |
191 |
| "%output" "=" string_content { spec_outfile = $3; } |
| "%output" "=" string_content { spec_outfile = $3; } |
192 |
| "%parse-param {...}" { add_param ("parse_param", $1, @1); } |
| "%parse-param {...}" { add_param ("parse_param", $1, @1); } |
193 |
| "%pure-parser" { pure_parser = 1; } |
| "%pure-parser" { pure_parser = true; } |
194 |
| "%skeleton" string_content { skeleton = $2; } |
| "%skeleton" string_content { skeleton = $2; } |
195 |
| "%token-table" { token_table_flag = 1; } |
| "%token-table" { token_table_flag = 1; } |
196 |
| "%verbose" { report_flag = report_states; } |
| "%verbose" { report_flag = report_states; } |