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