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