]>
Commit | Line | Data |
---|---|---|
29553547 JD |
1 | 2007-03-10 Joel E. Denny <jdenny@ces.clemson.edu> |
2 | ||
3 | * doc/bison.texinfo (Destructor Decl): Fix typo reported by Sebastian | |
4 | Setzer. | |
5 | (Java Differences): Fix some typos. | |
6 | * THANKS: Add Sebastian Setzer. | |
7 | ||
01b477c6 PB |
8 | 2007-03-07 Paolo Bonzini <bonzini@gnu.org> |
9 | ||
10 | * data/java.m4 (b4_single_class_if): Remove. | |
11 | (b4_abstract_if): Look at "%define abstract". | |
12 | (b4_lexer_if): New. | |
13 | (b4_union_name): Rename... | |
14 | (b4_yystype): ... to this. Map to "%define stype". | |
15 | (b4_rhs_value, b4_parse_param_decl, b4_lex_param_decl, | |
16 | b4_maybe_throws): Fix quoting. | |
17 | (b4_lex_param_call): Move below to keep b4_*_param_decl close. | |
18 | * data/lalr1.java (Lexer interface): Always define. | |
19 | (Lexer interface within parser class): Remove. | |
20 | (YYLexer class): New, used when "%code lexer" is present. | |
21 | (constructor): When "%code lexer" is used, pass %lex-param | |
22 | to the lexer constructor. | |
23 | (yylex, yyparse): Remove %lex-param from method invocations | |
24 | (YYStack, yyaction, yyparse): Rename b4_union_name to b4_yystype. | |
25 | ||
26 | * doc/bison.texinfo (Java Bison Interface): Mention "%define | |
27 | abstract". Rename "%define union_name" to "%define stype". | |
28 | Rename method names according to previous patch. | |
29 | (Java Scanner Interface): Describe "%code lexer" instead of | |
30 | "%pure-parser" and "%define single_class". | |
31 | (Java Differences): Mention "%code lexer". | |
32 | ||
33 | * tests/java.at (_AT_DATA_JAVA_CALC_Y): Remove final argument. | |
34 | Include scanner here, using macros from tests/local.at. | |
35 | (AT_DATA_CALC_Y): Remove final argument. | |
36 | (_AT_CHECK_JAVA_CALC): Likewise. | |
37 | (AT_CHECK_JAVA_CALC): Likewise. Test all four combinations | |
38 | of %locations and %error-verbose. | |
39 | (main): Test with and without %lex-param. | |
40 | * tests/local.at (_AT_BISON_OPTION_PUSHDEFS): Push AT_LEXPARAM_IF. | |
41 | (AT_BISON_OPTION_POPDEFS): Pop it. | |
42 | ||
122bea3a JMG |
43 | 2007-03-07 Juan Manuel Guerrero <juan.guerrero@gmx.de> |
44 | ||
45 | DJGPP spefic issue. Inhibit the use of disallowed characters for | |
46 | file name genertion on Win98, WinXP, etc. These are |<>":?*\ | |
47 | and concern testsuite case 46. | |
48 | * Makefile.am: djgpp/testsuite.sed added to EXTRA_DIST | |
49 | * djgpp/testsuite.sed: Inhibit the use of disallowed characters. | |
50 | * djgpp/config.bat: Inhibit the use of disallowed characters. | |
51 | ||
9611cfa2 JD |
52 | 2007-03-02 Joel E. Denny <jdenny@ces.clemson.edu> |
53 | ||
54 | Miscellaneous %define and %code cleanup. | |
55 | * data/bison.m4 (b4_percent_define_flag_if): Correct comments on how | |
56 | values are interpreted. | |
57 | * doc/bison.texinfo (Decl Summary): Clean up and extend %define | |
58 | documentation a little more. | |
59 | * src/muscle_tab.c (MUSCLE_USER_NAME_CONVERT, | |
60 | muscle_percent_define_insert, muscle_percent_code_grow): New | |
61 | functions/macros. | |
62 | * src/muscle_tab.h (muscle_percent_define_insert, | |
63 | muscle_percent_code_grow): Prototype. | |
64 | * src/parse-gram.y (prologue_declaration): Use | |
65 | muscle_percent_define_insert and muscle_percent_code_grow when parsing | |
66 | %define and %code directives. | |
67 | ||
68 | Make it easy to share %define boolean variables between the front-end | |
69 | and back-end. Though not used yet, this will be useful in the future. | |
70 | * data/bison.m4 (b4_check_user_names): Rewrite comments to talk about | |
71 | Bison uses of names rather than just skeleton uses of names. | |
72 | (b4_percent_define_get, b4_percent_define_ifdef): Rename | |
73 | b4_percent_define_skeleton_variables(VARIABLE) to | |
74 | b4_percent_define_bison_variables(VARIABLE). | |
75 | (b4_percent_code_get, b4_percent_code_ifdef): Rename | |
76 | b4_percent_code_skeleton_qualifiers(QUALIFIER) to | |
77 | b4_percent_code_bison_qualifiers(QUALIFIER). | |
78 | (b4_check_user_names_wrap): Update for renames. | |
79 | * src/muscle_tab.c, src/muscle_tab.h (muscle_percent_define_flag_if, | |
80 | muscle_percent_define_default): New functions mimicking | |
81 | b4_percent_define_flag_if and b4_percent_define_default. | |
82 | ||
83 | For %define variables, report locations for invalid values and | |
84 | redefinitions. | |
85 | * data/bison.m4 (b4_percent_define_flag_if): Read | |
86 | b4_percent_define_loc(VARIABLE) to report the location of an invalid | |
87 | value for VARIABLE. | |
88 | (b4_percent_define_default): Save a special location in | |
89 | b4_percent_define_loc(VARIABLE) in case the default value for VARIABLE | |
90 | must later be reported as invalid. | |
91 | * src/muscle_tab.c (muscle_location_grow, muscle_location_decode): New | |
92 | functions. | |
93 | (muscle_percent_define_insert): Record the location of VARIABLE in | |
94 | muscle percent_define_loc(VARIABLE), and use it to report the previous | |
95 | location for a redefinition. | |
96 | (muscle_percent_define_flag_if): Update like b4_percent_define_flag_if. | |
97 | (muscle_percent_define_default): Update like b4_percent_define_default. | |
98 | (muscle_grow_user_name_list): Rename to... | |
99 | (muscle_user_name_list_grow): ... this for consistency and use | |
100 | muscle_location_grow. | |
101 | * src/muscle_tab.h (muscle_location_grow): Prototype. | |
102 | * tests/input.at (%define errors): Update expected output. | |
103 | * tests/skeletons.at (%define boolean variables: invalid skeleton | |
104 | defaults): New test case. | |
105 | ||
0bf92491 JD |
106 | 2007-02-28 Joel E. Denny <jdenny@ces.clemson.edu> |
107 | ||
108 | * src/print.c (lookahead_set, state_default_rule): Remove. | |
109 | (print_reductions): Replace state_default_rule invocation with | |
110 | equivalent use of yydefact, which was computed in token_actions in | |
111 | tables.c. | |
112 | (print_results): Don't allocate lookahead_set. | |
113 | ||
d3b12988 PB |
114 | 2007-02-27 Paolo Bonzini <bonzini@gnu.org> |
115 | ||
116 | * data/lalr1.java: Prefix all private members with yy. | |
117 | ||
f57a7536 JD |
118 | 2007-02-24 Joel E. Denny <jdenny@ces.clemson.edu> |
119 | ||
120 | Use YYFPRINTF instead of fprintf where appropriate. Reported by | |
121 |