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