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