/[bison]/bison/src/parse-gram.y
ViewVC logotype

Diff of /bison/src/parse-gram.y

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.39 by eggert, Mon Feb 3 15:35:56 2003 UTC revision 1.40 by akim, Tue Apr 29 12:57:36 2003 UTC
# Line 120  int current_prec = 0; Line 120  int current_prec = 0;
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"
# Line 180  declaration: Line 181  declaration:
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; }

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.40

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26