]>
Commit | Line | Data |
---|---|---|
7093d0f5 AD |
1 | 2001-11-29 Paul Eggert <eggert@twinsun.com> |
2 | ||
3 | Name space cleanup in generated parser. | |
4 | ||
5 | * doc/bison.texinfo (Bison Parser): Discuss system headers | |
6 | and their effect on the user name space. | |
7 | ||
8 | * src/bison.simple: | |
9 | (YYSTACK_ALLOC, YYSTACK_FREE, union yyalloc, YYSTACK_GAP_MAX, | |
10 | YYSTACK_BYTES, YYSTACK_RELOCATE): Do not define unless necessary, | |
11 | i.e. unless ! defined (yyoverflow) || defined (YYERROR_VERBOSE). | |
12 | ||
13 | (YYSIZE_T): New macro. Use it instead of size_t, to avoid infringing | |
14 | on user names when possible. | |
15 | ||
16 | (YYSTACK_USE_ALLOCA): Do not define; just use any existing defn. | |
17 | Simplify test for whather <alloca.h> exists. | |
18 | ||
19 | (<stdlib.h>): Include if we will use malloc, and if standard C or C++. | |
20 | ||
21 | (<stdio.h>): Include if YYDEBUG. | |
22 | ||
23 | (yymemcpy): Renamed from __yy_memcpy. Do not define unless | |
24 | ! defined (yyoverflow) && ! defined (yymemcpy). | |
25 | ||
26 | (yymemcpy, yyparse): Rename local variables as needed so that | |
27 | they all begin with 'yy'. | |
28 | ||
29 | (yystrlen, yystpcpy): New functions. | |
30 | ||
31 | (YY_DECL_NON_LSP_VARIABLES): Renamed from _YY_DECL_VARIABLES. | |
32 | All uses changed. | |
33 | ||
34 | (yyparse): size_t -> YYSIZE_T. Use yystrlen and yystpcpy | |
35 | instead of relying on string.h functions. Use YYSTACK_ALLOC | |
36 | and YYSTACK_FREE instead of malloc and free. | |
37 | ||
fd51e5ff AD |
38 | 2001-11-30 Akim Demaille <akim@epita.fr> |
39 | ||
40 | * src/bison.simple (YYSTYPE, YYLTYPE): Move their definitions | |
41 | before their first uses. | |
42 | (YYBISON, YYPURE): Move to the top of the output. | |
43 | ||
7d13ff5f AD |
44 | 2001-11-30 Akim Demaille <akim@epita.fr> |
45 | ||
46 | * tests/reduce.at (Useless Nonterminals): Fix. | |
47 | ||
892a3995 AD |
48 | 2001-11-30 Akim Demaille <akim@epita.fr> |
49 | ||
50 | * src/bison.simple (YYSTACK_FREE): Use `do {;} while (0)' as empty | |
51 | if body instead of `;' to pacify GCC's warnings. | |
52 | ||
68f1e3ed AD |
53 | 2001-11-30 Akim Demaille <akim@epita.fr> |
54 | ||
55 | Instead of mapping the LHS of unused rules to -1, keep the LHS | |
56 | valid, but flag the rules as invalid. | |
57 | ||
58 | * src/gram.h (rule_t): `useful' is a new member. | |
59 | * src/print.c (print_grammar): Adjust. | |
60 | * src/derives.c (set_derives): Likewise. | |
61 | * src/reader.c (packgram, reduce_output): Likewise. | |
62 | * src/reduce.c (reduce_grammar_tables): Likewise. | |
63 | * tests/reduce.at (Underivable Rules, Useless Rules): New. | |
64 | ||
d2d1b42b AD |
65 | 2001-11-30 Akim Demaille <akim@epita.fr> |
66 | ||
67 | * src/reduce.c (reduce_output): Formatting changes. | |
68 | * src/print.c (print_results, print_grammar): Likewise. | |
69 | * tests/regression.at (Rule Line Numbers) | |
70 | (Solved SR Conflicts, Unresolved SR Conflicts): Adjust. | |
71 | ||
760b53a8 AD |
72 | 2001-11-30 Akim Demaille <akim@epita.fr> |
73 | ||
74 | * src/reduce.c (nonterminals_reduce): Instead of throwing away | |
75 | useless nonterminals, move them at the end of the symbol arrays. | |
76 | (reduce_output): Adjust. | |
77 | * tests/reduce.at (Useless Nonterminals): Adjust. | |
78 | ||
00238958 AD |
79 | 2001-11-30 Akim Demaille <akim@epita.fr> |
80 | ||
81 | * src/reduce.c: Various comment/formatting changes. | |
82 | (nonterminals_reduce): New, extracted from... | |
83 | (reduce_grammar_tables): here. | |
84 | (reduce_grammar): Call nonterminals_reduce. | |
85 | ||
396452de PE |
86 | 2001-11-29 Paul Eggert <eggert@twinsun.com> |
87 | ||
88 | * src/bison.simple (YYSTACK_REALLOC): Remove. | |
89 | (YYSTACK_ALLOC): Resurrect this macro, with its old meaning. | |
90 | (YYSTACK_FREE, YYSTACK_GAP_MAX, YYSTACK_BYTES, YYSTACK_RELOCATE): | |
91 | New macros. | |
92 | (union yyalloc): New type. | |
93 | (__yy_memcpy): Last arg is size_t, not unsigned int, to remove | |
94 | an arbitrary restriction on hosts where size_t is wider than int. | |
95 | ||
96 | (yyparse): Don't dump core if alloca or malloc fails; instead, report | |
97 | a parser stack overflow. Allocate just one block of memory for all | |
98 | three stacks, instead of allocating three blocks; this typically is | |
99 | faster and reduces fragmentation. | |
100 | ||
101 | Do not limit the number of items in the stack to a value that fits | |
102 | in 'int', as this is an arbitrary limit on hosts with 64-bit | |
103 | size_t and 32-bit int. | |
104 | ||
147e184c MA |
105 | 2001-11-29 Marc Autret <autret_m@epita.fr> |
106 | ||
107 | * tests/calc.at [AT_DATA_CALC_Y]: Use %error-verbose instead | |
108 | of defining YYERROR_VERBOSE. | |
109 | [AT_DATA]: $4 is now out of C declarations in the prologue. | |
110 | ||
426cf563 MA |
111 | 2001-11-28 Marc Autret <autret_m@epita.fr> |
112 | ||
113 | * src/reader.c (parse_dquoted_param): New. | |
114 | (parse_skel_decl): Use it. | |
115 | * src/lex.h: Add its prototype. | |
116 | * src/lex.c (literalchar): Become not static. | |
117 | ||
c7925b99 MA |
118 | 2001-11-28 Marc Autret <autret_m@epita.fr> |
119 | ||
120 | * src/output.h: And put its extern declaration here. | |
121 | * src/output.c (error_verbose): Define here. | |
122 | (prepare): Echo name modification. | |
123 | * src/getargs.h: Clean its extern declaration. | |
124 | * src/getargs.c (error_verbose_flag): Remove. | |
125 | (getargs): Remove case 'e'. | |
126 | * src/options.c (option_table): 'error-verbose' is now seen as simple | |
127 | percent option. | |
128 | Include output.h. | |
129 | ||
130 | * src/reader.c (read_declarations): Remove case tok_include. | |
131 | (parse_include_decl): Remove. | |
132 | * src/lex.h (token_t): Remove tok_include. | |
133 | * src/options.c (option_table): 'include' is now a simple command line | |
134 | option. | |
135 | ||
5b5d1929 MA |
136 | 2001-11-28 Marc Autret <autret_m@epita.fr> |
137 | ||
138 | * src/bison.simple: Adjust muscle names. | |
139 | * src/muscle_tab.c (muscle_init): Also rename the muscles. | |
140 | * src/output.c (prepare): s/_/-/ for the muscles names. | |
141 | (output_parser): When scanning for a muscle, allow '-' instead of '_'. | |
142 | ||
8850be4b MA |
143 | 2001-11-28 Marc Autret <autret_m@epita.fr> |
144 | ||
145 | * src/bison.simple: Fix debug. | |
146 | [YYERROR_VERBOSE]: Re-integrate as an internal macro. | |
147 | ||
4a38e613 AD |
148 | 2001-11-28 Akim Demaille <akim@epita.fr> |
149 | ||
150 | * src/LR0.c (shifts_new): New. | |
151 | (save_shifts, insert_start_shift, augment_automaton): Use it. | |
152 | ||
4b35e1c1 AD |
153 | 2001-11-28 Akim Demaille <akim@epita.fr> |
154 | ||
155 | * src/closure.c (closure): `b' and `ruleno' denote the same value: | |
156 | keep ruleno only. | |
157 | ||
d2b04478 AD |
158 | 2001-11-28 Akim Demaille <akim@epita.fr> |
159 | ||
160 | * src/closure.c (closure): Instead of looping over word in array | |
161 | then bits in words, loop over bits in array. | |
162 | ||
2c4c30aa AD |
163 | 2001-11-28 Akim Demaille <akim@epita.fr> |
164 | ||
165 | * src/closure.c (closure): No longer optimize the special case | |
166 | where all the bits of `ruleset[r]' are set to 0, to make the code | |
167 | clearer. | |
168 | ||
576890b7 AD |
169 | 2001-11-28 Akim Demaille <akim@epita.fr> |
170 | ||
171 | * src/closure.c (closure): `r' and `c' are new variables, used to | |
172 | de-obfuscate accesses to RULESET and CORE. | |
173 | ||
cb487d7d AD |
174 | 2001-11-28 Akim Demaille <akim@epita.fr> |
175 | ||
176 | * src/reduce.c (reduce_print): Use ngettext. | |
177 | (dump_grammar): Improve the trace accuracy. | |
178 | ||
6013d43f AD |
179 | 2001-11-28 Akim Demaille <akim@epita.fr> |
180 | ||
181 | * src/reduce.c (dump_grammar): Don't translate trace messages. | |
182 | ||
cb4956ee AD |
183 | 2001-11-28 Akim Demaille <akim@epita.fr> |
184 | ||
185 | * tests/reduce.at (Useless Terminals, Useless Nonterminals): New. | |
186 | * src/reduce.c (reduce_grammar_tables): Do not free useless tags, | |
187 | as all tags are free'ed afterwards. | |
188 | From Enrico Scholz. | |
189 | ||
648185ab PE |
190 | 2001-11-27 Paul Eggert <eggert@twinsun.com> |
191 | ||
192 | * src/bison.simple (YYSTACK_REALLOC): Fix typo that caused us to | |
193 | use alloca when we didn't want to, and vice versa. | |
194 | ||
68254a03 MA |
195 | 2001-11-27 Marc Autret <autret_m@epita.fr> |
196 | ||
9113b58f AD |
197 | * src/muscle_tab.c (muscle_init): Remove 'verbose' muscle |
198 | initialization. | |
68254a03 MA |
199 | * src/output.c (prepare): Remove its update. |
200 | ||
04d843a2 MA |
201 | 2001-11-27 Marc Autret <autret_m@epita.fr> |
202 | ||
203 | * tests/torture.at [AT_DATA]: Remove YYERROR_VERBOSE definition. | |
204 | Use %error-verbose. | |
205 | ||
d2079671 | 206 | 2001-11-27 Marc Autret <autret_m@epita.fr> |
eeeb962b MA |
207 | |
208 | * src/bison.simple: Remove YYERROR_VERBOSE using. | |
209 | Use %%error_verbose. | |
210 | (yyparse): Likewise. | |
211 | * src/output.c (prepare): Give its final value. | |
212 | * src/muscle_tab.c (muscle_init): Init new muscle 'error_verbose'. | |
213 | * src/getargs.h: Add its extern declaration. | |
214 | * src/getargs.c (error_verbose_flag): New int. | |
215 | (getargs): Update to catch new case. | |
216 | * src/options.c (option_table): 'error-verbose' is a new option. | |
217 | (shortopts): Update. | |
218 | ||
e0327bc8 AD |
219 | 2001-11-27 Akim Demaille <akim@epita.fr> |
220 | ||
221 | * src/system.h: Use intl/libgettext.h. | |
222 | * src/Makefile.am (INCLUDES): Add -I $(top_srcdir). | |
223 | ||
000f1a3c AD |
224 | 2001-11-27 Akim Demaille <akim@epita.fr> |
225 | ||
226 | * tests/torture.at (Exploding the Stack Size with Malloc): | |
227 | s/YYSTACK_USE_ALLOCA_ALLOCA/YYSTACK_USE_ALLOCA/. | |
228 | ||
26cfe0be AD |
229 | 2001-11-27 Akim Demaille <akim@epita.fr> |
230 | ||
231 | * src/files.c: Include error.h. | |
232 | Reported by Hans Aberg. | |
233 | ||
f6bd5427 MA |
234 | 2001-11-26 Marc Autret <autret_m@epita.fr> |
235 | ||
d2079671 | 236 | * src/reader.c (parse_include_decl): New, not yet implemented. |
f6bd5427 MA |
237 | (read_declarations): Add case tok_include. |
238 | * src/getargs.h (include): Add its extern definition. | |
239 | * src/getargs.c (include): New const char *. | |
240 | (getargs): Add case '-I'. | |
241 | * src/options.c (option_table): Add include as command line and | |
242 | percent option. | |
243 | * src/lex.h (token_t): Add tok_include. | |
244 | ||
2ca209c1 AD |
245 | 2001-11-26 Akim Demaille <akim@epita.fr> |
246 | ||
247 | * src/reader.c (readgram): Make sure rules for mid-rule actions | |
248 | have a lineno equal to that of their host rule. | |
249 | Reported by Hans Aberg. | |
250 | * tests/regression.at (Rule Line Numbers): New. | |
251 | ||
0e41b407 AD |
252 | 2001-11-26 Akim Demaille <akim@epita.fr> |
253 | ||
254 | * src/LR0.c (allocate_itemsets): kernel_size contains ints, not | |
255 | size_ts. | |
256 | ||
257 | 2001-11-26 Akim Demaille <akim@epita.fr> | |
258 | ||
259 | * src/complain.c, src/complain.h (error): Remove, provided by | |
260 | lib/error.[ch]. | |
261 | ||
e0c40012 AD |
262 | 2001-11-26 Akim Demaille <akim@epita.fr> |
263 | ||
264 | * src/reader.c (read_declarations): Don't abort on tok_illegal, | |
265 | issue an error message. | |
266 | * tests/regression.at (Invalid %directive): New. | |
267 | Reported by Hans Aberg. | |
268 | ||
5e147124 AD |
269 | 2001-11-26 Akim Demaille <akim@epita.fr> |
270 | ||
271 | * configure.in: Invoke AC_FUNC_OBSTACK and AC_FUNC_ERROR_AT_LINE. | |
272 | * lib/Makefile.am (libbison_a_SOURCES): Adjust. | |
273 | ||
a034c8b8 AD |
274 | 2001-11-26 Akim Demaille <akim@epita.fr> |
275 | ||
276 | * src/conflicts.c (conflicts_print): Don't complain at all when | |
277 | there are no reduce/reduce conflicts, and as many shift/reduce | |
278 | conflicts as expected. | |
279 | * tests/regression.at (%expect right): Adjust. | |
280 | ||
c64a20f3 AD |
281 | 2001-11-23 Akim Demaille <akim@epita.fr> |
282 | ||
283 | * lib/alloca.c: Update, from fileutils. | |
284 | ||
5b0d29bb AD |
285 | 2001-11-23 Akim Demaille <akim@epita.fr> |
286 | ||
287 | * lib/Makefile.am (libbison_a_LIBADD): Add @ALLOCA@. | |
288 | ||
722c4bfe AD |
289 | 2001-11-23 Akim Demaille <akim@epita.fr> |
290 | ||
291 | * src/system.h: Include alloca.h. | |
292 | * src/main.c (main) [C_ALLOCA]: Call alloca (0). | |
293 | ||
6255b435 AD |
294 | 2001-11-23 Akim Demaille <akim@epita.fr> |
295 | ||
296 | * src/print_graph.c (print_actions): Remove `rule', unused. | |
297 | * src/LR0.c (kernel_size): Contain `int' instead of `size_t' to | |
298 | pacify GCC's signed < unsigned warnings. | |
299 | * src/closure.c (itemsetsize): Likewise. | |
300 | * src/reader.c (symbol_list_new): Static. | |
301 | ||
b29b2ed5 AD |
302 | 2001-11-23 Akim Demaille <akim@epita.fr> |
303 | ||
304 | Attaching lineno to buckets is stupid, since only one copy of each | |
305 | symbol is kept, only the line of the first occurrence is kept too. | |
306 | ||
307 | * src/symtab.h, src/symtab.c (bucket): Remove the line member. | |
308 | * src/reader.c (rline_allocated): Remove, unused. | |
309 | (symbol_list): Have a `line' member. | |
310 | (symbol_list_new): New. | |
311 | (readgram): Use it. | |
312 | * src/print.c (print_grammar): Output the rule line numbers. | |
313 | * tests/regression.at (Solved SR Conflicts) | |
314 | (Unresolved SR Conflicts): Adjust. | |
315 | Reported by Hans Aberg. | |
316 | ||
a81b1d4a MA |
317 | 2001-11-22 Marc Autret <autret_m@epita.fr> |
318 | ||
319 | * src/bison.simple [YYERROR_VERBOSE]: Force its value to be 1 or 0. | |
320 | ||
c1ecb3c1 MA |
321 | 2001-11-22 Marc Autret <autret_m@epita.fr> |
322 | ||
323 | * src/muscle_tab.c (muscle_init): Remove initialization of | |
324 | skeleton muscle. | |
325 | * src/output.c (output_master_parser): Do it here. | |
326 | ||
fbe01355 AD |
327 | 2001-11-20 Akim Demaille <akim@epita.fr> |
328 | ||
329 | * po/sv.po: New. | |
330 | * configure.in (ALL_LINGUAS): Adjust. | |
331 | * po/POTFILE.in: Remove `nullable.c' and `derives.c' which no | |
332 | longer contains strings to translate. | |
333 | ||
81e895c0 AD |
334 | 2001-11-19 Akim Demaille <akim@epita.fr> |
335 | ||
336 | * src/conflicts.c (conflicts_print): Add a missing \n. | |
337 | ||
6bb1878b AD |
338 | 2001-11-19 Akim Demaille <akim@epita.fr> |
339 | ||
340 | * src/nullable.c (nullable_print): New. | |
341 | (set_nullable): Call it when tracing. | |
342 | Better locality of variables. | |
343 | ||
d9ec2d07 AD |
344 | 2001-11-19 Akim Demaille <akim@epita.fr> |
345 | ||
346 | * src/print.c (print_actions): Better locality of variables. | |
347 | ||
720e5c1b AD |
348 | 2001-11-19 Akim Demaille <akim@epita.fr> |
349 | ||
350 | * src/derives.c (print_derives): Fix and enrich. | |
351 | * src/closure.c (print_fderives): Likewise. | |
352 | ||
fb908786 AD |
353 | 2001-11-19 Akim Demaille <akim@epita.fr> |
354 | ||
355 | * src/closure.c (itemsetend): Remove, replaced with... | |
356 | (itemsetsize): new. | |
357 | ||
125ecb56 AD |
358 | 2001-11-19 Akim Demaille <akim@epita.fr> |
359 | ||
360 | * src/LR0.c (kernel_end): Remove, replaced with... | |
361 | (kernel_size): new. | |
362 | ||
d8cf039f AD |
363 | 2001-11-19 Akim Demaille <akim@epita.fr> |
364 | ||
365 | * src/conflicts.c (set_conflicts): Use arrays instead of pointers | |
366 | to clarify. | |
367 | ||
7bec0760 AD |
368 | 2001-11-19 Akim Demaille <akim@epita.fr> |
369 | ||
370 | * src/closure.c (closure): Use arrays instead of pointers to clarify. | |
371 | ||
c87d4863 AD |
372 | 2001-11-19 Akim Demaille <akim@epita.fr> |
373 | ||
374 | * src/closure.c, src/derives.c, src/nullable.c: Adjust various | |
375 | trace messages. | |
376 | * src/LR0.c: Likewise. | |
377 | (allocate_itemsets): Use arrays instead of pointers to clarify. | |
378 | ||
9bfe901c AD |
379 | 2001-11-19 Akim Demaille <akim@epita.fr> |
380 | ||
381 | * src/getargs.c (statistics_flag): Replace with... | |
382 | (trace_flag): New. | |
383 | (longopts): Accept --trace instead of --statistics. | |
384 | * src/getargs.h, src/options.c: Adjust. | |
385 | * src/LR0.c, src/closure.c, src/derives.c, src/nullable.c, | |
386 | * src/reduce.c: Use trace_flags instead of the CPP conditional TRACE. | |
387 | ||
97db7bd4 AD |
388 | 2001-11-19 Akim Demaille <akim@epita.fr> |
389 | ||
cc72668c | 390 | * src/LR0.c (new_itemsets, get_state): Use more arrays and fewer |
97db7bd4 AD |
391 | pointers to clarify the code. |
392 | (save_reductions, save_shifts): Factor common parts of alternatives. | |
393 | ||
2c5f66ed AD |
394 | 2001-11-19 Akim Demaille <akim@epita.fr> |
395 | ||
396 | * src/LR0.c (new_state, get_state): Complete TRACE code. | |
397 | * src/closure.c: Include `reader.h' to get `tags', needed by the | |
398 | trace code. | |
399 | Rename the conditional DEBUG as TRACE. | |
400 | Output consistently TRACEs to stderr, not stdout. | |
401 | * src/derives.c: Likewise. | |
402 | * src/reduce.c: (inaccessable_symbols): Using if is better style | |
403 | than goto. | |
404 | Use `#if TRACE' instead of `#if 0' for tracing code. | |
405 | ||
300f275f AD |
406 | 2001-11-19 Akim Demaille <akim@epita.fr> |
407 | ||
408 | * src/system.h (LIST_FREE, shortcpy): New. | |
409 | * src/LR0.c: Use them. | |
410 | * src/output.c (free_itemsets, free_reductions, free_shifts): | |
411 | Remove, replaced by LIST_FREE. | |
412 | ||
f59c437a AD |
413 | 2001-11-19 Akim Demaille <akim@epita.fr> |
414 | ||
415 | * src/state.h (CORE_ALLOC, SHIFTS_ALLOC, ERRS_ALLOC) | |
416 | (REDUCTIONS_ALLOC): New. | |
417 | * src/LR0.c, src/conflicts.c: Use them to de-obfuscate memory | |
418 | allocation. | |
419 | ||
6986fd9e AD |
420 | 2001-11-19 Akim Demaille <akim@epita.fr> |
421 | ||
422 | * src/LR0.c (new_state): Complete trace code. | |
423 | * src/nullable.c (set_nullable): Don't translate traces. | |
424 | ||
4bc30f78 AD |
425 | 2001-11-19 Akim Demaille <akim@epita.fr> |
426 | ||
427 | * src/print_graph.c (print_core): Better locality of variables. | |
428 | * src/print.c (print_core): Likewise. | |
429 | ||
08a946e0 AD |
430 | 2001-11-19 Akim Demaille <akim@epita.fr> |
431 | ||
432 | * src/vcg.c: You do the output, so you are responsible of the | |
433 | handling of VCG syntax, in particular: use quotearg. | |
434 | * src/print_graph.c: Don't. | |
435 | (print_actions): Don't output the actions as part of the nodes, | |
436 | since that's the job of the edges. | |
437 | (print_state): Don't output by hand: fill the node description, | |
9bfe901c | 438 | and ask for its output. |
08a946e0 | 439 | |
f0473484 AD |
440 | 2001-11-19 Akim Demaille <akim@epita.fr> |
441 | ||
cc72668c AD |
442 | * src/bison.simple (yyparse): When verbosely reporting an error, |
443 | no longer put additional quotes around token names. | |
f0473484 AD |
444 | * tests/calc.at: Adjust. |
445 | ||
e41dc700 AD |
446 | 2001-11-19 Akim Demaille <akim@epita.fr> |
447 | ||
448 | * src/symtab.h, src/symtab.c: `line' is a new member of `bucket'. | |
449 | * src/reader.c (record_rule_lines, rline, rline_allocated): Remove. | |
450 | * src/output.c: Adjust. | |
451 | ||
652a871c AD |
452 | 2001-11-19 Akim Demaille <akim@epita.fr> |
453 | ||
454 | * src/gram.h (rprec, rprecsym, rassoc): Remove, now part of... | |
455 | (rule_t): this. | |
456 | * src/conflicts.c, src/reader.c, src/reduce.c: Adjust. | |
457 | ||
b2ed6e58 AD |
458 | 2001-11-19 Akim Demaille <akim@epita.fr> |
459 | ||
460 | * src/gram.h (rule_t): New. | |
461 | (rule_table): New. | |
462 | (rrhs, rlhs): Remove, part of state_t. | |
463 | * src/print_graph.c, src/closure.c, src/conflicts.c, src/derives.c, | |
464 | * src/lalr.c, src/nullable.c, src/output.c, src/print.c, | |
465 | * src/reader.c, src/reduce.c: Adjust. | |
466 | ||
edad7067 AD |
467 | 2001-11-19 Akim Demaille <akim@epita.fr> |
468 | ||
469 | * src/reader.c (symbols_output): New, extracted from... | |
470 | (packsymbols): Here. | |
471 | (reader): Call it. | |
472 | ||
3feec034 AD |
473 | 2001-11-19 Akim Demaille <akim@epita.fr> |
474 | ||
475 | * src/lalr.c (set_maxrhs, maxrhs): Remove, replaced with... | |
476 | (maxrhs): this new function. | |
477 | ||
ddcd5fdf AD |
478 | 2001-11-19 Akim Demaille <akim@epita.fr> |
479 | ||
cc72668c | 480 | * src/lalr.c (F): New macro to access the variable F. |
ddcd5fdf AD |
481 | Adjust. |
482 | ||
bb527fc2 AD |
483 | 2001-11-19 Akim Demaille <akim@epita.fr> |
484 | ||
cc72668c | 485 | * src/lalr.h (LA): New macro to access the variable LA. |
bb527fc2 AD |
486 | * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c: |
487 | * src/lalr.c: Adjust. | |
488 | ||
a845a697 AD |
489 | 2001-11-19 Akim Demaille <akim@epita.fr> |
490 | ||
491 | * src/lalr.c (initialize_LA): Only initialize LA. Let... | |
492 | (set_state_table): handle the `lookaheads' members. | |
493 | ||
f004bf6a AD |
494 | 2001-11-19 Akim Demaille <akim@epita.fr> |
495 | ||
cc72668c AD |
496 | * src/lalr.h (lookaheads): Removed array, whose contents is now |
497 | a member of... | |
f004bf6a AD |
498 | (state_t): this structure. |
499 | * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c: | |
500 | Adjust. | |
501 | ||
de326cc0 AD |
502 | 2001-11-19 Akim Demaille <akim@epita.fr> |
503 | ||
cc72668c AD |
504 | * src/lalr.h (consistent): Removed array, whose contents is now |
505 | a member of... | |
de326cc0 AD |
506 | (state_t): this structure. |
507 | * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c: | |
508 | Adjust. | |
509 | ||
90b4416b AD |
510 | 2001-11-19 Akim Demaille <akim@epita.fr> |
511 | ||
cc72668c AD |
512 | * src/lalr.h (reduction_table, shift_table): Removed arrays, whose |
513 | contents are now members of... | |
90b4416b AD |
514 | (state_t): this structure. |
515 | * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c: | |
516 | Adjust. | |
517 | ||
9703cc49 AD |
518 | 2001-11-19 Akim Demaille <akim@epita.fr> |
519 | ||
520 | * src/lalr.h (state_t): New. | |
521 | (state_table): Be a state_t * instead of a core **. | |
522 | (accessing_symbol): Remove, part of state_t. | |
523 | * src/lalr.c: Adjust. | |
524 | (set_accessing_symbol): Merge into... | |
525 | (set_state_table): this. | |
526 | * src/print_graph.c, src/conflicts.c: Adjust. | |
527 | ||
d803322e AD |
528 | 2001-11-14 Akim Demaille <akim@epita.fr> |
529 | ||
530 | * tests/calc.at, tests/output.at, tests/regression.at, | |
531 | * tests/testsuite.at, tests/torture.at: Rely on Autotest 2.52g: | |
532 | now the tests are run in private dirs, therefore AC_CLEANUP and | |
533 | family can be simplified to 0-ary. | |
534 | * tests/atlocal.in: Now that we run `elsewhere' than in tests/, | |
535 | use abs. path to find config.h. | |
536 | * tests/calc.at (AT_CHECK_CALC): Don't try to check the compiler's | |
537 | stderr, there can be way too much random noise. | |
538 | Instead pass -Werror to GCC and rely on the exit status. | |
539 | Reported by Wolfram Wagner. | |
540 | ||
3d76b07d AD |
541 | 2001-11-14 Akim Demaille <akim@epita.fr> |
542 | ||
543 | * src/bison.simple (yyparse): Let yyls1, yyss1 and yyvs1 be | |
544 | defined only if yyoverflow is defined, to avoid `warning: unused | |
545 | variable `yyvs1''. | |
546 | Reported by The Test Suite. | |
547 | ||
09b503c8 AD |
548 | 2001-11-14 Akim Demaille <akim@epita.fr> |
549 | ||
550 | * src/print.c: Include reduce.h. | |
551 | Reported by Hans Aberg. | |
552 | ||
553 | 2001-11-14 Akim Demaille <akim@epita.fr> | |
554 | ||
555 | * src/lex.c, src/lex.h (token_buffer, unlexed_token_buffer): | |
556 | Revert a previous patch: these are really const. | |
557 | * src/conflicts.c (conflict_report): Additional useless pair of | |
558 | braces to pacify GCC's warnings for `if () if () {} else {}'. | |
559 | * src/lex.c (parse_percent_token): Replace equal_offset with | |
560 | arg_offset. | |
561 | arg is const. | |
562 | Be sure to strdup `arg' when used, since there is no reason for | |
563 | token_buffer not to change. | |
564 | ||
0f37a994 AD |
565 | 2001-11-14 Akim Demaille <akim@epita.fr> |
566 | ||
567 | * src/system.h (EXIT_SUCCESS, EXIT_FAILURE): Ensure a proper | |
568 | definition. | |
569 | * src/main.c (main): Use them. | |
570 | Suggested by Hans Aberg. | |
571 | ||
d39d93b8 AD |
572 | 2001-11-12 Akim Demaille <akim@epita.fr> |
573 | ||
574 | * src/system.h (ngettext): Now that we use ngettext, be sure to | |
575 | provide a default definition when NLS are not used. | |
576 | ||
9edcd895 AD |
577 | 2001-11-12 Akim Demaille <akim@epita.fr> |
578 | ||
579 | * doc/bison.texinfo: Use `$' as shell prompt, not `%'. | |
580 | Use @kbd to denote user input. | |
581 | (Language and Grammar): ANSIfy the example. | |
582 | Adjust its layout for info/notinfo. | |
583 | (Location Tracking Calc): Output error messages to stderr. | |
584 | Output locations in a more GNUtically correct way. | |
585 | Fix a couple of Englishos. | |
586 | Adjust @group/@end group pairs. | |
587 | ||
7da99ede AD |
588 | 2001-11-12 Akim Demaille <akim@epita.fr> |
589 | ||
590 | %expext was not functioning at all. | |
591 | ||
592 | * src/conflicts.c (expected_conflicts): Set to -1. | |
593 | (conflict_report): Use ngettext. | |
594 | (conflicts_print): Check %expect and make its violation an error. | |
595 | * doc/bison.texinfo (Expect Decl): Adjust. | |
596 | * configure.in (AM_GNU_GETTEXT): Ask for ngettext. | |
597 | * tests/regression.at (%expect not enough, %expect right) | |
598 | (%expect too much): New. | |
599 | ||
ba9dda1a AD |
600 | 2001-11-12 Akim Demaille <akim@epita.fr> |
601 | ||
602 | * tests/regression.at (Conflicts): Rename as... | |
603 | (Unresolved SR Conflicts): this. | |
604 | (Solved SR Conflicts): New. | |
605 | ||
337c5bd1 AD |
606 | 2001-11-12 Akim Demaille <akim@epita.fr> |
607 | ||
608 | * src/reduce.c (print_results): Rename as... | |
609 | (reduce_output): This. | |
610 | Output to OUT, passed as argument, instead of output_obstack. | |
611 | (dump_grammar): Likewise. | |
612 | (reduce_free): New. | |
613 | Also free V1. | |
614 | (reduce_grammar): No longer call reduce_output, since... | |
615 | * src/print.c (print_results): do it. | |
616 | * src/main.c (main): Call reduce_free; | |
617 | ||
c73a41af AD |
618 | 2001-11-12 Akim Demaille <akim@epita.fr> |
619 | ||
620 | * src/conflicts.c (print_reductions): Accept OUT as argument. | |
621 | Output to it, not to output_obstack. | |
622 | * src/print.c (print_actions): Adjust. | |
623 | ||
0df87bb6 AD |
624 | 2001-11-12 Akim Demaille <akim@epita.fr> |
625 | ||
626 | * src/conflicts.c (count_sr_conflicts, count_rr_conflicts): Return | |
627 | the result instead of using... | |
628 | (src_total, rrc_total, src_count, rrc_count): Remove. | |
629 | (any_conflicts): Remove. | |
630 | (print_conflicts): Split into... | |
631 | (conflicts_print, conflicts_output): New. | |
632 | * src/conflicts.h: Adjust. | |
633 | * src/main.c (main): Invoke both conflicts_output and conflicts_print. | |
0f37a994 | 634 | * src/print.c (print_grammar): Issue `\n' between two rules. |
0df87bb6 AD |
635 | * tests/regression.at (Conflicts): New. |
636 | Reported by Tom Lane. | |
637 | ||
e4d3d4de AD |
638 | 2001-11-12 Akim Demaille <akim@epita.fr> |
639 | ||
640 | * tests/regression.at (Invalid input): Remove, duplicate with | |
641 | ``Invalid input: 1''. | |
642 | ||
6d7d248e AD |
643 | 2001-11-12 Akim Demaille <akim@epita.fr> |
644 | ||
645 | * tests/torture.at (AT_DATA_STACK_TORTURE) | |
646 | (Exploding the Stack Size with Alloca) | |
647 | (Exploding the Stack Size with Malloc): New. | |
648 | ||
e9e4c321 AD |
649 | 2001-11-12 Akim Demaille <akim@epita.fr> |
650 | ||
651 | * src/bison.simple (YYSTACK_REALLOC): New. | |
652 | (yyparse) [!yyoverflow]: Use it and free the old stack. | |
0f37a994 | 653 | Reported by Per Allansson. |
e9e4c321 | 654 | |
5f7e0832 AD |
655 | 2001-11-12 Pascal Bart <pascal.bart@epita.fr> |
656 | ||
657 | * src/bison.simple: Define type yystype instead of YYSTYPE, and | |
658 | define CPP macro, which substitute YYSTYPE by yystype. | |
659 | * src/reader.c (parse_union_decl): Output yystype/YYSTYPE as we do | |
660 | with yyltype/YYLTYPE. This allows inclusion of the generated | |
661 | header within the parser if the compiler, such as GGC, accepts | |
662 | multiple equivalent #defines. | |
663 | From Akim. | |
664 | ||
e3f1699f AD |
665 | 2001-11-05 Akim Demaille <akim@epita.fr> |
666 | ||
667 | * src/reader.c (symbols_output): New, extracted from... | |
668 | (packsymbols): here. | |
669 | (reader): Adjust. | |
670 | ||
65be0866 AD |
671 | 2001-11-05 Akim Demaille <akim@epita.fr> |
672 | ||
673 | * src/lex.c (parse_percent_token): s/quotearg/quote/. | |
674 | ||
e4d910bf AD |
675 | 2001-11-05 Akim Demaille <akim@epita.fr> |
676 | ||
677 | * tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up | |
678 | pattern. | |
679 | ||
951366c1 AD |
680 | 2001-11-05 Akim Demaille <akim@epita.fr> |
681 | ||
682 | * src/options.h (struct option_table_struct): set_flags is void*. | |
683 | * src/options.c (longopts): Support `--output' and `%output'. | |
684 | (usage): Adjust. | |
685 | * src/lex.h (tok_setopt): Remove, replaced with... | |
686 | (tok_intopt, tok_stropt): these new guys. | |
687 | * src/lex.c (getopt.h): Not needed. | |
688 | (token_buffer, unlexed_token_buffer): Not const. | |
689 | (percent_table): Promote `-' over `_' in directive names. | |
690 | Active `%name-prefix', `file-prefix', and `output'. | |
691 | (parse_percent_token): Accept possible arguments to directives. | |
692 | Promote `-' over `_' in directive names. | |
693 | ||
d8988b2f AD |
694 | 2001-11-04 Akim Demaille <akim@epita.fr> |
695 | ||
696 | * doc/bison.texinfo (Decl Summary): Split the list into | |
697 | `directives for grammars' and `directives for bison'. | |
698 | Sort'em. | |
699 | Add description of `%name-prefix', `file-prefix', and `output'. | |
700 | Promote `-' over `_' in directive names. | |
701 | (Bison Options): s/%locactions/%locations/. Nice Freudian slip. | |
702 | Simplify the description of `--name-prefix'. | |
703 | Promote `-' over `_' in directive names. | |
704 | Promote `--output' over `--output-file'. | |
705 | Fix the description of `--defines'. | |
706 | * tests/output.at: Exercise %file-prefix and %output. | |
707 | ||
6468d18e AD |
708 | 2001-11-02 Akim Demaille <akim@epita.fr> |
709 | ||
710 | * doc/refcard.tex: Update. | |
711 | ||
6b7e85b9 AD |
712 | 2001-11-02 Akim Demaille <akim@epita.fr> |
713 | ||
714 | * src/symtab.h (SUNDEF): New. | |
715 | * src/symtab.c (bucket_new): Init user_token_number to SUNDEF to | |
716 | stand for `uninitialized', instead of 0. | |
717 | * src/reader.c (packsymbols, parse_thong_decl): Adjust. | |
718 | * src/lex.c (lex): Adjust. | |
719 | ||
720 | * tests/calc.at (_AT_DATA_CALC_Y): Declare a token for EOF. | |
721 | Number it 0. | |
722 | Let yylex return it instead of a plain 0. | |
723 | Reported by Dick Streefland. | |
724 | ||
cd5aafcf AD |
725 | 2001-11-02 Akim Demaille <akim@epita.fr> |
726 | ||
727 | * tests/regression.at (Mixing %token styles): New test. | |
728 | ||
037ca2f1 AD |
729 | 2001-11-02 Akim Demaille <akim@epita.fr> |
730 | ||
731 | * src/reader.c (parse_thong_decl): Formatting changes. | |
732 | (token_translations_init): New, extracted from... | |
733 | (packsymbols): Here. | |
734 | Adjust. | |
735 | ||
270a173c AD |
736 | 2001-11-01 Akim Demaille <akim@epita.fr> |
737 | ||
738 | * tests/regression.at (AT_TEST_CPP_GUARD_H): New. | |
739 | Check that `9foo.y' produces correct cpp guards. | |
740 | * src/files.c (compute_header_macro): Prepend `BISON_' to CPP | |
741 | guards. | |
742 | Reported by Wwp. | |
743 | ||
561f9a30 AD |
744 | 2001-11-01 Akim Demaille <akim@epita.fr> |
745 | ||
746 | * tests/regression.at (Invalid input: 2): New. | |
747 | * src/lex.c (unlexed_token_buffer): New. | |
748 | (lex, unlex): Adjust: when unlexing, be sure to save token_buffer | |
749 | too. | |
750 | Reported by Wwp. | |
751 | ||
f987e9d2 AD |
752 | 2001-11-01 Akim Demaille <akim@epita.fr> |
753 | ||
754 | * tests/calc.at: Catch up with 1.30. | |
755 | * configure.in: Bump to 1.49a. | |
756 | Adjust to newer Autotest. | |
757 | ||
0846f581 PB |
758 | 2001-10-19 Pascal Bart <pascal.bart@epita.fr> |
759 | ||
760 | * src/conflicts.c: Move global variables rrc_total and src_total ... | |
761 | (print_conflicts): here. | |
762 | * src/output.c (output): Free global variable user_toknums. | |
763 | * src/lex.c (token_obstack): Become static. | |
764 | ||
3c1a79b3 AD |
765 | 2001-10-18 Akim Demaille <akim@epita.fr> |
766 | ||
767 | * tests/atlocal.in (GCC): Add. | |
768 | * tests/calc.at: s/m4_match/m4_bmatch/. | |
769 | s/m4_patsubst/m4_bpatsubst/. | |
770 | (AT_CHECK_CALC): Check the compiler's stderr only if it's GCC. | |
771 | * configure.in: AC_SUBST(GCC). | |
772 | ||
5d52e7d0 MA |
773 | 2001-10-14 Marc Autret <autret_m@epita.fr> |
774 | ||
775 | * src/options.c (create_long_option_table): Fix. | |
776 | ||
631aa1d3 AD |
777 | 2001-10-10 Akim Demaille <akim@epita.fr> |
778 | ||
779 | * src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA. | |
780 | ||
f6ec6d13 AD |
781 | 2001-10-04 Akim Demaille <akim@epita.fr> |
782 | ||
783 | * src/reader.c (parse_union_decl): Push the caracters in | |
784 | union_obstack, not attrs_obstack. | |
785 | ||
342b8b6e AD |
786 | 2001-10-04 Akim Demaille <akim@epita.fr> |
787 | ||
788 | Merge in the branch 1.29. | |
789 | ||
790 | * src/reader.c (packsymbols): Use a temporary obstack for | |
791 | `%%tokendef', since output_stack is already used elsewhere. | |
792 | ||
793 | 2001-10-02 Akim Demaille <akim@epita.fr> | |
794 | ||
795 | Bump 1.29d. | |
796 | ||
797 | 2001-10-02 Akim Demaille <akim@epita.fr> | |
798 | ||
799 | Version 1.29c. | |
800 | ||
801 | 2001-10-02 Akim Demaille <akim@epita.fr> | |
802 | ||
803 | * tests/regression.at (Invalid CPP headers): New. | |
804 | From Alexander Belopolsky. | |
805 | * src/files.c (compute_header_macro): Map non alnum chars to `_'. | |
806 | ||
807 | 2001-10-02 Akim Demaille <akim@epita.fr> | |
808 | ||
809 | * tests/regression.at (Invalid input): New. | |
810 | * src/lex.c (lex): Be sure to set `token_buffer' in any case. | |
811 | Reported by Shura. | |
812 | ||
813 | 2001-10-02 Akim Demaille <akim@epita.fr> | |
814 | ||
815 | * tests/calc.at: Now that --debug works, the tests must be adjusted. | |
816 | ||
817 | 2001-10-02 Akim Demaille <akim@epita.fr> | |
818 | ||
819 | * src/output.c (output_parser): Assert `skeleton'. | |
820 | * src/files.c (skeleton_find): Look harder for skeletons on DOSish | |
821 | systems. | |
822 | From Shura. | |
823 | ||
824 | 2001-10-01 Marc Autret <autret_m@epita.fr> | |
825 | ||
826 | * src/lex.h: Echo modifications. | |
827 | * src/lex.c (unlex): Parameter is now token_t. | |
828 | From Hans Aberg. | |
829 | ||
830 | 2001-10-01 Marc Autret <autret_m@epita.fr> | |
831 | ||
832 | * src/main.c: Include lex.h. | |
833 | From Hans Aberg. | |
834 | ||
835 | 2001-09-29 Akim Demaille <akim@epita.fr> | |
836 | ||
837 | * src/getargs.c (longopts): `--debug' is `-t', not `-d'. | |
838 | ||
839 | 2001-09-28 Akim Demaille <akim@epita.fr> | |
840 | ||
841 | * tests/testsuite.at: Update to newer Autotest. | |
842 | * tests/Makefile.am (EXTRA_DIST): bison is not to be shipped. | |
843 | ||
844 | 2001-09-27 Akim Demaille <akim@epita.fr> | |
845 | ||
846 | Position independent wrapper. | |
847 | ||
848 | * tests/bison: Remove. | |
849 | * tests/bison.in: New. | |
850 | * configure.in: Adjust. | |
851 | ||
852 | 2001-09-27 Paul Eggert <eggert@twinsun.com> | |
853 | ||
854 | Port quotearg fixes from tar 1.13.24. | |
855 | ||
856 | * lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct | |
857 | tm to be declared. | |
858 | (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC. | |
859 | (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT. | |
860 | ||
861 | * m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4. | |
862 | * m4/mbrtowc.m4: New file. | |
863 | * m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h. | |
864 | Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc). | |
865 | ||
866 | 2001-09-27 Akim Demaille <akim@epita.fr> | |
867 | ||
868 | Bump to 1.29c. | |
869 | ||
870 | 2001-09-27 Akim Demaille <akim@epita.fr> | |
871 | ||
872 | Version 1.29b. | |
873 | ||
874 | 2001-09-25 Akim Demaille <akim@epita.fr> | |
875 | ||
876 | * src/system.h: Include `xalloc.h'. | |
877 | Remove it from the C files. | |
878 | * src/files.c (output_files): Free the obstacks. | |
879 | * src/lex.c (init_lex): Rename as... | |
880 | (lex_init): this. | |
881 | (lex_free): New. | |
882 | * src/main.c (main): Use it. | |
883 | ||
884 | 2001-09-24 Marc Autret <autret_m@epita.fr> | |
885 | ||
886 | * src/vcg.c (open_edge, close_edge, open_node, close_node): Change | |
887 | to output informations in fout (FILE*). | |
888 | (open_graph, close_graph): Likewise. | |
889 | (output_graph, output_edge, output_node): Likewise. | |
890 | * src/vcg.h: Update function prototypes. | |
891 | * src/print_graph.c (print_graph): Open output graph file. | |
892 | (print_actions): Adjust. | |
893 | * src/files.h: Remove extern declaration. | |
894 | * src/files.c: Remove graph_obstack declaration. | |
895 | (open_files): Remove graph_obstack initialization. | |
896 | (output_files): Remove graph_obstack saving. | |
897 | ||
898 | 2001-09-24 Marc Autret <autret_m@epita.fr> | |
899 | ||
900 | * src/files.c (compute_output_file_names): Fix. | |
901 | ||
902 | 2001-09-24 Marc Autret <autret_m@epita.fr>, | |
903 | Akim Demaille <akim@epita.fr> | |
904 | ||
905 | * src/reader.c (reader): Remove call to free_symtab (). | |
906 | * src/main.c (main): Call it here. | |
907 | Include symtab.h. | |
908 | * src/conflicts.c (initialize_conflicts): Rename as... | |
909 | (solve_conflicts): this. | |
910 | * src/print.c (print_core, print_actions, print_state) | |
911 | (print_grammar): Dump to a file instead a `output_obstack'. | |
912 | (print_results): Dump `output_obstack', and then proceed with the | |
913 | FILE *. | |
914 | * src/files.c (compute_output_file_names, close_files): New. | |
915 | (output_files): Adjust. | |
916 | * src/main.c (main): Adjust. | |
917 | ||
918 | 2001-09-23 Marc Autret <autret_m@epita.fr> | |
919 | ||
920 | * src/files.c (compute_header_macro): Computes header macro name | |
921 | from spec_defines_file when given. | |
922 | ||
923 | 2001-09-23 Marc Autret <autret_m@epita.fr> | |
924 | ||
925 | * src/files.c (output_files): Add default extensions. | |
926 | ||
927 | 2001-09-22 Akim Demaille <akim@epita.fr> | |
928 | ||
929 | * src/conflicts.c (finalize_conflicts): Rename as... | |
930 | (free_conflicts): this. | |
931 | ||
932 | 2001-09-22 Akim Demaille <akim@epita.fr> | |
933 | ||
934 | * src/gram.c (gram_free): Rename back as... | |
935 | (dummy): this. | |
936 | (output_token_translations): Free `token_translations'. | |
937 | * src/symtab.c (free_symtab): Free the tag field. | |
938 | ||
939 | 2001-09-22 Akim Demaille <akim@epita.fr> | |
940 | ||
941 | Remove `translations' as it is always set to true. | |
942 | ||
943 | * src/gram.h: Adjust. | |
944 | * src/reader.c (packsymbols, parse_token_decl): Adjust | |
945 | * src/print.c (print_grammar): Adjust. | |
946 | * src/output.c (output_token_translations): Adjust. | |
947 | * src/lex.c (lex): Adjust. | |
948 | * src/gram.c: Be sure the set pointers to NULL. | |
949 | (dummy): Rename as... | |
950 | (gram_free): this. | |
951 | ||
952 | 2001-09-22 Akim Demaille <akim@epita.fr> | |
953 | ||
954 | * configure.in: Invoke AM_LIB_DMALLOC. | |
955 | * src/system.h: Use dmalloc. | |
956 | * src/LR0.c: Be sure to have pointers initialized to NULL. | |
957 | (allocate_itemsets): Allocate kernel_items only if needed. | |
958 | ||
959 | 2001-09-22 Akim Demaille <akim@epita.fr> | |
960 | ||
961 | * configure.in: Bump to 1.29b. | |
962 | * tests/Makefile.am (DISTCLEANFILES): Add package.m4. | |
963 | * tests/calc.at (_AT_DATA_CALC_Y): #undef malloc so that we don't | |
964 | need xmalloc.c in calc.y. | |
965 | From Pascal Bart. | |
966 | ||
967 | 2001-09-21 Akim Demaille <akim@epita.fr> | |
968 | ||
969 | Version 1.29a. | |
970 | * Makefile.maint, config/config.guess, config/config.sub, | |
971 | * config/missing: Update from masters. | |
972 | * tests/Makefile.am ($(srcdir)/$(TESTSUITE)): No longer depend | |
973 | upon package.m4. | |
974 | * configure.in (ALL_LINGUAS): Add `tr'. | |
975 | ||
976 | 2001-09-21 Akim Demaille <akim@epita.fr> | |
977 | ||
978 | * tests/Makefile.am (package.m4): Move to... | |
979 | ($(srcdir)/$(TESTSUITE)): here. | |
980 | ||
981 | 2001-09-20 Akim Demaille <akim@epita.fr> | |
982 | ||
983 | * src/complain.c: No longer try to be standalone: use system.h. | |
984 | Don't assume __STDC__ is defined to 1. Just test if it is defined. | |
985 | * src/complain.h: Likewise. | |
986 | * src/reduce.c (useless_nonterminals, inaccessable_symbols): | |
987 | Remove the unused variable `n'. | |
988 | From Albert Chin-A-Young. | |
989 | ||
990 | 2001-09-18 Marc Autret <autret_m@epita.fr> | |
991 | ||
992 | * doc/bison.1: Update. | |
993 | * doc/bison.texinfo (Bison Options): Update --defines and --graph | |
994 | descriptions. | |
995 | (Option Cross Key): Update. | |
996 | Add --graph. | |
997 | ||
998 | 2001-09-18 Marc Autret <autret_m@epita.fr> | |
999 | ||
1000 | * tests/regression.at: New test (comment in %union). | |
1001 | ||
1002 | 2001-09-18 Marc Autret <autret_m@epita.fr> | |
1003 | ||
1004 | * src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment | |
1005 | do that. | |
1006 | Reported by Keith Browne. | |
1007 | ||
1008 | 2001-09-18 Marc Autret <autret_m@epita.fr> | |
1009 | ||
1010 | * tests/output.at: Add tests for --defines and --graph. | |
1011 | ||
1012 | 2001-09-18 Marc Autret <autret_m@epita.fr> | |
1013 | ||
1014 | * tests/output.at: Removes tests of %{header,src}_extension features. | |
1015 | ||
1016 | 2001-09-18 Akim Demaille <akim@epita.fr> | |
1017 | ||
1018 | * tests/Makefile.am (package.m4): New. | |
1019 | * tests/calc.at (_AT_CHECK_CALC): Just run `calc input'. | |
1020 | (_AT_CHECK_CALC_ERROR): Likewise. | |
1021 | Factor the `, ' part of verbose error messages. | |
1022 | ||
1023 | 2001-09-18 Marc Autret <autret_m@epita.fr> | |
1024 | ||
1025 | * src/getargs.c (longopts): Declare --defines and --graph as options | |
1026 | with optional arguments. | |
1027 | * src/files.h: Add extern declarations. | |
1028 | * src/files.c (spec_graph_file, spec_defines_file): New. | |
1029 | (output_files): Update. | |
1030 | Remove CPP-outed code. | |
1031 | ||
1032 | 2001-09-18 Marc Autret <autret_m@epita.fr> | |
1033 | ||
1034 | Turn off %{source,header}_extension feature. | |
1035 | ||
1036 | * src/files.c (compute_exts_from_gf): Update. | |
1037 | (compute_exts_from_src): Update. | |
1038 | (output_files): CPP-out useless code. | |
1039 | * src/files.h: Remove {header,source}_extension extern declarations. | |
1040 | * src/reader.c (parse_dquoted_param): CPP-out. | |
1041 | (parse_header_extension_decl): Remove. | |
1042 | (parse_source_extension_decl): Remove. | |
1043 | (read_declarations): Remove cases tok_{hdrext,srcext}. | |
1044 | * src/lex.c (percent_table): Remove {header,source}_extension entries. | |
1045 | * src/lex.h (token_t): Remove tok_hdrext and tok_srcext. | |
1046 | ||
1047 | 2001-09-10 Akim Demaille <akim@epita.fr> | |
1048 | ||
1049 | * tests/output.at (AT_CHECK_BISON_FLAGS, AT_CHECK_BISON_PERCENT): | |
1050 | (AT_CHECK_BISON_PERCENT_FLAGS): Merge into... | |
1051 | (AT_CHECK_OUTPUT): this. | |
1052 | Merely check ls' exit status, its output is useless. | |
1053 | ||
1054 | 2001-09-10 Akim Demaille <akim@epita.fr> | |
1055 | ||
1056 | * tests/calc.at: Use m4_match. | |
1057 | (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'. | |
1058 | ||
1059 | 2001-09-10 Marc Autret <autret_m@epita.fr>, | |
1060 | Akim Demaille <akim@epita.fr> | |
1061 | ||
1062 | * src/vcg.h (graph_s): color, textcolor, bordercolor are now | |
1063 | enum color_e. | |
1064 | * src/print_graph.c (print_graph): Initalize graph.layoutalgorithm | |
1065 | to `normal'. | |
1066 | * src/reader.c (parse_token_decl): Initialize token with tok_eof. | |
1067 | * src/lex.h: Adjust prototype. | |
1068 | (token_t): Add `tok_undef'. | |
1069 | * src/lex.c (struct percent_table_struct): Retval is now a token_t. | |
1070 | (parse_percent_token): Now returns token_t. | |
1071 | Add default statement in switch. | |
1072 | (lex): Separate `c' as an input variable, from the token_t result | |
1073 | part. | |
1074 | (unlexed): Is a token_t. | |
1075 | ||
1076 | 2001-09-10 Akim Demaille <akim@epita.fr> | |
1077 | ||
1078 | * configure.in: Bump to 1.29a. | |
1079 | ||
1080 | 2001-09-07 Akim Demaille <akim@epita.fr> | |
1081 | ||
1082 | Version 1.29. | |
1083 | ||
1084 | 2001-08-30 Akim Demaille <akim@epita.fr> | |
1085 | ||
1086 | * tests/atgeneral.m4, tests/atconfig.in, tests/suite.at: Remove. | |
1087 | * m4/atconfig.m4: Remove. | |
1088 | * tests/testsuite.at, tests/atlocal.in, tests/output.at, | |
1089 | * tests/bison: New. | |
1090 | * tests/regression.at, tests/calc.at: Use m4_define, AT_BANNER, | |
1091 | m4_if, m4_patsubst, and m4_regexp. | |
1092 | * tests/calc.at (_AT_CHECK_CALC, _AT_CHECK_CALC_ERROR): Use an | |
1093 | `input' file instead of echo. | |
1094 | ||
1095 | 2001-08-29 Akim Demaille <akim@epita.fr> | |
1096 | ||
1097 | Bump to 1.28e. | |
1098 | ||
1099 | 2001-08-29 Akim Demaille <akim@epita.fr> | |
1100 | ||
1101 | Version 1.28d. | |
1102 | ||
1103 | 2001-08-29 Paul Eggert <eggert@twinsun.com> | |
1104 | ||
1105 | * src/bison.simple (yyparse): Don't take the address of an | |
1106 | item before the start of an array, as that doesn't conform to | |
1107 | the C Standard. | |
1108 | ||
1109 | 2001-08-29 Robert Anisko <anisko_r@epita.fr> | |
1110 | ||
1111 | * doc/bison.texinfo (Location Tracking Calc): New node. | |
1112 | ||
1113 | 2001-08-29 Paul Eggert <eggert@twinsun.com> | |
1114 | ||
1115 | * src/output.c (output): Do not define const, as this now | |
1116 | causes more problems than it cures. | |
1117 | ||
1118 | 2001-08-29 Akim Demaille <akim@epita.fr> | |
1119 | ||
1120 | * doc/bison.texinfo: Modernize `@node' and `@top' use: just name | |
1121 | the nodes. | |
1122 | Be sure to tag the `detailmenu'. | |
1123 | ||
1124 | 2001-08-29 Akim Demaille <akim@epita.fr> | |
1125 | ||
1126 | * Makefile.maint (do-po-update): Wget refuses to overwrite files: | |
1127 | download in a tmp dir. | |
1128 | ||
1129 | 2001-08-28 Marc Autret <autret_m@epita.fr> | |
1130 | ||
1131 | * config/depcomp: New file. | |
1132 | ||
1133 | 2001-08-28 Marc Autret <autret_m@epita.fr> | |
1134 | ||
1135 | * doc/bison.1 (mandoc): Adjust. | |
1136 | From Juan Manuel Guerrero. | |
1137 | ||
1138 | 2001-08-28 Marc Autret <autret_m@epita.fr> | |
1139 | ||
1140 | * src/print_graph.c (print_state): Fix. | |
1141 | ||
1142 | 2001-08-27 Marc Autret <autret_m@epita.fr> | |
1143 | ||
1144 | * src/vcg.h (classname_s, infoname_s, node_s): Constify the | |
1145 | char * members. | |
1146 | Echo modifications to the functions prototypes. | |
1147 | * src/vcg.c (add_classname, add_infoname): Adjust arguments. | |
1148 | ||
1149 | 2001-08-27 Marc Autret <autret_m@epita.fr> | |
1150 | ||
1151 | * src/vcg.c: Include `xalloc.h'. | |
1152 | (add_colorentry): New. | |
1153 | (add_classname): New. | |
1154 | (add_infoname): New. | |
1155 | * src/vcg.h: Add new prototypes. | |
1156 | ||
1157 | 2001-08-27 Akim Demaille <akim@epita.fr> | |
1158 | ||
1159 | * Makefile.maint: Sync. again with CVS Autoconf. | |
1160 | ||
1161 | 2001-08-27 Akim Demaille <akim@epita.fr> | |
1162 | ||
1163 | * Makefile.maint: Formatting changes. | |
1164 | (po-update, cvs-update, update): New targets. | |
1165 | (AMTAR): Remove. | |
1166 | ||
1167 | 2001-08-27 Akim Demaille <akim@epita.fr> | |
1168 | ||
1169 | * Makefile.am (AUTOMAKE_OPTIONS): 1.5. | |
1170 | * Makefile.maint: Sync. with CVS Autoconf. | |
1171 | ||
1172 | 2001-08-27 Marc Autret <autret_m@epita.fr> | |
1173 | ||
1174 | * src/vcg.h (struct infoname_s): New. | |
1175 | (struct colorentry_s): New. | |
1176 | (graph_s): New fields {vertical,horizontal}_order in structure. | |
1177 | Add `infoname' field. | |
1178 | Add `colorentry' field; | |
1179 | * src/vcg_defaults.h (G_VERTICAL_ORDER): New. | |
1180 | (G_HORIZONTAL_ORDER): New. | |
1181 | (G_INFONAME): New. | |
1182 | (G_COLORENTRY): New. | |
1183 | * src/vcg.c (output_graph): Add output of {vertical,horizontal}_order. | |
1184 | Add output of `infoname'. | |
1185 | Add output of `colorentry'. | |
1186 | ||
1187 | 2001-08-27 Marc Autret <autret_m@epita.fr> | |
1188 | ||
1189 | * src/reader.c (parse_dquoted_param): Rename variable `index' to `i'. | |
1190 | This one shadowed a global parameter. | |
1191 | ||
1192 | 2001-08-24 Marc Autret <autret_m@epita.fr> | |
1193 | ||
1194 | * src/print_graph.c (node_output_size): Declared POSIX `size_t' type, | |
1195 | instead of `unsigned'. | |
1196 | (print_state): Do not call obstack_object_size () in obstack_grow () | |
1197 | to avoid macro variables shadowing. | |
1198 | ||
1199 | 2001-08-23 Marc Autret <autret_m@epita.fr> | |
1200 | ||
1201 | * src/lex.c (percent_table): Typo: s/naem/name/. | |
1202 | Add graph option. | |
1203 | Normalize new options declarations. | |
1204 | ||
1205 | 2001-08-20 Pascal Bart <pascal.bart@epita.fr> | |
1206 | ||
1207 | * tests/suite.at: Exercise %header_extension and %source_extension. | |
1208 | ||
1209 | 2001-08-16 Marc Autret <autret_m@epita.fr> | |
1210 | ||
1211 | * src/reader.c (parse_dquoted_param): New. | |
1212 | (parse_header_extension_decl): Use it. | |
1213 | (parse_source_extension_decl): Likewise. | |
1214 | ||
1215 | 2001-08-16 Marc Autret <autret_m@epita.fr> | |
1216 | ||
1217 | * src/vcg.c: Remove includes of `complain.h' and `xalloc.h'. | |
1218 | (get_xxxx_str): Use assert () instead of complain (). | |
1219 | Remove return invokations in default cases. | |
1220 | (get_decision_str): Modify default behaviour. Remove second argument. | |
1221 | Echo modifications on calls. | |
1222 | (output_graph): Fix. | |
1223 | ||
1224 | 2001-08-16 Marc Autret <autret_m@epita.fr> | |
1225 | ||
1226 | * src/getargs.c (usage): Update with ``-g, --graph''. | |
1227 | ||
1228 | 2001-08-16 Marc Autret <autret_m@epita.fr> | |
1229 | ||
1230 | * doc/bison.texinfo (Bison Options): Add items `-g', `--graph'. | |
1231 | (Option Cross Key): Likewise. | |
1232 | * doc/bison.1: Update. | |
1233 | ||
1c8c2190 PB |
1234 | 2001-09-25 Pascal Bart <pascal.bart@epita.fr> |
1235 | ||
1236 | * src/output.c (output_master_parser): Don't finish action_obstack. | |
1237 | (output_parser): Don't care about the muscle action, here. | |
1238 | (prepare): Copy the action_obstack in the action muscle. | |
1239 | (output): Free action_obstack. | |
1240 | ||
180d45ba PB |
1241 | 2001-09-23 Pascal Bart <pascal.bart@epita.fr> |
1242 | ||
1243 | * src/reader.c (parse_union_decl): Add new obstack union_obstack. Which | |
1244 | will contain `%union' declaration. | |
1245 | (parse_union_decl): Delete #line directive output. | |
1246 | (parse_union_decl): Substitute /attrs_obstack/union_obstack for all | |
1247 | informations about %union. | |
1248 | (parse_union_decl): Copy the union_obstack in the muscle stype. | |
1249 | * src/bison.simple: Add new #line directive. | |
1250 | Add typdef %%stype YYSTYPE. | |
1251 | ||
c51d1a19 PB |
1252 | 2001-09-23 Pascal Bart <pascal.bart@epita.fr> |
1253 | ||
1254 | * src/bison.simple: Add new `#line' directive. | |
1255 | ||
6f9344da PB |
1256 | 2001-09-22 Pascal Bart <pascal.bart@epita.fr> |
1257 | ||
1258 | * src/bison.simple: New `#line' directive. | |
1259 | * src/output.c (output_parser): Support new dynamic muscle input_line. | |
1260 | ||
652def80 MA |
1261 | 2001-09-22 Marc Autret <autret_m@epita.fr> |
1262 | ||
1263 | * src/output.c (output_master_parser): New. | |
1264 | (output_parser): Be more re-entrant. | |
1265 | ||
25b222fa MA |
1266 | 2001-09-21 Marc Autret <autret_m@epita.fr> |
1267 | ||
1268 | * src/reader.c (copy_definition, parse_union_decl): Update and use | |
1269 | `linef' muscle. | |
1270 | (copy_action): Likewise. | |
1271 | Use obstack_1grow (). | |
1272 | * src/muscle_tab.c (muscle_init): Add muscle `linef'. | |
1273 | ||
6bc35ae5 MA |
1274 | 2001-09-21 Marc Autret <autret_m@epita.fr> |
1275 | ||
1276 | * src/options.c (option_table): Adjust. | |
1277 | * src/lex.c (parse_percent_token): Fix. | |
1278 | ||
c0629aa1 PB |
1279 | 2001-09-20 Pascal Bart <pascal.bart@epita.fr> |
1280 | ||
1281 | * src/options.c (symtab.h): Include it, need by lex.h. | |
342b8b6e | 1282 | |
82b6d266 PB |
1283 | 2001-09-20 Pascal Bart <pascal.bart@epita.fr> |
1284 | ||
1285 | * src/lex.c (parse_percent_token): Change type of variable `tx', which | |
1286 | is now an option_table_struct*. | |
1287 | (option_strcmp): New function option_strcmp. | |
1288 | (parse_percent_token): Call option_strcmp. | |
1289 | * src/getargs.c (xalloc.h, options.h): Include it. | |
1290 | (getargs): Call create_long_option_table. | |
1291 | (getargs): Free longopts at the end of the function. | |
1292 | (shortopts): Move in options.c. | |
1293 | * src/options.c (create_long_option_table): New function. Convert | |
1294 | information from option_table to option structure. | |
1295 | * src/reader.c (options.h): Include it. | |
1296 | ||
1297 | * src/Makefile.am: Adjust. | |
1298 | * src/options.c (option_table): Create from longopts and percent_table. | |
1299 | * src/getargs.c (longopts): Delete. | |
1300 | * src/lex.c (struct percent_table_struct): Delete. | |
1301 | (percent_table): Delete. | |
1302 | (options.h): Include it. | |
1303 | * src/options.c: Create. | |
1304 | * src/options.h: Create. | |
1305 | Declare enum opt_access_e. | |
1306 | Define struct option_table_struct. | |
1307 | ||
75f5aaea MA |
1308 | 2001-09-20 Marc Autret <autret_m@epita.fr> |
1309 | ||
1310 | * doc/bison.texinfo: Adjust terminologies about prologue and epilogue | |
1311 | sections of Bison. | |
1312 | ||
f508cb0a PB |
1313 | 2001-09-19 Pascal Bart <pascal.bart@epita.fr> |
1314 | ||
1315 | * src/bison.simple: s/%%filename/%%skeleton. | |
1316 | * src/muscle_tab.c (getargs.h): Include it. | |
1317 | (muscle_init): Insert new muscle skeleton. | |
1318 | ||
13105fc1 PB |
1319 | 2001-09-18 Pascal Bart <pascal.bart@epita.fr> |
1320 | ||
1321 | * src/output.c (output_parser): Delete unused variable actions_dumped. | |
1322 | ||
b0c4483e PB |
1323 | 2001-09-07 Pascal Bart <pascal.bart@epita.fr> |
1324 | ||
1325 | * src/output.c (output): Delete call to reader_output_yylsp. | |
1326 | * src/reader.c (reader): Likewise. | |
1327 | * src/reader.h: Delete declaration of reader_output_yylsp. | |
342b8b6e | 1328 | |
11d82f03 MA |
1329 | 2001-09-02 Marc Autret <autret_m@epita.fr> |
1330 | ||
1331 | * src/reader.c: Include muscle_tab.h. | |
1332 | (parse_union_decl): Update. | |
1333 | (parse_macro_decl): Rename parse_muscle_decl. | |
1334 | Update to use renamed functions and variable. | |
1335 | (read_declarations, copy_action, read_additionnal_code, : Updated | |
1336 | with correct variables and functions names. | |
1337 | (packsymbols, reader): Likewise. | |
342b8b6e | 1338 | |
11d82f03 | 1339 | * src/reader.h (muscle_obstack): Extern declaration update. |
342b8b6e | 1340 | |
11d82f03 MA |
1341 | * src/output.c: Include muscle_tab.h |
1342 | In all functions using macro_insert, change by using muscle_insert (). | |
1343 | (macro_obstack): Rename muscle_obstack. | |
1344 | Echo modifications in the whole file. | |
1345 | (MACRO_INSERT_INT): Rename MUSCLE_INSERT_INT. | |
1346 | (MACRO_INSERT_STRING): Rename MUSCLE_INSERT_STRING. | |
1347 | (MACRO_INSERT_PREFIX): Rename MUSCLE_INSERT_PREFIX. | |
1348 | ||
1349 | * src/muscle_tab.h: Update double inclusion macros. | |
1350 | (macro_entry_s): Rename muscle_entry_s. | |
1351 | Update prototypes. | |
342b8b6e | 1352 | |
11d82f03 MA |
1353 | * src/muscle_tab.c: Include muscle_tab.h. |
1354 | Rename macro_tabble to muscle_table. | |
1355 | (mhash1, mhash2, mcmp): Use muscle_entry. | |
1356 | (macro_init): Rename muscle_init. Update. | |
1357 | (macro_insert): Rename muscle_insert. Update. | |
1358 | (macro_find): Rename muscle_find. Update. | |
1359 | ||
1360 | * src/main.c: Include muscle_tab.h. | |
1361 | (main): Call muscle_init (). | |
1362 | * src/Makefile.am (bison_SOURCES): Echo modifications. | |
1363 | ||
93a37297 MA |
1364 | 2001-09-02 Marc Autret <autret_m@epita.fr> |
1365 | ||
f753cd62 | 1366 | Now the files macro_tab.[ch] are named muscle_tab.[ch]. |
342b8b6e | 1367 | |
f753cd62 MA |
1368 | * src/muscle_tab.c, src/muscle_tab.h: Add files. |
1369 | ||
1370 | 2001-09-02 Marc Autret <autret_m@epita.fr> | |
1371 | ||
1372 | * src/macrotab.c, src/macrotab.h: Remove. | |
93a37297 | 1373 | |
682d48cd PB |
1374 | 2001-09-01 Pascal Bart <pascal.bart@epita.fr> |
1375 | ||
342b8b6e | 1376 | * src/reader.c (copy_guard): Use muscle to specify the `#line' |
682d48cd PB |
1377 | filename. |
1378 | ||
087c8fda MA |
1379 | 2001-09-01 Marc Autret <autret_m@epita.fr> |
1380 | ||
1381 | * tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set | |
1382 | to an explicit value to activate the feature. We do it here. | |
1383 | ||
dda680cb PB |
1384 | 2001-08-31 Pascal Bart <pascal.bart@epita.fr> |
1385 | ||
1386 | * src/output.c (prepare): Delete the `filename' muscule insertion. | |
1387 | * src/reader.c (copy_action): Use `filename' muscule with `#line'. | |
1388 | (parse_union_decl): Likewise. | |
1389 | * src/macrotab.c (macro_init): Initialize filename by infile. | |
1390 | ||
9e644e64 MA |
1391 | 2001-08-31 Marc Autret <autret_m@epita.fr> |
1392 | ||
1393 | * src/bison.simple (YYLSP_NEEDED): New definition. | |
1394 | * src/output.c (prepare): Add macro insertion of `locations_flag' | |
1395 | ||
17da6427 PB |
1396 | 2001-08-31 Pascal Bart <pascal.bart@epita.fr> |
1397 | ||
1398 | * src/output.c (prepare): Delete insertion of previous muscles, | |
1399 | and insert the `prefix' muscles. | |
1400 | * src/macrotab.c (macro_init): Likewise. | |
1401 | (macro_init): Initialization prefix directive by `yy'. | |
342b8b6e | 1402 | * src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval, |
17da6427 PB |
1403 | %%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar, |
1404 | yylval, yydebug, yyerror, yynerrs and yyparse. | |
342b8b6e | 1405 | New directive `#define' to substitute yydebug, ... with option |
17da6427 PB |
1406 | name_prefix. |
1407 | ||
e8cb70b9 PB |
1408 | 2001-08-31 Pascal Bart <pascal.bart@epita.fr> |
1409 | ||
1410 | * src/main.c (main): Standardize. | |
1411 | * src/output.c (output_table_data, output_parser): Likewise. | |
1412 | * src/macrotab.h, src/macrotab.c, src/bison.simple: Likewise. | |
1413 | ||
63c2d5de MA |
1414 | 2001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr> |
1415 | ||
342b8b6e | 1416 | * src/reader.c (read_additionnal_code): Rename %%user_code to |
63c2d5de MA |
1417 | %%epilogue. |
1418 | * src/output.c (output): Rename %%declarations to %%prologue. | |
1419 | * src/bison.simple: Echo modifications. | |
342b8b6e | 1420 | |
d8cb5183 MA |
1421 | 2001-08-31 Marc Autret <autret_m@epita.fr> |
1422 | ||
1423 | * src/reader.c (readgram): CleanUp. | |
1424 | (output_token_defines): Likewise. | |
1425 | (packsymbols): Likewise. | |
1426 | (reader): Likewise. | |
1427 | * src/output.c (output): CPP-out useless code. | |
1428 | ||
6c686258 PB |
1429 | 2001-08-31 Pascal Bart <pascal.bart@epita.fr> |
1430 | ||
342b8b6e | 1431 | * src/reader.c (reader): Delete obsolete call to function |
6c686258 PB |
1432 | output_trailers and output_headers. |
1433 | * src/output.h: Remove obsolete functions prototypes of output_headers | |
1434 | and output_trailers. | |
1435 | ||
8f451ef7 PB |
1436 | 2001-08-30 Pascal Bart <pascal.bart@epita.fr> |
1437 | ||
1438 | * src/main.c: Include macrotab.h. | |
342b8b6e | 1439 | * src/macrotab.h (macro_entry_s): Constify fields. |
8f451ef7 PB |
1440 | Adjust functions prototypes. |
1441 | * src/macrotab.c (macro_insert): Constify key and value. | |
1442 | (macro_find): Constify key. | |
1443 | (macro_insert): Include 'xalloc.h' | |
1444 | (macro_insert): Use XMALLOC. | |
1445 | (macro_find): Constify return value. | |
1446 | * src/output.c (output_table_data): Rename table to table_data. | |
1447 | (output_parser): Constify macro_key, macro_value. | |
1448 | ||
997b6fd0 | 1449 | 2001-08-30 Marc Autret <autret_m@epita.fr> |
2ba3b73c MA |
1450 | |
1451 | * src/reader.c (parse_skel_decl): New. | |
342b8b6e | 1452 | (read_declarations): Add case `tok_skel', call parse_skel_decl (). |
2ba3b73c MA |
1453 | * src/lex.h (token_t): New token `tok_skel'. |
1454 | * src/lex.c (percent_table): Add skeleton option entry. | |
1455 | Standardize. | |
1456 | ||
ff48177d MA |
1457 | 2001-08-29 Marc Autret <autret_m@epita.fr> |
1458 | ||
1459 | * src/bison.simple: Add %%user_code directive at the end. | |
1460 | * src/reader.c (read_additionnal_code): New. | |
1461 | (reader): Use it. | |
1462 | * src/output.c (output_program): Remove. | |
1463 | (output): Update. | |
1464 | ||
b33160bf MA |
1465 | 2001-08-28 Marc Autret <autret_m@epita.fr> |
1466 | ||
1467 | * src/output.c (output_actions): Clean up. | |
4e5caae2 | 1468 | (output_gram): CPP-out useless code. |
b33160bf MA |
1469 | * src/reader.c (reader): Clean up, CPP-out useless code. |
1470 | ||
d1a2daf7 PB |
1471 | 2001-08-28 Pascal Bart <pascal.bart@epita.fr> |
1472 | ||
342b8b6e | 1473 | * src/output.c (output): Copy attrs_obstack in the '%%definitions' |
535c0e75 | 1474 | directive. |
d1a2daf7 PB |
1475 | * src/bison.simple: Add `%%definitions'. |
1476 | ||
2b763dfe MA |
1477 | 2001-08-28 Marc Autret <autret_m@epita.fr> |
1478 | ||
1479 | * config/depcomp: New file. | |
1480 | ||
f1a87ef6 PE |
1481 | 2001-08-27 Paul Eggert <eggert@twinsun.com> |
1482 | ||
1483 | * src/bison.simple (yyparse): Don't take the address of an | |
1484 | item before the start of an array, as that doesn't conform to | |
1485 | the C Standard. | |
1486 | ||
82e236e2 RA |
1487 | 2001-08-27 Robert Anisko <robert.anisko@epita.fr> |
1488 | ||
f1a87ef6 | 1489 | * src/output.c (output): Remove the initialization of the macro |
82e236e2 RA |
1490 | obstack. It was done too late here. |
1491 | ||
1492 | * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was | |
1493 | completely wrong. | |
1494 | (reader): Initialize the macro obstack here, since we need it to grow | |
1495 | '%define' directives. | |
1496 | ||
1497 | * src/reader.h: Declare the macro obstack as extern. | |
1498 | ||
b0cfa28a RA |
1499 | 2001-08-27 Robert Anisko <robert.anisko@epita.fr> |
1500 | ||
1501 | * src/output.c (output_parser): Fix. Store single '%' characters in | |
1502 | the output obstack instead of throwing them away. | |
1503 | ||
6fc74234 AD |
1504 | 2001-08-27 Akim Demaille <akim@epita.fr> |
1505 | ||
1506 | * Makefile.am (AUTOMAKE_OPTIONS): 1.5. | |
1507 | ||
9c76d118 RA |
1508 | 2001-08-25 Robert Anisko <robert.anisko@epita.fr> |
1509 | ||
1510 | * lib/Makefile.am: Adjust. | |
1511 | ||
a8289c62 RA |
1512 | 2001-08-25 Robert Anisko <robert.anisko@epita.fr> |
1513 | ||
1514 | * src/bison.simple: Update and add '%%' directives. | |
1515 | ||
b6610515 RA |
1516 | 2001-08-25 Robert Anisko <robert.anisko@epita.fr> |
1517 | ||
1518 | * src/reader.c (reader): Remove calls to 'output_headers' and | |
1519 | 'output_trailers'. Remove some C output. | |
1520 | (readgram): Disable a piece of code that was writing a default | |
1521 | definition for 'YYSTYPE'. | |
1522 | (reader_output_yylsp): Remove. | |
1523 | (packsymbols): Output token defintions to a macro. | |
1524 | (copy_definition): Disable C output. | |
6fc74234 | 1525 | |
b6610515 RA |
1526 | * src/reader.c (parse_macro_decl): New function used to parse macro |
1527 | declarations. | |
1528 | (copy_string2): Put the body of copy_string into this new function. | |
1529 | Add a parameter to let the caller choose whether he wants to copy the | |
1530 | string delimiters or not. | |
1531 | (copy_string): Be a simple call to copy_string2 with the last argument | |
1532 | bound to true. | |
1533 | (read_declarations): Add case for macro definition. | |
1534 | (copy_identifier): New. | |
6fc74234 | 1535 | (parse_macro_decl): Read macro identifiers using copy_identifier |
b6610515 RA |
1536 | rather than lex. |
1537 | ||
26f609ff RA |
1538 | 2001-08-25 Robert Anisko <robert.anisko@epita.fr> |
1539 | ||
1540 | * src/output.c (prepare): Add prefixed names. | |
1541 | (output_parser): Output semantic actions. | |
1542 | (output_parser): Fix bug on '%%line' directives. | |
6fc74234 | 1543 | |
26f609ff RA |
1544 | * src/output.c (output_headers): Remove. The C code printed by this |
1545 | function should now be in the skeletons. | |
1546 | (output_trailers): Remove. | |
1547 | (output): Disable call to 'reader_output_yylsp'. | |
1548 | (output_rule_data): Do not output tables to the table obstack. | |
1549 | ||
1550 | * src/output.c: Remove some C dedicated output. | |
1551 | Improve the use of macro and output obstacks. | |
1552 | (output_defines): Remove. | |
6fc74234 | 1553 | |
26f609ff RA |
1554 | * src/output.c (output_token_translations): Associate 'translate' |
1555 | table with a macro. No output to the table obstack. | |
1556 | (output_gram): Same for 'rhs' and 'prhs'. | |
1557 | (output_stos): Same for 'stos'. | |
1558 | (output_rule_data): Same for 'r1' and 'r2'. | |
1559 | (token_actions): Same for 'defact'. | |
1560 | (goto_actions): Same for 'defgoto'. | |
1561 | (output_base): Same for 'pact' and 'pgoto'. | |
1562 | (output_table): Same for 'table'. | |
1563 | (output_check): Same for 'check'. | |
6fc74234 | 1564 | |
26f609ff RA |
1565 | * src/output.c (output_table_data): New function. |
1566 | (output_short_table): Remove. | |
1567 | (output_short_or_char_table): Remove. | |
6fc74234 | 1568 | |
26f609ff RA |
1569 | * src/output.c (output_parser): Replace most of the skeleton copy code |
1570 | with something new. Skeletons are now processed character by character | |
1571 | rather than line by line, and Bison looks for '%%' macros. This is the | |
1572 | first step in making Bison's output process (a lot) more flexible. | |
1573 | (output_parser): Use the macro table. | |
1574 | ||
6f43b113 RA |
1575 | 2001-08-25 Robert Anisko <robert.anisko@epita.fr> |
1576 | ||
1577 | * src/main.c (main): Initialize the macro table. | |
1578 | ||
dd3127cf RA |
1579 | 2001-08-25 Robert Anisko <robert.anisko@epita.fr> |
1580 | ||
1581 | * src/lex.c (percent_table): Add tok_define. | |
1582 | * src/lex.h: Add tok_define. | |
1583 | ||
aa321494 RA |
1584 | 2001-08-25 Robert Anisko <robert.anisko@epita.fr> |
1585 | ||
1586 | * src/macrotab.c: New file. | |
1587 | * src/macrotab.h: New file. | |
1588 | * src/Makefile.am: Update. | |
1589 | ||
68bd3b6b RA |
1590 | 2001-08-25 Robert Anisko <robert.anisko@epita.fr> |
1591 | ||
1592 | * lib/hash.c: New file. | |
1593 | * lib/hash.h: New file. | |
1594 | * lib/Makefile.am: Update. | |
1595 | ||
45f8dd1e AD |
1596 | 2001-08-15 Akim Demaille <akim@epita.fr> |
1597 | ||
1598 | Version 1.28c. | |
1599 | ||
40a64a7a | 1600 | 2001-08-15 Marc Autret <autret_m@epita.fr> |
0b8afb77 AD |
1601 | |
1602 | * src/reader.c (readgram): Indent output macro YYSTYPE. | |
1603 | (packsymbols): Likewise. | |
1604 | (output_token_defines): Likewise. | |
1605 | * src/files.c: Standardize. | |
1606 | (compute_header_macro): New. | |
1607 | (defines_obstack_save): New. Use compute_header_macro. | |
1608 | (output_files): Update. Use defines_obstack_save. | |
1609 | ||
f9a8293a AD |
1610 | 2001-08-15 Akim Demaille <akim@epita.fr> |
1611 | ||
1612 | * doc/bison.texinfo (Table of Symbols): Document | |
1613 | YYSTACK_USE_ALLOCA. | |
1614 | ||
150ca7a7 AD |
1615 | 2001-08-15 Akim Demaille <akim@epita.fr> |
1616 | ||
1617 | * missing: Update from CVS Automake. | |
1618 | * config/config.guess, config/config.sub, config/texinfo.tex: | |
1619 | Update from gnu.org. | |
1620 | ||
69b5cec4 AD |
1621 | 2001-08-15 Akim Demaille <akim@epita.fr> |
1622 | ||
1623 | * Makefile.maint: Sync with CVS Autoconf. | |
1624 | ||
f2b5126e PB |
1625 | 2001-08-14 Pascal Bart <pascal.bart@epita.fr> |
1626 | ||
69b5cec4 | 1627 | * doc/bison.texinfo: Include GNU Free Documentation License from |
f2b5126e PB |
1628 | `fdl.texi'. |
1629 | * doc/fdl.texi: Add to package. | |
1630 | ||
4ecbf796 MA |
1631 | 2001-08-14 Marc Autret <autret_m@epita.fr> |
1632 | ||
1633 | Turn on %{source,header}_extension features. | |
1634 | ||
69b5cec4 | 1635 | * src/lex.c (percent_table): Un-CPP out header_extension and |
4ecbf796 MA |
1636 | source_extension. |
1637 | * src/files.c (compute_exts_from_gf): Compare pointers with NULL. | |
69b5cec4 | 1638 | (compute_exts_from_src): Remove conditions. It restores priorities |
4ecbf796 MA |
1639 | between options. |
1640 | ||
95fb5662 MA |
1641 | 2001-08-14 Marc Autret <autret_m@epita.fr> |
1642 | ||
1643 | * src/files.c (compute_base_names): Add extensions computing when | |
1644 | `--file-prefix' used. | |
1645 | Standardize function calls. | |
1646 | ||
78d09da9 MA |
1647 | 2001-08-13 Marc Autret <autret_m@epita.fr> |
1648 | ||
69b5cec4 | 1649 | * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users |
78d09da9 MA |
1650 | defining it (defined but null disables alloca). |
1651 | ||
5a009f2c MA |
1652 | 2001-08-13 Marc Autret <autret_m@epita.fr> |
1653 | ||
1654 | * src/bison.simple (_yy_memcpy): CPP reformat. | |
1655 | ||
1e41465a PB |
1656 | 2001-08-13 Pascal Bart <pascal.bart@epita.fr> |
1657 | ||
1658 | * tests/atconfig.in (CPPFLAGS): Fix. | |
1659 | ||
c67a198d PB |
1660 | 2001-08-10 Pascal Bart <pascal.bart@epita.fr> |
1661 | ||
79282c6c | 1662 | * doc/bison.texinfo: Include GNU General Public License from |
c67a198d PB |
1663 | `gpl.texi'. |
1664 | * doc/gpl.texi: Add to package. | |
1665 | ||
09a6de7e MA |
1666 | 2001-08-10 Marc Autret <autret_m@epita.fr> |
1667 | ||
1668 | * src/print_graph.h: Fix. | |
1669 | * src/reader.c (read_declarations): Use parse_header_extension_decl (). | |
1670 | ||
b77b9ee0 AD |
1671 | 2001-08-10 Akim Demaille <akim@epita.fr> |
1672 | ||
1673 | * src/system.h: Provide default declarations for stpcpy, strndup, | |
1674 | and strnlen. | |
1675 | ||
3e259915 MA |
1676 | 2001-08-10 Robert Anisko <anisko_r@epita.fr> |
1677 | ||
1678 | * doc/bison.texinfo (Locations): Update @$ stuff. | |
1679 | ||
ca96bc2d MA |
1680 | 2001-08-09 Robert Anisko <anisko_r@epita.fr> |
1681 | ||
1682 | * src/bison.simple (YYLLOC_DEFAULT): Update. | |
1683 | (yyparse): Adjust. | |
1684 | ||
fdc6758b MA |
1685 | 2001-08-08 Marc Autret <autret_m@epita.fr> |
1686 | ||
b77b9ee0 | 1687 | * doc/bison.texinfo: Change @samp{$<@dots{}>} to |
fdc6758b MA |
1688 | @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule. |
1689 | Reported by Fabrice Bauzac. | |
957d4dbf | 1690 | |
600cad3b MA |
1691 | 2001-08-08 Marc Autret <autret_m@epita.fr> |
1692 | ||
1693 | * src/vcg_default.h: Use NULL instead of 0 to initialize pointers. | |
1694 | * src/vcg.c (output_node): Fix. | |
1695 | * src/vcg.h: Cleanup. | |
1696 | * src/print_graph.c: Add comments. | |
b77b9ee0 | 1697 | (node_output_size): New global variable. Simplify the formatting of |
600cad3b | 1698 | the VCG graph output. |
b77b9ee0 | 1699 | (print_actions): Unused code is now used. It notifies the final state |
600cad3b | 1700 | and no action states in the VCG graph. It also give the reduce actions. |
b77b9ee0 | 1701 | The `shift and goto' edges are red and the `go to state' edges are |
600cad3b MA |
1702 | blue. |
1703 | Get the current node name and node_obstack by argument. | |
1704 | (node_obstack): New variable. | |
1705 | (print_state): Manage node_obstack. | |
1706 | (print_core): Use node_obstack given by argument. | |
1707 | A node is not only computed here but in print_actions also. | |
1708 | (print_graph): CPP out useless code instead of commenting it. | |
1709 | ||
976e528f AD |
1710 | 2001-08-07 Pascal Bart <pascal.bart@epita.fr> |
1711 | ||
1712 | * tests/atconfig.in (CPPFLAGS): Fix. | |
1713 | ||
20e8e5ca AD |
1714 | 2001-08-07 Akim Demaille <akim@epita.fr> |
1715 | ||
1716 | * src/print_graph.c (quote): New. | |
1717 | (print_core): Use it. | |
1718 | ||
957d4dbf | 1719 | 2001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr> |
3e3da797 | 1720 | |
3e3da797 AD |
1721 | * src/vcg.c (complain.h): Include it. |
1722 | Unepitaize `return' invocations. | |
c4b66126 | 1723 | [NDEBUG] (main): Remove. |
79282c6c | 1724 | * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members. |
c4b66126 AD |
1725 | * src/files.c (open_files): Initialize graph_obstack. |
1726 | * src/print_graph.c (print_actions): CPP out useless code. | |
1727 | (print_core): Don't output the last `\n' in labels. | |
1728 | Use `quote'. | |
1729 | * src/files.c (output_files): Output the VCG file. | |
1730 | * src/main.c (main): Invoke print_graph (); | |
3e3da797 | 1731 | |
957d4dbf | 1732 | 2001-08-06 Marc Autret <autret_m@epita.fr> |
22c2cbc0 AD |
1733 | |
1734 | Automaton VCG graph output. | |
1735 | Using option ``-g'' or long option ``--graph'', you can generate | |
1736 | a gram_filename.vcg file containing a VCG description of the LALR (1) | |
1737 | automaton of your grammar. | |
1738 | ||
1739 | * src/main.c: Call to print_graph() function. | |
1740 | * src/getargs.h: Update. | |
1741 | * src/getargs.c (options): Update to catch `-g' and `--graph' options. | |
1742 | (graph_flag): New flag. | |
1743 | (longopts): Update. | |
1744 | (getargs): Add case `g'. | |
1745 | * src/files.c (graph_obstack): New obstack struct. | |
1746 | (open_files): Initialize new obstack. | |
1747 | (output_files): Saves graph_obstack if required. | |
1748 | * src/files.h (graph_obstack): New extern declaration. | |
1749 | * src/Makefile.am: Add new source files. | |
1750 | ||
957d4dbf | 1751 | 2001-08-06 Marc Autret <autret_m@epita.fr> |
ce4d5ce0 AD |
1752 | |
1753 | * src/print_graph.c, src/print_graph.h (graph): New. | |
1754 | * src/vcg.h: New file. | |
1755 | * src/vcg.c: New file, VCG graph handling. | |
1756 | ||
7333d403 AD |
1757 | 2001-08-06 Marc Autret <autret_m@epita.fr> |
1758 | ||
1759 | Add of %source_extension and %header_extension which specify | |
1760 | the source or/and the header output file extension. | |
1761 | ||
1762 | * src/files.c (compute_base_names): Remove initialisation of | |
1763 | src_extension and header_extension. | |
1764 | (compute_exts_from_gf): Update. | |
1765 | (compute_exts_from_src): Update. | |
1766 | (output_files): Update. | |
1767 | * src/reader.c (parse_header_extension_decl): New. | |
1768 | (parse_source_extension_decl): New. | |
1769 | (read_declarations): New case statements for the new tokens. | |
1770 | * src/lex.c (percent_table): Add entries for %source_extension | |
1771 | and %header_extension. | |
1772 | * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext. | |
1773 | ||
84163231 AD |
1774 | 2001-08-06 Marc Autret <autret_m@epita.fr> |
1775 | ||
1776 | * configure.in: Bump to 1.28c. | |
1777 | * doc/bison.texinfo: Texinfo thingies. | |
1778 | ||
8303fc42 AD |
1779 | 2001-08-04 Pascal Bart <pascal.bart@epita.fr> |
1780 | ||
1781 | * tests/atconfig.in (CPPFLAGS): Add. | |
1782 | * tests/calc.at (AT_CHECK): Use CPPFLAGS. | |
1783 | ||
70a84437 AD |
1784 | 2001-08-03 Akim Demaille <akim@epita.fr> |
1785 | ||
1786 | Version 1.28b. | |
1787 | ||
2ce10144 AD |
1788 | 2001-08-03 Akim Demaille <akim@epita.fr> |
1789 | ||
1790 | * tests/Makefile.am (check-local): Ship testsuite. | |
1791 | * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions. | |
1792 | Include `string.h'. | |
1793 | ||
1e3e4bc1 AD |
1794 | 2001-08-03 Akim Demaille <akim@epita.fr> |
1795 | ||
1796 | * configure.in: Try using -Wformat when compiling. | |
1797 | ||
42b45b7f AD |
1798 | 2001-08-03 Akim Demaille <akim@epita.fr> |
1799 | ||
1800 | * configure.in: Bump to 1.28b. | |
1801 | ||
8f13fe33 AD |
1802 | 2001-08-03 Akim Demaille <akim@epita.fr> |
1803 | ||
1804 | * src/complain.c: Adjust strerror_r portability issues. | |
1805 | ||
b37ba92c AD |
1806 | 2001-08-03 Akim Demaille <akim@epita.fr> |
1807 | ||
1808 | Version 1.28a. | |
1809 | ||
b0ce6046 AD |
1810 | 2001-08-03 Akim Demaille <akim@epita.fr> |
1811 | ||
1812 | * src/getargs.c, src/getarg.h (skeleton)): Constify. | |
1813 | * src/lex.c (literalchar): Avoid name clashes on `buf'. | |
1814 | * src/getargs.c: Include complain.h. | |
1815 | * src/files.c, src/files.h (skeleton_find): Avoid name clashes. | |
1816 | * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1. | |
1817 | ||
d01c415b AD |
1818 | 2001-08-03 Akim Demaille <akim@epita.fr> |
1819 | ||
1820 | * src/reader.c (readgram): Display hidden chars in error messages. | |
1821 | ||
459dd1a6 AD |
1822 | 2001-08-03 Akim Demaille <akim@epita.fr> |
1823 | ||
1824 | Update to gettext 0.10.39. | |
1825 | ||
53b74c0c AD |
1826 | 2001-08-03 Akim Demaille <akim@epita.fr> |
1827 | ||
1828 | * lib/strspn.c: New. | |
1829 | ||
234a3be3 AD |
1830 | 2001-08-01 Marc Autret <autret_m@epita.fr> |
1831 | ||
1832 | * doc/bison.texinfo: Update. | |
1833 | * doc/bison.1 (mandoc): Update. | |
1834 | * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h. | |
1835 | * src/files.c: Support output files extensions computing. | |
1836 | (src_extension): New static variable. | |
1837 | (header_extension): New static variable. | |
1838 | (tr): New function. | |
1839 | (get_extension_index): New function, gets the index of an extension | |
1840 | filename in a string. | |
1841 | (compute_exts_from_gf): New function, computes extensions from the | |
1842 | grammar file extension. | |
1843 | (compute_exts_from_src): New functions, computes extensions from the | |
1844 | C source file extension, file given by ``-o'' option. | |
1845 | (compute_base_names): Update. | |
1846 | (output_files): Update. | |
1847 | ||
847bf1f5 AD |
1848 | 2001-08-01 Robert Anisko <anisko_r@epita.fr> |
1849 | ||
d995fee7 | 1850 | * doc/bison.texi: Document @$. |
847bf1f5 AD |
1851 | (Locations): New section. |
1852 | ||
d074a105 AD |
1853 | 2001-07-18 Akim Demaille <akim@epita.fr> |
1854 | ||
1855 | * Makefile.maint, GNUmakefile: New, from Autoconf 2.52. | |
1856 | * config/prev-version.txt, config/move-if-change: New. | |
1857 | * Makefile.am: Adjust. | |
1858 | ||
3419715d AD |
1859 | 2001-07-08 Pascal Bart <pascal.bart@epita.fr> |
1860 | ||
1861 | * src/bison.simple (yyparse): Suppress warning `comparaison | |
1862 | between signed and unsigned'. | |
1863 | ||
62ab6972 AD |
1864 | 2001-07-05 Pascal Bart <pascal.bart@epita.fr> |
1865 | ||
1866 | * src/getargs.h (raw_flag): Remove. | |
1867 | * src/getargs.c: Die on `-r'/`--raw'. | |
1868 | * src/lex.c (parse_percent_token): Die on `%raw'. | |
1869 | * src/reader.c (output_token_defines): Suppress call to `raw_flag'. | |
1870 | * tests/calc.at: Suppress test with option `--raw'. | |
1871 | ||
1e24cc5b AD |
1872 | 2001-07-14 Akim Demaille <akim@epita.fr> |
1873 | ||
1874 | * config/: New. | |
1875 | * configure.in: Require Autoconf 2.50. | |
1876 | Update to gettext 0.10.38. | |
1877 | ||
32dfccf8 AD |
1878 | 2001-03-16 Akim Demaille <akim@epita.fr> |
1879 | ||
1880 | * doc/bison.texinfo: ANSIfy the examples. | |
1881 | ||
cd5bd6ac AD |
1882 | 2001-03-16 Akim Demaille <akim@epita.fr> |
1883 | ||
1884 | * getargs.c (skeleton): New variable. | |
1885 | (longopts): --skeleton is a new option. | |
1886 | (shortopts, getargs): -S is a new option. | |
1887 | * getargs.h: Declare skeleton. | |
1888 | * output.c (output_parser): Use it. | |
1889 | ||
5141b016 AD |
1890 | 2001-03-16 Akim Demaille <akim@epita.fr> |
1891 | ||
1892 | * m4/strerror_r.m4: New. | |
1893 | * m4/error.m4: Run AC_FUNC_STRERROR_R. | |
1894 | * lib/error.h, lib/error.c: Update. | |
1895 | ||
447992b9 AD |
1896 | 2001-03-16 Akim Demaille <akim@epita.fr> |
1897 | ||
1898 | * src/getargs.c (longopts): Clean up. | |
1899 | ||
274d42ce AD |
1900 | 2001-02-21 Akim Demaille <akim@epita.fr> |
1901 | ||
1902 | * src/reader.c (gensym): `gensym_count' is your own. | |
1903 | Use a static buf to create the symbol name, as token_buffer is no | |
1904 | longer a buffer. | |
1905 | ||
22c821f3 AD |
1906 | 2001-02-08 Akim Demaille <akim@epita.fr> |
1907 | ||
1908 | * src/conflicts.c (conflict_report): Be sure not to append to res | |
1909 | between two calls, which could happen if both first sprintf were | |
1910 | skipped, but not the first cp += strlen. | |
1911 | ||
18569462 AD |
1912 | 2001-02-08 Akim Demaille <akim@epita.fr> |
1913 | ||
1914 | * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c: | |
1915 | New, from fileutils 4.0.37. | |
1916 | * configure.in: Require Autoconf 2.49c. I took some time before | |
1917 | making this decision. This is the only way out for portability | |
1918 | issues in Bison, it would mean way too much duplicate effort to | |
1919 | import in Bison features implemented in 2.49c since 2.13. | |
1920 | AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above. | |
1921 | ||
0d8f3c8a AD |
1922 | 2001-02-02 Akim Demaille <akim@epita.fr> |
1923 | ||
1924 | * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37. | |
66075dcf | 1925 | * lib/xalloc.h, lib/xmalloc.c: Update. |
0d8f3c8a | 1926 | |
f17bcd1f AD |
1927 | 2001-01-19 Akim Demaille <akim@epita.fr> |
1928 | ||
1929 | Get rid of the ad hoc handling of token_buffer in the scanner: use | |
1930 | the obstacks. | |
1931 | ||
1932 | * src/lex.c (token_obstack): New. | |
1933 | (init_lex): Initialize it. No longer call... | |
1934 | (grow_token_buffer): this. Remove it. | |
1935 | Adjust all the places which used it to use the obstack. | |
1936 | ||
511e79b3 AD |
1937 | 2001-01-19 Akim Demaille <akim@epita.fr> |
1938 | ||
1939 | * src/lex.h: Rename all the tokens: | |
1940 | s/\bENDFILE\b/tok_eof/g; | |
1941 | s/\bIDENTIFIER\b/tok_identifier/g; | |
1942 | etc. | |
1943 | Let them be enums, not #define, to ease debugging. | |
1944 | Adjust all the code. | |
1945 | ||
0d6508ef AD |
1946 | 2001-01-18 Akim Demaille <akim@epita.fr> |
1947 | ||
1948 | * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private. | |
1949 | * src/lex.c (maxtoken, grow_token_buffer): Static. | |
1950 | ||
6deb4447 AD |
1951 | 2001-01-18 Akim Demaille <akim@epita.fr> |
1952 | ||
1953 | Since we now use obstacks, more % directives can be enabled. | |
1954 | ||
1955 | * src/lex.c (percent_table): Also accept `%yacc', | |
1956 | `%fixed_output_files', `%defines', `%no_parser', `%verbose', and | |
1957 | `%debug'. | |
1958 | Handle the actions for `%semantic_parser' and `%pure_parser' here, | |
1959 | instead of returning a token. | |
1960 | * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused. | |
1961 | * src/reader.c (read_declarations): Adjust. | |
1962 | * src/files.c (open_files): Don't call `compute_base_names', don't | |
1963 | compute `attrsfile' since they depend upon data which might be | |
1964 | *in* the input file now. | |
1965 | (output_files): Do it here. | |
1966 | * src/output.c (output_headers): Document the fact that this patch | |
1967 | introduces a guaranteed SEGV for semantic parsers. | |
1968 | * doc/bison.texinfo: Document them. | |
1969 | * tests/suite.at: Exercise these %options. | |
1970 | ||
ff4423cc AD |
1971 | 2000-12-20 Akim Demaille <akim@epita.fr> |
1972 | ||
1973 | Also handle the output file (--verbose) with obstacks. | |
1974 | ||
1975 | * files.c (foutput): Remove. | |
1976 | (output_obstack): New. | |
1977 | Adjust all dependencies. | |
1978 | * src/conflicts.c: Return a string. | |
1979 | * src/system.h (obstack_grow_string): Rename as... | |
1980 | (obstack_sgrow): this. Be ready to work with non literals. | |
1981 | (obstack_fgrow4): New. | |
1982 | ||
956dba3a AD |
1983 | 2000-12-20 Akim Demaille <akim@epita.fr> |
1984 | ||
1985 | * src/files.c (open_files): Fix the computation of short_base_name | |
1986 | in the case of `-o foo.tab.c'. | |
1987 | ||
337bab46 AD |
1988 | 2000-12-20 Akim Demaille <akim@epita.fr> |
1989 | ||
1990 | * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at) | |
1991 | (copy_dollar): Now that everything uses obstacks, get rid of the | |
1992 | FILE * parameters. | |
1993 | ||
5d3214b8 AD |
1994 | 2000-12-20 Akim Demaille <akim@epita.fr> |
1995 | ||
1996 | * src/files.c (open_files): Actually the `.output' file is based | |
1997 | on the short_base_name, not base_name. | |
1998 | * tests/suite.at (Checking output file names): Adjust. | |
1999 | ||
29092a57 AD |
2000 | 2000-12-20 Akim Demaille <akim@epita.fr> |
2001 | ||
2002 | * src/bison.s1: Remove, we now use directly... | |
2003 | * src/bison.simple: this. | |
2004 | * src/Makefile.am: Use pkgdata instead of data. | |
2005 | ||
ea5607fd AD |
2006 | 2000-12-20 Akim Demaille <akim@epita.fr> |
2007 | ||
2008 | * src/files.c (guard_obstack): New. | |
2009 | (open_files): Initialize it. | |
2010 | (output_files): Dump it... | |
2011 | * src/files.h: Export it. | |
2012 | * src/reader.c (copy_guard): Use it. | |
2013 | ||
27110317 AD |
2014 | 2000-12-19 Akim Demaille <akim@epita.fr> |
2015 | ||
2016 | * src/files.c (outfile, defsfile, actfile): Removed as global | |
2017 | vars. | |
2018 | (open_files): Don't compute them. | |
2019 | (output_files): Adjust. | |
2020 | (base_name, short_base_name): Be global. | |
2021 | Adjust dependencies. | |
2022 | ||
19c50364 AD |
2023 | 2000-12-19 Akim Demaille <akim@epita.fr> |
2024 | ||
2025 | * src/files.c (strsuffix): New. | |
2026 | (stringappend): Be just like strcat but allocate. | |
2027 | (base_names): Eve out from open_files. | |
2028 | Try to simplify the rather hairy computation of base_name and | |
2029 | short_base_name. | |
2030 | (open_files): Use it. | |
2031 | * tests/suite.at (Checking output file names): New test. | |
2032 | ||
573c1d9f AD |
2033 | 2000-12-19 Akim Demaille <akim@epita.fr> |
2034 | ||
2035 | * src/system.h (obstack_grow_literal_string): Rename as... | |
2036 | (obstack_grow_string): this. | |
2037 | * src/output.c (output_parser): Recognize `%% actions' instead of | |
2038 | `$'. | |
2039 | * src/bison.s1: s/$/%% actions/. | |
2040 | * src/bison.hairy: Likewise. | |
2041 | ||
ef7ddedd AD |
2042 | 2000-12-19 Akim Demaille <akim@epita.fr> |
2043 | ||
2044 | * src/output.c (output_parser): Compute the `#line' lines when | |
2045 | there are. | |
2046 | * src/Makefile.am (bison.simple): Be a simple copy of bison.s1. | |
2047 | Suggested by Hans Aberg. | |
2048 | ||
ff61dabd AD |
2049 | 2000-12-19 Akim Demaille <akim@epita.fr> |
2050 | ||
2051 | Let the handling of the skeleton files be local to the procedures | |
2052 | that use it. | |
2053 | ||
2054 | * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No | |
2055 | longer static. | |
2056 | (fparser, open_extra_files): Remove. | |
2057 | (open_files, output_files): Don't take care of fparser. | |
2058 | * src/files.h: Adjust. | |
2059 | * src/output.c (output_parser): Open and close the file to the | |
2060 | skeleton. | |
2061 | * src/reader.c (read_declarations): When %semantic_parser, open | |
2062 | fguard. | |
2063 | ||
55b96341 AD |
2064 | 2000-12-19 Akim Demaille <akim@epita.fr> |
2065 | ||
2066 | * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here... | |
2067 | * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here. | |
2068 | ||
358c15b7 AD |
2069 | 2000-12-19 Akim Demaille <akim@epita.fr> |
2070 | ||
2071 | * src/files.c (open_files): Yipee! We no longer need all the code | |
2072 | looking for `/tmp' since we have no tmp file. | |
2073 | ||
7de3329e AD |
2074 | 2000-12-19 Akim Demaille <akim@epita.fr> |
2075 | ||
2076 | * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C): | |
2077 | New macros. | |
2078 | * src/files.c (open_files): Less dependency on MSDOS etc. | |
2079 | ||
3abcd459 AD |
2080 | 2000-12-14 Akim Demaille <akim@epita.fr> |
2081 | ||
2082 | * src/bison.s1 (YYLLOC_DEFAULT): New macro. | |
2083 | Provide a default definition. | |
2084 | Use it when executing the default @ action. | |
2085 | * src/reader.c (reader_output_yylsp): No longer include | |
2086 | `timestamp' and `text' in the default YYLTYPE. | |
2087 | ||
2a91a95e AD |
2088 | 2000-12-12 Akim Demaille <akim@epita.fr> |
2089 | ||
2090 | * src/reader.c (copy_definition, parse_union_decl, copy_action) | |
2091 | (copy_guard): Quote the file names. | |
2092 | Reported by Laurent Mascherpa. | |
2093 | ||
14d3eb9b AD |
2094 | 2000-12-12 Akim Demaille <akim@epita.fr> |
2095 | ||
2096 | * src/output.c (output_headers, output_program, output): Be sure | |
2097 | to escape special characters when outputting filenames. | |
2098 | (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove. | |
2099 | (output_headers): Don't depend on them, Use ACTSTR. | |
2100 | ||
d7045ec6 AD |
2101 | 2000-11-17 Akim Demaille <akim@epita.fr> |
2102 | ||
2103 | * lib/obstack.h: Formatting changes. | |
2104 | (obstack_grow, obstack_grow0): Don't cast WHERE at all: it | |
2105 | prevents type checking. | |
2106 | (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't | |
2107 | cast the value to (void *): assigning a `foo *' to a `void *' | |
2108 | variable is valid. | |
2109 | (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int. | |
2110 | * src/reader.c (parse_union_decl): Typo: use obstack_1grow to | |
2111 | append characters. | |
2112 | ||
6fd54b73 AD |
2113 | 2000-11-17 Akim Demaille <akim@epita.fr> |
2114 | ||
2115 | * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename | |
2116 | as... | |
2117 | (suite.m4, regression.m4, calc.m4): these. | |
2118 | * tests/atgeneral.m4: Update from CVS Autoconf. | |
2119 | ||
4c50eae6 AD |
2120 | 2000-11-17 Akim Demaille <akim@epita.fr> |
2121 | ||
2122 | * tests/regression.m4 (%union and --defines): New test, | |
2123 | demonstrating a current bug in the obstack implementation. | |
2124 | ||
a35f64ea AD |
2125 | 2000-11-17 Akim Demaille <akim@epita.fr> |
2126 | ||
2127 | * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New | |
2128 | macros. | |
2129 | Use them to declare the variables which are global or local to | |
2130 | `yyparse'. | |
2131 | ||
7de23534 AD |
2132 | 2000-11-17 Akim Demaille <akim@epita.fr> |
2133 | ||
2134 | * acconfig.h: Remove, no longer used. | |
2135 | ||
aa7815f5 AD |
2136 | 2000-11-07 Akim Demaille <akim@epita.fr> |
2137 | ||
2138 | * src: s/Copyright (C)/Copyright/g. | |
2139 | ||
5af1f549 AD |
2140 | 2000-11-07 Akim Demaille <akim@epita.fr> |
2141 | ||
2142 | * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just | |
2143 | defining. | |
2144 | * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/. | |
2145 | ||
553e2b22 AD |
2146 | 2000-11-07 Akim Demaille <akim@epita.fr> |
2147 | ||
2148 | * src/bison.s1 (YYLEX): Use #if instead of #ifdef. | |
2149 | Merge in a single CPP if/else. | |
2150 | ||
8a4f41d6 AD |
2151 | 2000-11-07 Akim Demaille <akim@epita.fr> |
2152 | ||
2153 | * src/output.c (output): Remove useless variables. | |
2154 | * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second | |
2155 | argument `data' for consistency with the prototypes. | |
2156 | Qualify it `const'. | |
2157 | (obstack_copy, obstack_copy0): Rename the second argument as | |
2158 | `address' for consistency. Qualify it `const'. | |
2159 | * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow) | |
2160 | (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify | |
2161 | `const' their input argument (`data' or `address'). | |
2162 | Adjust the corresponding macros to include `const' in casts. | |
2163 | ||
095a3fb5 AD |
2164 | 2000-11-03 Akim Demaille <akim@epita.fr> |
2165 | ||
2166 | * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/. | |
2167 | s/PFILE1/BISON_HAIRY/. | |
2168 | Adjust dependencies. | |
2169 | ||
d1cdce7c AD |
2170 | 2000-11-03 Akim Demaille <akim@epita.fr> |
2171 | ||
090c5ebf | 2172 | For some reason, this was not applied. |
d1cdce7c AD |
2173 | |
2174 | * src/files.c [VMS]: No longer include `ssdef.h', no longer define | |
2175 | `unlink': it's no longer used. | |
2176 | ||
9311529b AD |
2177 | 2000-11-03 Akim Demaille <akim@epita.fr> |
2178 | ||
2179 | * src/files.c (skeleton_find): New function, eved out of... | |
2180 | (open_files, open_extra_files): here. | |
2181 | ||
d8880f69 AD |
2182 | 2000-11-03 Akim Demaille <akim@epita.fr> |
2183 | ||
2184 | Don't use `atexit'. | |
2185 | ||
2186 | * src/files.c (obstack_save): New function. | |
2187 | (done): Rename as... | |
2188 | (output_files): this. | |
2189 | Use `obstack_save'. | |
2190 | * src/main.c (main): Don't use `atexit' to register `done', since | |
2191 | it no longer has to remove tmp files, just call `output_files' | |
2192 | when there are no errors. | |
2193 | ||
0dbb648e AD |
2194 | 2000-11-02 Akim Demaille <akim@epita.fr> |
2195 | ||
2196 | * src/files.c [VMS]: No longer include `ssdef.h', no longer define | |
2197 | `unlink': it's no longer used. | |
2198 | * src/files.h: Formatting changes. | |
2199 | ||
896fe5c1 AD |
2200 | 2000-11-02 Akim Demaille <akim@epita.fr> |
2201 | ||
2202 | Remove the last uses of mktemp and unlink/delete. | |
2203 | ||
2204 | * src/files.c (fdefines, ftable): Removed. | |
2205 | (defines_ostack, table_obstack): New. | |
2206 | Adjust dependencies of the former into uses of the latter. | |
2207 | * src/output.c (output_short_or_char_table, output_short_table): | |
2208 | Convert to using obstacks. | |
2209 | * src/reader.c (copy_comment2): Accept one FILE * and two | |
2210 | obstacks. | |
2211 | (output_token_defines, reader_output_yylsp): Use obstacks. | |
2212 | * src/system.h (obstack_fgrow3): New. | |
2213 | ||
dd60faec AD |
2214 | 2000-11-01 Akim Demaille <akim@epita.fr> |
2215 | ||
2216 | Change each use of `fattrs' into a use of `attrs_obstack'. | |
2217 | ||
2218 | * src/reader.c (copy_at): Typo: s/yylloc/yyloc/. | |
2219 | * src/files.c (fattrs): Remove. | |
2220 | (attrs_obstack): New. | |
2221 | Adjust all dependencies. | |
2222 | (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile. | |
2223 | ||
8c7ebe49 AD |
2224 | 2000-11-01 Akim Demaille <akim@epita.fr> |
2225 | ||
2226 | Introduce obstacks. | |
2227 | Change each use of `faction' into a use of `action_obstack'. | |
2228 | ||
2229 | * lib/obstack.h, lib/obstack.c: New files. | |
2230 | * src/files.c (faction): Remove. | |
2231 | (action_obstack): New. | |
2232 | Adjust all dependencies. | |
2233 | ||
77aee789 AD |
2234 | 2000-10-20 Akim Demaille <akim@epita.fr> |
2235 | ||
2236 | * lib/quote.h (PARAMS): New macro. Use it. | |
2237 | ||
43591cec AD |
2238 | 2000-10-16 Akim Demaille <akim@epita.fr> |
2239 | ||
2240 | * src/output.c (output_short_or_char_table): New function. | |
2241 | (output_short_table, output_token_translations): Use it. | |
2242 | (goto_actions): Use output_short_table. | |
2243 | ||
1e9798d5 AD |
2244 | 2000-10-16 Akim Demaille <akim@epita.fr> |
2245 | ||
2246 | * src/symtab.c (bucket_new): New function. | |
2247 | (getsym): Use it. | |
2248 | ||
2249 | * src/output.c (output_short_table): New argument to display the | |
2250 | comment associated with the table. | |
2251 | Adjust dependencies. | |
2252 | (output_gram): Use it. | |
2253 | (output_rule_data): Nicer output layout for YYTNAME. | |
2254 | ||
f282676b AD |
2255 | 2000-10-16 Akim Demaille <akim@epita.fr> |
2256 | ||
2257 | * src/lex.c (read_typename): New function. | |
2258 | (lex): Use it. | |
2259 | * src/reader.c (copy_dollar): Likewise. | |
2260 | ||
550a72a3 AD |
2261 | 2000-10-16 Akim Demaille <akim@epita.fr> |
2262 | ||
2263 | * src/reader.c (copy_comment2): Expect the input stream to be on | |
2264 | the `/' which is suspected to open a comment, instead of being | |
2265 | called after `//' or `/*' was read. | |
2266 | (copy_comment, copy_definition, parse_union_decl, copy_action) | |
2267 | (copy_guard): Adjust. | |
2268 | ||
131e2fef AD |
2269 | 2000-10-16 Akim Demaille <akim@epita.fr> |
2270 | ||
2271 | * src/reader.c (parse_expect_decl): Use `skip_white_space' and | |
2272 | `read_signed_integer'. | |
2273 | ||
79282c5a AD |
2274 | 2000-10-16 Akim Demaille <akim@epita.fr> |
2275 | ||
2276 | * src/reader.c (copy_dollar): New function. | |
2277 | (copy_guard, copy_action): Use it. | |
2278 | ||
ff4a34be AD |
2279 | 2000-10-16 Akim Demaille <akim@epita.fr> |
2280 | ||
2281 | * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c: | |
2282 | * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4: | |
2283 | New files, from Fileutils 4.0.27. | |
2284 | * src/main.c (printable_version): Remove. | |
2285 | * src/lex.c, src/reader.c: Use `quote'. | |
2286 | ||
2287 | 2000-10-04 Akim Demaille <akim@epita.fr> | |
2288 | ||
2289 | * lib/error.c, lib/error.h: New files, needed by xmalloc.c. | |
2290 | ||
14ded682 AD |
2291 | 2000-10-04 Akim Demaille <akim@epita.fr> |
2292 | ||
2293 | * doc/bison.texinfo: Various typos spotted by Neil Booth. | |
2294 | ||
8e03724b AD |
2295 | 2000-10-04 Akim Demaille <akim@epita.fr> |
2296 | ||
2297 | When a literal string is used to define two different tokens, | |
2298 | `bison -v' segfaults. | |
2299 | Reported by Piotr Gackiewicz, and fixed by Neil Booth. | |
2300 | ||
2301 | * tests/regression.m4: New file. | |
2302 | Include the core of the sample provided by Piotr Gackiewicz. | |
2303 | * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed | |
2304 | properly. | |
2305 | ||
a9e64249 AD |
2306 | 2000-10-04 Akim Demaille <akim@epita.fr> |
2307 | ||
2308 | * src/reader.c (parse_expect_decl): Keep `count' within the size | |
2309 | of `buffer'. | |
2310 | From Neil Booth. | |
2311 | ||
da9abf43 AD |
2312 | 2000-10-02 Paul Eggert <eggert@twinsun.com> |
2313 | ||
2314 | * bison.s1 (yyparse): Assign the default value | |
2315 | unconditionally, to avoid a GCC warning and make the parser a | |
2316 | tad smaller. | |
2317 | ||
c33638bb AD |
2318 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2319 | ||
2320 | * src/getargs.c (getargs): Don't dump `--help' on unrecognized | |
2321 | options. | |
2322 | ||
444c570a AD |
2323 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2324 | ||
2325 | * src/derives.c, src/print.c, src/reduce.c: To ease the | |
2326 | translation, move some `\n' out of the translated strings. | |
2327 | ||
89cab50d AD |
2328 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2329 | ||
2330 | The location tracking mechanism is precious for parse error | |
2331 | messages. Nevertheless, it is enabled only when `@n' is used in | |
2332 | the grammar, which is a different issue (you can use it in error | |
2333 | message, but not in the grammar per se). Therefore, there should | |
2334 | be another means to enable it. | |
2335 | ||
2336 | * src/getargs.c (getargs): Support `--locations'. | |
2337 | (usage): Report it. | |
2338 | * src/getargs.h (locationsflag): Export it. | |
2339 | * src/lex.c (percent_table): Support `%locations'. | |
2340 | * src/reader.c (yylsp_needed): Remove this variable, now replaced | |
2341 | with `locationsflag'. | |
2342 | * doc/bison.texinfo: Document `--locations' and `%locations'. | |
2343 | Sort the options. | |
2344 | * tests/calc.m4: Test it. | |
2345 | ||
2346 | For regularity of the names, replace each | |
2347 | (nolineflag, toknumflag, rawtokenumflag, noparserflag): with... | |
2348 | (no_lineflag, token_tableflag, rawflag, no_parserflag): this. | |
2349 | In addition replace each `flag' with `_flag'. | |
2350 | ||
d6c2cba0 AD |
2351 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2352 | ||
2353 | Also test parse error messages, including with YYERROR_VERBOSE. | |
2354 | ||
2355 | * tests/calc.m4 (calc.y): Add support for `exp = exp' (non | |
2356 | associative). | |
2357 | Use it to check the computations. | |
2358 | Use it to check `nonassoc' is honored. | |
2359 | (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed | |
2360 | `--yyerror-verbose'. | |
2361 | (_AT_CHECK_CALC): Adjust to this option. | |
2362 | (_AT_CHECK_CALC_ERROR): New macro to check parse error messages. | |
2363 | ||
5a35a6cb AD |
2364 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2365 | ||
2366 | Test also `--verbose', `--defines' and `--name-prefix'. Testing | |
2367 | the latter demonstrates a flaw in the handling of non debugging | |
2368 | parsers introduced by myself on 2000-03-16: `#define yydebug 0' | |
2369 | was used in order to simplify: | |
2370 | ||
2371 | #if YYDEBUG | |
2372 | if (yydebug) | |
2373 | { | |
2374 | ... | |
2375 | } | |
2376 | #endif | |
2377 | ||
2378 | into | |
2379 | ||
2380 | if (yydebug) | |
2381 | { | |
2382 | ... | |
2383 | } | |
2384 | ||
2385 | unfortunately this leads to a CPP conflict when | |
2386 | `--name-prefix=foo' is used since it produces `#define yydebug | |
2387 | foodebug'. | |
2388 | ||
2389 | * src/bison.s1 [!YYDEBUG]: Do not define yydebug. | |
2390 | (YYDPRINTF): New macro. | |
2391 | Spread its use. | |
2392 | * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from | |
2393 | the bison options. | |
2394 | Also test `--verbose', `--defines' and `--name-prefix'. | |
2395 | ||
71da9eea AD |
2396 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2397 | ||
2398 | Improve the readability of the produced parsers. | |
2399 | ||
2400 | * src/bison.s1: Formatting changes. | |
2401 | Improve the comment related to the `$' mark. | |
2402 | (yydefault): Don't fall through to `yyresume': `goto' there. | |
2403 | * src/output.c (output_parser): When the `$' is met, skip the end | |
2404 | of its line. | |
2405 | New variable, `number_of_dollar_signs', to check there's exactly | |
2406 | one `$' in the parser skeleton. | |
2407 | ||
95e36146 AD |
2408 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2409 | ||
2410 | * lib/xstrdup.c: New file, from the fileutils. | |
2411 | * src/reader.c (parse_token_decl, get_type_name, parse_type_decl) | |
2412 | (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup' | |
2413 | instead of strlen + xmalloc + strcpy. | |
2414 | * src/symtab.c (copys): Remove, use xstrdup instead. | |
2415 | ||
d7020c20 AD |
2416 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2417 | ||
2418 | * src/gram.h (associativity): New enum type which replaces the | |
2419 | former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with | |
2420 | `right_assoc', `left_assoc' and `non_assoc'. | |
2421 | Adjust all dependencies. | |
2422 | * src/reader.c: Formatting changes. | |
2423 | (LTYPESTR): Don't define it, use it as a literal in | |
2424 | `reader_output_yylsp'. | |
2425 | * src/symtab.h (symbol_class): New enum type which replaces the | |
2426 | former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with | |
2427 | `sunknown', `stoken and `snterm'. | |
2428 | ||
1916f98e AD |
2429 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2430 | ||
2431 | * src/getargs.c (fixed_outfiles): Rename as... | |
2432 | (yaccflag): for consistency and accuracy. | |
2433 | Adjust dependencies. | |
2434 | ||
d7913476 AD |
2435 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2436 | ||
2437 | Use the more standard files `xalloc.h' and `xmalloc.c' instead of | |
2438 | Bison's `allocate.c' and `alloc.h'. This patch was surprisingly | |
2439 | difficult and introduced a lot of core dump. It turns out that | |
2440 | Bison used an implementation of `xmalloc' based on `calloc', and | |
2441 | at various places it does depend upon the initialization to 0. I | |
2442 | have not tried to isolate the pertinent places, and all the former | |
2443 | calls to Bison's `xmalloc' are now using `XCALLOC'. Someday, | |
2444 | someone should address this issue. | |
2445 | ||
2446 | * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove. | |
2447 | * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New | |
2448 | files. | |
2449 | Adjust dependencies. | |
2450 | * src/warshall.h: New file. | |
2451 | Propagate. | |
2452 | ||
340ef489 AD |
2453 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2454 | ||
2455 | Various anti-`extern in *.c' changes. | |
2456 | ||
2457 | * src/system.h: Include `assert.h'. | |
2458 | ||
b2ca4022 AD |
2459 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2460 | ||
2461 | * src/state.h (nstates, final_state, first_state, first_shift) | |
2462 | (first_reduction): Move their exportation from here... | |
2463 | * src/LR0.h: to here. | |
2464 | Adjust dependencies. | |
2465 | * src/getargs.c (statisticsflag): New variable. | |
2466 | Add support for `--statistics'. | |
2467 | Adjust dependencies. | |
2468 | ||
2469 | Remove a lot of now useless `extern' statements in most files. | |
2470 | ||
403b315b AD |
2471 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2472 | ||
2473 | * src/LR0.h: New file. | |
2474 | Propagate its use. | |
2475 | ||
07a58c13 AD |
2476 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2477 | ||
2478 | * src/print.h: New file. | |
2479 | Propagate its use. | |
2480 | * src/print.c: Formatting and ordering changes. | |
2481 | (verbose, terse): Replace with... | |
2482 | (print_results): this new function. | |
2483 | Adjust dependencies. | |
2484 | ||
0619caf0 AD |
2485 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2486 | ||
2487 | * src/conflicts.c (conflict_report): New function. | |
2488 | (conflict_log, verbose_conflict_log): Replace with... | |
2489 | (print_conflicts): this function. | |
2490 | Adjust dependencies. | |
2491 | * src/conflicts.h: New file. | |
2492 | Propagate its inclusion. | |
2493 | ||
3519ec76 AD |
2494 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2495 | ||
2496 | * src/nullable.h: New file. | |
2497 | Propagate its inclusion. | |
2498 | * src/nullable.c: Formatting changes. | |
2499 | ||
015acc48 AD |
2500 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2501 | ||
2502 | * src/reduce.h: New file. | |
2503 | Propagate its inclusion. | |
2504 | * src/reduce.c: Topological sort and other formatting changes. | |
2505 | (bool, TRUE, FALSE): Move their definition to... | |
2506 | * src/system.h: here. | |
2507 | ||
8963a27b AD |
2508 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2509 | ||
2510 | * src/files.c: Formatting changes. | |
2511 | (tryopen, tryclose, openfiles): Rename as... | |
2512 | (xfopen, xfclose, open_files): this. | |
2513 | (stringappend): static. | |
2514 | * src/files.h: Complete the list of exported symbols. | |
2515 | Propagate its use. | |
2516 | ||
a70083a3 AD |
2517 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2518 | ||
2519 | * src/reader.h: New file. | |
2520 | Propagate its use instead of tedious list of `extern' and | |
2521 | prototypes. | |
2522 | * src/reader.c: Formatting changes, topological sort, | |
2523 | s/register//. | |
2524 | ||
abadc117 AD |
2525 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2526 | ||
2527 | * src/lex.h: Prototype `lex.c' exported functions. | |
2528 | * src/reader.c: Adjust. | |
2529 | * src/lex.c: Formatting changes. | |
2530 | (safegetc): Rename as... | |
2531 | (xgetc): this. | |
2532 | ||
720d742f AD |
2533 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2534 | ||
2535 | * src/lalr.h: New file. | |
2536 | Propagate its inclusion instead of prototypes and `extern'. | |
2537 | * src/lalr.c: Formatting changes, topological sorting etc. | |
2538 | ||
f2acea59 AD |
2539 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2540 | ||
2541 | * src/output.c (token_actions): Introduce a temporary array, | |
2542 | YYDEFACT, that makes it possible for this function to use | |
2543 | output_short_table. | |
2544 | ||
d019d655 AD |
2545 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2546 | ||
2547 | `user_toknums' is output as a `short[]' in `output.c', while it is | |
2548 | defined as a `int[]' in `reader.c'. For consistency with the | |
2549 | other output tables, `user_toknums' is now defined as a table of | |
2550 | shorts. | |
2551 | ||
2552 | * src/reader.c (user_toknums): Be a short table instead of an int | |
2553 | table. | |
2554 | Adjust dependencies. | |
2555 | ||
2556 | Factor the short table outputs. | |
2557 | ||
2558 | * src/output.c (output_short_table): New function. | |
2559 | * src/output.c (output_gram, output_stos, output_rule_data) | |
2560 | (output_base, output_table, output_check): Use it. | |
2561 | ||
6c89f1c1 AD |
2562 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2563 | ||
2564 | * src/output.c (output): Topological sort of the functions, in | |
2565 | order to get rid of the `static' prototypes. | |
2566 | No longer use `register'. | |
2567 | * src/output.h: New file. | |
2568 | Propagate its inclusion in files explicitly prototyping functions | |
2569 | from output.c. | |
2570 | ||
d9efd181 AD |
2571 | 2000-09-21 Akim Demaille <akim@epita.fr> |
2572 | ||
2573 | * src/atgeneral.m4: Update from Autoconf. | |
2574 | ||
c29240e7 | 2575 | 2000-09-21 Akim Demaille <akim@epita.fr> |
2fa6973e AD |
2576 | |
2577 | * src/closure.h: New file. | |
2578 | * src/closure.c: Formatting changes, topological sort over the | |
2579 | functions, use of closure.h. | |
2580 | (initialize_closure, finalize_closure): Rename as... | |
2581 | (new_closure, free_closure): these. Adjust dependencies. | |
2582 | * src/LR0.c: Formatting changes, topological sort, use of | |
2583 | cloture.h. | |
2584 | (initialize_states): Rename as... | |
2585 | (new_states): this. | |
2586 | * src/Makefile.am (noinst_HEADERS): Adjust. | |
2587 | ||
499daa50 AD |
2588 | 2000-09-20 Akim Demaille <akim@epita.fr> |
2589 | ||
2590 | * src/acconfig.h: Don't protect config.h against multiple | |
2591 | inclusion. | |
2592 | Don't define PARAMS. | |
2593 | * src/system.h: Define PARAMS. | |
2594 | Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the | |
2595 | purpose of config.h. system.h must not try to fix wrong | |
2596 | definitions in config.h. | |
2597 | ||
cc84fd5d AD |
2598 | 2000-09-20 Akim Demaille <akim@epita.fr> |
2599 | ||
2600 | * src/derives.h: New file. | |
2601 | * src/main.c, src/derives.h: Use it. | |
2602 | Formatting changes. | |
2603 | * src/Makefile.am (noinst_HEADERS): Adjust. | |
2604 | ||
db5b3a89 AD |
2605 | 2000-09-20 Akim Demaille <akim@epita.fr> |
2606 | ||
2607 | * tests/atgeneral.m4: Update from Autoconf. | |
2608 | * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC) | |
2609 | (AT_CHECK_CALC): New macros. | |
2610 | Use these macros to test bison with options `', `--raw', | |
2611 | `--debug', `--yacc', `--yacc --debug'. | |
2612 | ||
ceed8467 AD |
2613 | 2000-09-19 Akim Demaille <akim@epita.fr> |
2614 | ||
2615 | * src/output.c: Formatting changes. | |
2616 | * src/machine.h: Remove, leaving its contents in... | |
2617 | * src/system.h: here. | |
2618 | Include stdio.h. | |
2619 | Adjust all dependencies on stdio.h and machine.h. | |
2620 | * src/getargs.h: New file. | |
2621 | Let all `extern' declarations about getargs.c be replaced with | |
2622 | inclusion of `getargs.h'. | |
2623 | * src/Makefile.am (noinst_HEADERS): Adjust. | |
2624 | ||
2625 | * tests/calc.m4 (yyin): Be initialized in main, not on the global | |
2626 | scope. | |
2627 | (yyerror): Returns void, not int. | |
2628 | * doc/bison.texinfo: Formatting changes. | |
2629 | ||
05a1d24b AD |
2630 | 2000-09-19 Akim Demaille <akim@epita.fr> |
2631 | ||
2632 | * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not | |
2633 | portable. | |
2634 | ||
cbd25751 AD |
2635 | 2000-09-18 Akim Demaille <akim@epita.fr> |
2636 | ||
2637 | * configure.in: Append WARNING_CFLAGS to CFLAGS. | |
2638 | * src/Makefile.am (INCLUDES): Don't. | |
2639 | Be ready to fetch headers in lib/. | |
2640 | ||
13863333 AD |
2641 | 2000-09-18 Akim Demaille <akim@epita.fr> |
2642 | ||
2643 | * doc/bison.texinfo: Update the copyright. | |
2644 | ANSIfy and GNUify the examples. | |
2645 | Remove the old menu. | |
2646 | ||
0d533154 AD |
2647 | 2000-09-18 Akim Demaille <akim@epita.fr> |
2648 | ||
2649 | First set of tests: use the `calc' example from the documentation. | |
2650 | ||
2651 | * src/bison.s1 (yyparse): Condition the code using `yytname' which | |
2652 | is defined only when YYDEBUG is. | |
2653 | * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13. | |
2654 | * src/files.c (tryopen, tryclose): Formatting changes. | |
2655 | Move to the top and be static. | |
2656 | * src/reader.c (read_signed_integer): Likewise. | |
2657 | * tests/calc.m4: New file. | |
2658 | * Makefile.am, suite.m4: Adjust. | |
2659 | * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY. | |
2660 | ||
e79137ac AD |
2661 | 2000-09-18 Akim Demaille <akim@epita.fr> |
2662 | ||
2663 | Add support for an Autotest test suite for Bison. | |
2664 | ||
2665 | * m4/m4.m4, m4/atconfig.m4: New files. | |
2666 | * m4/Makefile.am (EXTRA_DIST): Adjust. | |
2667 | * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New | |
2668 | files. | |
2669 | * src/getargs.c: Display a more standard --version message. | |
2670 | * src/reader.c (reader): Formatting changes. | |
2671 | No longer depend upon VERSION_STRING. | |
2672 | * configure.in: No longer use `dnl'. | |
2673 | Set up the test suite and the new directory `tests/. | |
2674 | (VERSION_STRING): Remove. | |
2675 | ||
27821bff AD |
2676 | 2000-04-14 Akim Demaille <akim@epita.fr> |
2677 | ||
2678 | * src/reader.c (copy_comment2): New function, same as former | |
2679 | `copy_comment', but outputs into two FILE *. | |
2680 | (copy_comment): Use it. | |
2681 | (parse_union_decl): Use it. | |
2682 | (get_type, parse_start_decl): Use the same `invalid' message. | |
2683 | (parse_start_decl, parse_union_decl): Use the same `multiple' | |
2684 | message. | |
2685 | (parse_union_decl, copy_guard, copy_action): Use the same | |
2686 | `unmatched' message. | |
2687 | * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'. | |
2688 | ||
cfe5fbc0 AD |
2689 | 2000-03-31 Akim Demaille <akim@epita.fr> |
2690 | ||
2691 | * src/files.c (tryopen, tryclose): Move to the top. | |
2692 | Be static. | |
2693 | ||
cb7db13e AD |
2694 | 2000-03-31 Akim Demaille <akim@epita.fr> |
2695 | ||
2696 | * src/main.c (main): Don't call `done', exit does it. | |
2697 | ||
a0f6b076 AD |
2698 | 2000-03-31 Akim Demaille <akim@epita.fr> |
2699 | ||
36281465 AD |
2700 | * allocate.c: s/return (foo)/return foo/. |
2701 | * lalr.c: Likewise. | |
2702 | * LR0.c: Likewise. | |
2703 | * output.c: Likewise. | |
2704 | * reader.c: Likewise. | |
2705 | * symtab.c: Likewise. | |
2706 | * vmsgetargs.c: Likewise. | |
2707 | ||
2708 | 2000-03-31 Akim Demaille <akim@epita.fr> | |
2709 | ||
2710 | Clean up the error reporting functions. | |
a0f6b076 AD |
2711 | |
2712 | * src/report.c: New file. | |
2713 | * src/report.h: Likewise. | |
2714 | * src/Makefile.am: Adjust. | |
2715 | * m4/error.m4: New file. | |
2716 | * m4/Makefile.am: Adjust. | |
2717 | * configure.in (jm_PREREQ_ERROR): Call it. | |
2718 | * src/main.c (int_to_string, banner, fatal_banner, warn_banner): | |
2719 | Remove. | |
2720 | (fatal, fatals): Remove. All callers use complain.c::fatal. | |
2721 | (warn, warni, warns, warnss, warnss): Remove. All callers use | |
2722 | complain.c::complain. | |
2723 | (toomany): Remove, use fatal instead. | |
2724 | * src/files.c (done): No argument, use complain_message_count. | |
2725 | * src/main.c (main): Register `done' to `atexit'. | |
2726 | ||
2727 | * src/getargs.c (usage): More `fputs', less `fprintf'. | |
2728 | ||
18539825 AD |
2729 | 2000-03-28 Akim Demaille <akim@epita.fr> |
2730 | ||
2731 | * lib/: New directory. | |
2732 | * Makefile.am (SUBDIRS): Adjust. | |
2733 | * configure.in: Adjust. | |
2734 | (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's | |
2735 | useless. | |
2736 | * src/alloca.c: Moved to lib/. | |
2737 | * src/getopt.c: Likewise. | |
2738 | * src/getopt1.c: Likewise. | |
2739 | * src/getopt.h: Likewise. | |
2740 | * src/ansi2knr.c: Likewise. | |
2741 | * src/ansi2knr.1: Likewise. | |
2742 | * src/Makefile.am: Adjust. | |
2743 | * lib/Makefile.am: New file. | |
2744 | ||
9f306f2a AD |
2745 | 2000-03-28 Akim Demaille <akim@epita.fr> |
2746 | ||
2747 | * src/getargs.c (usage): Refresh the help message. | |
2748 | ||
0ba347b6 AD |
2749 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2750 | ||
2751 | * src/getopt1.c: Updated from textutils 2.0e | |
2752 | * src/getopt.c: Likewise. | |
2753 | * src/getopt.h: Likewise. | |
2754 | ||
dbe7f271 AD |
2755 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2756 | ||
2757 | * src/Makefile.am (bison.simple): Fix the awk program: quote only | |
2758 | the file name, not the whole `#line LINE FILE'. | |
2759 | ||
75bbe78d AD |
2760 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2761 | ||
2762 | On syntax errors, report the token on which we choked. | |
2763 | ||
aa5fd0ee AD |
2764 | * src/bison.s1 (yyparse): In the label yyerrlab, when |
2765 | YYERROR_VERBOSE, add yychar in msg. | |
75bbe78d | 2766 | |
7b306f52 AD |
2767 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2768 | ||
aa5fd0ee | 2769 | * src/reader.c (copy_at): New function. |
7b306f52 AD |
2770 | (copy_guard): Use it. |
2771 | (copy_action): Use it. | |
2772 | ||
e87b5700 AD |
2773 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2774 | ||
2775 | Be kind to translators, save some useless translations. | |
2776 | ||
aa5fd0ee | 2777 | * src/main.c (banner): New function. |
e87b5700 AD |
2778 | (fatal_banner): Use it. |
2779 | (warn_banner): Use it. | |
2780 | ||
ae3c3164 AD |
2781 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2782 | ||
aa5fd0ee AD |
2783 | * src/reader.c (copy_definition): Use copy_string and |
2784 | copy_comment. Removed now unused `match', `ended', | |
2785 | `cplus_comment'. | |
ae3c3164 AD |
2786 | (copy_comment, copy_string): Moved, to be visible from |
2787 | copy_definition. | |
2788 | ||
4dc58e7c AD |
2789 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2790 | ||
aa5fd0ee AD |
2791 | * src/reader.c (copy_string): Declare `static inline'. No |
2792 | problems with inline, since it is checked by configure. | |
4dc58e7c AD |
2793 | (copy_comment): Likewise. |
2794 | ||
0a6384c4 AD |
2795 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2796 | ||
aa5fd0ee | 2797 | * src/reader.c (packsymbols): Formatting changes. |
0a6384c4 | 2798 | |
3cef001a AD |
2799 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2800 | ||
aa5fd0ee | 2801 | * src/reader.c (copy_comment): New function, factored out from: |
3cef001a AD |
2802 | (copy_action): Use it. Removed now unused `match', `ended', |
2803 | `cplus_comment'. | |
2804 | (copy_guard): Likewise. | |
2805 | ||
ca36d2ef AD |
2806 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2807 | ||
aa5fd0ee | 2808 | * src/reader.c (copy_string): New function, factored out from: |
ca36d2ef AD |
2809 | (copy_action): Use it. |
2810 | (copy_guard): Likewise. | |
2811 | ||
6666f98f AD |
2812 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2813 | ||
2814 | Change the handling of @s so that they behave exactly like $s. | |
2815 | There is now a pseudo variable @$ (readble and writable), location | |
2816 | of the lhs of the rule (by default ranging from the location of | |
2817 | the first symbol of the rhs, to the location of the last symbol, | |
2818 | or, if the rhs is empty, YYLLOC). | |
2819 | ||
2820 | * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of | |
2821 | yyval. | |
2822 | (yyparse): When providing a default semantic action, provide a | |
2823 | default location action. | |
2824 | (after the $): No longer change `*YYLSP', just stack YYLOC the | |
2825 | same way you stack YYVAL. | |
2826 | * src/reader.c (read_declarations): Use warns. | |
2827 | (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'. | |
2828 | (copy_action, case '@'): Likewise. | |
2829 | Use a standard error message, to save useless work from | |
2830 | translators. | |
2831 | ||
41aca2e0 AD |
2832 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2833 | ||
aa5fd0ee AD |
2834 | * src/bison.s1: Formatting and cosmetics changes. |
2835 | * src/reader.c: Likewise. | |
41aca2e0 AD |
2836 | Update the Copyright notice. |
2837 | ||
dc08c1d5 AD |
2838 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2839 | ||
aa5fd0ee AD |
2840 | * src/bison.s1 (#line): All set to `#line' only, since the |
2841 | Makefile now handles them. | |
dc08c1d5 | 2842 | |
9ee3c97b AD |
2843 | 2000-03-16 Akim Demaille <akim@epita.fr> |
2844 | ||
2845 | * src/output.c (output_rule_data): Output the documentation of | |
2846 | some of the tables. | |
2847 | (Copyright notice): Update. | |
2848 | Formatting changes. | |
2849 | ||
0de741ca AD |
2850 | 2000-03-16 Akim Demaille <akim@epita.fr> |
2851 | ||
2852 | * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to | |
2853 | remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough. | |
2854 | One `#if YYDEBUG' remains, since it uses variables which are | |
2855 | defined only if `YYDEBUG != 0'. | |
2856 | ||
bb10be54 AD |
2857 | 2000-03-16 Akim Demaille <akim@epita.fr> |
2858 | ||
2859 | * src/bison.s1 (yyparse): Reorganize the definitions of the stacks | |
2860 | and related variables so that the similarities are highlighted. | |
2861 | ||
b07b484a AD |
2862 | 2000-03-16 Akim Demaille <akim@epita.fr> |
2863 | ||
2864 | * src/bison.s1: Properly indent CPP directives. | |
2865 | ||
361f60b3 AD |
2866 | 2000-03-16 Akim Demaille <akim@epita.fr> |
2867 | ||
2868 | * src/bison.s1: Properly indent the `alloca' CPP section. | |
2869 | ||
8c44d3ec AD |
2870 | 2000-03-16 Akim Demaille <akim@epita.fr> |
2871 | ||
2872 | Do not hard code values of directories in `configure.in'. | |
2873 | Update the `configure' tool chain. | |
2874 | ||
2875 | * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by | |
2876 | src/makefile.am. | |
2877 | (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED. | |
2878 | (AC_OUTPUT): Add m4/Makefile. | |
2879 | Bump to bison 1.28a, 1.29 has never been released. | |
2880 | * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are | |
2881 | handled via src/Makefile.am. | |
2882 | (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS, | |
2883 | HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by | |
2884 | autoheader. | |
2885 | * Makefile.am (SUBDIRS): Add m4. | |
2886 | (ACLOCAL_AM_FLAGS): New variable. | |
2887 | (AUTOMAKE_OPTIONS): Add check-news. | |
2888 | * src/Makefile.am (bison.simple): Use awk to replace #line lines with | |
2889 | the proper line number and file name. | |
2890 | (DEFS): Propagate the location of bison library files and of the | |
2891 | locale files. | |
2892 | (INCLUDES): Added `-I ..' so that one can compile with srcdir != | |
2893 | builddir. | |
2894 | * acinclude.m4: Remove, replaced by the directory m4. | |
2895 | * m4/Makefile.am (EXTRA_DIST): New variable. | |
2896 | * m4/gettext.m4: New file, from the fileutils. | |
2897 | * m4/lcmessage.m4: Likewise | |
2898 | * m4/progtest.m4: Likewise. | |
2899 | * m4/bison-decl.m4: New file, extracted from former acinclude.m4. | |
2900 | ||
f95997e7 AD |
2901 | 2000-03-10 Akim Demaille <akim@epita.fr> |
2902 | ||
2903 | * src/closure.c: | |
2904 | Formatting changes of various comments. | |
2905 | Respect the GNU coding standards at various places. | |
2906 | Don't use `_()' when no translation is needed. | |
2907 | ||
2908 | 1999-12-13 Jesse Thilo <jthilo@gnu.org> | |
2909 | ||
2910 | * src/files.c: | |
2911 | OS/2 honors TMPDIR environment variable. | |
2912 | ||
2913 | 1999-12-13 Jesse Thilo <jthilo@gnu.org> | |
2914 | ||
2915 | * doc/bison.texinfo: Tweaked spelling and grammar. | |
2916 | Updated ISBN. | |
2917 | Removed reference to price of printed copy. | |
2918 | Mention BISON_SIMPLE and BISON_HAIRY. | |
2919 | ||
2920 | 1999-12-13 Jesse Thilo <jthilo@gnu.org> | |
2921 | ||
2922 | * configure.in, NEWS: | |
2923 | Bison 1.29 released. | |
2924 | ||
2925 | 1999-10-27 Jesse Thilo <jthilo@gnu.org> | |
2926 | ||
2927 | * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex: | |
2928 | Added reference card. | |
2929 | ||
2930 | 1999-07-26 Jesse Thilo <jthilo@gnu.org> | |
2931 | ||
2932 | * po/ru.po: Added Russian translation. | |
2933 | ||
2934 | 1999-07-26 Jesse Thilo <jthilo@gnu.org> | |
2935 | ||
2936 | * configure.in: Added Russian translation. | |
2937 | ||
2938 | 1999-07-06 Jesse Thilo <jthilo@gnu.org> | |
2939 | ||
2940 | * configure.in, NEWS, README: | |
2941 | Released version 1.28. | |
2942 | ||
2943 | 1999-06-14 Jesse Thilo <jthilo@gnu.org> | |
2944 | ||
2945 | * src/system.h: | |
2946 | Squashed redefinition warning on some systems. | |
2947 | ||
2948 | * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c: | |
2949 | Have configure build version string instead of relying on ANSI string | |
2950 | concatentation. | |
2951 | ||
2952 | 1999-06-14 Jesse Thilo <jthilo@gnu.org> | |
2953 | ||
2954 | * po/POTFILES.in: Got rid of version.c. | |
2955 | ||
2956 | 1999-06-14 Jesse Thilo <jthilo@gnu.org> | |
2957 | ||
2958 | * acconfig.h, configure.in: | |
2959 | Have configure build version string instead of relying on ANSI string | |
2960 | concatentation. | |
2961 | ||
2962 | 1999-06-08 Jesse Thilo <jthilo@gnu.org> | |
2963 | ||
2964 | * doc/bison.1: | |
2965 | Dropped mention of `+' for long-named options. | |
2966 | ||
2967 | 1999-05-30 Jesse Thilo <jthilo@gnu.org> | |
2968 | ||
2969 | * src/files.c: Added <unistd.h> for unlink(). | |
2970 | ||
2971 | * src/Makefile.am, src/system.h: | |
2972 | I18n fixes. | |
2973 | ||
2974 | 1999-05-30 Jesse Thilo <jthilo@gnu.org> | |
2975 | ||
2976 | * README: Added a FAQ list. | |
2977 | ||
2978 | * configure.in, acconfig.h: | |
2979 | I18n fixes. | |
2980 | ||
2981 | 1999-05-30 Jesse Thilo <jthilo@gnu.org> | |
2982 | ||
2983 | * doc/FAQ, doc/Makefile.am: | |
2984 | Added a FAQ list. | |
2985 | ||
2986 | 1999-05-19 Jesse Thilo <jthilo@gnu.org> | |
2987 | ||
2988 | * src/alloc.h, src/symtab.h, src/version.c: | |
2989 | Protected inclusion of "config.h" with HAVE_CONFIG_H. | |
2990 | ||
2991 | 1999-04-18 Jesse Thilo <jthilo@gnu.org> | |
2992 | ||
2993 | * src/.cvsignore, src/Makefile.am: | |
2994 | Reorganized: sources in `src', documentation in `doc'. | |
2995 | ||
2996 | * src/lex.c (literalchar): | |
2997 | fixed the code for escaping double quotes (thanks | |
2998 | Jonathan Czisny.) | |
2999 | ||
3000 | 1999-04-18 Jesse Thilo <jthilo@gnu.org> | |
3001 | ||
3002 | * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in: | |
3003 | Adjusted paths to reflect directory reorganization. | |
3004 | ||
3005 | 1999-04-18 Jesse Thilo <jthilo@gnu.org> | |
3006 | ||
3007 | * doc/.cvsignore, doc/Makefile.am: | |
3008 | Reorganized: sources in `src', documentation in `doc'. | |
3009 | ||
3010 | 1999-04-18 Jesse Thilo <jthilo@gnu.org> | |
3011 | ||
3012 | * configure.in: | |
3013 | Updated AC_INIT file to reflect directory reorganization. | |
3014 | ||
3015 | * configure.in, .cvsignore, Makefile.am, POTFILES.in: | |
3016 | Reorganized: sources in `src', documentation in `doc'. | |
3017 | ||
3018 | 1999-04-13 Jesse Thilo <jthilo@gnu.org> | |
3019 | ||
3020 | * src/allocate.c: | |
3021 | Don't declare calloc() and realloc() if not necessary. | |
3022 | ||
3023 | 1999-04-13 Jesse Thilo <jthilo@gnu.org> | |
3024 | ||
3025 | * configure.in, acconfig.h, acinclude.m4: | |
3026 | Don't declare calloc() and realloc() if not necessary. | |
3027 | ||
3028 | 1999-03-23 Jesse Thilo <jthilo@gnu.org> | |
3029 | ||
3030 | * po/.cvsignore: Added i18n support. | |
3031 | ||
3032 | 1999-03-23 Jesse Thilo <jthilo@gnu.org> | |
3033 | ||
3034 | * acconfig.h, configure.in, Makefile.am: | |
3035 | Added i18n support. | |
3036 | ||
3037 | 1999-03-22 Jesse Thilo <jthilo@gnu.org> | |
3038 | ||
3039 | * src/bison.s1: Fixed #line numbers. | |
3040 | ||
3041 | 1999-03-15 Jesse Thilo <jthilo@gnu.org> | |
3042 | ||
3043 | * po/es.po, po/fr.po, po/nl.po, po/de.po: | |
3044 | Added PO files from Translation Project. | |
3045 | ||
3046 | 1999-03-03 Jesse Thilo <jthilo@gnu.org> | |
3047 | ||
3048 | * Makefile.am: | |
3049 | Added support for non-ANSI compilers (ansi2knr). | |
3050 | ||
3051 | 1999-02-16 Jesse Thilo <jthilo@gnu.org> | |
3052 | ||
3053 | * configure.in: Bumped version number to 1.27. | |
3054 | ||
3055 | * Makefile.am: | |
3056 | Added `bison.simple' to list of files removed by `make distclean'. | |
3057 | ||
3058 | 1999-02-12 Jesse Thilo <jthilo@gnu.org> | |
3059 | ||
3060 | * src/files.c, src/files.h: | |
3061 | Defined locations of parser files in config.h instead of Makefile. | |
3062 | ||
3063 | 1999-02-12 Jesse Thilo <jthilo@gnu.org> | |
3064 | ||
3065 | * acconfig.h, acinclude.m4, configure.in, Makefile.am: | |
3066 | Defined locations of parser files in config.h instead of Makefile. | |
3067 | ||
3068 | 1999-02-09 Jesse Thilo <jthilo@gnu.org> | |
3069 | ||
3070 | * Makefile.am: | |
3071 | Removed inappropriate use of $< macro. | |
3072 | ||
3073 | 1999-02-05 Jesse Thilo <jthilo@gnu.org> | |
3074 | ||
3075 | * po/Makefile.in.in, po/POTFILES.in: | |
3076 | Add `po' directory skeleton. | |
3077 | ||
3078 | 1999-01-27 Jesse Thilo <jthilo@gnu.org> | |
3079 | ||
3080 | * README: Document help-bison list. | |
3081 | ||
3082 | * configure.in: Add check for mkstemp(). | |
3083 | ||
3084 | 1999-01-20 Jesse Thilo <jthilo@gnu.org> | |
3085 | ||
3086 | * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c: | |
3087 | Hush a few compiler warnings. | |
3088 | ||
3089 | * src/files.c: | |
3090 | Add tryclose(), which verifies that fclose was successful. | |
3091 | Hush a couple of compiler warnings. | |
3092 | ||
3093 | 1999-01-20 Jesse Thilo <jthilo@gnu.org> | |
3094 | ||
3095 | * Makefile.am, OChangeLog: | |
3096 | ChangeLog is now automatically generated. Include the old version as | |
3097 | OChangeLog. | |
3098 | ||
3099 | 1999-01-14 Jesse Thilo <jthilo@gnu.org> | |
3100 | ||
3101 | * src/gram.h, src/lalr.c, src/lex.c, src/lex.h, src/machine.h, src/main.c, src/nullable.c, src/output.c, src/print.c, src/reader.c, src/reduce.c, src/state.h, src/symtab.c, src/symtab.h, src/types.h, src/vmsgetargs.c, src/warshall.c, src/allocate.c, src/alloc.h, src/bison.s1, src/closure.c, src/conflicts.c, src/derives.c, src/files.c, src/files.h, src/getargs.c, src/gram.c, src/LR0.c: | |
3102 | Update FSF address. | |
3103 | ||
3104 | 1999-01-14 Jesse Thilo <jthilo@gnu.org> | |
3105 | ||
3106 | * doc/bison.texinfo: Fix formatting glitch. | |
3107 | ||
3108 | * doc/bison.texinfo: Update FSF address. | |
3109 | ||
3110 | 1999-01-14 Jesse Thilo <jthilo@gnu.org> | |
3111 | ||
3112 | * acconfig.h: Update FSF address. | |
3113 | ||
3114 | 1999-01-08 Jesse Thilo <jthilo@gnu.org> | |
3115 | ||
3116 | * src/system.h: | |
3117 | Don't define PACKAGE here, since config.h defines it. | |
3118 | ||
3119 | 1998-12-30 Jesse Thilo <jthilo@gnu.org> | |
3120 | ||
3121 | * src/reader.c: Update copyright date. | |
3122 | ||
3123 | * src/main.c: | |
3124 | Ditch sprintf to statically-sized buffers in fatal/warn functions in | |
3125 | favor of output directly to stderr (avoids buffer overruns). | |
3126 | ||
3127 | * src/reader.c: Some checks for premature EOF. | |
3128 | ||
3129 | * src/allocate.c, src/alloc.h, src/closure.c, src/conflicts.c, src/derives.c, src/getargs.c, src/gram.c, src/lalr.c, src/lex.c, src/LR0.c, src/main.c, src/nullable.c, src/output.c, src/print.c, src/reduce.c, src/symtab.c, src/symtab.h, src/warshall.c: | |
3130 | Use prototypes if the compiler understands them. | |
3131 | ||
3132 | * src/files.c: Honor TMPDIR on Unix hosts. | |
3133 | Use prototypes if the compiler understands them. | |
3134 | ||
3135 | * src/reader.c: | |
3136 | Fix a couple of buffer overrun bugs. | |
3137 | Use prototypes if the compiler understands them. | |
3138 | ||
3139 | * src/system.h: Include unistd.h and ctype.h. | |
3140 | Use #ifdef instead of #if for NLS symbols. | |
3141 | ||
3142 | 1998-12-30 Jesse Thilo <jthilo@gnu.org> | |
3143 | ||
3144 | * doc/bison.texinfo: | |
3145 | Delete comment "consider using @set for edition number, etc..." since | |
3146 | we now are doing so. | |
3147 | ||
3148 | 1998-12-30 Jesse Thilo <jthilo@gnu.org> | |
3149 | ||
3150 | * configure.in: | |
3151 | Use prototypes if the compiler understands them. | |
3152 | ||
3153 | * NEWS: Document 1.26 highlights. | |
3154 | ||
3155 | * Makefile.am: Require Automake 1.3 or later. | |
3156 | ||
3157 | * acconfig.h: | |
3158 | Use prototypes if the compiler understands them. | |
3159 | ||
3160 | 1998-12-29 Jesse Thilo <jthilo@gnu.org> | |
3161 | ||
3162 | * src/version.c: | |
3163 | Use VERSION symbol from automake for version number. | |
3164 | ||
3165 | 1998-12-29 Jesse Thilo <jthilo@gnu.org> | |
3166 | ||
3167 | * acconfig.h, configure.in, version.cin: | |
3168 | Use VERSION symbol from automake for version number. | |
3169 | ||
3170 | 1998-11-28 Jesse Thilo <jthilo@gnu.org> | |
3171 | ||
3172 | * Makefile.am: | |
3173 | Distribute original version of simple parser (bison.s1), not built | |
3174 | version (bison.simple). | |
3175 | ||
3176 | 1998-11-28 Jesse Thilo <jthilo@gnu.org> | |
3177 | ||
3178 | * doc/bison.texinfo: Add info dir entry. | |
3179 | ||
3180 | * doc/bison.texinfo: | |
3181 | Let automake put version number into documentation. | |
3182 | ||
3183 | 1998-11-26 Jesse Thilo <jthilo@gnu.org> | |
3184 | ||
3185 | * src/bison.cld, src/build.com, src/vmshlp.mar: | |
3186 | Add non-RCS files from /gd/gnu/bison. | |
3187 | ||
3188 | 1998-11-26 Jesse Thilo <jthilo@gnu.org> | |
3189 | ||
3190 | * doc/bison.1: | |
3191 | Document the BISON_HAIRY and BISON_SIMPLE variables. | |
3192 | ||
3193 | 1998-11-25 Jesse Thilo <jthilo@gnu.org> | |
3194 | ||
3195 | * src/version.c: Build version.c automatically. | |
3196 | ||
3197 | * src/reader.c: | |
3198 | Fix token numbering (used to start at 258, not 257). | |
3199 | ||
3200 | * src/system.h: Include config.h. | |
3201 | ||
3202 | * src/getargs.c: Update bug report address. | |
3203 | ||
3204 | * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h: | |
3205 | Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org. | |
3206 | ||
3207 | 1998-11-25 Jesse Thilo <jthilo@gnu.org> | |
3208 | ||
3209 | * Makefile.am: | |
3210 | Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1). | |
3211 | ||
3212 | * configure.in, version.cin: | |
3213 | Build version.c automatically. | |
3214 | ||
3215 | * AUTHORS: Add AUTHORS file. | |
3216 | ||
3217 | * README: Update bug report address. | |
3218 | ||
3219 | * bison.simple: | |
3220 | Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1). | |
3221 | ||
3222 | * configure.in, Makefile.am, Makefile.in, stamp-h.in: | |
3223 | Add automake stuff. | |
3224 | ||
3225 | 1998-11-25 Jesse Thilo <jthilo@gnu.org> | |
3226 | ||
3227 | * doc/bison.texinfo: Clean up some formatting. | |
3228 | ||
3229 | 1998-05-05 Richard Stallman <rms@gnu.org> | |
3230 | ||
3231 | * doc/bison.texinfo: | |
3232 | Explain better why to make a pure parser. | |
3233 | ||
3234 | 1998-01-05 Richard Stallman <rms@gnu.org> | |
3235 | ||
3236 | * src/files.c (openfiles): | |
3237 | [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to | |
3238 | find a temporary directory, if possible. Do not unlink files while | |
3239 | they are open. | |
3240 | ||
3241 | 1997-08-25 Richard Stallman <rms@gnu.org> | |
3242 | ||
3243 | * src/reader.c (stack_offset;): | |
3244 | Change some warni to warns. | |
3245 | ||
3246 | * src/lex.c (literalchar): Use warns, not warni. | |
3247 | ||
3248 | 1997-06-28 Richard Stallman <rms@gnu.org> | |
3249 | ||
3250 | * src/bison.s1: Add a Bison version comment. | |
3251 | ||
3252 | * src/main.c (fatal, warn, berror): | |
3253 | Use program_name. | |
3254 | ||
3255 | 1997-06-28 Richard Stallman <rms@gnu.org> | |
3256 | ||
3257 | * Makefile.in (bison_version): New variable. | |
3258 | (dist): Use that variable. | |
3259 | (bison.s1): Substitute the Bison version into bison.simple. | |
3260 | ||
3261 | * bison.simple: Add a Bison version comment. | |
3262 | ||
3263 | 1997-06-18 Richard Stallman <rms@gnu.org> | |
3264 | ||
3265 | * src/main.c (fatal, warn, berror): | |
3266 | Make error messages standard. | |
3267 | (toomany): Improve error message text. | |
3268 | ||
3269 | * src/LR0.c, src/closure.c, src/conflicts.c, src/derives.c, src/files.c, src/lalr.c, src/lex.c, src/nullable.c, src/output.c, src/print.c, src/reader.c, src/reduce.c, src/symtab.c: | |
3270 | new.h renamed to alloc.h. | |
3271 | ||
3272 | 1997-06-18 Richard Stallman <rms@gnu.org> | |
3273 | ||
3274 | * Makefile.in: new.h renamed to alloc.h. | |
3275 | ||
3276 | 1997-05-24 Richard Stallman <rms@gnu.org> | |
3277 | ||
3278 | * src/lex.c (literalchar): | |
3279 | Fix the code for escaping \, " and '. | |
3280 | ||
3281 | (lex): Avoid trouble when there are many chars | |
3282 | to discard in a char literal with just several chars in it. | |
3283 | ||
3284 | 1997-05-17 Richard Stallman <rms@gnu.org> | |
3285 | ||
3286 | * src/bison.s1: | |
3287 | Use malloc, if using alloca is troublesome. | |
3288 | (YYSTACK_USE_ALLOCA): New flag macro. | |
3289 | Define it for some systems and compilers. | |
3290 | (YYSTACK_ALLOC): New macro. | |
3291 | (yyparse): Use YYSTACK_ALLOC to allocate stack. | |
3292 | If it was malloc'd, free it. | |
3293 | ||
3294 | 1997-05-17 Richard Stallman <rms@gnu.org> | |
3295 | ||
3296 | * bison.simple: | |
3297 | Use malloc, if using alloca is troublesome. | |
3298 | (YYSTACK_USE_ALLOCA): New flag macro. | |
3299 | Define it for some systems and compilers. | |
3300 | (YYSTACK_ALLOC): New macro. | |
3301 | (yyparse): Use YYSTACK_ALLOC to allocate stack. | |
3302 | If it was malloc'd, free it. | |
3303 | ||
3304 | 1997-04-23 Richard Stallman <rms@gnu.org> | |
3305 | ||
3306 | * src/bison.s1: | |
3307 | (alloca) [__hpux]: Always define as __builtin_alloca. | |
3308 | ||
3309 | 1997-04-23 Richard Stallman <rms@gnu.org> | |
3310 | ||
3311 | * bison.simple: | |
3312 | (alloca) [__hpux]: Always define as __builtin_alloca. | |
3313 | ||
3314 | 1997-04-22 Richard Stallman <rms@gnu.org> | |
3315 | ||
3316 | * src/bison.s1: | |
3317 | [__hpux]: Include alloca.h (right for HPUX 10) | |
3318 | instead of declaring alloca (right for HPUX 9). | |
3319 | ||
3320 | * src/bison.s1 (__yy_memcpy): | |
3321 | Declare arg `count' as unsigned int. | |
3322 | (yyparse): Cast third arg to __yy_memcpy to unsigned int. | |
3323 | ||
3324 | 1997-04-22 Richard Stallman <rms@gnu.org> | |
3325 | ||
3326 | * bison.simple: | |
3327 | [__hpux]: Include alloca.h (right for HPUX 10) | |
3328 | instead of declaring alloca (right for HPUX 9). | |
3329 | ||
3330 | * bison.simple (__yy_memcpy): | |
3331 | Declare arg `count' as unsigned int. | |
3332 | (yyparse): Cast third arg to __yy_memcpy to unsigned int. | |
3333 | ||
3334 | 1997-01-03 Richard Stallman <rms@gnu.org> | |
3335 | ||
3336 | * src/allocate.c: [__STDC__ or _MSC_VER]: | |
3337 | Declare calloc and realloc to return void *. | |
3338 | ||
3339 | 1997-01-02 Richard Stallman <rms@gnu.org> | |
3340 | ||
3341 | * src/system.h: | |
3342 | [_MSC_VER]: Include stdlib.h and process.h. | |
3343 | [_MSC_VER] (getpid): Define as macro--translate it to _getpid. | |
3344 | ||
3345 | * src/main.c (main): Return FAILURE as a value. | |
3346 | (printable_version): Declare arg as int, not char. | |
3347 | ||
3348 | 1997-01-02 Richard Stallman <rms@gnu.org> | |
3349 | ||
3350 | * Makefile.in (dist): | |
3351 | Explicitly check for symlinks, and copy them. | |
3352 | ||
3353 | 1996-12-19 Richard Stallman <rms@gnu.org> | |
3354 | ||
3355 | * src/files.c: | |
3356 | [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined. | |
3357 | ||
3358 | 1996-12-18 Paul Eggert <eggert@gnu.org> | |
3359 | ||
3360 | * src/bison.s1 (yyparse): | |
3361 | If __GNUC__ and YYPARSE_PARAM are both defined, | |
3362 | declare yyparse to have a void * argument. | |
3363 | ||
3364 | 1996-12-18 Paul Eggert <eggert@gnu.org> | |
3365 | ||
3366 | * bison.simple (yyparse): | |
3367 | If __GNUC__ and YYPARSE_PARAM are both defined, | |
3368 | declare yyparse to have a void * argument. | |
3369 | ||
3370 | 1996-12-17 Richard Stallman <rms@gnu.org> | |
3371 | ||
3372 | * src/reduce.c (nbits): Add some casts. | |
3373 | ||
3374 | 1996-08-12 Richard Stallman <rms@gnu.org> | |
3375 | ||
3376 | * src/bison.s1: Test _MSDOS as well as _MSDOS_. | |
3377 | ||
3378 | 1996-08-12 Richard Stallman <rms@gnu.org> | |
3379 | ||
3380 | * bison.simple: Test _MSDOS as well as _MSDOS_. | |
3381 | ||
3382 | 1996-07-31 Richard Stallman <rms@gnu.org> | |
3383 | ||
3384 | * src/bison.s1: | |
3385 | [__sun && __i386]: Include alloca.h. | |
3386 | ||
3387 | 1996-07-31 Richard Stallman <rms@gnu.org> | |
3388 | ||
3389 | * bison.simple: | |
3390 | [__sun && __i386]: Include alloca.h. | |
3391 | ||
3392 | 1996-07-30 Richard Stallman <rms@gnu.org> | |
3393 | ||
3394 | * src/bison.s1: Comment change. | |
3395 | ||
3396 | * src/bison.s1: Test _MSDOS_, not MSDOS. | |
3397 | ||
3398 | 1996-07-30 Richard Stallman <rms@gnu.org> | |
3399 | ||
3400 | * bison.simple: Comment change. | |
3401 | ||
3402 | * bison.simple: Test _MSDOS_, not MSDOS. | |
3403 | ||
3404 | 1996-06-01 Richard Stallman <rms@gnu.org> | |
3405 | ||
3406 | * src/reduce.c, src/reader.c, src/print.c, src/output.c, src/nullable.c, src/lex.c, src/lalr.c, src/getargs.c, src/derives.c, src/conflicts.c, src/closure.c, src/allocate.c: | |
3407 | Insert `_' macro around many string constants. | |
3408 | ||
3409 | * src/main.c: | |
3410 | Insert `_' macro around many string constants. | |
3411 | ||
3412 | (main): Call setlocale, bindtextdomain and textdomain. | |
3413 | ||
3414 | * src/system.h: [HAVE_LOCALE_H]: Include locale.h. | |
3415 | [! HAVE_LOCALE_H] (setlocale): Define as no-op. | |
3416 | [ENABLE_NLS]: Include libintl.h. | |
3417 | [ENABLE_NLS] (gettext): Define. | |
3418 | [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions. | |
3419 | (N_, PACKAGE, LOCALEDIR): New macros. | |
3420 | ||
3421 | 1996-06-01 Richard Stallman <rms@gnu.org> | |
3422 | ||
3423 | * POTFILES.in: New file. | |
3424 | ||
3425 | * Makefile.in (allocate.o): | |
3426 | Define target explicitly. | |
3427 | ||
3428 | * Makefile.in (CFLAGS): Set to @CFLAGS@. | |
3429 | (LDFLAGS): Set to @LDFLAGS@. | |
3430 | (configure): Run autoconf only if preceding `cd' succeeds. | |
3431 | (bison.s1): Redirect output to temporary file then move the | |
3432 | temporary to the target, rather than redirecting directly to bison.s1. | |
3433 | (clean): Remove config.status and config.log. | |
3434 | (distclean): Don't remove config.status here. | |
3435 | ||
3436 | 1996-05-12 Richard Stallman <rms@gnu.org> | |
3437 | ||
3438 | * src/bison.s1: | |
3439 | (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t. | |
3440 | ||
3441 | 1996-05-12 Richard Stallman <rms@gnu.org> | |
3442 | ||
3443 | * bison.simple: | |
3444 | (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t. | |
3445 | ||
3446 | 1996-05-11 Richard Stallman <rms@gnu.org> | |
3447 | ||
3448 | * src/bison.s1 (__yy_memcpy): | |
3449 | Really reorder the args, as was supposedly done on Feb 14 1995. | |
3450 | (yyparse): Calls changed accordingly. | |
3451 | ||
3452 | 1996-05-11 Richard Stallman <rms@gnu.org> | |
3453 | ||
3454 | * Makefile.in (dist): Don't use $(srcdir). | |
3455 | ||
3456 | * bison.simple (__yy_memcpy): | |
3457 | Really reorder the args, as was supposedly done on Feb 14 1995. | |
3458 | (yyparse): Calls changed accordingly. | |
3459 | ||
3460 | 1996-01-27 Richard Stallman <rms@gnu.org> | |
3461 | ||
3462 | * src/output.c (output_rule_data): | |
3463 | Test YYERROR_VERBOSE in the conditional | |
3464 | around the definition of ttyname. | |
3465 | ||
3466 | 1995-12-29 Richard Stallman <rms@gnu.org> | |
3467 | ||
3468 | * src/bison.s1: | |
3469 | Fix line numbers in #line commands. | |
3470 | ||
3471 | 1995-12-29 Richard Stallman <rms@gnu.org> | |
3472 | ||
3473 | * bison.simple: | |
3474 | Fix line numbers in #line commands. | |
3475 | ||
3476 | 1995-12-27 Richard Stallman <rms@gnu.org> | |
3477 | ||
3478 | * src/bison.s1 (YYPARSE_PARAM_DECL): | |
3479 | In C++, make it always null. | |
3480 | (YYPARSE_PARAM_ARG): New macro. | |
3481 | (yyparse): Use YYPARSE_PARAM_ARG. | |
3482 | ||
3483 | 1995-12-27 Richard Stallman <rms@gnu.org> | |
3484 | ||
3485 | * bison.simple (YYPARSE_PARAM_DECL): | |
3486 | In C++, make it always null. | |
3487 | (YYPARSE_PARAM_ARG): New macro. | |
3488 | (yyparse): Use YYPARSE_PARAM_ARG. | |
3489 | ||
3490 | 1995-11-29 Richard Stallman <rms@gnu.org> | |
3491 | ||
3492 | * doc/bison.texinfo: | |
3493 | Describe literal string tokens, %raw, %no_lines, %token_table. | |
3494 | ||
3495 | 1995-11-29 Daniel Hagerty <hag@gnu.org> | |
3496 | ||
3497 | * doc/bison.texinfo: Fixed update date | |
3498 | ||
3499 | 1995-10-16 Richard Stallman <rms@gnu.org> | |
3500 | ||
3501 | * src/version.c: Version 1.25. | |
3502 | ||
3503 | 1995-10-16 Richard Stallman <rms@gnu.org> | |
3504 | ||
3505 | * NEWS: *** empty log message *** | |
3506 | ||
3507 | 1995-10-16 Richard Stallman <rms@gnu.org> | |
3508 | ||
3509 | * doc/bison.1, doc/bison.rnh: | |
3510 | Add new options. | |
3511 | ||
3512 | 1995-10-15 Richard Stallman <rms@gnu.org> | |
3513 | ||
3514 | * src/vmsgetargs.c, src/getargs.c: | |
3515 | Added -n, -k, and -raw switches. | |
3516 | (noparserflag, toknumflag, rawtoknumflag): New variables. | |
3517 | ||
3518 | * src/symtab.h (SALIAS): | |
3519 | New #define for adding aliases to %token. | |
3520 | (struct bucket): Added `alias' field. | |
3521 | ||
3522 | * src/reduce.c (reduce_grammar): | |
3523 | Revise error message. | |
3524 | (print_notices): Remove final `.' from error message. | |
3525 | ||
3526 | * src/reader.c (reader_output_yylsp): | |
3527 | New function. | |
3528 | (readgram): Use `#if 0' around code that accepted %command | |
3529 | inside grammar rules: The documentation doesn't allow it, | |
3530 | and it will fail since the %command processors scan for the next %. | |
3531 | (parse_token_decl): Extended the %token | |
3532 | declaration to allow a multi-character symbol as an alias. | |
3533 | (parse_thong_decl): New function. | |
3534 | (read_declarations): Added %thong declarations. | |
3535 | (read_declarations): Handle NOOP to deal with allowing | |
3536 | % declarations as another means to specify the flags. | |
3537 | (readgram): Allow %prec prior to semantics embedded in a rule. | |
3538 | (skip_to_char, read_declarations, copy_definition) | |
3539 | (parse_token_decl, parse_start_decl, parse_type_decl) | |
3540 | (parse_assoc_decl, parse_union_decl, parse_expect_decl) | |
3541 | (get_type_name, copy_guard, copy_action, readgram) | |
3542 | (get_type, packsymbols): Revised most error messages. | |
3543 | Changed `fatal' to `warnxxx' to avoid aborting for error. | |
3544 | Revised and use multiple warnxxx functions to avoid using VARARGS1. | |
3545 | (read_declarations): Improve the error message for | |
3546 | an invalid character. Do not abort. | |
3547 | (read_declarations, copy_guard, copy_action): Use | |
3548 | printable_version to avoid unprintable characters in printed output. | |
3549 | (parse_expect_decl): Error if argument to %expect exceeds 10 digits. | |
3550 | (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type): | |
3551 | Allow the type of a non-terminal can be given | |
3552 | more than once, as long as all specifications give the same type. | |
3553 | ||
3554 | * src/output.c: | |
3555 | (output_headers, output_trailers, output, output_gram) | |
3556 | (output_rule_data): Implement noparserflag variable. | |
3557 | Implement toknumflag variable. | |
3558 | (output): Call reader_output_yylsp to output LTYPESTR. | |
3559 | ||
3560 | * src/main.c (main): | |
3561 | If reader sees an error, don't process the grammar. | |
3562 | (fatals): Updated to not use VARARGS1. | |
3563 | (printable_version, int_to_string, warn, warni, warns, warnss) | |
3564 | (warnsss): New error reporting functions. Avoid abort for error. | |
3565 | ||
3566 | * src/lex.h: | |
3567 | Added THONG and NOOP for alias processing. | |
3568 | Added SETOPT for the new code that allows setting options with %flags. | |
3569 | ||
3570 | * src/lex.c: | |
3571 | Include getopt.h. Add some extern decls. | |
3572 | (safegetc): New function to deal with EOF gracefully. | |
3573 | (literalchar); new function to deal with reading \ escapes. | |
3574 | (lex): Use literalchar. | |
3575 | (lex): Implemented "..." tokens. | |
3576 | (literalchar, lex, parse_percent_token): Made tokenbuffer | |
3577 | always contain the token. This includes growing the token | |
3578 | buffer while reading an integer. | |
3579 | (parse_percent_token): Replaced if-else statement with percent_table. | |
3580 | (parse_percent_token): Added % declarations as another | |
3581 | way to specify the flags -n, -l, and -r. Also added hooks for | |
3582 | -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires | |
3583 | major changes to files.c. | |
3584 | (lex) Retain in the incoming stream a character following | |
3585 | an incorrect '/'. | |
3586 | (skip_white_space, lex): Revised most error messages | |
3587 | and changed fatal to warn to avoid aborting. | |
3588 | (percent_table): Added %thong declarations. | |
3589 | ||
3590 | * src/gram.h: Comment changes. | |
3591 | ||
3592 | * src/files.c (openfiles, open_extra_files, done): | |
3593 | Add faction flag | |
3594 | and actfile file. Handle noparserflag. Both for -n switch. | |
3595 | ||
3596 | * src/conflicts.c (resolve_sr_conflict): | |
3597 | Remove use of alloca. | |
3598 | ||
3599 | 1995-06-01 Jim Meyering <meyering@gnu.org> | |
3600 | ||
3601 | * doc/bison.texinfo: *** empty log message *** | |
3602 | ||
3603 | 1995-05-06 Richard Stallman <rms@gnu.org> | |
3604 | ||
3605 | * src/bison.s1: Comment change. | |
3606 | ||
3607 | 1995-05-06 Richard Stallman <rms@gnu.org> | |
3608 | ||
3609 | * bison.simple: Comment change. | |
3610 | ||
3611 | 1995-05-03 Richard Stallman <rms@gnu.org> | |
3612 | ||
3613 | * src/version.c: Version now 1.24. | |
3614 | ||
3615 | * src/bison.s1: Change distribution terms. | |
3616 | ||
3617 | * src/version.c: Version now 1.23. | |
3618 | ||
3619 | 1995-05-03 Richard Stallman <rms@gnu.org> | |
3620 | ||
3621 | * doc/bison.texinfo: | |
3622 | Rewrite "Conditions for Using Bison". | |
3623 | Update version to 1.24. | |
3624 | ||
3625 | 1995-05-03 Richard Stallman <rms@gnu.org> | |
3626 | ||
3627 | * bison.simple: Change distribution terms. | |
3628 | ||
3629 | 1995-02-23 Richard Stallman <rms@gnu.org> | |
3630 | ||
3631 | * src/files.c: Test __VMS_POSIX as well as VMS. | |
3632 | ||
3633 | 1995-02-14 Jim Meyering <meyering@gnu.org> | |
3634 | ||
3635 | * src/bison.s1 (__yy_memcpy): | |
3636 | Renamed from __yy_bcopy to avoid | |
3637 | confusion. Reverse FROM and TO arguments to be consistent with | |
3638 | those of memcpy. | |
3639 | ||
3640 | 1995-02-14 Jim Meyering <meyering@gnu.org> | |
3641 | ||
3642 | * bison.simple (__yy_memcpy): | |
3643 | Renamed from __yy_bcopy to avoid | |
3644 | confusion. Reverse FROM and TO arguments to be consistent with | |
3645 | those of memcpy. | |
3646 | ||
3647 | 1994-11-10 David J. MacKenzie <djm@gnu.org> | |
3648 | ||
3649 | * NEWS: reformat | |
3650 | ||
3651 | * NEWS: New file. | |
3652 | ||
3653 | * Makefile.in (DISTFILES): Include NEWS. | |
3654 | ||
3655 | * Makefile.in (DISTFILES): | |
3656 | Include install-sh, not install.sh. | |
3657 | ||
3658 | * configure.in: Update to Autoconf v2 macro names. | |
3659 | ||
3660 | 1994-10-05 David J. MacKenzie <djm@gnu.org> | |
3661 | ||
3662 | * Makefile.in: fix typo | |
3663 | ||
3664 | * Makefile.in (prefix, exec_prefix): | |
3665 | Let configure set them. | |
3666 | ||
3667 | 1994-09-28 David J. MacKenzie <djm@gnu.org> | |
3668 | ||
3669 | * Makefile.in: Set datadir to $(prefix)/share. | |
3670 | ||
3671 | 1994-09-15 Richard Stallman <rms@gnu.org> | |
3672 | ||
3673 | * src/bison.s1: | |
3674 | Update copyright notice and GPL version. | |
3675 | ||
3676 | 1994-09-15 Richard Stallman <rms@gnu.org> | |
3677 | ||
3678 | * bison.simple: | |
3679 | Update copyright notice and GPL version. | |
3680 | ||
3681 | 1994-07-12 Richard Stallman <rms@gnu.org> | |
3682 | ||
3683 | * src/reduce.c, src/reader.c: | |
3684 | entered into RCS | |
3685 | ||
3686 | 1994-05-05 David J. MacKenzie <djm@gnu.org> | |
3687 | ||
3688 | * Makefile.in: entered into RCS | |
3689 | ||
3690 | 1994-03-26 Richard Stallman <rms@gnu.org> | |
3691 | ||
3692 | * src/bison.s1: entered into RCS | |
3693 | ||
3694 | 1994-03-26 Richard Stallman <rms@gnu.org> | |
3695 | ||
3696 | * bison.simple: entered into RCS | |
3697 | ||
3698 | 1994-03-25 Richard Stallman <rms@gnu.org> | |
3699 | ||
3700 | * src/main.c: entered into RCS | |
3701 | ||
3702 | 1994-03-24 Richard Stallman <rms@gnu.org> | |
3703 | ||
3704 | * src/conflicts.c: entered into RCS | |
3705 | ||
3706 | 1994-01-02 Richard Stallman <rms@gnu.org> | |
3707 | ||
3708 | * Makefile.in: *** empty log message *** | |
3709 | ||
3710 | 1993-11-21 Richard Stallman <rms@gnu.org> | |
3711 | ||
3712 | * src/bison.s1: *** empty log message *** | |
3713 | ||
3714 | 1993-11-21 Richard Stallman <rms@gnu.org> | |
3715 | ||
3716 | * doc/bison.texinfo: entered into RCS | |
3717 | ||
3718 | * doc/bison.texinfo: *** empty log message *** | |
3719 | ||
3720 | 1993-11-21 Richard Stallman <rms@gnu.org> | |
3721 | ||
3722 | * bison.simple: *** empty log message *** | |
3723 | ||
3724 | 1993-10-25 David J. MacKenzie <djm@gnu.org> | |
3725 | ||
3726 | * doc/bison.texinfo: *** empty log message *** | |
3727 | ||
3728 | 1993-10-19 Richard Stallman <rms@gnu.org> | |
3729 | ||
3730 | * src/bison.s1: *** empty log message *** | |
3731 | ||
3732 | 1993-10-19 Richard Stallman <rms@gnu.org> | |
3733 | ||
3734 | * bison.simple: *** empty log message *** | |
3735 | ||
3736 | 1993-10-14 Richard Stallman <rms@gnu.org> | |
3737 | ||
3738 | * src/bison.s1: *** empty log message *** | |
3739 | ||
3740 | 1993-10-14 Richard Stallman <rms@gnu.org> | |
3741 | ||
3742 | * bison.simple: *** empty log message *** | |
3743 | ||
3744 | 1993-09-14 David J. MacKenzie <djm@gnu.org> | |
3745 | ||
3746 | * doc/bison.texinfo: *** empty log message *** | |
3747 | ||
3748 | 1993-09-13 Noah Friedman <friedman@gnu.org> | |
3749 | ||
3750 | * Makefile.in: *** empty log message *** | |
3751 | ||
3752 | 1993-09-10 Richard Stallman <rms@gnu.org> | |
3753 | ||
3754 | * src/conflicts.c: *** empty log message *** | |
3755 | ||
3756 | * src/system.h: entered into RCS | |
3757 | ||
3758 | 1993-09-10 Richard Stallman <rms@gnu.org> | |
3759 | ||
3760 | * doc/bison.1: entered into RCS | |
3761 | ||
3762 | 1993-09-06 Noah Friedman <friedman@gnu.org> | |
3763 | ||
3764 | * src/version.c: entered into RCS | |
3765 | ||
3766 | 1993-09-06 Noah Friedman <friedman@gnu.org> | |
3767 | ||
3768 | * Makefile.in: *** empty log message *** | |
3769 | ||
3770 | 1993-07-30 David J. MacKenzie <djm@gnu.org> | |
3771 | ||
3772 | * Makefile.in: *** empty log message *** | |
3773 | ||
3774 | 1993-07-24 Richard Stallman <rms@gnu.org> | |
3775 | ||
3776 | * src/bison.s1: *** empty log message *** | |
3777 | ||
3778 | 1993-07-24 Richard Stallman <rms@gnu.org> | |
3779 | ||
3780 | * bison.simple: *** empty log message *** | |
3781 | ||
3782 | 1993-07-08 David J. MacKenzie <djm@gnu.org> | |
3783 | ||
3784 | * Makefile.in: *** empty log message *** | |
3785 | ||
3786 | 1993-07-04 Richard Stallman <rms@gnu.org> | |
3787 | ||
3788 | * src/bison.s1: *** empty log message *** | |
3789 | ||
3790 | 1993-07-04 Richard Stallman <rms@gnu.org> | |
3791 | ||
3792 | * bison.simple: *** empty log message *** | |
3793 | ||
3794 | 1993-06-26 David J. MacKenzie <djm@gnu.org> | |
3795 | ||
3796 | * src/getargs.c: entered into RCS | |
3797 | ||
3798 | 1993-06-26 David J. MacKenzie <djm@gnu.org> | |
3799 | ||
3800 | * doc/bison.texinfo: *** empty log message *** | |
3801 | ||
3802 | * doc/bison.1: New file. | |
3803 | ||
3804 | 1993-06-25 Richard Stallman <rms@gnu.org> | |
3805 | ||
3806 | * src/getargs.c: New file. | |
3807 | ||
3808 | 1993-06-16 Richard Stallman <rms@gnu.org> | |
3809 | ||
3810 | * src/bison.s1: *** empty log message *** | |
3811 | ||
3812 | 1993-06-16 Richard Stallman <rms@gnu.org> | |
3813 | ||
3814 | * bison.simple: *** empty log message *** | |
3815 | ||
3816 | 1993-06-03 Richard Stallman <rms@gnu.org> | |
3817 | ||
3818 | * src/bison.s1: New file. | |
3819 | ||
3820 | 1993-06-03 Richard Stallman <rms@gnu.org> | |
3821 | ||
3822 | * doc/bison.texinfo: *** empty log message *** | |
3823 | ||
3824 | 1993-06-03 Richard Stallman <rms@gnu.org> | |
3825 | ||
3826 | * bison.simple: New file. | |
3827 | ||
3828 | 1993-05-19 Richard Stallman <rms@gnu.org> | |
3829 | ||
3830 | * doc/bison.texinfo: New file. | |
3831 | ||
3832 | 1993-05-07 Noah Friedman <friedman@gnu.org> | |
3833 | ||
3834 | * Makefile.in: *** empty log message *** | |
3835 | ||
3836 | 1993-04-28 Noah Friedman <friedman@gnu.org> | |
3837 | ||
3838 | * src/reader.c: *** empty log message *** | |
3839 | ||
3840 | 1993-04-23 Noah Friedman <friedman@gnu.org> | |
3841 | ||
3842 | * src/alloc.h: entered into RCS | |
3843 | ||
3844 | 1993-04-20 David J. MacKenzie <djm@gnu.org> | |
3845 | ||
3846 | * src/version.c: *** empty log message *** | |
3847 | ||
3848 | * src/files.c, src/allocate.c: | |
3849 | entered into RCS | |
3850 | ||
3851 | * src/reader.c: *** empty log message *** | |
3852 | ||
3853 | * src/lex.c: entered into RCS | |
3854 | ||
3855 | * src/conflicts.c: New file. | |
3856 | ||
3857 | * src/symtab.c: entered into RCS | |
3858 | ||
3859 | * src/alloc.h: New file. | |
3860 | ||
3861 | * src/LR0.c: entered into RCS | |
3862 | ||
3863 | 1993-04-18 Noah Friedman <friedman@gnu.org> | |
3864 | ||
3865 | * src/reader.c: New file. | |
3866 | ||
3867 | * src/version.c: *** empty log message *** | |
3868 | ||
3869 | 1993-04-18 Noah Friedman <friedman@gnu.org> | |
3870 | ||
3871 | * Makefile.in: *** empty log message *** | |
3872 | ||
3873 | 1993-04-17 Noah Friedman <friedman@gnu.org> | |
3874 | ||
3875 | * Makefile.in: *** empty log message *** | |
3876 | ||
3877 | 1993-04-15 Richard Stallman <rms@gnu.org> | |
3878 | ||
3879 | * src/main.c, src/files.c: | |
3880 | New file. | |
3881 | ||
3882 | 1993-04-15 Noah Friedman <friedman@gnu.org> | |
3883 | ||
3884 | * configure.in: entered into RCS | |
3885 | ||
3886 | * configure.in: *** empty log message *** | |
3887 | ||
3888 | * configure.in: New file. | |
3889 | ||
3890 | 1993-04-14 Richard Stallman <rms@gnu.org> | |
3891 | ||
3892 | * Makefile.in: New file. | |
3893 | ||
3894 | 1993-04-13 Richard Stallman <rms@gnu.org> | |
3895 | ||
3896 | * src/version.c: New file. | |
3897 | ||
3898 | 1993-03-25 Richard Stallman <rms@gnu.org> | |
3899 | ||
3900 | * src/output.c: entered into RCS | |
3901 | ||
3902 | 1992-09-25 Richard Stallman <rms@gnu.org> | |
3903 | ||
3904 | * configure.bat: entered into RCS | |
3905 | ||
3906 | 1992-06-22 Richard Stallman <rms@gnu.org> | |
3907 | ||
3908 | * src/vmsgetargs.c: entered into RCS | |
3909 | ||
3910 | 1992-06-22 Richard Stallman <rms@gnu.org> | |
3911 | ||
3912 | * doc/bison.rnh: entered into RCS | |
3913 | ||
3914 | 1992-04-20 David J. MacKenzie <djm@gnu.org> | |
3915 | ||
3916 | * README: entered into RCS | |
3917 | ||
3918 | 1992-01-22 Richard Stallman <rms@gnu.org> | |
3919 | ||
3920 | * src/machine.h: entered into RCS | |
3921 | ||
3922 | 1991-12-21 Richard Stallman <rms@gnu.org> | |
3923 | ||
3924 | * src/lalr.c, src/closure.c: | |
3925 | entered into RCS | |
3926 | ||
3927 | 1991-12-20 Richard Stallman <rms@gnu.org> | |
3928 | ||
3929 | * src/state.h: entered into RCS | |
3930 | ||
3931 | 1991-12-18 Richard Stallman <rms@gnu.org> | |
3932 | ||
3933 | * src/print.c, src/nullable.c, src/derives.c: | |
3934 | entered into RCS | |
3935 | ||
3936 | 1991-11-03 David J. MacKenzie <djm@gnu.org> | |
3937 | ||
3938 | * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h: | |
3939 | entered into RCS | |
3940 | ||
3941 | 1988-09-09 Richard Stallman <rms@gnu.org> | |
3942 | ||
3943 | * src/bison.hairy: entered into RCS | |
3944 | ||
3945 | 1987-12-16 Richard Stallman <rms@gnu.org> | |
3946 | ||
3947 | * REFERENCES: entered into RCS |