]> git.saurik.com Git - bison.git/blame - ChangeLog
* src/reader.c: Include muscle_tab.h.
[bison.git] / ChangeLog
CommitLineData
11d82f03
MA
12001-09-02 Marc Autret <autret_m@epita.fr>
2
3 * src/reader.c: Include muscle_tab.h.
4 (parse_union_decl): Update.
5 (parse_macro_decl): Rename parse_muscle_decl.
6 Update to use renamed functions and variable.
7 (read_declarations, copy_action, read_additionnal_code, : Updated
8 with correct variables and functions names.
9 (packsymbols, reader): Likewise.
10
11 * src/reader.h (muscle_obstack): Extern declaration update.
12
13 * src/output.c: Include muscle_tab.h
14 In all functions using macro_insert, change by using muscle_insert ().
15 (macro_obstack): Rename muscle_obstack.
16 Echo modifications in the whole file.
17 (MACRO_INSERT_INT): Rename MUSCLE_INSERT_INT.
18 (MACRO_INSERT_STRING): Rename MUSCLE_INSERT_STRING.
19 (MACRO_INSERT_PREFIX): Rename MUSCLE_INSERT_PREFIX.
20
21 * src/muscle_tab.h: Update double inclusion macros.
22 (macro_entry_s): Rename muscle_entry_s.
23 Update prototypes.
24
25 * src/muscle_tab.c: Include muscle_tab.h.
26 Rename macro_tabble to muscle_table.
27 (mhash1, mhash2, mcmp): Use muscle_entry.
28 (macro_init): Rename muscle_init. Update.
29 (macro_insert): Rename muscle_insert. Update.
30 (macro_find): Rename muscle_find. Update.
31
32 * src/main.c: Include muscle_tab.h.
33 (main): Call muscle_init ().
34 * src/Makefile.am (bison_SOURCES): Echo modifications.
35
93a37297
MA
362001-09-02 Marc Autret <autret_m@epita.fr>
37
f753cd62
MA
38 Now the files macro_tab.[ch] are named muscle_tab.[ch].
39
40 * src/muscle_tab.c, src/muscle_tab.h: Add files.
41
422001-09-02 Marc Autret <autret_m@epita.fr>
43
44 * src/macrotab.c, src/macrotab.h: Remove.
93a37297 45
682d48cd
PB
462001-09-01 Pascal Bart <pascal.bart@epita.fr>
47
48 * src/reader.c (copy_guard): Use muscle to specify the `#line'
49 filename.
50
087c8fda
MA
512001-09-01 Marc Autret <autret_m@epita.fr>
52
53 * tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set
54 to an explicit value to activate the feature. We do it here.
55
dda680cb
PB
562001-08-31 Pascal Bart <pascal.bart@epita.fr>
57
58 * src/output.c (prepare): Delete the `filename' muscule insertion.
59 * src/reader.c (copy_action): Use `filename' muscule with `#line'.
60 (parse_union_decl): Likewise.
61 * src/macrotab.c (macro_init): Initialize filename by infile.
62
9e644e64
MA
632001-08-31 Marc Autret <autret_m@epita.fr>
64
65 * src/bison.simple (YYLSP_NEEDED): New definition.
66 * src/output.c (prepare): Add macro insertion of `locations_flag'
67
17da6427
PB
682001-08-31 Pascal Bart <pascal.bart@epita.fr>
69
70 * src/output.c (prepare): Delete insertion of previous muscles,
71 and insert the `prefix' muscles.
72 * src/macrotab.c (macro_init): Likewise.
73 (macro_init): Initialization prefix directive by `yy'.
74 * src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval,
75 %%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar,
76 yylval, yydebug, yyerror, yynerrs and yyparse.
77 New directive `#define' to substitute yydebug, ... with option
78 name_prefix.
79
e8cb70b9
PB
802001-08-31 Pascal Bart <pascal.bart@epita.fr>
81
82 * src/main.c (main): Standardize.
83 * src/output.c (output_table_data, output_parser): Likewise.
84 * src/macrotab.h, src/macrotab.c, src/bison.simple: Likewise.
85
63c2d5de
MA
862001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr>
87
88 * src/reader.c (read_additionnal_code): Rename %%user_code to
89 %%epilogue.
90 * src/output.c (output): Rename %%declarations to %%prologue.
91 * src/bison.simple: Echo modifications.
92
d8cb5183
MA
932001-08-31 Marc Autret <autret_m@epita.fr>
94
95 * src/reader.c (readgram): CleanUp.
96 (output_token_defines): Likewise.
97 (packsymbols): Likewise.
98 (reader): Likewise.
99 * src/output.c (output): CPP-out useless code.
100
6c686258
PB
1012001-08-31 Pascal Bart <pascal.bart@epita.fr>
102
103 * src/reader.c (reader): Delete obsolete call to function
104 output_trailers and output_headers.
105 * src/output.h: Remove obsolete functions prototypes of output_headers
106 and output_trailers.
107
8f451ef7
PB
1082001-08-30 Pascal Bart <pascal.bart@epita.fr>
109
110 * src/main.c: Include macrotab.h.
111 * src/macrotab.h (macro_entry_s): Constify fields.
112 Adjust functions prototypes.
113 * src/macrotab.c (macro_insert): Constify key and value.
114 (macro_find): Constify key.
115 (macro_insert): Include 'xalloc.h'
116 (macro_insert): Use XMALLOC.
117 (macro_find): Constify return value.
118 * src/output.c (output_table_data): Rename table to table_data.
119 (output_parser): Constify macro_key, macro_value.
120
997b6fd0 1212001-08-30 Marc Autret <autret_m@epita.fr>
2ba3b73c
MA
122
123 * src/reader.c (parse_skel_decl): New.
124 (read_declarations): Add case `tok_skel', call parse_skel_decl ().
125 * src/lex.h (token_t): New token `tok_skel'.
126 * src/lex.c (percent_table): Add skeleton option entry.
127 Standardize.
128
ff48177d
MA
1292001-08-29 Marc Autret <autret_m@epita.fr>
130
131 * src/bison.simple: Add %%user_code directive at the end.
132 * src/reader.c (read_additionnal_code): New.
133 (reader): Use it.
134 * src/output.c (output_program): Remove.
135 (output): Update.
136
b33160bf
MA
1372001-08-28 Marc Autret <autret_m@epita.fr>
138
139 * src/output.c (output_actions): Clean up.
4e5caae2 140 (output_gram): CPP-out useless code.
b33160bf
MA
141 * src/reader.c (reader): Clean up, CPP-out useless code.
142
d1a2daf7
PB
1432001-08-28 Pascal Bart <pascal.bart@epita.fr>
144
535c0e75
PB
145 * src/output.c (output): Copy attrs_obstack in the '%%definitions'
146 directive.
d1a2daf7
PB
147 * src/bison.simple: Add `%%definitions'.
148
2b763dfe
MA
1492001-08-28 Marc Autret <autret_m@epita.fr>
150
151 * config/depcomp: New file.
152
f1a87ef6
PE
1532001-08-27 Paul Eggert <eggert@twinsun.com>
154
155 * src/bison.simple (yyparse): Don't take the address of an
156 item before the start of an array, as that doesn't conform to
157 the C Standard.
158
82e236e2
RA
1592001-08-27 Robert Anisko <robert.anisko@epita.fr>
160
f1a87ef6 161 * src/output.c (output): Remove the initialization of the macro
82e236e2
RA
162 obstack. It was done too late here.
163
164 * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was
165 completely wrong.
166 (reader): Initialize the macro obstack here, since we need it to grow
167 '%define' directives.
168
169 * src/reader.h: Declare the macro obstack as extern.
170
b0cfa28a
RA
1712001-08-27 Robert Anisko <robert.anisko@epita.fr>
172
173 * src/output.c (output_parser): Fix. Store single '%' characters in
174 the output obstack instead of throwing them away.
175
6fc74234
AD
1762001-08-27 Akim Demaille <akim@epita.fr>
177
178 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
179
9c76d118
RA
1802001-08-25 Robert Anisko <robert.anisko@epita.fr>
181
182 * lib/Makefile.am: Adjust.
183
a8289c62
RA
1842001-08-25 Robert Anisko <robert.anisko@epita.fr>
185
186 * src/bison.simple: Update and add '%%' directives.
187
b6610515
RA
1882001-08-25 Robert Anisko <robert.anisko@epita.fr>
189
190 * src/reader.c (reader): Remove calls to 'output_headers' and
191 'output_trailers'. Remove some C output.
192 (readgram): Disable a piece of code that was writing a default
193 definition for 'YYSTYPE'.
194 (reader_output_yylsp): Remove.
195 (packsymbols): Output token defintions to a macro.
196 (copy_definition): Disable C output.
6fc74234 197
b6610515
RA
198 * src/reader.c (parse_macro_decl): New function used to parse macro
199 declarations.
200 (copy_string2): Put the body of copy_string into this new function.
201 Add a parameter to let the caller choose whether he wants to copy the
202 string delimiters or not.
203 (copy_string): Be a simple call to copy_string2 with the last argument
204 bound to true.
205 (read_declarations): Add case for macro definition.
206 (copy_identifier): New.
6fc74234 207 (parse_macro_decl): Read macro identifiers using copy_identifier
b6610515
RA
208 rather than lex.
209
26f609ff
RA
2102001-08-25 Robert Anisko <robert.anisko@epita.fr>
211
212 * src/output.c (prepare): Add prefixed names.
213 (output_parser): Output semantic actions.
214 (output_parser): Fix bug on '%%line' directives.
6fc74234 215
26f609ff
RA
216 * src/output.c (output_headers): Remove. The C code printed by this
217 function should now be in the skeletons.
218 (output_trailers): Remove.
219 (output): Disable call to 'reader_output_yylsp'.
220 (output_rule_data): Do not output tables to the table obstack.
221
222 * src/output.c: Remove some C dedicated output.
223 Improve the use of macro and output obstacks.
224 (output_defines): Remove.
6fc74234 225
26f609ff
RA
226 * src/output.c (output_token_translations): Associate 'translate'
227 table with a macro. No output to the table obstack.
228 (output_gram): Same for 'rhs' and 'prhs'.
229 (output_stos): Same for 'stos'.
230 (output_rule_data): Same for 'r1' and 'r2'.
231 (token_actions): Same for 'defact'.
232 (goto_actions): Same for 'defgoto'.
233 (output_base): Same for 'pact' and 'pgoto'.
234 (output_table): Same for 'table'.
235 (output_check): Same for 'check'.
6fc74234 236
26f609ff
RA
237 * src/output.c (output_table_data): New function.
238 (output_short_table): Remove.
239 (output_short_or_char_table): Remove.
6fc74234 240
26f609ff
RA
241 * src/output.c (output_parser): Replace most of the skeleton copy code
242 with something new. Skeletons are now processed character by character
243 rather than line by line, and Bison looks for '%%' macros. This is the
244 first step in making Bison's output process (a lot) more flexible.
245 (output_parser): Use the macro table.
246
6f43b113
RA
2472001-08-25 Robert Anisko <robert.anisko@epita.fr>
248
249 * src/main.c (main): Initialize the macro table.
250
dd3127cf
RA
2512001-08-25 Robert Anisko <robert.anisko@epita.fr>
252
253 * src/lex.c (percent_table): Add tok_define.
254 * src/lex.h: Add tok_define.
255
aa321494
RA
2562001-08-25 Robert Anisko <robert.anisko@epita.fr>
257
258 * src/macrotab.c: New file.
259 * src/macrotab.h: New file.
260 * src/Makefile.am: Update.
261
68bd3b6b
RA
2622001-08-25 Robert Anisko <robert.anisko@epita.fr>
263
264 * lib/hash.c: New file.
265 * lib/hash.h: New file.
266 * lib/Makefile.am: Update.
267
45f8dd1e
AD
2682001-08-15 Akim Demaille <akim@epita.fr>
269
270 Version 1.28c.
271
40a64a7a 2722001-08-15 Marc Autret <autret_m@epita.fr>
0b8afb77
AD
273
274 * src/reader.c (readgram): Indent output macro YYSTYPE.
275 (packsymbols): Likewise.
276 (output_token_defines): Likewise.
277 * src/files.c: Standardize.
278 (compute_header_macro): New.
279 (defines_obstack_save): New. Use compute_header_macro.
280 (output_files): Update. Use defines_obstack_save.
281
f9a8293a
AD
2822001-08-15 Akim Demaille <akim@epita.fr>
283
284 * doc/bison.texinfo (Table of Symbols): Document
285 YYSTACK_USE_ALLOCA.
286
150ca7a7
AD
2872001-08-15 Akim Demaille <akim@epita.fr>
288
289 * missing: Update from CVS Automake.
290 * config/config.guess, config/config.sub, config/texinfo.tex:
291 Update from gnu.org.
292
69b5cec4
AD
2932001-08-15 Akim Demaille <akim@epita.fr>
294
295 * Makefile.maint: Sync with CVS Autoconf.
296
f2b5126e
PB
2972001-08-14 Pascal Bart <pascal.bart@epita.fr>
298
69b5cec4 299 * doc/bison.texinfo: Include GNU Free Documentation License from
f2b5126e
PB
300 `fdl.texi'.
301 * doc/fdl.texi: Add to package.
302
4ecbf796
MA
3032001-08-14 Marc Autret <autret_m@epita.fr>
304
305 Turn on %{source,header}_extension features.
306
69b5cec4 307 * src/lex.c (percent_table): Un-CPP out header_extension and
4ecbf796
MA
308 source_extension.
309 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
69b5cec4 310 (compute_exts_from_src): Remove conditions. It restores priorities
4ecbf796
MA
311 between options.
312
95fb5662
MA
3132001-08-14 Marc Autret <autret_m@epita.fr>
314
315 * src/files.c (compute_base_names): Add extensions computing when
316 `--file-prefix' used.
317 Standardize function calls.
318
78d09da9
MA
3192001-08-13 Marc Autret <autret_m@epita.fr>
320
69b5cec4 321 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
78d09da9
MA
322 defining it (defined but null disables alloca).
323
5a009f2c
MA
3242001-08-13 Marc Autret <autret_m@epita.fr>
325
326 * src/bison.simple (_yy_memcpy): CPP reformat.
327
1e41465a
PB
3282001-08-13 Pascal Bart <pascal.bart@epita.fr>
329
330 * tests/atconfig.in (CPPFLAGS): Fix.
331
c67a198d
PB
3322001-08-10 Pascal Bart <pascal.bart@epita.fr>
333
79282c6c 334 * doc/bison.texinfo: Include GNU General Public License from
c67a198d
PB
335 `gpl.texi'.
336 * doc/gpl.texi: Add to package.
337
09a6de7e
MA
3382001-08-10 Marc Autret <autret_m@epita.fr>
339
340 * src/print_graph.h: Fix.
341 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
342
b77b9ee0
AD
3432001-08-10 Akim Demaille <akim@epita.fr>
344
345 * src/system.h: Provide default declarations for stpcpy, strndup,
346 and strnlen.
347
3e259915
MA
3482001-08-10 Robert Anisko <anisko_r@epita.fr>
349
350 * doc/bison.texinfo (Locations): Update @$ stuff.
351
ca96bc2d
MA
3522001-08-09 Robert Anisko <anisko_r@epita.fr>
353
354 * src/bison.simple (YYLLOC_DEFAULT): Update.
355 (yyparse): Adjust.
356
fdc6758b
MA
3572001-08-08 Marc Autret <autret_m@epita.fr>
358
b77b9ee0 359 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
fdc6758b
MA
360 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
361 Reported by Fabrice Bauzac.
957d4dbf 362
600cad3b
MA
3632001-08-08 Marc Autret <autret_m@epita.fr>
364
365 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
366 * src/vcg.c (output_node): Fix.
367 * src/vcg.h: Cleanup.
368 * src/print_graph.c: Add comments.
b77b9ee0 369 (node_output_size): New global variable. Simplify the formatting of
600cad3b 370 the VCG graph output.
b77b9ee0 371 (print_actions): Unused code is now used. It notifies the final state
600cad3b 372 and no action states in the VCG graph. It also give the reduce actions.
b77b9ee0 373 The `shift and goto' edges are red and the `go to state' edges are
600cad3b
MA
374 blue.
375 Get the current node name and node_obstack by argument.
376 (node_obstack): New variable.
377 (print_state): Manage node_obstack.
378 (print_core): Use node_obstack given by argument.
379 A node is not only computed here but in print_actions also.
380 (print_graph): CPP out useless code instead of commenting it.
381
976e528f
AD
3822001-08-07 Pascal Bart <pascal.bart@epita.fr>
383
384 * tests/atconfig.in (CPPFLAGS): Fix.
385
20e8e5ca
AD
3862001-08-07 Akim Demaille <akim@epita.fr>
387
388 * src/print_graph.c (quote): New.
389 (print_core): Use it.
390
957d4dbf 3912001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
3e3da797 392
3e3da797
AD
393 * src/vcg.c (complain.h): Include it.
394 Unepitaize `return' invocations.
c4b66126 395 [NDEBUG] (main): Remove.
79282c6c 396 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
c4b66126
AD
397 * src/files.c (open_files): Initialize graph_obstack.
398 * src/print_graph.c (print_actions): CPP out useless code.
399 (print_core): Don't output the last `\n' in labels.
400 Use `quote'.
401 * src/files.c (output_files): Output the VCG file.
402 * src/main.c (main): Invoke print_graph ();
3e3da797 403
957d4dbf 4042001-08-06 Marc Autret <autret_m@epita.fr>
22c2cbc0
AD
405
406 Automaton VCG graph output.
407 Using option ``-g'' or long option ``--graph'', you can generate
408 a gram_filename.vcg file containing a VCG description of the LALR (1)
409 automaton of your grammar.
410
411 * src/main.c: Call to print_graph() function.
412 * src/getargs.h: Update.
413 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
414 (graph_flag): New flag.
415 (longopts): Update.
416 (getargs): Add case `g'.
417 * src/files.c (graph_obstack): New obstack struct.
418 (open_files): Initialize new obstack.
419 (output_files): Saves graph_obstack if required.
420 * src/files.h (graph_obstack): New extern declaration.
421 * src/Makefile.am: Add new source files.
422
957d4dbf 4232001-08-06 Marc Autret <autret_m@epita.fr>
ce4d5ce0
AD
424
425 * src/print_graph.c, src/print_graph.h (graph): New.
426 * src/vcg.h: New file.
427 * src/vcg.c: New file, VCG graph handling.
428
7333d403
AD
4292001-08-06 Marc Autret <autret_m@epita.fr>
430
431 Add of %source_extension and %header_extension which specify
432 the source or/and the header output file extension.
433
434 * src/files.c (compute_base_names): Remove initialisation of
435 src_extension and header_extension.
436 (compute_exts_from_gf): Update.
437 (compute_exts_from_src): Update.
438 (output_files): Update.
439 * src/reader.c (parse_header_extension_decl): New.
440 (parse_source_extension_decl): New.
441 (read_declarations): New case statements for the new tokens.
442 * src/lex.c (percent_table): Add entries for %source_extension
443 and %header_extension.
444 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
445
84163231
AD
4462001-08-06 Marc Autret <autret_m@epita.fr>
447
448 * configure.in: Bump to 1.28c.
449 * doc/bison.texinfo: Texinfo thingies.
450
8303fc42
AD
4512001-08-04 Pascal Bart <pascal.bart@epita.fr>
452
453 * tests/atconfig.in (CPPFLAGS): Add.
454 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
455
70a84437
AD
4562001-08-03 Akim Demaille <akim@epita.fr>
457
458 Version 1.28b.
459
2ce10144
AD
4602001-08-03 Akim Demaille <akim@epita.fr>
461
462 * tests/Makefile.am (check-local): Ship testsuite.
463 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
464 Include `string.h'.
465
1e3e4bc1
AD
4662001-08-03 Akim Demaille <akim@epita.fr>
467
468 * configure.in: Try using -Wformat when compiling.
469
42b45b7f
AD
4702001-08-03 Akim Demaille <akim@epita.fr>
471
472 * configure.in: Bump to 1.28b.
473
8f13fe33
AD
4742001-08-03 Akim Demaille <akim@epita.fr>
475
476 * src/complain.c: Adjust strerror_r portability issues.
477
b37ba92c
AD
4782001-08-03 Akim Demaille <akim@epita.fr>
479
480 Version 1.28a.
481
b0ce6046
AD
4822001-08-03 Akim Demaille <akim@epita.fr>
483
484 * src/getargs.c, src/getarg.h (skeleton)): Constify.
485 * src/lex.c (literalchar): Avoid name clashes on `buf'.
486 * src/getargs.c: Include complain.h.
487 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
488 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
489
d01c415b
AD
4902001-08-03 Akim Demaille <akim@epita.fr>
491
492 * src/reader.c (readgram): Display hidden chars in error messages.
493
459dd1a6
AD
4942001-08-03 Akim Demaille <akim@epita.fr>
495
496 Update to gettext 0.10.39.
497
53b74c0c
AD
4982001-08-03 Akim Demaille <akim@epita.fr>
499
500 * lib/strspn.c: New.
501
234a3be3
AD
5022001-08-01 Marc Autret <autret_m@epita.fr>
503
504 * doc/bison.texinfo: Update.
505 * doc/bison.1 (mandoc): Update.
506 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
507 * src/files.c: Support output files extensions computing.
508 (src_extension): New static variable.
509 (header_extension): New static variable.
510 (tr): New function.
511 (get_extension_index): New function, gets the index of an extension
512 filename in a string.
513 (compute_exts_from_gf): New function, computes extensions from the
514 grammar file extension.
515 (compute_exts_from_src): New functions, computes extensions from the
516 C source file extension, file given by ``-o'' option.
517 (compute_base_names): Update.
518 (output_files): Update.
519
847bf1f5
AD
5202001-08-01 Robert Anisko <anisko_r@epita.fr>
521
d995fee7 522 * doc/bison.texi: Document @$.
847bf1f5
AD
523 (Locations): New section.
524
d074a105
AD
5252001-07-18 Akim Demaille <akim@epita.fr>
526
527 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
528 * config/prev-version.txt, config/move-if-change: New.
529 * Makefile.am: Adjust.
530
3419715d
AD
5312001-07-08 Pascal Bart <pascal.bart@epita.fr>
532
533 * src/bison.simple (yyparse): Suppress warning `comparaison
534 between signed and unsigned'.
535
62ab6972
AD
5362001-07-05 Pascal Bart <pascal.bart@epita.fr>
537
538 * src/getargs.h (raw_flag): Remove.
539 * src/getargs.c: Die on `-r'/`--raw'.
540 * src/lex.c (parse_percent_token): Die on `%raw'.
541 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
542 * tests/calc.at: Suppress test with option `--raw'.
543
1e24cc5b
AD
5442001-07-14 Akim Demaille <akim@epita.fr>
545
546 * config/: New.
547 * configure.in: Require Autoconf 2.50.
548 Update to gettext 0.10.38.
549
32dfccf8
AD
5502001-03-16 Akim Demaille <akim@epita.fr>
551
552 * doc/bison.texinfo: ANSIfy the examples.
553
cd5bd6ac
AD
5542001-03-16 Akim Demaille <akim@epita.fr>
555
556 * getargs.c (skeleton): New variable.
557 (longopts): --skeleton is a new option.
558 (shortopts, getargs): -S is a new option.
559 * getargs.h: Declare skeleton.
560 * output.c (output_parser): Use it.
561
5141b016
AD
5622001-03-16 Akim Demaille <akim@epita.fr>
563
564 * m4/strerror_r.m4: New.
565 * m4/error.m4: Run AC_FUNC_STRERROR_R.
566 * lib/error.h, lib/error.c: Update.
567
447992b9
AD
5682001-03-16 Akim Demaille <akim@epita.fr>
569
570 * src/getargs.c (longopts): Clean up.
571
274d42ce
AD
5722001-02-21 Akim Demaille <akim@epita.fr>
573
574 * src/reader.c (gensym): `gensym_count' is your own.
575 Use a static buf to create the symbol name, as token_buffer is no
576 longer a buffer.
577
22c821f3
AD
5782001-02-08 Akim Demaille <akim@epita.fr>
579
580 * src/conflicts.c (conflict_report): Be sure not to append to res
581 between two calls, which could happen if both first sprintf were
582 skipped, but not the first cp += strlen.
583
18569462
AD
5842001-02-08 Akim Demaille <akim@epita.fr>
585
586 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
587 New, from fileutils 4.0.37.
588 * configure.in: Require Autoconf 2.49c. I took some time before
589 making this decision. This is the only way out for portability
590 issues in Bison, it would mean way too much duplicate effort to
591 import in Bison features implemented in 2.49c since 2.13.
592 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
593
0d8f3c8a
AD
5942001-02-02 Akim Demaille <akim@epita.fr>
595
596 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
66075dcf 597 * lib/xalloc.h, lib/xmalloc.c: Update.
0d8f3c8a 598
f17bcd1f
AD
5992001-01-19 Akim Demaille <akim@epita.fr>
600
601 Get rid of the ad hoc handling of token_buffer in the scanner: use
602 the obstacks.
603
604 * src/lex.c (token_obstack): New.
605 (init_lex): Initialize it. No longer call...
606 (grow_token_buffer): this. Remove it.
607 Adjust all the places which used it to use the obstack.
608
511e79b3
AD
6092001-01-19 Akim Demaille <akim@epita.fr>
610
611 * src/lex.h: Rename all the tokens:
612 s/\bENDFILE\b/tok_eof/g;
613 s/\bIDENTIFIER\b/tok_identifier/g;
614 etc.
615 Let them be enums, not #define, to ease debugging.
616 Adjust all the code.
617
0d6508ef
AD
6182001-01-18 Akim Demaille <akim@epita.fr>
619
620 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
621 * src/lex.c (maxtoken, grow_token_buffer): Static.
622
6deb4447
AD
6232001-01-18 Akim Demaille <akim@epita.fr>
624
625 Since we now use obstacks, more % directives can be enabled.
626
627 * src/lex.c (percent_table): Also accept `%yacc',
628 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
629 `%debug'.
630 Handle the actions for `%semantic_parser' and `%pure_parser' here,
631 instead of returning a token.
632 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
633 * src/reader.c (read_declarations): Adjust.
634 * src/files.c (open_files): Don't call `compute_base_names', don't
635 compute `attrsfile' since they depend upon data which might be
636 *in* the input file now.
637 (output_files): Do it here.
638 * src/output.c (output_headers): Document the fact that this patch
639 introduces a guaranteed SEGV for semantic parsers.
640 * doc/bison.texinfo: Document them.
641 * tests/suite.at: Exercise these %options.
642
ff4423cc
AD
6432000-12-20 Akim Demaille <akim@epita.fr>
644
645 Also handle the output file (--verbose) with obstacks.
646
647 * files.c (foutput): Remove.
648 (output_obstack): New.
649 Adjust all dependencies.
650 * src/conflicts.c: Return a string.
651 * src/system.h (obstack_grow_string): Rename as...
652 (obstack_sgrow): this. Be ready to work with non literals.
653 (obstack_fgrow4): New.
654
956dba3a
AD
6552000-12-20 Akim Demaille <akim@epita.fr>
656
657 * src/files.c (open_files): Fix the computation of short_base_name
658 in the case of `-o foo.tab.c'.
659
337bab46
AD
6602000-12-20 Akim Demaille <akim@epita.fr>
661
662 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
663 (copy_dollar): Now that everything uses obstacks, get rid of the
664 FILE * parameters.
665
5d3214b8
AD
6662000-12-20 Akim Demaille <akim@epita.fr>
667
668 * src/files.c (open_files): Actually the `.output' file is based
669 on the short_base_name, not base_name.
670 * tests/suite.at (Checking output file names): Adjust.
671
29092a57
AD
6722000-12-20 Akim Demaille <akim@epita.fr>
673
674 * src/bison.s1: Remove, we now use directly...
675 * src/bison.simple: this.
676 * src/Makefile.am: Use pkgdata instead of data.
677
ea5607fd
AD
6782000-12-20 Akim Demaille <akim@epita.fr>
679
680 * src/files.c (guard_obstack): New.
681 (open_files): Initialize it.
682 (output_files): Dump it...
683 * src/files.h: Export it.
684 * src/reader.c (copy_guard): Use it.
685
27110317
AD
6862000-12-19 Akim Demaille <akim@epita.fr>
687
688 * src/files.c (outfile, defsfile, actfile): Removed as global
689 vars.
690 (open_files): Don't compute them.
691 (output_files): Adjust.
692 (base_name, short_base_name): Be global.
693 Adjust dependencies.
694
19c50364
AD
6952000-12-19 Akim Demaille <akim@epita.fr>
696
697 * src/files.c (strsuffix): New.
698 (stringappend): Be just like strcat but allocate.
699 (base_names): Eve out from open_files.
700 Try to simplify the rather hairy computation of base_name and
701 short_base_name.
702 (open_files): Use it.
703 * tests/suite.at (Checking output file names): New test.
704
573c1d9f
AD
7052000-12-19 Akim Demaille <akim@epita.fr>
706
707 * src/system.h (obstack_grow_literal_string): Rename as...
708 (obstack_grow_string): this.
709 * src/output.c (output_parser): Recognize `%% actions' instead of
710 `$'.
711 * src/bison.s1: s/$/%% actions/.
712 * src/bison.hairy: Likewise.
713
ef7ddedd
AD
7142000-12-19 Akim Demaille <akim@epita.fr>
715
716 * src/output.c (output_parser): Compute the `#line' lines when
717 there are.
718 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
719 Suggested by Hans Aberg.
720
ff61dabd
AD
7212000-12-19 Akim Demaille <akim@epita.fr>
722
723 Let the handling of the skeleton files be local to the procedures
724 that use it.
725
726 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
727 longer static.
728 (fparser, open_extra_files): Remove.
729 (open_files, output_files): Don't take care of fparser.
730 * src/files.h: Adjust.
731 * src/output.c (output_parser): Open and close the file to the
732 skeleton.
733 * src/reader.c (read_declarations): When %semantic_parser, open
734 fguard.
735
55b96341
AD
7362000-12-19 Akim Demaille <akim@epita.fr>
737
738 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
739 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
740
358c15b7
AD
7412000-12-19 Akim Demaille <akim@epita.fr>
742
743 * src/files.c (open_files): Yipee! We no longer need all the code
744 looking for `/tmp' since we have no tmp file.
745
7de3329e
AD
7462000-12-19 Akim Demaille <akim@epita.fr>
747
748 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
749 New macros.
750 * src/files.c (open_files): Less dependency on MSDOS etc.
751
3abcd459
AD
7522000-12-14 Akim Demaille <akim@epita.fr>
753
754 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
755 Provide a default definition.
756 Use it when executing the default @ action.
757 * src/reader.c (reader_output_yylsp): No longer include
758 `timestamp' and `text' in the default YYLTYPE.
759
2a91a95e
AD
7602000-12-12 Akim Demaille <akim@epita.fr>
761
762 * src/reader.c (copy_definition, parse_union_decl, copy_action)
763 (copy_guard): Quote the file names.
764 Reported by Laurent Mascherpa.
765
14d3eb9b
AD
7662000-12-12 Akim Demaille <akim@epita.fr>
767
768 * src/output.c (output_headers, output_program, output): Be sure
769 to escape special characters when outputting filenames.
770 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
771 (output_headers): Don't depend on them, Use ACTSTR.
772
d7045ec6
AD
7732000-11-17 Akim Demaille <akim@epita.fr>
774
775 * lib/obstack.h: Formatting changes.
776 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
777 prevents type checking.
778 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
779 cast the value to (void *): assigning a `foo *' to a `void *'
780 variable is valid.
781 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
782 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
783 append characters.
784
6fd54b73
AD
7852000-11-17 Akim Demaille <akim@epita.fr>
786
787 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
788 as...
789 (suite.m4, regression.m4, calc.m4): these.
790 * tests/atgeneral.m4: Update from CVS Autoconf.
791
4c50eae6
AD
7922000-11-17 Akim Demaille <akim@epita.fr>
793
794 * tests/regression.m4 (%union and --defines): New test,
795 demonstrating a current bug in the obstack implementation.
796
a35f64ea
AD
7972000-11-17 Akim Demaille <akim@epita.fr>
798
799 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
800 macros.
801 Use them to declare the variables which are global or local to
802 `yyparse'.
803
7de23534
AD
8042000-11-17 Akim Demaille <akim@epita.fr>
805
806 * acconfig.h: Remove, no longer used.
807
aa7815f5
AD
8082000-11-07 Akim Demaille <akim@epita.fr>
809
810 * src: s/Copyright (C)/Copyright/g.
811
5af1f549
AD
8122000-11-07 Akim Demaille <akim@epita.fr>
813
814 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
815 defining.
816 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
817
553e2b22
AD
8182000-11-07 Akim Demaille <akim@epita.fr>
819
820 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
821 Merge in a single CPP if/else.
822
8a4f41d6
AD
8232000-11-07 Akim Demaille <akim@epita.fr>
824
825 * src/output.c (output): Remove useless variables.
826 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
827 argument `data' for consistency with the prototypes.
828 Qualify it `const'.
829 (obstack_copy, obstack_copy0): Rename the second argument as
830 `address' for consistency. Qualify it `const'.
831 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
832 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
833 `const' their input argument (`data' or `address').
834 Adjust the corresponding macros to include `const' in casts.
835
095a3fb5
AD
8362000-11-03 Akim Demaille <akim@epita.fr>
837
838 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
839 s/PFILE1/BISON_HAIRY/.
840 Adjust dependencies.
841
d1cdce7c
AD
8422000-11-03 Akim Demaille <akim@epita.fr>
843
090c5ebf 844 For some reason, this was not applied.
d1cdce7c
AD
845
846 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
847 `unlink': it's no longer used.
848
9311529b
AD
8492000-11-03 Akim Demaille <akim@epita.fr>
850
851 * src/files.c (skeleton_find): New function, eved out of...
852 (open_files, open_extra_files): here.
853
d8880f69
AD
8542000-11-03 Akim Demaille <akim@epita.fr>
855
856 Don't use `atexit'.
857
858 * src/files.c (obstack_save): New function.
859 (done): Rename as...
860 (output_files): this.
861 Use `obstack_save'.
862 * src/main.c (main): Don't use `atexit' to register `done', since
863 it no longer has to remove tmp files, just call `output_files'
864 when there are no errors.
865
0dbb648e
AD
8662000-11-02 Akim Demaille <akim@epita.fr>
867
868 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
869 `unlink': it's no longer used.
870 * src/files.h: Formatting changes.
871
896fe5c1
AD
8722000-11-02 Akim Demaille <akim@epita.fr>
873
874 Remove the last uses of mktemp and unlink/delete.
875
876 * src/files.c (fdefines, ftable): Removed.
877 (defines_ostack, table_obstack): New.
878 Adjust dependencies of the former into uses of the latter.
879 * src/output.c (output_short_or_char_table, output_short_table):
880 Convert to using obstacks.
881 * src/reader.c (copy_comment2): Accept one FILE * and two
882 obstacks.
883 (output_token_defines, reader_output_yylsp): Use obstacks.
884 * src/system.h (obstack_fgrow3): New.
885
dd60faec
AD
8862000-11-01 Akim Demaille <akim@epita.fr>
887
888 Change each use of `fattrs' into a use of `attrs_obstack'.
889
890 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
891 * src/files.c (fattrs): Remove.
892 (attrs_obstack): New.
893 Adjust all dependencies.
894 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
895
8c7ebe49
AD
8962000-11-01 Akim Demaille <akim@epita.fr>
897
898 Introduce obstacks.
899 Change each use of `faction' into a use of `action_obstack'.
900
901 * lib/obstack.h, lib/obstack.c: New files.
902 * src/files.c (faction): Remove.
903 (action_obstack): New.
904 Adjust all dependencies.
905
77aee789
AD
9062000-10-20 Akim Demaille <akim@epita.fr>
907
908 * lib/quote.h (PARAMS): New macro. Use it.
909
43591cec
AD
9102000-10-16 Akim Demaille <akim@epita.fr>
911
912 * src/output.c (output_short_or_char_table): New function.
913 (output_short_table, output_token_translations): Use it.
914 (goto_actions): Use output_short_table.
915
1e9798d5
AD
9162000-10-16 Akim Demaille <akim@epita.fr>
917
918 * src/symtab.c (bucket_new): New function.
919 (getsym): Use it.
920
921 * src/output.c (output_short_table): New argument to display the
922 comment associated with the table.
923 Adjust dependencies.
924 (output_gram): Use it.
925 (output_rule_data): Nicer output layout for YYTNAME.
926
f282676b
AD
9272000-10-16 Akim Demaille <akim@epita.fr>
928
929 * src/lex.c (read_typename): New function.
930 (lex): Use it.
931 * src/reader.c (copy_dollar): Likewise.
932
550a72a3
AD
9332000-10-16 Akim Demaille <akim@epita.fr>
934
935 * src/reader.c (copy_comment2): Expect the input stream to be on
936 the `/' which is suspected to open a comment, instead of being
937 called after `//' or `/*' was read.
938 (copy_comment, copy_definition, parse_union_decl, copy_action)
939 (copy_guard): Adjust.
940
131e2fef
AD
9412000-10-16 Akim Demaille <akim@epita.fr>
942
943 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
944 `read_signed_integer'.
945
79282c5a
AD
9462000-10-16 Akim Demaille <akim@epita.fr>
947
948 * src/reader.c (copy_dollar): New function.
949 (copy_guard, copy_action): Use it.
950
ff4a34be
AD
9512000-10-16 Akim Demaille <akim@epita.fr>
952
953 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
954 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
955 New files, from Fileutils 4.0.27.
956 * src/main.c (printable_version): Remove.
957 * src/lex.c, src/reader.c: Use `quote'.
958
9592000-10-04 Akim Demaille <akim@epita.fr>
960
961 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
962
14ded682
AD
9632000-10-04 Akim Demaille <akim@epita.fr>
964
965 * doc/bison.texinfo: Various typos spotted by Neil Booth.
966
8e03724b
AD
9672000-10-04 Akim Demaille <akim@epita.fr>
968
969 When a literal string is used to define two different tokens,
970 `bison -v' segfaults.
971 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
972
973 * tests/regression.m4: New file.
974 Include the core of the sample provided by Piotr Gackiewicz.
975 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
976 properly.
977
a9e64249
AD
9782000-10-04 Akim Demaille <akim@epita.fr>
979
980 * src/reader.c (parse_expect_decl): Keep `count' within the size
981 of `buffer'.
982 From Neil Booth.
983
da9abf43
AD
9842000-10-02 Paul Eggert <eggert@twinsun.com>
985
986 * bison.s1 (yyparse): Assign the default value
987 unconditionally, to avoid a GCC warning and make the parser a
988 tad smaller.
989
c33638bb
AD
9902000-10-02 Akim Demaille <akim@epita.fr>
991
992 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
993 options.
994
444c570a
AD
9952000-10-02 Akim Demaille <akim@epita.fr>
996
997 * src/derives.c, src/print.c, src/reduce.c: To ease the
998 translation, move some `\n' out of the translated strings.
999
89cab50d
AD
10002000-10-02 Akim Demaille <akim@epita.fr>
1001
1002 The location tracking mechanism is precious for parse error
1003 messages. Nevertheless, it is enabled only when `@n' is used in
1004 the grammar, which is a different issue (you can use it in error
1005 message, but not in the grammar per se). Therefore, there should
1006 be another means to enable it.
1007
1008 * src/getargs.c (getargs): Support `--locations'.
1009 (usage): Report it.
1010 * src/getargs.h (locationsflag): Export it.
1011 * src/lex.c (percent_table): Support `%locations'.
1012 * src/reader.c (yylsp_needed): Remove this variable, now replaced
1013 with `locationsflag'.
1014 * doc/bison.texinfo: Document `--locations' and `%locations'.
1015 Sort the options.
1016 * tests/calc.m4: Test it.
1017
1018 For regularity of the names, replace each
1019 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
1020 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
1021 In addition replace each `flag' with `_flag'.
1022
d6c2cba0
AD
10232000-10-02 Akim Demaille <akim@epita.fr>
1024
1025 Also test parse error messages, including with YYERROR_VERBOSE.
1026
1027 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
1028 associative).
1029 Use it to check the computations.
1030 Use it to check `nonassoc' is honored.
1031 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
1032 `--yyerror-verbose'.
1033 (_AT_CHECK_CALC): Adjust to this option.
1034 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
1035
5a35a6cb
AD
10362000-10-02 Akim Demaille <akim@epita.fr>
1037
1038 Test also `--verbose', `--defines' and `--name-prefix'. Testing
1039 the latter demonstrates a flaw in the handling of non debugging
1040 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
1041 was used in order to simplify:
1042
1043 #if YYDEBUG
1044 if (yydebug)
1045 {
1046 ...
1047 }
1048 #endif
1049
1050 into
1051
1052 if (yydebug)
1053 {
1054 ...
1055 }
1056
1057 unfortunately this leads to a CPP conflict when
1058 `--name-prefix=foo' is used since it produces `#define yydebug
1059 foodebug'.
1060
1061 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
1062 (YYDPRINTF): New macro.
1063 Spread its use.
1064 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
1065 the bison options.
1066 Also test `--verbose', `--defines' and `--name-prefix'.
1067
71da9eea
AD
10682000-10-02 Akim Demaille <akim@epita.fr>
1069
1070 Improve the readability of the produced parsers.
1071
1072 * src/bison.s1: Formatting changes.
1073 Improve the comment related to the `$' mark.
1074 (yydefault): Don't fall through to `yyresume': `goto' there.
1075 * src/output.c (output_parser): When the `$' is met, skip the end
1076 of its line.
1077 New variable, `number_of_dollar_signs', to check there's exactly
1078 one `$' in the parser skeleton.
1079
95e36146
AD
10802000-10-02 Akim Demaille <akim@epita.fr>
1081
1082 * lib/xstrdup.c: New file, from the fileutils.
1083 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
1084 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
1085 instead of strlen + xmalloc + strcpy.
1086 * src/symtab.c (copys): Remove, use xstrdup instead.
1087
d7020c20
AD
10882000-10-02 Akim Demaille <akim@epita.fr>
1089
1090 * src/gram.h (associativity): New enum type which replaces the
1091 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
1092 `right_assoc', `left_assoc' and `non_assoc'.
1093 Adjust all dependencies.
1094 * src/reader.c: Formatting changes.
1095 (LTYPESTR): Don't define it, use it as a literal in
1096 `reader_output_yylsp'.
1097 * src/symtab.h (symbol_class): New enum type which replaces the
1098 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
1099 `sunknown', `stoken and `snterm'.
1100
1916f98e
AD
11012000-10-02 Akim Demaille <akim@epita.fr>
1102
1103 * src/getargs.c (fixed_outfiles): Rename as...
1104 (yaccflag): for consistency and accuracy.
1105 Adjust dependencies.
1106
d7913476
AD
11072000-10-02 Akim Demaille <akim@epita.fr>
1108
1109 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
1110 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
1111 difficult and introduced a lot of core dump. It turns out that
1112 Bison used an implementation of `xmalloc' based on `calloc', and
1113 at various places it does depend upon the initialization to 0. I
1114 have not tried to isolate the pertinent places, and all the former
1115 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
1116 someone should address this issue.
1117
1118 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
1119 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
1120 files.
1121 Adjust dependencies.
1122 * src/warshall.h: New file.
1123 Propagate.
1124
340ef489
AD
11252000-10-02 Akim Demaille <akim@epita.fr>
1126
1127 Various anti-`extern in *.c' changes.
1128
1129 * src/system.h: Include `assert.h'.
1130
b2ca4022
AD
11312000-10-02 Akim Demaille <akim@epita.fr>
1132
1133 * src/state.h (nstates, final_state, first_state, first_shift)
1134 (first_reduction): Move their exportation from here...
1135 * src/LR0.h: to here.
1136 Adjust dependencies.
1137 * src/getargs.c (statisticsflag): New variable.
1138 Add support for `--statistics'.
1139 Adjust dependencies.
1140
1141 Remove a lot of now useless `extern' statements in most files.
1142
403b315b
AD
11432000-10-02 Akim Demaille <akim@epita.fr>
1144
1145 * src/LR0.h: New file.
1146 Propagate its use.
1147
07a58c13
AD
11482000-10-02 Akim Demaille <akim@epita.fr>
1149
1150 * src/print.h: New file.
1151 Propagate its use.
1152 * src/print.c: Formatting and ordering changes.
1153 (verbose, terse): Replace with...
1154 (print_results): this new function.
1155 Adjust dependencies.
1156
0619caf0
AD
11572000-10-02 Akim Demaille <akim@epita.fr>
1158
1159 * src/conflicts.c (conflict_report): New function.
1160 (conflict_log, verbose_conflict_log): Replace with...
1161 (print_conflicts): this function.
1162 Adjust dependencies.
1163 * src/conflicts.h: New file.
1164 Propagate its inclusion.
1165
3519ec76
AD
11662000-10-02 Akim Demaille <akim@epita.fr>
1167
1168 * src/nullable.h: New file.
1169 Propagate its inclusion.
1170 * src/nullable.c: Formatting changes.
1171
015acc48
AD
11722000-10-02 Akim Demaille <akim@epita.fr>
1173
1174 * src/reduce.h: New file.
1175 Propagate its inclusion.
1176 * src/reduce.c: Topological sort and other formatting changes.
1177 (bool, TRUE, FALSE): Move their definition to...
1178 * src/system.h: here.
1179
8963a27b
AD
11802000-10-02 Akim Demaille <akim@epita.fr>
1181
1182 * src/files.c: Formatting changes.
1183 (tryopen, tryclose, openfiles): Rename as...
1184 (xfopen, xfclose, open_files): this.
1185 (stringappend): static.
1186 * src/files.h: Complete the list of exported symbols.
1187 Propagate its use.
1188
a70083a3
AD
11892000-10-02 Akim Demaille <akim@epita.fr>
1190
1191 * src/reader.h: New file.
1192 Propagate its use instead of tedious list of `extern' and
1193 prototypes.
1194 * src/reader.c: Formatting changes, topological sort,
1195 s/register//.
1196
abadc117
AD
11972000-10-02 Akim Demaille <akim@epita.fr>
1198
1199 * src/lex.h: Prototype `lex.c' exported functions.
1200 * src/reader.c: Adjust.
1201 * src/lex.c: Formatting changes.
1202 (safegetc): Rename as...
1203 (xgetc): this.
1204
720d742f
AD
12052000-10-02 Akim Demaille <akim@epita.fr>
1206
1207 * src/lalr.h: New file.
1208 Propagate its inclusion instead of prototypes and `extern'.
1209 * src/lalr.c: Formatting changes, topological sorting etc.
1210
f2acea59
AD
12112000-10-02 Akim Demaille <akim@epita.fr>
1212
1213 * src/output.c (token_actions): Introduce a temporary array,
1214 YYDEFACT, that makes it possible for this function to use
1215 output_short_table.
1216
d019d655
AD
12172000-10-02 Akim Demaille <akim@epita.fr>
1218
1219 `user_toknums' is output as a `short[]' in `output.c', while it is
1220 defined as a `int[]' in `reader.c'. For consistency with the
1221 other output tables, `user_toknums' is now defined as a table of
1222 shorts.
1223
1224 * src/reader.c (user_toknums): Be a short table instead of an int
1225 table.
1226 Adjust dependencies.
1227
1228 Factor the short table outputs.
1229
1230 * src/output.c (output_short_table): New function.
1231 * src/output.c (output_gram, output_stos, output_rule_data)
1232 (output_base, output_table, output_check): Use it.
1233
6c89f1c1
AD
12342000-10-02 Akim Demaille <akim@epita.fr>
1235
1236 * src/output.c (output): Topological sort of the functions, in
1237 order to get rid of the `static' prototypes.
1238 No longer use `register'.
1239 * src/output.h: New file.
1240 Propagate its inclusion in files explicitly prototyping functions
1241 from output.c.
1242
d9efd181
AD
12432000-09-21 Akim Demaille <akim@epita.fr>
1244
1245 * src/atgeneral.m4: Update from Autoconf.
1246
c29240e7 12472000-09-21 Akim Demaille <akim@epita.fr>
2fa6973e
AD
1248
1249 * src/closure.h: New file.
1250 * src/closure.c: Formatting changes, topological sort over the
1251 functions, use of closure.h.
1252 (initialize_closure, finalize_closure): Rename as...
1253 (new_closure, free_closure): these. Adjust dependencies.
1254 * src/LR0.c: Formatting changes, topological sort, use of
1255 cloture.h.
1256 (initialize_states): Rename as...
1257 (new_states): this.
1258 * src/Makefile.am (noinst_HEADERS): Adjust.
1259
499daa50
AD
12602000-09-20 Akim Demaille <akim@epita.fr>
1261
1262 * src/acconfig.h: Don't protect config.h against multiple
1263 inclusion.
1264 Don't define PARAMS.
1265 * src/system.h: Define PARAMS.
1266 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
1267 purpose of config.h. system.h must not try to fix wrong
1268 definitions in config.h.
1269
cc84fd5d
AD
12702000-09-20 Akim Demaille <akim@epita.fr>
1271
1272 * src/derives.h: New file.
1273 * src/main.c, src/derives.h: Use it.
1274 Formatting changes.
1275 * src/Makefile.am (noinst_HEADERS): Adjust.
1276
db5b3a89
AD
12772000-09-20 Akim Demaille <akim@epita.fr>
1278
1279 * tests/atgeneral.m4: Update from Autoconf.
1280 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
1281 (AT_CHECK_CALC): New macros.
1282 Use these macros to test bison with options `', `--raw',
1283 `--debug', `--yacc', `--yacc --debug'.
1284
ceed8467
AD
12852000-09-19 Akim Demaille <akim@epita.fr>
1286
1287 * src/output.c: Formatting changes.
1288 * src/machine.h: Remove, leaving its contents in...
1289 * src/system.h: here.
1290 Include stdio.h.
1291 Adjust all dependencies on stdio.h and machine.h.
1292 * src/getargs.h: New file.
1293 Let all `extern' declarations about getargs.c be replaced with
1294 inclusion of `getargs.h'.
1295 * src/Makefile.am (noinst_HEADERS): Adjust.
1296
1297 * tests/calc.m4 (yyin): Be initialized in main, not on the global
1298 scope.
1299 (yyerror): Returns void, not int.
1300 * doc/bison.texinfo: Formatting changes.
1301
05a1d24b
AD
13022000-09-19 Akim Demaille <akim@epita.fr>
1303
1304 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
1305 portable.
1306
cbd25751
AD
13072000-09-18 Akim Demaille <akim@epita.fr>
1308
1309 * configure.in: Append WARNING_CFLAGS to CFLAGS.
1310 * src/Makefile.am (INCLUDES): Don't.
1311 Be ready to fetch headers in lib/.
1312
13863333
AD
13132000-09-18 Akim Demaille <akim@epita.fr>
1314
1315 * doc/bison.texinfo: Update the copyright.
1316 ANSIfy and GNUify the examples.
1317 Remove the old menu.
1318
0d533154
AD
13192000-09-18 Akim Demaille <akim@epita.fr>
1320
1321 First set of tests: use the `calc' example from the documentation.
1322
1323 * src/bison.s1 (yyparse): Condition the code using `yytname' which
1324 is defined only when YYDEBUG is.
1325 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
1326 * src/files.c (tryopen, tryclose): Formatting changes.
1327 Move to the top and be static.
1328 * src/reader.c (read_signed_integer): Likewise.
1329 * tests/calc.m4: New file.
1330 * Makefile.am, suite.m4: Adjust.
1331 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
1332
e79137ac
AD
13332000-09-18 Akim Demaille <akim@epita.fr>
1334
1335 Add support for an Autotest test suite for Bison.
1336
1337 * m4/m4.m4, m4/atconfig.m4: New files.
1338 * m4/Makefile.am (EXTRA_DIST): Adjust.
1339 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
1340 files.
1341 * src/getargs.c: Display a more standard --version message.
1342 * src/reader.c (reader): Formatting changes.
1343 No longer depend upon VERSION_STRING.
1344 * configure.in: No longer use `dnl'.
1345 Set up the test suite and the new directory `tests/.
1346 (VERSION_STRING): Remove.
1347
27821bff
AD
13482000-04-14 Akim Demaille <akim@epita.fr>
1349
1350 * src/reader.c (copy_comment2): New function, same as former
1351 `copy_comment', but outputs into two FILE *.
1352 (copy_comment): Use it.
1353 (parse_union_decl): Use it.
1354 (get_type, parse_start_decl): Use the same `invalid' message.
1355 (parse_start_decl, parse_union_decl): Use the same `multiple'
1356 message.
1357 (parse_union_decl, copy_guard, copy_action): Use the same
1358 `unmatched' message.
1359 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
1360
cfe5fbc0
AD
13612000-03-31 Akim Demaille <akim@epita.fr>
1362
1363 * src/files.c (tryopen, tryclose): Move to the top.
1364 Be static.
1365
cb7db13e
AD
13662000-03-31 Akim Demaille <akim@epita.fr>
1367
1368 * src/main.c (main): Don't call `done', exit does it.
1369
a0f6b076
AD
13702000-03-31 Akim Demaille <akim@epita.fr>
1371
36281465
AD
1372 * allocate.c: s/return (foo)/return foo/.
1373 * lalr.c: Likewise.
1374 * LR0.c: Likewise.
1375 * output.c: Likewise.
1376 * reader.c: Likewise.
1377 * symtab.c: Likewise.
1378 * vmsgetargs.c: Likewise.
1379
13802000-03-31 Akim Demaille <akim@epita.fr>
1381
1382 Clean up the error reporting functions.
a0f6b076
AD
1383
1384 * src/report.c: New file.
1385 * src/report.h: Likewise.
1386 * src/Makefile.am: Adjust.
1387 * m4/error.m4: New file.
1388 * m4/Makefile.am: Adjust.
1389 * configure.in (jm_PREREQ_ERROR): Call it.
1390 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
1391 Remove.
1392 (fatal, fatals): Remove. All callers use complain.c::fatal.
1393 (warn, warni, warns, warnss, warnss): Remove. All callers use
1394 complain.c::complain.
1395 (toomany): Remove, use fatal instead.
1396 * src/files.c (done): No argument, use complain_message_count.
1397 * src/main.c (main): Register `done' to `atexit'.
1398
1399 * src/getargs.c (usage): More `fputs', less `fprintf'.
1400
18539825
AD
14012000-03-28 Akim Demaille <akim@epita.fr>
1402
1403 * lib/: New directory.
1404 * Makefile.am (SUBDIRS): Adjust.
1405 * configure.in: Adjust.
1406 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
1407 useless.
1408 * src/alloca.c: Moved to lib/.
1409 * src/getopt.c: Likewise.
1410 * src/getopt1.c: Likewise.
1411 * src/getopt.h: Likewise.
1412 * src/ansi2knr.c: Likewise.
1413 * src/ansi2knr.1: Likewise.
1414 * src/Makefile.am: Adjust.
1415 * lib/Makefile.am: New file.
1416
9f306f2a
AD
14172000-03-28 Akim Demaille <akim@epita.fr>
1418
1419 * src/getargs.c (usage): Refresh the help message.
1420
0ba347b6
AD
14212000-03-17 Akim Demaille <akim@epita.fr>
1422
1423 * src/getopt1.c: Updated from textutils 2.0e
1424 * src/getopt.c: Likewise.
1425 * src/getopt.h: Likewise.
1426
dbe7f271
AD
14272000-03-17 Akim Demaille <akim@epita.fr>
1428
1429 * src/Makefile.am (bison.simple): Fix the awk program: quote only
1430 the file name, not the whole `#line LINE FILE'.
1431
75bbe78d
AD
14322000-03-17 Akim Demaille <akim@epita.fr>
1433
1434 On syntax errors, report the token on which we choked.
1435
aa5fd0ee
AD
1436 * src/bison.s1 (yyparse): In the label yyerrlab, when
1437 YYERROR_VERBOSE, add yychar in msg.
75bbe78d 1438
7b306f52
AD
14392000-03-17 Akim Demaille <akim@epita.fr>
1440
aa5fd0ee 1441 * src/reader.c (copy_at): New function.
7b306f52
AD
1442 (copy_guard): Use it.
1443 (copy_action): Use it.
1444
e87b5700
AD
14452000-03-17 Akim Demaille <akim@epita.fr>
1446
1447 Be kind to translators, save some useless translations.
1448
aa5fd0ee 1449 * src/main.c (banner): New function.
e87b5700
AD
1450 (fatal_banner): Use it.
1451 (warn_banner): Use it.
1452
ae3c3164
AD
14532000-03-17 Akim Demaille <akim@epita.fr>
1454
aa5fd0ee
AD
1455 * src/reader.c (copy_definition): Use copy_string and
1456 copy_comment. Removed now unused `match', `ended',
1457 `cplus_comment'.
ae3c3164
AD
1458 (copy_comment, copy_string): Moved, to be visible from
1459 copy_definition.
1460
4dc58e7c
AD
14612000-03-17 Akim Demaille <akim@epita.fr>
1462
aa5fd0ee
AD
1463 * src/reader.c (copy_string): Declare `static inline'. No
1464 problems with inline, since it is checked by configure.
4dc58e7c
AD
1465 (copy_comment): Likewise.
1466
0a6384c4
AD
14672000-03-17 Akim Demaille <akim@epita.fr>
1468
aa5fd0ee 1469 * src/reader.c (packsymbols): Formatting changes.
0a6384c4 1470
3cef001a
AD
14712000-03-17 Akim Demaille <akim@epita.fr>
1472
aa5fd0ee 1473 * src/reader.c (copy_comment): New function, factored out from:
3cef001a
AD
1474 (copy_action): Use it. Removed now unused `match', `ended',
1475 `cplus_comment'.
1476 (copy_guard): Likewise.
1477
ca36d2ef
AD
14782000-03-17 Akim Demaille <akim@epita.fr>
1479
aa5fd0ee 1480 * src/reader.c (copy_string): New function, factored out from:
ca36d2ef
AD
1481 (copy_action): Use it.
1482 (copy_guard): Likewise.
1483
6666f98f
AD
14842000-03-17 Akim Demaille <akim@epita.fr>
1485
1486 Change the handling of @s so that they behave exactly like $s.
1487 There is now a pseudo variable @$ (readble and writable), location
1488 of the lhs of the rule (by default ranging from the location of
1489 the first symbol of the rhs, to the location of the last symbol,
1490 or, if the rhs is empty, YYLLOC).
1491
1492 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
1493 yyval.
1494 (yyparse): When providing a default semantic action, provide a
1495 default location action.
1496 (after the $): No longer change `*YYLSP', just stack YYLOC the
1497 same way you stack YYVAL.
1498 * src/reader.c (read_declarations): Use warns.
1499 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
1500 (copy_action, case '@'): Likewise.
1501 Use a standard error message, to save useless work from
1502 translators.
1503
41aca2e0
AD
15042000-03-17 Akim Demaille <akim@epita.fr>
1505
aa5fd0ee
AD
1506 * src/bison.s1: Formatting and cosmetics changes.
1507 * src/reader.c: Likewise.
41aca2e0
AD
1508 Update the Copyright notice.
1509
dc08c1d5
AD
15102000-03-17 Akim Demaille <akim@epita.fr>
1511
aa5fd0ee
AD
1512 * src/bison.s1 (#line): All set to `#line' only, since the
1513 Makefile now handles them.
dc08c1d5 1514
9ee3c97b
AD
15152000-03-16 Akim Demaille <akim@epita.fr>
1516
1517 * src/output.c (output_rule_data): Output the documentation of
1518 some of the tables.
1519 (Copyright notice): Update.
1520 Formatting changes.
1521
0de741ca
AD
15222000-03-16 Akim Demaille <akim@epita.fr>
1523
1524 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
1525 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
1526 One `#if YYDEBUG' remains, since it uses variables which are
1527 defined only if `YYDEBUG != 0'.
1528
bb10be54
AD
15292000-03-16 Akim Demaille <akim@epita.fr>
1530
1531 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
1532 and related variables so that the similarities are highlighted.
1533
b07b484a
AD
15342000-03-16 Akim Demaille <akim@epita.fr>
1535
1536 * src/bison.s1: Properly indent CPP directives.
1537
361f60b3
AD
15382000-03-16 Akim Demaille <akim@epita.fr>
1539
1540 * src/bison.s1: Properly indent the `alloca' CPP section.
1541
8c44d3ec
AD
15422000-03-16 Akim Demaille <akim@epita.fr>
1543
1544 Do not hard code values of directories in `configure.in'.
1545 Update the `configure' tool chain.
1546
1547 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
1548 src/makefile.am.
1549 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
1550 (AC_OUTPUT): Add m4/Makefile.
1551 Bump to bison 1.28a, 1.29 has never been released.
1552 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
1553 handled via src/Makefile.am.
1554 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
1555 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
1556 autoheader.
1557 * Makefile.am (SUBDIRS): Add m4.
1558 (ACLOCAL_AM_FLAGS): New variable.
1559 (AUTOMAKE_OPTIONS): Add check-news.
1560 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
1561 the proper line number and file name.
1562 (DEFS): Propagate the location of bison library files and of the
1563 locale files.
1564 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
1565 builddir.
1566 * acinclude.m4: Remove, replaced by the directory m4.
1567 * m4/Makefile.am (EXTRA_DIST): New variable.
1568 * m4/gettext.m4: New file, from the fileutils.
1569 * m4/lcmessage.m4: Likewise
1570 * m4/progtest.m4: Likewise.
1571 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
1572
f95997e7
AD
15732000-03-10 Akim Demaille <akim@epita.fr>
1574
1575 * src/closure.c:
1576 Formatting changes of various comments.
1577 Respect the GNU coding standards at various places.
1578 Don't use `_()' when no translation is needed.
1579
15801999-12-13 Jesse Thilo <jthilo@gnu.org>
1581
1582 * src/files.c:
1583 OS/2 honors TMPDIR environment variable.
1584
15851999-12-13 Jesse Thilo <jthilo@gnu.org>
1586
1587 * doc/bison.texinfo: Tweaked spelling and grammar.
1588 Updated ISBN.
1589 Removed reference to price of printed copy.
1590 Mention BISON_SIMPLE and BISON_HAIRY.
1591
15921999-12-13 Jesse Thilo <jthilo@gnu.org>
1593
1594 * configure.in, NEWS:
1595 Bison 1.29 released.
1596
15971999-10-27 Jesse Thilo <jthilo@gnu.org>
1598
1599 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
1600 Added reference card.
1601
16021999-07-26 Jesse Thilo <jthilo@gnu.org>
1603
1604 * po/ru.po: Added Russian translation.
1605
16061999-07-26 Jesse Thilo <jthilo@gnu.org>
1607
1608 * configure.in: Added Russian translation.
1609
16101999-07-06 Jesse Thilo <jthilo@gnu.org>
1611
1612 * configure.in, NEWS, README:
1613 Released version 1.28.
1614
16151999-06-14 Jesse Thilo <jthilo@gnu.org>
1616
1617 * src/system.h:
1618 Squashed redefinition warning on some systems.
1619
1620 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
1621 Have configure build version string instead of relying on ANSI string
1622 concatentation.
1623
16241999-06-14 Jesse Thilo <jthilo@gnu.org>
1625
1626 * po/POTFILES.in: Got rid of version.c.
1627
16281999-06-14 Jesse Thilo <jthilo@gnu.org>
1629
1630 * acconfig.h, configure.in:
1631 Have configure build version string instead of relying on ANSI string
1632 concatentation.
1633
16341999-06-08 Jesse Thilo <jthilo@gnu.org>
1635
1636 * doc/bison.1:
1637 Dropped mention of `+' for long-named options.
1638
16391999-05-30 Jesse Thilo <jthilo@gnu.org>
1640
1641 * src/files.c: Added <unistd.h> for unlink().
1642
1643 * src/Makefile.am, src/system.h:
1644 I18n fixes.
1645
16461999-05-30 Jesse Thilo <jthilo@gnu.org>
1647
1648 * README: Added a FAQ list.
1649
1650 * configure.in, acconfig.h:
1651 I18n fixes.
1652
16531999-05-30 Jesse Thilo <jthilo@gnu.org>
1654
1655 * doc/FAQ, doc/Makefile.am:
1656 Added a FAQ list.
1657
16581999-05-19 Jesse Thilo <jthilo@gnu.org>
1659
1660 * src/alloc.h, src/symtab.h, src/version.c:
1661 Protected inclusion of "config.h" with HAVE_CONFIG_H.
1662
16631999-04-18 Jesse Thilo <jthilo@gnu.org>
1664
1665 * src/.cvsignore, src/Makefile.am:
1666 Reorganized: sources in `src', documentation in `doc'.
1667
1668 * src/lex.c (literalchar):
1669 fixed the code for escaping double quotes (thanks
1670 Jonathan Czisny.)
1671
16721999-04-18 Jesse Thilo <jthilo@gnu.org>
1673
1674 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
1675 Adjusted paths to reflect directory reorganization.
1676
16771999-04-18 Jesse Thilo <jthilo@gnu.org>
1678
1679 * doc/.cvsignore, doc/Makefile.am:
1680 Reorganized: sources in `src', documentation in `doc'.
1681
16821999-04-18 Jesse Thilo <jthilo@gnu.org>
1683
1684 * configure.in:
1685 Updated AC_INIT file to reflect directory reorganization.
1686
1687 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
1688 Reorganized: sources in `src', documentation in `doc'.
1689
16901999-04-13 Jesse Thilo <jthilo@gnu.org>
1691
1692 * src/allocate.c:
1693 Don't declare calloc() and realloc() if not necessary.
1694
16951999-04-13 Jesse Thilo <jthilo@gnu.org>
1696
1697 * configure.in, acconfig.h, acinclude.m4:
1698 Don't declare calloc() and realloc() if not necessary.
1699
17001999-03-23 Jesse Thilo <jthilo@gnu.org>
1701
1702 * po/.cvsignore: Added i18n support.
1703
17041999-03-23 Jesse Thilo <jthilo@gnu.org>
1705
1706 * acconfig.h, configure.in, Makefile.am:
1707 Added i18n support.
1708
17091999-03-22 Jesse Thilo <jthilo@gnu.org>
1710
1711 * src/bison.s1: Fixed #line numbers.
1712
17131999-03-15 Jesse Thilo <jthilo@gnu.org>
1714
1715 * po/es.po, po/fr.po, po/nl.po, po/de.po:
1716 Added PO files from Translation Project.
1717
17181999-03-03 Jesse Thilo <jthilo@gnu.org>
1719
1720 * Makefile.am:
1721 Added support for non-ANSI compilers (ansi2knr).
1722
17231999-02-16 Jesse Thilo <jthilo@gnu.org>
1724
1725 * configure.in: Bumped version number to 1.27.
1726
1727 * Makefile.am:
1728 Added `bison.simple' to list of files removed by `make distclean'.
1729
17301999-02-12 Jesse Thilo <jthilo@gnu.org>
1731
1732 * src/files.c, src/files.h:
1733 Defined locations of parser files in config.h instead of Makefile.
1734
17351999-02-12 Jesse Thilo <jthilo@gnu.org>
1736
1737 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
1738 Defined locations of parser files in config.h instead of Makefile.
1739
17401999-02-09 Jesse Thilo <jthilo@gnu.org>
1741
1742 * Makefile.am:
1743 Removed inappropriate use of $< macro.
1744
17451999-02-05 Jesse Thilo <jthilo@gnu.org>
1746
1747 * po/Makefile.in.in, po/POTFILES.in:
1748 Add `po' directory skeleton.
1749
17501999-01-27 Jesse Thilo <jthilo@gnu.org>
1751
1752 * README: Document help-bison list.
1753
1754 * configure.in: Add check for mkstemp().
1755
17561999-01-20 Jesse Thilo <jthilo@gnu.org>
1757
1758 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
1759 Hush a few compiler warnings.
1760
1761 * src/files.c:
1762 Add tryclose(), which verifies that fclose was successful.
1763 Hush a couple of compiler warnings.
1764
17651999-01-20 Jesse Thilo <jthilo@gnu.org>
1766
1767 * Makefile.am, OChangeLog:
1768 ChangeLog is now automatically generated. Include the old version as
1769 OChangeLog.
1770
17711999-01-14 Jesse Thilo <jthilo@gnu.org>
1772
1773 * 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:
1774 Update FSF address.
1775
17761999-01-14 Jesse Thilo <jthilo@gnu.org>
1777
1778 * doc/bison.texinfo: Fix formatting glitch.
1779
1780 * doc/bison.texinfo: Update FSF address.
1781
17821999-01-14 Jesse Thilo <jthilo@gnu.org>
1783
1784 * acconfig.h: Update FSF address.
1785
17861999-01-08 Jesse Thilo <jthilo@gnu.org>
1787
1788 * src/system.h:
1789 Don't define PACKAGE here, since config.h defines it.
1790
17911998-12-30 Jesse Thilo <jthilo@gnu.org>
1792
1793 * src/reader.c: Update copyright date.
1794
1795 * src/main.c:
1796 Ditch sprintf to statically-sized buffers in fatal/warn functions in
1797 favor of output directly to stderr (avoids buffer overruns).
1798
1799 * src/reader.c: Some checks for premature EOF.
1800
1801 * 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:
1802 Use prototypes if the compiler understands them.
1803
1804 * src/files.c: Honor TMPDIR on Unix hosts.
1805 Use prototypes if the compiler understands them.
1806
1807 * src/reader.c:
1808 Fix a couple of buffer overrun bugs.
1809 Use prototypes if the compiler understands them.
1810
1811 * src/system.h: Include unistd.h and ctype.h.
1812 Use #ifdef instead of #if for NLS symbols.
1813
18141998-12-30 Jesse Thilo <jthilo@gnu.org>
1815
1816 * doc/bison.texinfo:
1817 Delete comment "consider using @set for edition number, etc..." since
1818 we now are doing so.
1819
18201998-12-30 Jesse Thilo <jthilo@gnu.org>
1821
1822 * configure.in:
1823 Use prototypes if the compiler understands them.
1824
1825 * NEWS: Document 1.26 highlights.
1826
1827 * Makefile.am: Require Automake 1.3 or later.
1828
1829 * acconfig.h:
1830 Use prototypes if the compiler understands them.
1831
18321998-12-29 Jesse Thilo <jthilo@gnu.org>
1833
1834 * src/version.c:
1835 Use VERSION symbol from automake for version number.
1836
18371998-12-29 Jesse Thilo <jthilo@gnu.org>
1838
1839 * acconfig.h, configure.in, version.cin:
1840 Use VERSION symbol from automake for version number.
1841
18421998-11-28 Jesse Thilo <jthilo@gnu.org>
1843
1844 * Makefile.am:
1845 Distribute original version of simple parser (bison.s1), not built
1846 version (bison.simple).
1847
18481998-11-28 Jesse Thilo <jthilo@gnu.org>
1849
1850 * doc/bison.texinfo: Add info dir entry.
1851
1852 * doc/bison.texinfo:
1853 Let automake put version number into documentation.
1854
18551998-11-26 Jesse Thilo <jthilo@gnu.org>
1856
1857 * src/bison.cld, src/build.com, src/vmshlp.mar:
1858 Add non-RCS files from /gd/gnu/bison.
1859
18601998-11-26 Jesse Thilo <jthilo@gnu.org>
1861
1862 * doc/bison.1:
1863 Document the BISON_HAIRY and BISON_SIMPLE variables.
1864
18651998-11-25 Jesse Thilo <jthilo@gnu.org>
1866
1867 * src/version.c: Build version.c automatically.
1868
1869 * src/reader.c:
1870 Fix token numbering (used to start at 258, not 257).
1871
1872 * src/system.h: Include config.h.
1873
1874 * src/getargs.c: Update bug report address.
1875
1876 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
1877 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
1878
18791998-11-25 Jesse Thilo <jthilo@gnu.org>
1880
1881 * Makefile.am:
1882 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1883
1884 * configure.in, version.cin:
1885 Build version.c automatically.
1886
1887 * AUTHORS: Add AUTHORS file.
1888
1889 * README: Update bug report address.
1890
1891 * bison.simple:
1892 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1893
1894 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
1895 Add automake stuff.
1896
18971998-11-25 Jesse Thilo <jthilo@gnu.org>
1898
1899 * doc/bison.texinfo: Clean up some formatting.
1900
19011998-05-05 Richard Stallman <rms@gnu.org>
1902
1903 * doc/bison.texinfo:
1904 Explain better why to make a pure parser.
1905
19061998-01-05 Richard Stallman <rms@gnu.org>
1907
1908 * src/files.c (openfiles):
1909 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
1910 find a temporary directory, if possible. Do not unlink files while
1911 they are open.
1912
19131997-08-25 Richard Stallman <rms@gnu.org>
1914
1915 * src/reader.c (stack_offset;):
1916 Change some warni to warns.
1917
1918 * src/lex.c (literalchar): Use warns, not warni.
1919
19201997-06-28 Richard Stallman <rms@gnu.org>
1921
1922 * src/bison.s1: Add a Bison version comment.
1923
1924 * src/main.c (fatal, warn, berror):
1925 Use program_name.
1926
19271997-06-28 Richard Stallman <rms@gnu.org>
1928
1929 * Makefile.in (bison_version): New variable.
1930 (dist): Use that variable.
1931 (bison.s1): Substitute the Bison version into bison.simple.
1932
1933 * bison.simple: Add a Bison version comment.
1934
19351997-06-18 Richard Stallman <rms@gnu.org>
1936
1937 * src/main.c (fatal, warn, berror):
1938 Make error messages standard.
1939 (toomany): Improve error message text.
1940
1941 * 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:
1942 new.h renamed to alloc.h.
1943
19441997-06-18 Richard Stallman <rms@gnu.org>
1945
1946 * Makefile.in: new.h renamed to alloc.h.
1947
19481997-05-24 Richard Stallman <rms@gnu.org>
1949
1950 * src/lex.c (literalchar):
1951 Fix the code for escaping \, " and '.
1952
1953 (lex): Avoid trouble when there are many chars
1954 to discard in a char literal with just several chars in it.
1955
19561997-05-17 Richard Stallman <rms@gnu.org>
1957
1958 * src/bison.s1:
1959 Use malloc, if using alloca is troublesome.
1960 (YYSTACK_USE_ALLOCA): New flag macro.
1961 Define it for some systems and compilers.
1962 (YYSTACK_ALLOC): New macro.
1963 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1964 If it was malloc'd, free it.
1965
19661997-05-17 Richard Stallman <rms@gnu.org>
1967
1968 * bison.simple:
1969 Use malloc, if using alloca is troublesome.
1970 (YYSTACK_USE_ALLOCA): New flag macro.
1971 Define it for some systems and compilers.
1972 (YYSTACK_ALLOC): New macro.
1973 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1974 If it was malloc'd, free it.
1975
19761997-04-23 Richard Stallman <rms@gnu.org>
1977
1978 * src/bison.s1:
1979 (alloca) [__hpux]: Always define as __builtin_alloca.
1980
19811997-04-23 Richard Stallman <rms@gnu.org>
1982
1983 * bison.simple:
1984 (alloca) [__hpux]: Always define as __builtin_alloca.
1985
19861997-04-22 Richard Stallman <rms@gnu.org>
1987
1988 * src/bison.s1:
1989 [__hpux]: Include alloca.h (right for HPUX 10)
1990 instead of declaring alloca (right for HPUX 9).
1991
1992 * src/bison.s1 (__yy_memcpy):
1993 Declare arg `count' as unsigned int.
1994 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1995
19961997-04-22 Richard Stallman <rms@gnu.org>
1997
1998 * bison.simple:
1999 [__hpux]: Include alloca.h (right for HPUX 10)
2000 instead of declaring alloca (right for HPUX 9).
2001
2002 * bison.simple (__yy_memcpy):
2003 Declare arg `count' as unsigned int.
2004 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2005
20061997-01-03 Richard Stallman <rms@gnu.org>
2007
2008 * src/allocate.c: [__STDC__ or _MSC_VER]:
2009 Declare calloc and realloc to return void *.
2010
20111997-01-02 Richard Stallman <rms@gnu.org>
2012
2013 * src/system.h:
2014 [_MSC_VER]: Include stdlib.h and process.h.
2015 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
2016
2017 * src/main.c (main): Return FAILURE as a value.
2018 (printable_version): Declare arg as int, not char.
2019
20201997-01-02 Richard Stallman <rms@gnu.org>
2021
2022 * Makefile.in (dist):
2023 Explicitly check for symlinks, and copy them.
2024
20251996-12-19 Richard Stallman <rms@gnu.org>
2026
2027 * src/files.c:
2028 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
2029
20301996-12-18 Paul Eggert <eggert@gnu.org>
2031
2032 * src/bison.s1 (yyparse):
2033 If __GNUC__ and YYPARSE_PARAM are both defined,
2034 declare yyparse to have a void * argument.
2035
20361996-12-18 Paul Eggert <eggert@gnu.org>
2037
2038 * bison.simple (yyparse):
2039 If __GNUC__ and YYPARSE_PARAM are both defined,
2040 declare yyparse to have a void * argument.
2041
20421996-12-17 Richard Stallman <rms@gnu.org>
2043
2044 * src/reduce.c (nbits): Add some casts.
2045
20461996-08-12 Richard Stallman <rms@gnu.org>
2047
2048 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
2049
20501996-08-12 Richard Stallman <rms@gnu.org>
2051
2052 * bison.simple: Test _MSDOS as well as _MSDOS_.
2053
20541996-07-31 Richard Stallman <rms@gnu.org>
2055
2056 * src/bison.s1:
2057 [__sun && __i386]: Include alloca.h.
2058
20591996-07-31 Richard Stallman <rms@gnu.org>
2060
2061 * bison.simple:
2062 [__sun && __i386]: Include alloca.h.
2063
20641996-07-30 Richard Stallman <rms@gnu.org>
2065
2066 * src/bison.s1: Comment change.
2067
2068 * src/bison.s1: Test _MSDOS_, not MSDOS.
2069
20701996-07-30 Richard Stallman <rms@gnu.org>
2071
2072 * bison.simple: Comment change.
2073
2074 * bison.simple: Test _MSDOS_, not MSDOS.
2075
20761996-06-01 Richard Stallman <rms@gnu.org>
2077
2078 * 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:
2079 Insert `_' macro around many string constants.
2080
2081 * src/main.c:
2082 Insert `_' macro around many string constants.
2083
2084 (main): Call setlocale, bindtextdomain and textdomain.
2085
2086 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
2087 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
2088 [ENABLE_NLS]: Include libintl.h.
2089 [ENABLE_NLS] (gettext): Define.
2090 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
2091 (N_, PACKAGE, LOCALEDIR): New macros.
2092
20931996-06-01 Richard Stallman <rms@gnu.org>
2094
2095 * POTFILES.in: New file.
2096
2097 * Makefile.in (allocate.o):
2098 Define target explicitly.
2099
2100 * Makefile.in (CFLAGS): Set to @CFLAGS@.
2101 (LDFLAGS): Set to @LDFLAGS@.
2102 (configure): Run autoconf only if preceding `cd' succeeds.
2103 (bison.s1): Redirect output to temporary file then move the
2104 temporary to the target, rather than redirecting directly to bison.s1.
2105 (clean): Remove config.status and config.log.
2106 (distclean): Don't remove config.status here.
2107
21081996-05-12 Richard Stallman <rms@gnu.org>
2109
2110 * src/bison.s1:
2111 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
2112
21131996-05-12 Richard Stallman <rms@gnu.org>
2114
2115 * bison.simple:
2116 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
2117
21181996-05-11 Richard Stallman <rms@gnu.org>
2119
2120 * src/bison.s1 (__yy_memcpy):
2121 Really reorder the args, as was supposedly done on Feb 14 1995.
2122 (yyparse): Calls changed accordingly.
2123
21241996-05-11 Richard Stallman <rms@gnu.org>
2125
2126 * Makefile.in (dist): Don't use $(srcdir).
2127
2128 * bison.simple (__yy_memcpy):
2129 Really reorder the args, as was supposedly done on Feb 14 1995.
2130 (yyparse): Calls changed accordingly.
2131
21321996-01-27 Richard Stallman <rms@gnu.org>
2133
2134 * src/output.c (output_rule_data):
2135 Test YYERROR_VERBOSE in the conditional
2136 around the definition of ttyname.
2137
21381995-12-29 Richard Stallman <rms@gnu.org>
2139
2140 * src/bison.s1:
2141 Fix line numbers in #line commands.
2142
21431995-12-29 Richard Stallman <rms@gnu.org>
2144
2145 * bison.simple:
2146 Fix line numbers in #line commands.
2147
21481995-12-27 Richard Stallman <rms@gnu.org>
2149
2150 * src/bison.s1 (YYPARSE_PARAM_DECL):
2151 In C++, make it always null.
2152 (YYPARSE_PARAM_ARG): New macro.
2153 (yyparse): Use YYPARSE_PARAM_ARG.
2154
21551995-12-27 Richard Stallman <rms@gnu.org>
2156
2157 * bison.simple (YYPARSE_PARAM_DECL):
2158 In C++, make it always null.
2159 (YYPARSE_PARAM_ARG): New macro.
2160 (yyparse): Use YYPARSE_PARAM_ARG.
2161
21621995-11-29 Richard Stallman <rms@gnu.org>
2163
2164 * doc/bison.texinfo:
2165 Describe literal string tokens, %raw, %no_lines, %token_table.
2166
21671995-11-29 Daniel Hagerty <hag@gnu.org>
2168
2169 * doc/bison.texinfo: Fixed update date
2170
21711995-10-16 Richard Stallman <rms@gnu.org>
2172
2173 * src/version.c: Version 1.25.
2174
21751995-10-16 Richard Stallman <rms@gnu.org>
2176
2177 * NEWS: *** empty log message ***
2178
21791995-10-16 Richard Stallman <rms@gnu.org>
2180
2181 * doc/bison.1, doc/bison.rnh:
2182 Add new options.
2183
21841995-10-15 Richard Stallman <rms@gnu.org>
2185
2186 * src/vmsgetargs.c, src/getargs.c:
2187 Added -n, -k, and -raw switches.
2188 (noparserflag, toknumflag, rawtoknumflag): New variables.
2189
2190 * src/symtab.h (SALIAS):
2191 New #define for adding aliases to %token.
2192 (struct bucket): Added `alias' field.
2193
2194 * src/reduce.c (reduce_grammar):
2195 Revise error message.
2196 (print_notices): Remove final `.' from error message.
2197
2198 * src/reader.c (reader_output_yylsp):
2199 New function.
2200 (readgram): Use `#if 0' around code that accepted %command
2201 inside grammar rules: The documentation doesn't allow it,
2202 and it will fail since the %command processors scan for the next %.
2203 (parse_token_decl): Extended the %token
2204 declaration to allow a multi-character symbol as an alias.
2205 (parse_thong_decl): New function.
2206 (read_declarations): Added %thong declarations.
2207 (read_declarations): Handle NOOP to deal with allowing
2208 % declarations as another means to specify the flags.
2209 (readgram): Allow %prec prior to semantics embedded in a rule.
2210 (skip_to_char, read_declarations, copy_definition)
2211 (parse_token_decl, parse_start_decl, parse_type_decl)
2212 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
2213 (get_type_name, copy_guard, copy_action, readgram)
2214 (get_type, packsymbols): Revised most error messages.
2215 Changed `fatal' to `warnxxx' to avoid aborting for error.
2216 Revised and use multiple warnxxx functions to avoid using VARARGS1.
2217 (read_declarations): Improve the error message for
2218 an invalid character. Do not abort.
2219 (read_declarations, copy_guard, copy_action): Use
2220 printable_version to avoid unprintable characters in printed output.
2221 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
2222 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
2223 Allow the type of a non-terminal can be given
2224 more than once, as long as all specifications give the same type.
2225
2226 * src/output.c:
2227 (output_headers, output_trailers, output, output_gram)
2228 (output_rule_data): Implement noparserflag variable.
2229 Implement toknumflag variable.
2230 (output): Call reader_output_yylsp to output LTYPESTR.
2231
2232 * src/main.c (main):
2233 If reader sees an error, don't process the grammar.
2234 (fatals): Updated to not use VARARGS1.
2235 (printable_version, int_to_string, warn, warni, warns, warnss)
2236 (warnsss): New error reporting functions. Avoid abort for error.
2237
2238 * src/lex.h:
2239 Added THONG and NOOP for alias processing.
2240 Added SETOPT for the new code that allows setting options with %flags.
2241
2242 * src/lex.c:
2243 Include getopt.h. Add some extern decls.
2244 (safegetc): New function to deal with EOF gracefully.
2245 (literalchar); new function to deal with reading \ escapes.
2246 (lex): Use literalchar.
2247 (lex): Implemented "..." tokens.
2248 (literalchar, lex, parse_percent_token): Made tokenbuffer
2249 always contain the token. This includes growing the token
2250 buffer while reading an integer.
2251 (parse_percent_token): Replaced if-else statement with percent_table.
2252 (parse_percent_token): Added % declarations as another
2253 way to specify the flags -n, -l, and -r. Also added hooks for
2254 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
2255 major changes to files.c.
2256 (lex) Retain in the incoming stream a character following
2257 an incorrect '/'.
2258 (skip_white_space, lex): Revised most error messages
2259 and changed fatal to warn to avoid aborting.
2260 (percent_table): Added %thong declarations.
2261
2262 * src/gram.h: Comment changes.
2263
2264 * src/files.c (openfiles, open_extra_files, done):
2265 Add faction flag
2266 and actfile file. Handle noparserflag. Both for -n switch.
2267
2268 * src/conflicts.c (resolve_sr_conflict):
2269 Remove use of alloca.
2270
22711995-06-01 Jim Meyering <meyering@gnu.org>
2272
2273 * doc/bison.texinfo: *** empty log message ***
2274
22751995-05-06 Richard Stallman <rms@gnu.org>
2276
2277 * src/bison.s1: Comment change.
2278
22791995-05-06 Richard Stallman <rms@gnu.org>
2280
2281 * bison.simple: Comment change.
2282
22831995-05-03 Richard Stallman <rms@gnu.org>
2284
2285 * src/version.c: Version now 1.24.
2286
2287 * src/bison.s1: Change distribution terms.
2288
2289 * src/version.c: Version now 1.23.
2290
22911995-05-03 Richard Stallman <rms@gnu.org>
2292
2293 * doc/bison.texinfo:
2294 Rewrite "Conditions for Using Bison".
2295 Update version to 1.24.
2296
22971995-05-03 Richard Stallman <rms@gnu.org>
2298
2299 * bison.simple: Change distribution terms.
2300
23011995-02-23 Richard Stallman <rms@gnu.org>
2302
2303 * src/files.c: Test __VMS_POSIX as well as VMS.
2304
23051995-02-14 Jim Meyering <meyering@gnu.org>
2306
2307 * src/bison.s1 (__yy_memcpy):
2308 Renamed from __yy_bcopy to avoid
2309 confusion. Reverse FROM and TO arguments to be consistent with
2310 those of memcpy.
2311
23121995-02-14 Jim Meyering <meyering@gnu.org>
2313
2314 * bison.simple (__yy_memcpy):
2315 Renamed from __yy_bcopy to avoid
2316 confusion. Reverse FROM and TO arguments to be consistent with
2317 those of memcpy.
2318
23191994-11-10 David J. MacKenzie <djm@gnu.org>
2320
2321 * NEWS: reformat
2322
2323 * NEWS: New file.
2324
2325 * Makefile.in (DISTFILES): Include NEWS.
2326
2327 * Makefile.in (DISTFILES):
2328 Include install-sh, not install.sh.
2329
2330 * configure.in: Update to Autoconf v2 macro names.
2331
23321994-10-05 David J. MacKenzie <djm@gnu.org>
2333
2334 * Makefile.in: fix typo
2335
2336 * Makefile.in (prefix, exec_prefix):
2337 Let configure set them.
2338
23391994-09-28 David J. MacKenzie <djm@gnu.org>
2340
2341 * Makefile.in: Set datadir to $(prefix)/share.
2342
23431994-09-15 Richard Stallman <rms@gnu.org>
2344
2345 * src/bison.s1:
2346 Update copyright notice and GPL version.
2347
23481994-09-15 Richard Stallman <rms@gnu.org>
2349
2350 * bison.simple:
2351 Update copyright notice and GPL version.
2352
23531994-07-12 Richard Stallman <rms@gnu.org>
2354
2355 * src/reduce.c, src/reader.c:
2356 entered into RCS
2357
23581994-05-05 David J. MacKenzie <djm@gnu.org>
2359
2360 * Makefile.in: entered into RCS
2361
23621994-03-26 Richard Stallman <rms@gnu.org>
2363
2364 * src/bison.s1: entered into RCS
2365
23661994-03-26 Richard Stallman <rms@gnu.org>
2367
2368 * bison.simple: entered into RCS
2369
23701994-03-25 Richard Stallman <rms@gnu.org>
2371
2372 * src/main.c: entered into RCS
2373
23741994-03-24 Richard Stallman <rms@gnu.org>
2375
2376 * src/conflicts.c: entered into RCS
2377
23781994-01-02 Richard Stallman <rms@gnu.org>
2379
2380 * Makefile.in: *** empty log message ***
2381
23821993-11-21 Richard Stallman <rms@gnu.org>
2383
2384 * src/bison.s1: *** empty log message ***
2385
23861993-11-21 Richard Stallman <rms@gnu.org>
2387
2388 * doc/bison.texinfo: entered into RCS
2389
2390 * doc/bison.texinfo: *** empty log message ***
2391
23921993-11-21 Richard Stallman <rms@gnu.org>
2393
2394 * bison.simple: *** empty log message ***
2395
23961993-10-25 David J. MacKenzie <djm@gnu.org>
2397
2398 * doc/bison.texinfo: *** empty log message ***
2399
24001993-10-19 Richard Stallman <rms@gnu.org>
2401
2402 * src/bison.s1: *** empty log message ***
2403
24041993-10-19 Richard Stallman <rms@gnu.org>
2405
2406 * bison.simple: *** empty log message ***
2407
24081993-10-14 Richard Stallman <rms@gnu.org>
2409
2410 * src/bison.s1: *** empty log message ***
2411
24121993-10-14 Richard Stallman <rms@gnu.org>
2413
2414 * bison.simple: *** empty log message ***
2415
24161993-09-14 David J. MacKenzie <djm@gnu.org>
2417
2418 * doc/bison.texinfo: *** empty log message ***
2419
24201993-09-13 Noah Friedman <friedman@gnu.org>
2421
2422 * Makefile.in: *** empty log message ***
2423
24241993-09-10 Richard Stallman <rms@gnu.org>
2425
2426 * src/conflicts.c: *** empty log message ***
2427
2428 * src/system.h: entered into RCS
2429
24301993-09-10 Richard Stallman <rms@gnu.org>
2431
2432 * doc/bison.1: entered into RCS
2433
24341993-09-06 Noah Friedman <friedman@gnu.org>
2435
2436 * src/version.c: entered into RCS
2437
24381993-09-06 Noah Friedman <friedman@gnu.org>
2439
2440 * Makefile.in: *** empty log message ***
2441
24421993-07-30 David J. MacKenzie <djm@gnu.org>
2443
2444 * Makefile.in: *** empty log message ***
2445
24461993-07-24 Richard Stallman <rms@gnu.org>
2447
2448 * src/bison.s1: *** empty log message ***
2449
24501993-07-24 Richard Stallman <rms@gnu.org>
2451
2452 * bison.simple: *** empty log message ***
2453
24541993-07-08 David J. MacKenzie <djm@gnu.org>
2455
2456 * Makefile.in: *** empty log message ***
2457
24581993-07-04 Richard Stallman <rms@gnu.org>
2459
2460 * src/bison.s1: *** empty log message ***
2461
24621993-07-04 Richard Stallman <rms@gnu.org>
2463
2464 * bison.simple: *** empty log message ***
2465
24661993-06-26 David J. MacKenzie <djm@gnu.org>
2467
2468 * src/getargs.c: entered into RCS
2469
24701993-06-26 David J. MacKenzie <djm@gnu.org>
2471
2472 * doc/bison.texinfo: *** empty log message ***
2473
2474 * doc/bison.1: New file.
2475
24761993-06-25 Richard Stallman <rms@gnu.org>
2477
2478 * src/getargs.c: New file.
2479
24801993-06-16 Richard Stallman <rms@gnu.org>
2481
2482 * src/bison.s1: *** empty log message ***
2483
24841993-06-16 Richard Stallman <rms@gnu.org>
2485
2486 * bison.simple: *** empty log message ***
2487
24881993-06-03 Richard Stallman <rms@gnu.org>
2489
2490 * src/bison.s1: New file.
2491
24921993-06-03 Richard Stallman <rms@gnu.org>
2493
2494 * doc/bison.texinfo: *** empty log message ***
2495
24961993-06-03 Richard Stallman <rms@gnu.org>
2497
2498 * bison.simple: New file.
2499
25001993-05-19 Richard Stallman <rms@gnu.org>
2501
2502 * doc/bison.texinfo: New file.
2503
25041993-05-07 Noah Friedman <friedman@gnu.org>
2505
2506 * Makefile.in: *** empty log message ***
2507
25081993-04-28 Noah Friedman <friedman@gnu.org>
2509
2510 * src/reader.c: *** empty log message ***
2511
25121993-04-23 Noah Friedman <friedman@gnu.org>
2513
2514 * src/alloc.h: entered into RCS
2515
25161993-04-20 David J. MacKenzie <djm@gnu.org>
2517
2518 * src/version.c: *** empty log message ***
2519
2520 * src/files.c, src/allocate.c:
2521 entered into RCS
2522
2523 * src/reader.c: *** empty log message ***
2524
2525 * src/lex.c: entered into RCS
2526
2527 * src/conflicts.c: New file.
2528
2529 * src/symtab.c: entered into RCS
2530
2531 * src/alloc.h: New file.
2532
2533 * src/LR0.c: entered into RCS
2534
25351993-04-18 Noah Friedman <friedman@gnu.org>
2536
2537 * src/reader.c: New file.
2538
2539 * src/version.c: *** empty log message ***
2540
25411993-04-18 Noah Friedman <friedman@gnu.org>
2542
2543 * Makefile.in: *** empty log message ***
2544
25451993-04-17 Noah Friedman <friedman@gnu.org>
2546
2547 * Makefile.in: *** empty log message ***
2548
25491993-04-15 Richard Stallman <rms@gnu.org>
2550
2551 * src/main.c, src/files.c:
2552 New file.
2553
25541993-04-15 Noah Friedman <friedman@gnu.org>
2555
2556 * configure.in: entered into RCS
2557
2558 * configure.in: *** empty log message ***
2559
2560 * configure.in: New file.
2561
25621993-04-14 Richard Stallman <rms@gnu.org>
2563
2564 * Makefile.in: New file.
2565
25661993-04-13 Richard Stallman <rms@gnu.org>
2567
2568 * src/version.c: New file.
2569
25701993-03-25 Richard Stallman <rms@gnu.org>
2571
2572 * src/output.c: entered into RCS
2573
25741992-09-25 Richard Stallman <rms@gnu.org>
2575
2576 * configure.bat: entered into RCS
2577
25781992-06-22 Richard Stallman <rms@gnu.org>
2579
2580 * src/vmsgetargs.c: entered into RCS
2581
25821992-06-22 Richard Stallman <rms@gnu.org>
2583
2584 * doc/bison.rnh: entered into RCS
2585
25861992-04-20 David J. MacKenzie <djm@gnu.org>
2587
2588 * README: entered into RCS
2589
25901992-01-22 Richard Stallman <rms@gnu.org>
2591
2592 * src/machine.h: entered into RCS
2593
25941991-12-21 Richard Stallman <rms@gnu.org>
2595
2596 * src/lalr.c, src/closure.c:
2597 entered into RCS
2598
25991991-12-20 Richard Stallman <rms@gnu.org>
2600
2601 * src/state.h: entered into RCS
2602
26031991-12-18 Richard Stallman <rms@gnu.org>
2604
2605 * src/print.c, src/nullable.c, src/derives.c:
2606 entered into RCS
2607
26081991-11-03 David J. MacKenzie <djm@gnu.org>
2609
2610 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
2611 entered into RCS
2612
26131988-09-09 Richard Stallman <rms@gnu.org>
2614
2615 * src/bison.hairy: entered into RCS
2616
26171987-12-16 Richard Stallman <rms@gnu.org>
2618
2619 * REFERENCES: entered into RCS