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