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