]> git.saurik.com Git - bison.git/blame - ChangeLog
* src/output.c (output_parser): Delete unused variable actions_dumped.
[bison.git] / ChangeLog
CommitLineData
13105fc1
PB
12001-09-18 Pascal Bart <pascal.bart@epita.fr>
2
3 * src/output.c (output_parser): Delete unused variable actions_dumped.
4
b0c4483e
PB
52001-09-07 Pascal Bart <pascal.bart@epita.fr>
6
7 * src/output.c (output): Delete call to reader_output_yylsp.
8 * src/reader.c (reader): Likewise.
9 * src/reader.h: Delete declaration of reader_output_yylsp.
10
11d82f03
MA
112001-09-02 Marc Autret <autret_m@epita.fr>
12
13 * src/reader.c: Include muscle_tab.h.
14 (parse_union_decl): Update.
15 (parse_macro_decl): Rename parse_muscle_decl.
16 Update to use renamed functions and variable.
17 (read_declarations, copy_action, read_additionnal_code, : Updated
18 with correct variables and functions names.
19 (packsymbols, reader): Likewise.
20
21 * src/reader.h (muscle_obstack): Extern declaration update.
22
23 * src/output.c: Include muscle_tab.h
24 In all functions using macro_insert, change by using muscle_insert ().
25 (macro_obstack): Rename muscle_obstack.
26 Echo modifications in the whole file.
27 (MACRO_INSERT_INT): Rename MUSCLE_INSERT_INT.
28 (MACRO_INSERT_STRING): Rename MUSCLE_INSERT_STRING.
29 (MACRO_INSERT_PREFIX): Rename MUSCLE_INSERT_PREFIX.
30
31 * src/muscle_tab.h: Update double inclusion macros.
32 (macro_entry_s): Rename muscle_entry_s.
33 Update prototypes.
34
35 * src/muscle_tab.c: Include muscle_tab.h.
36 Rename macro_tabble to muscle_table.
37 (mhash1, mhash2, mcmp): Use muscle_entry.
38 (macro_init): Rename muscle_init. Update.
39 (macro_insert): Rename muscle_insert. Update.
40 (macro_find): Rename muscle_find. Update.
41
42 * src/main.c: Include muscle_tab.h.
43 (main): Call muscle_init ().
44 * src/Makefile.am (bison_SOURCES): Echo modifications.
45
93a37297
MA
462001-09-02 Marc Autret <autret_m@epita.fr>
47
f753cd62
MA
48 Now the files macro_tab.[ch] are named muscle_tab.[ch].
49
50 * src/muscle_tab.c, src/muscle_tab.h: Add files.
51
522001-09-02 Marc Autret <autret_m@epita.fr>
53
54 * src/macrotab.c, src/macrotab.h: Remove.
93a37297 55
682d48cd
PB
562001-09-01 Pascal Bart <pascal.bart@epita.fr>
57
58 * src/reader.c (copy_guard): Use muscle to specify the `#line'
59 filename.
60
087c8fda
MA
612001-09-01 Marc Autret <autret_m@epita.fr>
62
63 * tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set
64 to an explicit value to activate the feature. We do it here.
65
dda680cb
PB
662001-08-31 Pascal Bart <pascal.bart@epita.fr>
67
68 * src/output.c (prepare): Delete the `filename' muscule insertion.
69 * src/reader.c (copy_action): Use `filename' muscule with `#line'.
70 (parse_union_decl): Likewise.
71 * src/macrotab.c (macro_init): Initialize filename by infile.
72
9e644e64
MA
732001-08-31 Marc Autret <autret_m@epita.fr>
74
75 * src/bison.simple (YYLSP_NEEDED): New definition.
76 * src/output.c (prepare): Add macro insertion of `locations_flag'
77
17da6427
PB
782001-08-31 Pascal Bart <pascal.bart@epita.fr>
79
80 * src/output.c (prepare): Delete insertion of previous muscles,
81 and insert the `prefix' muscles.
82 * src/macrotab.c (macro_init): Likewise.
83 (macro_init): Initialization prefix directive by `yy'.
84 * src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval,
85 %%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar,
86 yylval, yydebug, yyerror, yynerrs and yyparse.
87 New directive `#define' to substitute yydebug, ... with option
88 name_prefix.
89
e8cb70b9
PB
902001-08-31 Pascal Bart <pascal.bart@epita.fr>
91
92 * src/main.c (main): Standardize.
93 * src/output.c (output_table_data, output_parser): Likewise.
94 * src/macrotab.h, src/macrotab.c, src/bison.simple: Likewise.
95
63c2d5de
MA
962001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr>
97
98 * src/reader.c (read_additionnal_code): Rename %%user_code to
99 %%epilogue.
100 * src/output.c (output): Rename %%declarations to %%prologue.
101 * src/bison.simple: Echo modifications.
102
d8cb5183
MA
1032001-08-31 Marc Autret <autret_m@epita.fr>
104
105 * src/reader.c (readgram): CleanUp.
106 (output_token_defines): Likewise.
107 (packsymbols): Likewise.
108 (reader): Likewise.
109 * src/output.c (output): CPP-out useless code.
110
6c686258
PB
1112001-08-31 Pascal Bart <pascal.bart@epita.fr>
112
113 * src/reader.c (reader): Delete obsolete call to function
114 output_trailers and output_headers.
115 * src/output.h: Remove obsolete functions prototypes of output_headers
116 and output_trailers.
117
8f451ef7
PB
1182001-08-30 Pascal Bart <pascal.bart@epita.fr>
119
120 * src/main.c: Include macrotab.h.
121 * src/macrotab.h (macro_entry_s): Constify fields.
122 Adjust functions prototypes.
123 * src/macrotab.c (macro_insert): Constify key and value.
124 (macro_find): Constify key.
125 (macro_insert): Include 'xalloc.h'
126 (macro_insert): Use XMALLOC.
127 (macro_find): Constify return value.
128 * src/output.c (output_table_data): Rename table to table_data.
129 (output_parser): Constify macro_key, macro_value.
130
997b6fd0 1312001-08-30 Marc Autret <autret_m@epita.fr>
2ba3b73c
MA
132
133 * src/reader.c (parse_skel_decl): New.
134 (read_declarations): Add case `tok_skel', call parse_skel_decl ().
135 * src/lex.h (token_t): New token `tok_skel'.
136 * src/lex.c (percent_table): Add skeleton option entry.
137 Standardize.
138
ff48177d
MA
1392001-08-29 Marc Autret <autret_m@epita.fr>
140
141 * src/bison.simple: Add %%user_code directive at the end.
142 * src/reader.c (read_additionnal_code): New.
143 (reader): Use it.
144 * src/output.c (output_program): Remove.
145 (output): Update.
146
b33160bf
MA
1472001-08-28 Marc Autret <autret_m@epita.fr>
148
149 * src/output.c (output_actions): Clean up.
4e5caae2 150 (output_gram): CPP-out useless code.
b33160bf
MA
151 * src/reader.c (reader): Clean up, CPP-out useless code.
152
d1a2daf7
PB
1532001-08-28 Pascal Bart <pascal.bart@epita.fr>
154
535c0e75
PB
155 * src/output.c (output): Copy attrs_obstack in the '%%definitions'
156 directive.
d1a2daf7
PB
157 * src/bison.simple: Add `%%definitions'.
158
2b763dfe
MA
1592001-08-28 Marc Autret <autret_m@epita.fr>
160
161 * config/depcomp: New file.
162
f1a87ef6
PE
1632001-08-27 Paul Eggert <eggert@twinsun.com>
164
165 * src/bison.simple (yyparse): Don't take the address of an
166 item before the start of an array, as that doesn't conform to
167 the C Standard.
168
82e236e2
RA
1692001-08-27 Robert Anisko <robert.anisko@epita.fr>
170
f1a87ef6 171 * src/output.c (output): Remove the initialization of the macro
82e236e2
RA
172 obstack. It was done too late here.
173
174 * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was
175 completely wrong.
176 (reader): Initialize the macro obstack here, since we need it to grow
177 '%define' directives.
178
179 * src/reader.h: Declare the macro obstack as extern.
180
b0cfa28a
RA
1812001-08-27 Robert Anisko <robert.anisko@epita.fr>
182
183 * src/output.c (output_parser): Fix. Store single '%' characters in
184 the output obstack instead of throwing them away.
185
6fc74234
AD
1862001-08-27 Akim Demaille <akim@epita.fr>
187
188 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
189
9c76d118
RA
1902001-08-25 Robert Anisko <robert.anisko@epita.fr>
191
192 * lib/Makefile.am: Adjust.
193
a8289c62
RA
1942001-08-25 Robert Anisko <robert.anisko@epita.fr>
195
196 * src/bison.simple: Update and add '%%' directives.
197
b6610515
RA
1982001-08-25 Robert Anisko <robert.anisko@epita.fr>
199
200 * src/reader.c (reader): Remove calls to 'output_headers' and
201 'output_trailers'. Remove some C output.
202 (readgram): Disable a piece of code that was writing a default
203 definition for 'YYSTYPE'.
204 (reader_output_yylsp): Remove.
205 (packsymbols): Output token defintions to a macro.
206 (copy_definition): Disable C output.
6fc74234 207
b6610515
RA
208 * src/reader.c (parse_macro_decl): New function used to parse macro
209 declarations.
210 (copy_string2): Put the body of copy_string into this new function.
211 Add a parameter to let the caller choose whether he wants to copy the
212 string delimiters or not.
213 (copy_string): Be a simple call to copy_string2 with the last argument
214 bound to true.
215 (read_declarations): Add case for macro definition.
216 (copy_identifier): New.
6fc74234 217 (parse_macro_decl): Read macro identifiers using copy_identifier
b6610515
RA
218 rather than lex.
219
26f609ff
RA
2202001-08-25 Robert Anisko <robert.anisko@epita.fr>
221
222 * src/output.c (prepare): Add prefixed names.
223 (output_parser): Output semantic actions.
224 (output_parser): Fix bug on '%%line' directives.
6fc74234 225
26f609ff
RA
226 * src/output.c (output_headers): Remove. The C code printed by this
227 function should now be in the skeletons.
228 (output_trailers): Remove.
229 (output): Disable call to 'reader_output_yylsp'.
230 (output_rule_data): Do not output tables to the table obstack.
231
232 * src/output.c: Remove some C dedicated output.
233 Improve the use of macro and output obstacks.
234 (output_defines): Remove.
6fc74234 235
26f609ff
RA
236 * src/output.c (output_token_translations): Associate 'translate'
237 table with a macro. No output to the table obstack.
238 (output_gram): Same for 'rhs' and 'prhs'.
239 (output_stos): Same for 'stos'.
240 (output_rule_data): Same for 'r1' and 'r2'.
241 (token_actions): Same for 'defact'.
242 (goto_actions): Same for 'defgoto'.
243 (output_base): Same for 'pact' and 'pgoto'.
244 (output_table): Same for 'table'.
245 (output_check): Same for 'check'.
6fc74234 246
26f609ff
RA
247 * src/output.c (output_table_data): New function.
248 (output_short_table): Remove.
249 (output_short_or_char_table): Remove.
6fc74234 250
26f609ff
RA
251 * src/output.c (output_parser): Replace most of the skeleton copy code
252 with something new. Skeletons are now processed character by character
253 rather than line by line, and Bison looks for '%%' macros. This is the
254 first step in making Bison's output process (a lot) more flexible.
255 (output_parser): Use the macro table.
256
6f43b113
RA
2572001-08-25 Robert Anisko <robert.anisko@epita.fr>
258
259 * src/main.c (main): Initialize the macro table.
260
dd3127cf
RA
2612001-08-25 Robert Anisko <robert.anisko@epita.fr>
262
263 * src/lex.c (percent_table): Add tok_define.
264 * src/lex.h: Add tok_define.
265
aa321494
RA
2662001-08-25 Robert Anisko <robert.anisko@epita.fr>
267
268 * src/macrotab.c: New file.
269 * src/macrotab.h: New file.
270 * src/Makefile.am: Update.
271
68bd3b6b
RA
2722001-08-25 Robert Anisko <robert.anisko@epita.fr>
273
274 * lib/hash.c: New file.
275 * lib/hash.h: New file.
276 * lib/Makefile.am: Update.
277
45f8dd1e
AD
2782001-08-15 Akim Demaille <akim@epita.fr>
279
280 Version 1.28c.
281
40a64a7a 2822001-08-15 Marc Autret <autret_m@epita.fr>
0b8afb77
AD
283
284 * src/reader.c (readgram): Indent output macro YYSTYPE.
285 (packsymbols): Likewise.
286 (output_token_defines): Likewise.
287 * src/files.c: Standardize.
288 (compute_header_macro): New.
289 (defines_obstack_save): New. Use compute_header_macro.
290 (output_files): Update. Use defines_obstack_save.
291
f9a8293a
AD
2922001-08-15 Akim Demaille <akim@epita.fr>
293
294 * doc/bison.texinfo (Table of Symbols): Document
295 YYSTACK_USE_ALLOCA.
296
150ca7a7
AD
2972001-08-15 Akim Demaille <akim@epita.fr>
298
299 * missing: Update from CVS Automake.
300 * config/config.guess, config/config.sub, config/texinfo.tex:
301 Update from gnu.org.
302
69b5cec4
AD
3032001-08-15 Akim Demaille <akim@epita.fr>
304
305 * Makefile.maint: Sync with CVS Autoconf.
306
f2b5126e
PB
3072001-08-14 Pascal Bart <pascal.bart@epita.fr>
308
69b5cec4 309 * doc/bison.texinfo: Include GNU Free Documentation License from
f2b5126e
PB
310 `fdl.texi'.
311 * doc/fdl.texi: Add to package.
312
4ecbf796
MA
3132001-08-14 Marc Autret <autret_m@epita.fr>
314
315 Turn on %{source,header}_extension features.
316
69b5cec4 317 * src/lex.c (percent_table): Un-CPP out header_extension and
4ecbf796
MA
318 source_extension.
319 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
69b5cec4 320 (compute_exts_from_src): Remove conditions. It restores priorities
4ecbf796
MA
321 between options.
322
95fb5662
MA
3232001-08-14 Marc Autret <autret_m@epita.fr>
324
325 * src/files.c (compute_base_names): Add extensions computing when
326 `--file-prefix' used.
327 Standardize function calls.
328
78d09da9
MA
3292001-08-13 Marc Autret <autret_m@epita.fr>
330
69b5cec4 331 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
78d09da9
MA
332 defining it (defined but null disables alloca).
333
5a009f2c
MA
3342001-08-13 Marc Autret <autret_m@epita.fr>
335
336 * src/bison.simple (_yy_memcpy): CPP reformat.
337
1e41465a
PB
3382001-08-13 Pascal Bart <pascal.bart@epita.fr>
339
340 * tests/atconfig.in (CPPFLAGS): Fix.
341
c67a198d
PB
3422001-08-10 Pascal Bart <pascal.bart@epita.fr>
343
79282c6c 344 * doc/bison.texinfo: Include GNU General Public License from
c67a198d
PB
345 `gpl.texi'.
346 * doc/gpl.texi: Add to package.
347
09a6de7e
MA
3482001-08-10 Marc Autret <autret_m@epita.fr>
349
350 * src/print_graph.h: Fix.
351 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
352
b77b9ee0
AD
3532001-08-10 Akim Demaille <akim@epita.fr>
354
355 * src/system.h: Provide default declarations for stpcpy, strndup,
356 and strnlen.
357
3e259915
MA
3582001-08-10 Robert Anisko <anisko_r@epita.fr>
359
360 * doc/bison.texinfo (Locations): Update @$ stuff.
361
ca96bc2d
MA
3622001-08-09 Robert Anisko <anisko_r@epita.fr>
363
364 * src/bison.simple (YYLLOC_DEFAULT): Update.
365 (yyparse): Adjust.
366
fdc6758b
MA
3672001-08-08 Marc Autret <autret_m@epita.fr>
368
b77b9ee0 369 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
fdc6758b
MA
370 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
371 Reported by Fabrice Bauzac.
957d4dbf 372
600cad3b
MA
3732001-08-08 Marc Autret <autret_m@epita.fr>
374
375 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
376 * src/vcg.c (output_node): Fix.
377 * src/vcg.h: Cleanup.
378 * src/print_graph.c: Add comments.
b77b9ee0 379 (node_output_size): New global variable. Simplify the formatting of
600cad3b 380 the VCG graph output.
b77b9ee0 381 (print_actions): Unused code is now used. It notifies the final state
600cad3b 382 and no action states in the VCG graph. It also give the reduce actions.
b77b9ee0 383 The `shift and goto' edges are red and the `go to state' edges are
600cad3b
MA
384 blue.
385 Get the current node name and node_obstack by argument.
386 (node_obstack): New variable.
387 (print_state): Manage node_obstack.
388 (print_core): Use node_obstack given by argument.
389 A node is not only computed here but in print_actions also.
390 (print_graph): CPP out useless code instead of commenting it.
391
976e528f
AD
3922001-08-07 Pascal Bart <pascal.bart@epita.fr>
393
394 * tests/atconfig.in (CPPFLAGS): Fix.
395
20e8e5ca
AD
3962001-08-07 Akim Demaille <akim@epita.fr>
397
398 * src/print_graph.c (quote): New.
399 (print_core): Use it.
400
957d4dbf 4012001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
3e3da797 402
3e3da797
AD
403 * src/vcg.c (complain.h): Include it.
404 Unepitaize `return' invocations.
c4b66126 405 [NDEBUG] (main): Remove.
79282c6c 406 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
c4b66126
AD
407 * src/files.c (open_files): Initialize graph_obstack.
408 * src/print_graph.c (print_actions): CPP out useless code.
409 (print_core): Don't output the last `\n' in labels.
410 Use `quote'.
411 * src/files.c (output_files): Output the VCG file.
412 * src/main.c (main): Invoke print_graph ();
3e3da797 413
957d4dbf 4142001-08-06 Marc Autret <autret_m@epita.fr>
22c2cbc0
AD
415
416 Automaton VCG graph output.
417 Using option ``-g'' or long option ``--graph'', you can generate
418 a gram_filename.vcg file containing a VCG description of the LALR (1)
419 automaton of your grammar.
420
421 * src/main.c: Call to print_graph() function.
422 * src/getargs.h: Update.
423 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
424 (graph_flag): New flag.
425 (longopts): Update.
426 (getargs): Add case `g'.
427 * src/files.c (graph_obstack): New obstack struct.
428 (open_files): Initialize new obstack.
429 (output_files): Saves graph_obstack if required.
430 * src/files.h (graph_obstack): New extern declaration.
431 * src/Makefile.am: Add new source files.
432
957d4dbf 4332001-08-06 Marc Autret <autret_m@epita.fr>
ce4d5ce0
AD
434
435 * src/print_graph.c, src/print_graph.h (graph): New.
436 * src/vcg.h: New file.
437 * src/vcg.c: New file, VCG graph handling.
438
7333d403
AD
4392001-08-06 Marc Autret <autret_m@epita.fr>
440
441 Add of %source_extension and %header_extension which specify
442 the source or/and the header output file extension.
443
444 * src/files.c (compute_base_names): Remove initialisation of
445 src_extension and header_extension.
446 (compute_exts_from_gf): Update.
447 (compute_exts_from_src): Update.
448 (output_files): Update.
449 * src/reader.c (parse_header_extension_decl): New.
450 (parse_source_extension_decl): New.
451 (read_declarations): New case statements for the new tokens.
452 * src/lex.c (percent_table): Add entries for %source_extension
453 and %header_extension.
454 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
455
84163231
AD
4562001-08-06 Marc Autret <autret_m@epita.fr>
457
458 * configure.in: Bump to 1.28c.
459 * doc/bison.texinfo: Texinfo thingies.
460
8303fc42
AD
4612001-08-04 Pascal Bart <pascal.bart@epita.fr>
462
463 * tests/atconfig.in (CPPFLAGS): Add.
464 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
465
70a84437
AD
4662001-08-03 Akim Demaille <akim@epita.fr>
467
468 Version 1.28b.
469
2ce10144
AD
4702001-08-03 Akim Demaille <akim@epita.fr>
471
472 * tests/Makefile.am (check-local): Ship testsuite.
473 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
474 Include `string.h'.
475
1e3e4bc1
AD
4762001-08-03 Akim Demaille <akim@epita.fr>
477
478 * configure.in: Try using -Wformat when compiling.
479
42b45b7f
AD
4802001-08-03 Akim Demaille <akim@epita.fr>
481
482 * configure.in: Bump to 1.28b.
483
8f13fe33
AD
4842001-08-03 Akim Demaille <akim@epita.fr>
485
486 * src/complain.c: Adjust strerror_r portability issues.
487
b37ba92c
AD
4882001-08-03 Akim Demaille <akim@epita.fr>
489
490 Version 1.28a.
491
b0ce6046
AD
4922001-08-03 Akim Demaille <akim@epita.fr>
493
494 * src/getargs.c, src/getarg.h (skeleton)): Constify.
495 * src/lex.c (literalchar): Avoid name clashes on `buf'.
496 * src/getargs.c: Include complain.h.
497 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
498 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
499
d01c415b
AD
5002001-08-03 Akim Demaille <akim@epita.fr>
501
502 * src/reader.c (readgram): Display hidden chars in error messages.
503
459dd1a6
AD
5042001-08-03 Akim Demaille <akim@epita.fr>
505
506 Update to gettext 0.10.39.
507
53b74c0c
AD
5082001-08-03 Akim Demaille <akim@epita.fr>
509
510 * lib/strspn.c: New.
511
234a3be3
AD
5122001-08-01 Marc Autret <autret_m@epita.fr>
513
514 * doc/bison.texinfo: Update.
515 * doc/bison.1 (mandoc): Update.
516 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
517 * src/files.c: Support output files extensions computing.
518 (src_extension): New static variable.
519 (header_extension): New static variable.
520 (tr): New function.
521 (get_extension_index): New function, gets the index of an extension
522 filename in a string.
523 (compute_exts_from_gf): New function, computes extensions from the
524 grammar file extension.
525 (compute_exts_from_src): New functions, computes extensions from the
526 C source file extension, file given by ``-o'' option.
527 (compute_base_names): Update.
528 (output_files): Update.
529
847bf1f5
AD
5302001-08-01 Robert Anisko <anisko_r@epita.fr>
531
d995fee7 532 * doc/bison.texi: Document @$.
847bf1f5
AD
533 (Locations): New section.
534
d074a105
AD
5352001-07-18 Akim Demaille <akim@epita.fr>
536
537 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
538 * config/prev-version.txt, config/move-if-change: New.
539 * Makefile.am: Adjust.
540
3419715d
AD
5412001-07-08 Pascal Bart <pascal.bart@epita.fr>
542
543 * src/bison.simple (yyparse): Suppress warning `comparaison
544 between signed and unsigned'.
545
62ab6972
AD
5462001-07-05 Pascal Bart <pascal.bart@epita.fr>
547
548 * src/getargs.h (raw_flag): Remove.
549 * src/getargs.c: Die on `-r'/`--raw'.
550 * src/lex.c (parse_percent_token): Die on `%raw'.
551 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
552 * tests/calc.at: Suppress test with option `--raw'.
553
1e24cc5b
AD
5542001-07-14 Akim Demaille <akim@epita.fr>
555
556 * config/: New.
557 * configure.in: Require Autoconf 2.50.
558 Update to gettext 0.10.38.
559
32dfccf8
AD
5602001-03-16 Akim Demaille <akim@epita.fr>
561
562 * doc/bison.texinfo: ANSIfy the examples.
563
cd5bd6ac
AD
5642001-03-16 Akim Demaille <akim@epita.fr>
565
566 * getargs.c (skeleton): New variable.
567 (longopts): --skeleton is a new option.
568 (shortopts, getargs): -S is a new option.
569 * getargs.h: Declare skeleton.
570 * output.c (output_parser): Use it.
571
5141b016
AD
5722001-03-16 Akim Demaille <akim@epita.fr>
573
574 * m4/strerror_r.m4: New.
575 * m4/error.m4: Run AC_FUNC_STRERROR_R.
576 * lib/error.h, lib/error.c: Update.
577
447992b9
AD
5782001-03-16 Akim Demaille <akim@epita.fr>
579
580 * src/getargs.c (longopts): Clean up.
581
274d42ce
AD
5822001-02-21 Akim Demaille <akim@epita.fr>
583
584 * src/reader.c (gensym): `gensym_count' is your own.
585 Use a static buf to create the symbol name, as token_buffer is no
586 longer a buffer.
587
22c821f3
AD
5882001-02-08 Akim Demaille <akim@epita.fr>
589
590 * src/conflicts.c (conflict_report): Be sure not to append to res
591 between two calls, which could happen if both first sprintf were
592 skipped, but not the first cp += strlen.
593
18569462
AD
5942001-02-08 Akim Demaille <akim@epita.fr>
595
596 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
597 New, from fileutils 4.0.37.
598 * configure.in: Require Autoconf 2.49c. I took some time before
599 making this decision. This is the only way out for portability
600 issues in Bison, it would mean way too much duplicate effort to
601 import in Bison features implemented in 2.49c since 2.13.
602 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
603
0d8f3c8a
AD
6042001-02-02 Akim Demaille <akim@epita.fr>
605
606 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
66075dcf 607 * lib/xalloc.h, lib/xmalloc.c: Update.
0d8f3c8a 608
f17bcd1f
AD
6092001-01-19 Akim Demaille <akim@epita.fr>
610
611 Get rid of the ad hoc handling of token_buffer in the scanner: use
612 the obstacks.
613
614 * src/lex.c (token_obstack): New.
615 (init_lex): Initialize it. No longer call...
616 (grow_token_buffer): this. Remove it.
617 Adjust all the places which used it to use the obstack.
618
511e79b3
AD
6192001-01-19 Akim Demaille <akim@epita.fr>
620
621 * src/lex.h: Rename all the tokens:
622 s/\bENDFILE\b/tok_eof/g;
623 s/\bIDENTIFIER\b/tok_identifier/g;
624 etc.
625 Let them be enums, not #define, to ease debugging.
626 Adjust all the code.
627
0d6508ef
AD
6282001-01-18 Akim Demaille <akim@epita.fr>
629
630 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
631 * src/lex.c (maxtoken, grow_token_buffer): Static.
632
6deb4447
AD
6332001-01-18 Akim Demaille <akim@epita.fr>
634
635 Since we now use obstacks, more % directives can be enabled.
636
637 * src/lex.c (percent_table): Also accept `%yacc',
638 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
639 `%debug'.
640 Handle the actions for `%semantic_parser' and `%pure_parser' here,
641 instead of returning a token.
642 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
643 * src/reader.c (read_declarations): Adjust.
644 * src/files.c (open_files): Don't call `compute_base_names', don't
645 compute `attrsfile' since they depend upon data which might be
646 *in* the input file now.
647 (output_files): Do it here.
648 * src/output.c (output_headers): Document the fact that this patch
649 introduces a guaranteed SEGV for semantic parsers.
650 * doc/bison.texinfo: Document them.
651 * tests/suite.at: Exercise these %options.
652
ff4423cc
AD
6532000-12-20 Akim Demaille <akim@epita.fr>
654
655 Also handle the output file (--verbose) with obstacks.
656
657 * files.c (foutput): Remove.
658 (output_obstack): New.
659 Adjust all dependencies.
660 * src/conflicts.c: Return a string.
661 * src/system.h (obstack_grow_string): Rename as...
662 (obstack_sgrow): this. Be ready to work with non literals.
663 (obstack_fgrow4): New.
664
956dba3a
AD
6652000-12-20 Akim Demaille <akim@epita.fr>
666
667 * src/files.c (open_files): Fix the computation of short_base_name
668 in the case of `-o foo.tab.c'.
669
337bab46
AD
6702000-12-20 Akim Demaille <akim@epita.fr>
671
672 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
673 (copy_dollar): Now that everything uses obstacks, get rid of the
674 FILE * parameters.
675
5d3214b8
AD
6762000-12-20 Akim Demaille <akim@epita.fr>
677
678 * src/files.c (open_files): Actually the `.output' file is based
679 on the short_base_name, not base_name.
680 * tests/suite.at (Checking output file names): Adjust.
681
29092a57
AD
6822000-12-20 Akim Demaille <akim@epita.fr>
683
684 * src/bison.s1: Remove, we now use directly...
685 * src/bison.simple: this.
686 * src/Makefile.am: Use pkgdata instead of data.
687
ea5607fd
AD
6882000-12-20 Akim Demaille <akim@epita.fr>
689
690 * src/files.c (guard_obstack): New.
691 (open_files): Initialize it.
692 (output_files): Dump it...
693 * src/files.h: Export it.
694 * src/reader.c (copy_guard): Use it.
695
27110317
AD
6962000-12-19 Akim Demaille <akim@epita.fr>
697
698 * src/files.c (outfile, defsfile, actfile): Removed as global
699 vars.
700 (open_files): Don't compute them.
701 (output_files): Adjust.
702 (base_name, short_base_name): Be global.
703 Adjust dependencies.
704
19c50364
AD
7052000-12-19 Akim Demaille <akim@epita.fr>
706
707 * src/files.c (strsuffix): New.
708 (stringappend): Be just like strcat but allocate.
709 (base_names): Eve out from open_files.
710 Try to simplify the rather hairy computation of base_name and
711 short_base_name.
712 (open_files): Use it.
713 * tests/suite.at (Checking output file names): New test.
714
573c1d9f
AD
7152000-12-19 Akim Demaille <akim@epita.fr>
716
717 * src/system.h (obstack_grow_literal_string): Rename as...
718 (obstack_grow_string): this.
719 * src/output.c (output_parser): Recognize `%% actions' instead of
720 `$'.
721 * src/bison.s1: s/$/%% actions/.
722 * src/bison.hairy: Likewise.
723
ef7ddedd
AD
7242000-12-19 Akim Demaille <akim@epita.fr>
725
726 * src/output.c (output_parser): Compute the `#line' lines when
727 there are.
728 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
729 Suggested by Hans Aberg.
730
ff61dabd
AD
7312000-12-19 Akim Demaille <akim@epita.fr>
732
733 Let the handling of the skeleton files be local to the procedures
734 that use it.
735
736 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
737 longer static.
738 (fparser, open_extra_files): Remove.
739 (open_files, output_files): Don't take care of fparser.
740 * src/files.h: Adjust.
741 * src/output.c (output_parser): Open and close the file to the
742 skeleton.
743 * src/reader.c (read_declarations): When %semantic_parser, open
744 fguard.
745
55b96341
AD
7462000-12-19 Akim Demaille <akim@epita.fr>
747
748 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
749 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
750
358c15b7
AD
7512000-12-19 Akim Demaille <akim@epita.fr>
752
753 * src/files.c (open_files): Yipee! We no longer need all the code
754 looking for `/tmp' since we have no tmp file.
755
7de3329e
AD
7562000-12-19 Akim Demaille <akim@epita.fr>
757
758 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
759 New macros.
760 * src/files.c (open_files): Less dependency on MSDOS etc.
761
3abcd459
AD
7622000-12-14 Akim Demaille <akim@epita.fr>
763
764 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
765 Provide a default definition.
766 Use it when executing the default @ action.
767 * src/reader.c (reader_output_yylsp): No longer include
768 `timestamp' and `text' in the default YYLTYPE.
769
2a91a95e
AD
7702000-12-12 Akim Demaille <akim@epita.fr>
771
772 * src/reader.c (copy_definition, parse_union_decl, copy_action)
773 (copy_guard): Quote the file names.
774 Reported by Laurent Mascherpa.
775
14d3eb9b
AD
7762000-12-12 Akim Demaille <akim@epita.fr>
777
778 * src/output.c (output_headers, output_program, output): Be sure
779 to escape special characters when outputting filenames.
780 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
781 (output_headers): Don't depend on them, Use ACTSTR.
782
d7045ec6
AD
7832000-11-17 Akim Demaille <akim@epita.fr>
784
785 * lib/obstack.h: Formatting changes.
786 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
787 prevents type checking.
788 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
789 cast the value to (void *): assigning a `foo *' to a `void *'
790 variable is valid.
791 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
792 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
793 append characters.
794
6fd54b73
AD
7952000-11-17 Akim Demaille <akim@epita.fr>
796
797 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
798 as...
799 (suite.m4, regression.m4, calc.m4): these.
800 * tests/atgeneral.m4: Update from CVS Autoconf.
801
4c50eae6
AD
8022000-11-17 Akim Demaille <akim@epita.fr>
803
804 * tests/regression.m4 (%union and --defines): New test,
805 demonstrating a current bug in the obstack implementation.
806
a35f64ea
AD
8072000-11-17 Akim Demaille <akim@epita.fr>
808
809 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
810 macros.
811 Use them to declare the variables which are global or local to
812 `yyparse'.
813
7de23534
AD
8142000-11-17 Akim Demaille <akim@epita.fr>
815
816 * acconfig.h: Remove, no longer used.
817
aa7815f5
AD
8182000-11-07 Akim Demaille <akim@epita.fr>
819
820 * src: s/Copyright (C)/Copyright/g.
821
5af1f549
AD
8222000-11-07 Akim Demaille <akim@epita.fr>
823
824 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
825 defining.
826 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
827
553e2b22
AD
8282000-11-07 Akim Demaille <akim@epita.fr>
829
830 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
831 Merge in a single CPP if/else.
832
8a4f41d6
AD
8332000-11-07 Akim Demaille <akim@epita.fr>
834
835 * src/output.c (output): Remove useless variables.
836 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
837 argument `data' for consistency with the prototypes.
838 Qualify it `const'.
839 (obstack_copy, obstack_copy0): Rename the second argument as
840 `address' for consistency. Qualify it `const'.
841 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
842 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
843 `const' their input argument (`data' or `address').
844 Adjust the corresponding macros to include `const' in casts.
845
095a3fb5
AD
8462000-11-03 Akim Demaille <akim@epita.fr>
847
848 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
849 s/PFILE1/BISON_HAIRY/.
850 Adjust dependencies.
851
d1cdce7c
AD
8522000-11-03 Akim Demaille <akim@epita.fr>
853
090c5ebf 854 For some reason, this was not applied.
d1cdce7c
AD
855
856 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
857 `unlink': it's no longer used.
858
9311529b
AD
8592000-11-03 Akim Demaille <akim@epita.fr>
860
861 * src/files.c (skeleton_find): New function, eved out of...
862 (open_files, open_extra_files): here.
863
d8880f69
AD
8642000-11-03 Akim Demaille <akim@epita.fr>
865
866 Don't use `atexit'.
867
868 * src/files.c (obstack_save): New function.
869 (done): Rename as...
870 (output_files): this.
871 Use `obstack_save'.
872 * src/main.c (main): Don't use `atexit' to register `done', since
873 it no longer has to remove tmp files, just call `output_files'
874 when there are no errors.
875
0dbb648e
AD
8762000-11-02 Akim Demaille <akim@epita.fr>
877
878 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
879 `unlink': it's no longer used.
880 * src/files.h: Formatting changes.
881
896fe5c1
AD
8822000-11-02 Akim Demaille <akim@epita.fr>
883
884 Remove the last uses of mktemp and unlink/delete.
885
886 * src/files.c (fdefines, ftable): Removed.
887 (defines_ostack, table_obstack): New.
888 Adjust dependencies of the former into uses of the latter.
889 * src/output.c (output_short_or_char_table, output_short_table):
890 Convert to using obstacks.
891 * src/reader.c (copy_comment2): Accept one FILE * and two
892 obstacks.
893 (output_token_defines, reader_output_yylsp): Use obstacks.
894 * src/system.h (obstack_fgrow3): New.
895
dd60faec
AD
8962000-11-01 Akim Demaille <akim@epita.fr>
897
898 Change each use of `fattrs' into a use of `attrs_obstack'.
899
900 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
901 * src/files.c (fattrs): Remove.
902 (attrs_obstack): New.
903 Adjust all dependencies.
904 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
905
8c7ebe49
AD
9062000-11-01 Akim Demaille <akim@epita.fr>
907
908 Introduce obstacks.
909 Change each use of `faction' into a use of `action_obstack'.
910
911 * lib/obstack.h, lib/obstack.c: New files.
912 * src/files.c (faction): Remove.
913 (action_obstack): New.
914 Adjust all dependencies.
915
77aee789
AD
9162000-10-20 Akim Demaille <akim@epita.fr>
917
918 * lib/quote.h (PARAMS): New macro. Use it.
919
43591cec
AD
9202000-10-16 Akim Demaille <akim@epita.fr>
921
922 * src/output.c (output_short_or_char_table): New function.
923 (output_short_table, output_token_translations): Use it.
924 (goto_actions): Use output_short_table.
925
1e9798d5
AD
9262000-10-16 Akim Demaille <akim@epita.fr>
927
928 * src/symtab.c (bucket_new): New function.
929 (getsym): Use it.
930
931 * src/output.c (output_short_table): New argument to display the
932 comment associated with the table.
933 Adjust dependencies.
934 (output_gram): Use it.
935 (output_rule_data): Nicer output layout for YYTNAME.
936
f282676b
AD
9372000-10-16 Akim Demaille <akim@epita.fr>
938
939 * src/lex.c (read_typename): New function.
940 (lex): Use it.
941 * src/reader.c (copy_dollar): Likewise.
942
550a72a3
AD
9432000-10-16 Akim Demaille <akim@epita.fr>
944
945 * src/reader.c (copy_comment2): Expect the input stream to be on
946 the `/' which is suspected to open a comment, instead of being
947 called after `//' or `/*' was read.
948 (copy_comment, copy_definition, parse_union_decl, copy_action)
949 (copy_guard): Adjust.
950
131e2fef
AD
9512000-10-16 Akim Demaille <akim@epita.fr>
952
953 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
954 `read_signed_integer'.
955
79282c5a
AD
9562000-10-16 Akim Demaille <akim@epita.fr>
957
958 * src/reader.c (copy_dollar): New function.
959 (copy_guard, copy_action): Use it.
960
ff4a34be
AD
9612000-10-16 Akim Demaille <akim@epita.fr>
962
963 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
964 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
965 New files, from Fileutils 4.0.27.
966 * src/main.c (printable_version): Remove.
967 * src/lex.c, src/reader.c: Use `quote'.
968
9692000-10-04 Akim Demaille <akim@epita.fr>
970
971 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
972
14ded682
AD
9732000-10-04 Akim Demaille <akim@epita.fr>
974
975 * doc/bison.texinfo: Various typos spotted by Neil Booth.
976
8e03724b
AD
9772000-10-04 Akim Demaille <akim@epita.fr>
978
979 When a literal string is used to define two different tokens,
980 `bison -v' segfaults.
981 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
982
983 * tests/regression.m4: New file.
984 Include the core of the sample provided by Piotr Gackiewicz.
985 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
986 properly.
987
a9e64249
AD
9882000-10-04 Akim Demaille <akim@epita.fr>
989
990 * src/reader.c (parse_expect_decl): Keep `count' within the size
991 of `buffer'.
992 From Neil Booth.
993
da9abf43
AD
9942000-10-02 Paul Eggert <eggert@twinsun.com>
995
996 * bison.s1 (yyparse): Assign the default value
997 unconditionally, to avoid a GCC warning and make the parser a
998 tad smaller.
999
c33638bb
AD
10002000-10-02 Akim Demaille <akim@epita.fr>
1001
1002 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
1003 options.
1004
444c570a
AD
10052000-10-02 Akim Demaille <akim@epita.fr>
1006
1007 * src/derives.c, src/print.c, src/reduce.c: To ease the
1008 translation, move some `\n' out of the translated strings.
1009
89cab50d
AD
10102000-10-02 Akim Demaille <akim@epita.fr>
1011
1012 The location tracking mechanism is precious for parse error
1013 messages. Nevertheless, it is enabled only when `@n' is used in
1014 the grammar, which is a different issue (you can use it in error
1015 message, but not in the grammar per se). Therefore, there should
1016 be another means to enable it.
1017
1018 * src/getargs.c (getargs): Support `--locations'.
1019 (usage): Report it.
1020 * src/getargs.h (locationsflag): Export it.
1021 * src/lex.c (percent_table): Support `%locations'.
1022 * src/reader.c (yylsp_needed): Remove this variable, now replaced
1023 with `locationsflag'.
1024 * doc/bison.texinfo: Document `--locations' and `%locations'.
1025 Sort the options.
1026 * tests/calc.m4: Test it.
1027
1028 For regularity of the names, replace each
1029 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
1030 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
1031 In addition replace each `flag' with `_flag'.
1032
d6c2cba0
AD
10332000-10-02 Akim Demaille <akim@epita.fr>
1034
1035 Also test parse error messages, including with YYERROR_VERBOSE.
1036
1037 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
1038 associative).
1039 Use it to check the computations.
1040 Use it to check `nonassoc' is honored.
1041 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
1042 `--yyerror-verbose'.
1043 (_AT_CHECK_CALC): Adjust to this option.
1044 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
1045
5a35a6cb
AD
10462000-10-02 Akim Demaille <akim@epita.fr>
1047
1048 Test also `--verbose', `--defines' and `--name-prefix'. Testing
1049 the latter demonstrates a flaw in the handling of non debugging
1050 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
1051 was used in order to simplify:
1052
1053 #if YYDEBUG
1054 if (yydebug)
1055 {
1056 ...
1057 }
1058 #endif
1059
1060 into
1061
1062 if (yydebug)
1063 {
1064 ...
1065 }
1066
1067 unfortunately this leads to a CPP conflict when
1068 `--name-prefix=foo' is used since it produces `#define yydebug
1069 foodebug'.
1070
1071 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
1072 (YYDPRINTF): New macro.
1073 Spread its use.
1074 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
1075 the bison options.
1076 Also test `--verbose', `--defines' and `--name-prefix'.
1077
71da9eea
AD
10782000-10-02 Akim Demaille <akim@epita.fr>
1079
1080 Improve the readability of the produced parsers.
1081
1082 * src/bison.s1: Formatting changes.
1083 Improve the comment related to the `$' mark.
1084 (yydefault): Don't fall through to `yyresume': `goto' there.
1085 * src/output.c (output_parser): When the `$' is met, skip the end
1086 of its line.
1087 New variable, `number_of_dollar_signs', to check there's exactly
1088 one `$' in the parser skeleton.
1089
95e36146
AD
10902000-10-02 Akim Demaille <akim@epita.fr>
1091
1092 * lib/xstrdup.c: New file, from the fileutils.
1093 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
1094 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
1095 instead of strlen + xmalloc + strcpy.
1096 * src/symtab.c (copys): Remove, use xstrdup instead.
1097
d7020c20
AD
10982000-10-02 Akim Demaille <akim@epita.fr>
1099
1100 * src/gram.h (associativity): New enum type which replaces the
1101 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
1102 `right_assoc', `left_assoc' and `non_assoc'.
1103 Adjust all dependencies.
1104 * src/reader.c: Formatting changes.
1105 (LTYPESTR): Don't define it, use it as a literal in
1106 `reader_output_yylsp'.
1107 * src/symtab.h (symbol_class): New enum type which replaces the
1108 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
1109 `sunknown', `stoken and `snterm'.
1110
1916f98e
AD
11112000-10-02 Akim Demaille <akim@epita.fr>
1112
1113 * src/getargs.c (fixed_outfiles): Rename as...
1114 (yaccflag): for consistency and accuracy.
1115 Adjust dependencies.
1116
d7913476
AD
11172000-10-02 Akim Demaille <akim@epita.fr>
1118
1119 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
1120 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
1121 difficult and introduced a lot of core dump. It turns out that
1122 Bison used an implementation of `xmalloc' based on `calloc', and
1123 at various places it does depend upon the initialization to 0. I
1124 have not tried to isolate the pertinent places, and all the former
1125 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
1126 someone should address this issue.
1127
1128 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
1129 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
1130 files.
1131 Adjust dependencies.
1132 * src/warshall.h: New file.
1133 Propagate.
1134
340ef489
AD
11352000-10-02 Akim Demaille <akim@epita.fr>
1136
1137 Various anti-`extern in *.c' changes.
1138
1139 * src/system.h: Include `assert.h'.
1140
b2ca4022
AD
11412000-10-02 Akim Demaille <akim@epita.fr>
1142
1143 * src/state.h (nstates, final_state, first_state, first_shift)
1144 (first_reduction): Move their exportation from here...
1145 * src/LR0.h: to here.
1146 Adjust dependencies.
1147 * src/getargs.c (statisticsflag): New variable.
1148 Add support for `--statistics'.
1149 Adjust dependencies.
1150
1151 Remove a lot of now useless `extern' statements in most files.
1152
403b315b
AD
11532000-10-02 Akim Demaille <akim@epita.fr>
1154
1155 * src/LR0.h: New file.
1156 Propagate its use.
1157
07a58c13
AD
11582000-10-02 Akim Demaille <akim@epita.fr>
1159
1160 * src/print.h: New file.
1161 Propagate its use.
1162 * src/print.c: Formatting and ordering changes.
1163 (verbose, terse): Replace with...
1164 (print_results): this new function.
1165 Adjust dependencies.
1166
0619caf0
AD
11672000-10-02 Akim Demaille <akim@epita.fr>
1168
1169 * src/conflicts.c (conflict_report): New function.
1170 (conflict_log, verbose_conflict_log): Replace with...
1171 (print_conflicts): this function.
1172 Adjust dependencies.
1173 * src/conflicts.h: New file.
1174 Propagate its inclusion.
1175
3519ec76
AD
11762000-10-02 Akim Demaille <akim@epita.fr>
1177
1178 * src/nullable.h: New file.
1179 Propagate its inclusion.
1180 * src/nullable.c: Formatting changes.
1181
015acc48
AD
11822000-10-02 Akim Demaille <akim@epita.fr>
1183
1184 * src/reduce.h: New file.
1185 Propagate its inclusion.
1186 * src/reduce.c: Topological sort and other formatting changes.
1187 (bool, TRUE, FALSE): Move their definition to...
1188 * src/system.h: here.
1189
8963a27b
AD
11902000-10-02 Akim Demaille <akim@epita.fr>
1191
1192 * src/files.c: Formatting changes.
1193 (tryopen, tryclose, openfiles): Rename as...
1194 (xfopen, xfclose, open_files): this.
1195 (stringappend): static.
1196 * src/files.h: Complete the list of exported symbols.
1197 Propagate its use.
1198
a70083a3
AD
11992000-10-02 Akim Demaille <akim@epita.fr>
1200
1201 * src/reader.h: New file.
1202 Propagate its use instead of tedious list of `extern' and
1203 prototypes.
1204 * src/reader.c: Formatting changes, topological sort,
1205 s/register//.
1206
abadc117
AD
12072000-10-02 Akim Demaille <akim@epita.fr>
1208
1209 * src/lex.h: Prototype `lex.c' exported functions.
1210 * src/reader.c: Adjust.
1211 * src/lex.c: Formatting changes.
1212 (safegetc): Rename as...
1213 (xgetc): this.
1214
720d742f
AD
12152000-10-02 Akim Demaille <akim@epita.fr>
1216
1217 * src/lalr.h: New file.
1218 Propagate its inclusion instead of prototypes and `extern'.
1219 * src/lalr.c: Formatting changes, topological sorting etc.
1220
f2acea59
AD
12212000-10-02 Akim Demaille <akim@epita.fr>
1222
1223 * src/output.c (token_actions): Introduce a temporary array,
1224 YYDEFACT, that makes it possible for this function to use
1225 output_short_table.
1226
d019d655
AD
12272000-10-02 Akim Demaille <akim@epita.fr>
1228
1229 `user_toknums' is output as a `short[]' in `output.c', while it is
1230 defined as a `int[]' in `reader.c'. For consistency with the
1231 other output tables, `user_toknums' is now defined as a table of
1232 shorts.
1233
1234 * src/reader.c (user_toknums): Be a short table instead of an int
1235 table.
1236 Adjust dependencies.
1237
1238 Factor the short table outputs.
1239
1240 * src/output.c (output_short_table): New function.
1241 * src/output.c (output_gram, output_stos, output_rule_data)
1242 (output_base, output_table, output_check): Use it.
1243
6c89f1c1
AD
12442000-10-02 Akim Demaille <akim@epita.fr>
1245
1246 * src/output.c (output): Topological sort of the functions, in
1247 order to get rid of the `static' prototypes.
1248 No longer use `register'.
1249 * src/output.h: New file.
1250 Propagate its inclusion in files explicitly prototyping functions
1251 from output.c.
1252
d9efd181
AD
12532000-09-21 Akim Demaille <akim@epita.fr>
1254
1255 * src/atgeneral.m4: Update from Autoconf.
1256
c29240e7 12572000-09-21 Akim Demaille <akim@epita.fr>
2fa6973e
AD
1258
1259 * src/closure.h: New file.
1260 * src/closure.c: Formatting changes, topological sort over the
1261 functions, use of closure.h.
1262 (initialize_closure, finalize_closure): Rename as...
1263 (new_closure, free_closure): these. Adjust dependencies.
1264 * src/LR0.c: Formatting changes, topological sort, use of
1265 cloture.h.
1266 (initialize_states): Rename as...
1267 (new_states): this.
1268 * src/Makefile.am (noinst_HEADERS): Adjust.
1269
499daa50
AD
12702000-09-20 Akim Demaille <akim@epita.fr>
1271
1272 * src/acconfig.h: Don't protect config.h against multiple
1273 inclusion.
1274 Don't define PARAMS.
1275 * src/system.h: Define PARAMS.
1276 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
1277 purpose of config.h. system.h must not try to fix wrong
1278 definitions in config.h.
1279
cc84fd5d
AD
12802000-09-20 Akim Demaille <akim@epita.fr>
1281
1282 * src/derives.h: New file.
1283 * src/main.c, src/derives.h: Use it.
1284 Formatting changes.
1285 * src/Makefile.am (noinst_HEADERS): Adjust.
1286
db5b3a89
AD
12872000-09-20 Akim Demaille <akim@epita.fr>
1288
1289 * tests/atgeneral.m4: Update from Autoconf.
1290 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
1291 (AT_CHECK_CALC): New macros.
1292 Use these macros to test bison with options `', `--raw',
1293 `--debug', `--yacc', `--yacc --debug'.
1294
ceed8467
AD
12952000-09-19 Akim Demaille <akim@epita.fr>
1296
1297 * src/output.c: Formatting changes.
1298 * src/machine.h: Remove, leaving its contents in...
1299 * src/system.h: here.
1300 Include stdio.h.
1301 Adjust all dependencies on stdio.h and machine.h.
1302 * src/getargs.h: New file.
1303 Let all `extern' declarations about getargs.c be replaced with
1304 inclusion of `getargs.h'.
1305 * src/Makefile.am (noinst_HEADERS): Adjust.
1306
1307 * tests/calc.m4 (yyin): Be initialized in main, not on the global
1308 scope.
1309 (yyerror): Returns void, not int.
1310 * doc/bison.texinfo: Formatting changes.
1311
05a1d24b
AD
13122000-09-19 Akim Demaille <akim@epita.fr>
1313
1314 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
1315 portable.
1316
cbd25751
AD
13172000-09-18 Akim Demaille <akim@epita.fr>
1318
1319 * configure.in: Append WARNING_CFLAGS to CFLAGS.
1320 * src/Makefile.am (INCLUDES): Don't.
1321 Be ready to fetch headers in lib/.
1322
13863333
AD
13232000-09-18 Akim Demaille <akim@epita.fr>
1324
1325 * doc/bison.texinfo: Update the copyright.
1326 ANSIfy and GNUify the examples.
1327 Remove the old menu.
1328
0d533154
AD
13292000-09-18 Akim Demaille <akim@epita.fr>
1330
1331 First set of tests: use the `calc' example from the documentation.
1332
1333 * src/bison.s1 (yyparse): Condition the code using `yytname' which
1334 is defined only when YYDEBUG is.
1335 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
1336 * src/files.c (tryopen, tryclose): Formatting changes.
1337 Move to the top and be static.
1338 * src/reader.c (read_signed_integer): Likewise.
1339 * tests/calc.m4: New file.
1340 * Makefile.am, suite.m4: Adjust.
1341 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
1342
e79137ac
AD
13432000-09-18 Akim Demaille <akim@epita.fr>
1344
1345 Add support for an Autotest test suite for Bison.
1346
1347 * m4/m4.m4, m4/atconfig.m4: New files.
1348 * m4/Makefile.am (EXTRA_DIST): Adjust.
1349 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
1350 files.
1351 * src/getargs.c: Display a more standard --version message.
1352 * src/reader.c (reader): Formatting changes.
1353 No longer depend upon VERSION_STRING.
1354 * configure.in: No longer use `dnl'.
1355 Set up the test suite and the new directory `tests/.
1356 (VERSION_STRING): Remove.
1357
27821bff
AD
13582000-04-14 Akim Demaille <akim@epita.fr>
1359
1360 * src/reader.c (copy_comment2): New function, same as former
1361 `copy_comment', but outputs into two FILE *.
1362 (copy_comment): Use it.
1363 (parse_union_decl): Use it.
1364 (get_type, parse_start_decl): Use the same `invalid' message.
1365 (parse_start_decl, parse_union_decl): Use the same `multiple'
1366 message.
1367 (parse_union_decl, copy_guard, copy_action): Use the same
1368 `unmatched' message.
1369 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
1370
cfe5fbc0
AD
13712000-03-31 Akim Demaille <akim@epita.fr>
1372
1373 * src/files.c (tryopen, tryclose): Move to the top.
1374 Be static.
1375
cb7db13e
AD
13762000-03-31 Akim Demaille <akim@epita.fr>
1377
1378 * src/main.c (main): Don't call `done', exit does it.
1379
a0f6b076
AD
13802000-03-31 Akim Demaille <akim@epita.fr>
1381
36281465
AD
1382 * allocate.c: s/return (foo)/return foo/.
1383 * lalr.c: Likewise.
1384 * LR0.c: Likewise.
1385 * output.c: Likewise.
1386 * reader.c: Likewise.
1387 * symtab.c: Likewise.
1388 * vmsgetargs.c: Likewise.
1389
13902000-03-31 Akim Demaille <akim@epita.fr>
1391
1392 Clean up the error reporting functions.
a0f6b076
AD
1393
1394 * src/report.c: New file.
1395 * src/report.h: Likewise.
1396 * src/Makefile.am: Adjust.
1397 * m4/error.m4: New file.
1398 * m4/Makefile.am: Adjust.
1399 * configure.in (jm_PREREQ_ERROR): Call it.
1400 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
1401 Remove.
1402 (fatal, fatals): Remove. All callers use complain.c::fatal.
1403 (warn, warni, warns, warnss, warnss): Remove. All callers use
1404 complain.c::complain.
1405 (toomany): Remove, use fatal instead.
1406 * src/files.c (done): No argument, use complain_message_count.
1407 * src/main.c (main): Register `done' to `atexit'.
1408
1409 * src/getargs.c (usage): More `fputs', less `fprintf'.
1410
18539825
AD
14112000-03-28 Akim Demaille <akim@epita.fr>
1412
1413 * lib/: New directory.
1414 * Makefile.am (SUBDIRS): Adjust.
1415 * configure.in: Adjust.
1416 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
1417 useless.
1418 * src/alloca.c: Moved to lib/.
1419 * src/getopt.c: Likewise.
1420 * src/getopt1.c: Likewise.
1421 * src/getopt.h: Likewise.
1422 * src/ansi2knr.c: Likewise.
1423 * src/ansi2knr.1: Likewise.
1424 * src/Makefile.am: Adjust.
1425 * lib/Makefile.am: New file.
1426
9f306f2a
AD
14272000-03-28 Akim Demaille <akim@epita.fr>
1428
1429 * src/getargs.c (usage): Refresh the help message.
1430
0ba347b6
AD
14312000-03-17 Akim Demaille <akim@epita.fr>
1432
1433 * src/getopt1.c: Updated from textutils 2.0e
1434 * src/getopt.c: Likewise.
1435 * src/getopt.h: Likewise.
1436
dbe7f271
AD
14372000-03-17 Akim Demaille <akim@epita.fr>
1438
1439 * src/Makefile.am (bison.simple): Fix the awk program: quote only
1440 the file name, not the whole `#line LINE FILE'.
1441
75bbe78d
AD
14422000-03-17 Akim Demaille <akim@epita.fr>
1443
1444 On syntax errors, report the token on which we choked.
1445
aa5fd0ee
AD
1446 * src/bison.s1 (yyparse): In the label yyerrlab, when
1447 YYERROR_VERBOSE, add yychar in msg.
75bbe78d 1448
7b306f52
AD
14492000-03-17 Akim Demaille <akim@epita.fr>
1450
aa5fd0ee 1451 * src/reader.c (copy_at): New function.
7b306f52
AD
1452 (copy_guard): Use it.
1453 (copy_action): Use it.
1454
e87b5700
AD
14552000-03-17 Akim Demaille <akim@epita.fr>
1456
1457 Be kind to translators, save some useless translations.
1458
aa5fd0ee 1459 * src/main.c (banner): New function.
e87b5700
AD
1460 (fatal_banner): Use it.
1461 (warn_banner): Use it.
1462
ae3c3164
AD
14632000-03-17 Akim Demaille <akim@epita.fr>
1464
aa5fd0ee
AD
1465 * src/reader.c (copy_definition): Use copy_string and
1466 copy_comment. Removed now unused `match', `ended',
1467 `cplus_comment'.
ae3c3164
AD
1468 (copy_comment, copy_string): Moved, to be visible from
1469 copy_definition.
1470
4dc58e7c
AD
14712000-03-17 Akim Demaille <akim@epita.fr>
1472
aa5fd0ee
AD
1473 * src/reader.c (copy_string): Declare `static inline'. No
1474 problems with inline, since it is checked by configure.
4dc58e7c
AD
1475 (copy_comment): Likewise.
1476
0a6384c4
AD
14772000-03-17 Akim Demaille <akim@epita.fr>
1478
aa5fd0ee 1479 * src/reader.c (packsymbols): Formatting changes.
0a6384c4 1480
3cef001a
AD
14812000-03-17 Akim Demaille <akim@epita.fr>
1482
aa5fd0ee 1483 * src/reader.c (copy_comment): New function, factored out from:
3cef001a
AD
1484 (copy_action): Use it. Removed now unused `match', `ended',
1485 `cplus_comment'.
1486 (copy_guard): Likewise.
1487
ca36d2ef
AD
14882000-03-17 Akim Demaille <akim@epita.fr>
1489
aa5fd0ee 1490 * src/reader.c (copy_string): New function, factored out from:
ca36d2ef
AD
1491 (copy_action): Use it.
1492 (copy_guard): Likewise.
1493
6666f98f
AD
14942000-03-17 Akim Demaille <akim@epita.fr>
1495
1496 Change the handling of @s so that they behave exactly like $s.
1497 There is now a pseudo variable @$ (readble and writable), location
1498 of the lhs of the rule (by default ranging from the location of
1499 the first symbol of the rhs, to the location of the last symbol,
1500 or, if the rhs is empty, YYLLOC).
1501
1502 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
1503 yyval.
1504 (yyparse): When providing a default semantic action, provide a
1505 default location action.
1506 (after the $): No longer change `*YYLSP', just stack YYLOC the
1507 same way you stack YYVAL.
1508 * src/reader.c (read_declarations): Use warns.
1509 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
1510 (copy_action, case '@'): Likewise.
1511 Use a standard error message, to save useless work from
1512 translators.
1513
41aca2e0
AD
15142000-03-17 Akim Demaille <akim@epita.fr>
1515
aa5fd0ee
AD
1516 * src/bison.s1: Formatting and cosmetics changes.
1517 * src/reader.c: Likewise.
41aca2e0
AD
1518 Update the Copyright notice.
1519
dc08c1d5
AD
15202000-03-17 Akim Demaille <akim@epita.fr>
1521
aa5fd0ee
AD
1522 * src/bison.s1 (#line): All set to `#line' only, since the
1523 Makefile now handles them.
dc08c1d5 1524
9ee3c97b
AD
15252000-03-16 Akim Demaille <akim@epita.fr>
1526
1527 * src/output.c (output_rule_data): Output the documentation of
1528 some of the tables.
1529 (Copyright notice): Update.
1530 Formatting changes.
1531
0de741ca
AD
15322000-03-16 Akim Demaille <akim@epita.fr>
1533
1534 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
1535 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
1536 One `#if YYDEBUG' remains, since it uses variables which are
1537 defined only if `YYDEBUG != 0'.
1538
bb10be54
AD
15392000-03-16 Akim Demaille <akim@epita.fr>
1540
1541 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
1542 and related variables so that the similarities are highlighted.
1543
b07b484a
AD
15442000-03-16 Akim Demaille <akim@epita.fr>
1545
1546 * src/bison.s1: Properly indent CPP directives.
1547
361f60b3
AD
15482000-03-16 Akim Demaille <akim@epita.fr>
1549
1550 * src/bison.s1: Properly indent the `alloca' CPP section.
1551
8c44d3ec
AD
15522000-03-16 Akim Demaille <akim@epita.fr>
1553
1554 Do not hard code values of directories in `configure.in'.
1555 Update the `configure' tool chain.
1556
1557 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
1558 src/makefile.am.
1559 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
1560 (AC_OUTPUT): Add m4/Makefile.
1561 Bump to bison 1.28a, 1.29 has never been released.
1562 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
1563 handled via src/Makefile.am.
1564 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
1565 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
1566 autoheader.
1567 * Makefile.am (SUBDIRS): Add m4.
1568 (ACLOCAL_AM_FLAGS): New variable.
1569 (AUTOMAKE_OPTIONS): Add check-news.
1570 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
1571 the proper line number and file name.
1572 (DEFS): Propagate the location of bison library files and of the
1573 locale files.
1574 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
1575 builddir.
1576 * acinclude.m4: Remove, replaced by the directory m4.
1577 * m4/Makefile.am (EXTRA_DIST): New variable.
1578 * m4/gettext.m4: New file, from the fileutils.
1579 * m4/lcmessage.m4: Likewise
1580 * m4/progtest.m4: Likewise.
1581 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
1582
f95997e7
AD
15832000-03-10 Akim Demaille <akim@epita.fr>
1584
1585 * src/closure.c:
1586 Formatting changes of various comments.
1587 Respect the GNU coding standards at various places.
1588 Don't use `_()' when no translation is needed.
1589
15901999-12-13 Jesse Thilo <jthilo@gnu.org>
1591
1592 * src/files.c:
1593 OS/2 honors TMPDIR environment variable.
1594
15951999-12-13 Jesse Thilo <jthilo@gnu.org>
1596
1597 * doc/bison.texinfo: Tweaked spelling and grammar.
1598 Updated ISBN.
1599 Removed reference to price of printed copy.
1600 Mention BISON_SIMPLE and BISON_HAIRY.
1601
16021999-12-13 Jesse Thilo <jthilo@gnu.org>
1603
1604 * configure.in, NEWS:
1605 Bison 1.29 released.
1606
16071999-10-27 Jesse Thilo <jthilo@gnu.org>
1608
1609 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
1610 Added reference card.
1611
16121999-07-26 Jesse Thilo <jthilo@gnu.org>
1613
1614 * po/ru.po: Added Russian translation.
1615
16161999-07-26 Jesse Thilo <jthilo@gnu.org>
1617
1618 * configure.in: Added Russian translation.
1619
16201999-07-06 Jesse Thilo <jthilo@gnu.org>
1621
1622 * configure.in, NEWS, README:
1623 Released version 1.28.
1624
16251999-06-14 Jesse Thilo <jthilo@gnu.org>
1626
1627 * src/system.h:
1628 Squashed redefinition warning on some systems.
1629
1630 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
1631 Have configure build version string instead of relying on ANSI string
1632 concatentation.
1633
16341999-06-14 Jesse Thilo <jthilo@gnu.org>
1635
1636 * po/POTFILES.in: Got rid of version.c.
1637
16381999-06-14 Jesse Thilo <jthilo@gnu.org>
1639
1640 * acconfig.h, configure.in:
1641 Have configure build version string instead of relying on ANSI string
1642 concatentation.
1643
16441999-06-08 Jesse Thilo <jthilo@gnu.org>
1645
1646 * doc/bison.1:
1647 Dropped mention of `+' for long-named options.
1648
16491999-05-30 Jesse Thilo <jthilo@gnu.org>
1650
1651 * src/files.c: Added <unistd.h> for unlink().
1652
1653 * src/Makefile.am, src/system.h:
1654 I18n fixes.
1655
16561999-05-30 Jesse Thilo <jthilo@gnu.org>
1657
1658 * README: Added a FAQ list.
1659
1660 * configure.in, acconfig.h:
1661 I18n fixes.
1662
16631999-05-30 Jesse Thilo <jthilo@gnu.org>
1664
1665 * doc/FAQ, doc/Makefile.am:
1666 Added a FAQ list.
1667
16681999-05-19 Jesse Thilo <jthilo@gnu.org>
1669
1670 * src/alloc.h, src/symtab.h, src/version.c:
1671 Protected inclusion of "config.h" with HAVE_CONFIG_H.
1672
16731999-04-18 Jesse Thilo <jthilo@gnu.org>
1674
1675 * src/.cvsignore, src/Makefile.am:
1676 Reorganized: sources in `src', documentation in `doc'.
1677
1678 * src/lex.c (literalchar):
1679 fixed the code for escaping double quotes (thanks
1680 Jonathan Czisny.)
1681
16821999-04-18 Jesse Thilo <jthilo@gnu.org>
1683
1684 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
1685 Adjusted paths to reflect directory reorganization.
1686
16871999-04-18 Jesse Thilo <jthilo@gnu.org>
1688
1689 * doc/.cvsignore, doc/Makefile.am:
1690 Reorganized: sources in `src', documentation in `doc'.
1691
16921999-04-18 Jesse Thilo <jthilo@gnu.org>
1693
1694 * configure.in:
1695 Updated AC_INIT file to reflect directory reorganization.
1696
1697 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
1698 Reorganized: sources in `src', documentation in `doc'.
1699
17001999-04-13 Jesse Thilo <jthilo@gnu.org>
1701
1702 * src/allocate.c:
1703 Don't declare calloc() and realloc() if not necessary.
1704
17051999-04-13 Jesse Thilo <jthilo@gnu.org>
1706
1707 * configure.in, acconfig.h, acinclude.m4:
1708 Don't declare calloc() and realloc() if not necessary.
1709
17101999-03-23 Jesse Thilo <jthilo@gnu.org>
1711
1712 * po/.cvsignore: Added i18n support.
1713
17141999-03-23 Jesse Thilo <jthilo@gnu.org>
1715
1716 * acconfig.h, configure.in, Makefile.am:
1717 Added i18n support.
1718
17191999-03-22 Jesse Thilo <jthilo@gnu.org>
1720
1721 * src/bison.s1: Fixed #line numbers.
1722
17231999-03-15 Jesse Thilo <jthilo@gnu.org>
1724
1725 * po/es.po, po/fr.po, po/nl.po, po/de.po:
1726 Added PO files from Translation Project.
1727
17281999-03-03 Jesse Thilo <jthilo@gnu.org>
1729
1730 * Makefile.am:
1731 Added support for non-ANSI compilers (ansi2knr).
1732
17331999-02-16 Jesse Thilo <jthilo@gnu.org>
1734
1735 * configure.in: Bumped version number to 1.27.
1736
1737 * Makefile.am:
1738 Added `bison.simple' to list of files removed by `make distclean'.
1739
17401999-02-12 Jesse Thilo <jthilo@gnu.org>
1741
1742 * src/files.c, src/files.h:
1743 Defined locations of parser files in config.h instead of Makefile.
1744
17451999-02-12 Jesse Thilo <jthilo@gnu.org>
1746
1747 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
1748 Defined locations of parser files in config.h instead of Makefile.
1749
17501999-02-09 Jesse Thilo <jthilo@gnu.org>
1751
1752 * Makefile.am:
1753 Removed inappropriate use of $< macro.
1754
17551999-02-05 Jesse Thilo <jthilo@gnu.org>
1756
1757 * po/Makefile.in.in, po/POTFILES.in:
1758 Add `po' directory skeleton.
1759
17601999-01-27 Jesse Thilo <jthilo@gnu.org>
1761
1762 * README: Document help-bison list.
1763
1764 * configure.in: Add check for mkstemp().
1765
17661999-01-20 Jesse Thilo <jthilo@gnu.org>
1767
1768 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
1769 Hush a few compiler warnings.
1770
1771 * src/files.c:
1772 Add tryclose(), which verifies that fclose was successful.
1773 Hush a couple of compiler warnings.
1774
17751999-01-20 Jesse Thilo <jthilo@gnu.org>
1776
1777 * Makefile.am, OChangeLog:
1778 ChangeLog is now automatically generated. Include the old version as
1779 OChangeLog.
1780
17811999-01-14 Jesse Thilo <jthilo@gnu.org>
1782
1783 * 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:
1784 Update FSF address.
1785
17861999-01-14 Jesse Thilo <jthilo@gnu.org>
1787
1788 * doc/bison.texinfo: Fix formatting glitch.
1789
1790 * doc/bison.texinfo: Update FSF address.
1791
17921999-01-14 Jesse Thilo <jthilo@gnu.org>
1793
1794 * acconfig.h: Update FSF address.
1795
17961999-01-08 Jesse Thilo <jthilo@gnu.org>
1797
1798 * src/system.h:
1799 Don't define PACKAGE here, since config.h defines it.
1800
18011998-12-30 Jesse Thilo <jthilo@gnu.org>
1802
1803 * src/reader.c: Update copyright date.
1804
1805 * src/main.c:
1806 Ditch sprintf to statically-sized buffers in fatal/warn functions in
1807 favor of output directly to stderr (avoids buffer overruns).
1808
1809 * src/reader.c: Some checks for premature EOF.
1810
1811 * 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:
1812 Use prototypes if the compiler understands them.
1813
1814 * src/files.c: Honor TMPDIR on Unix hosts.
1815 Use prototypes if the compiler understands them.
1816
1817 * src/reader.c:
1818 Fix a couple of buffer overrun bugs.
1819 Use prototypes if the compiler understands them.
1820
1821 * src/system.h: Include unistd.h and ctype.h.
1822 Use #ifdef instead of #if for NLS symbols.
1823
18241998-12-30 Jesse Thilo <jthilo@gnu.org>
1825
1826 * doc/bison.texinfo:
1827 Delete comment "consider using @set for edition number, etc..." since
1828 we now are doing so.
1829
18301998-12-30 Jesse Thilo <jthilo@gnu.org>
1831
1832 * configure.in:
1833 Use prototypes if the compiler understands them.
1834
1835 * NEWS: Document 1.26 highlights.
1836
1837 * Makefile.am: Require Automake 1.3 or later.
1838
1839 * acconfig.h:
1840 Use prototypes if the compiler understands them.
1841
18421998-12-29 Jesse Thilo <jthilo@gnu.org>
1843
1844 * src/version.c:
1845 Use VERSION symbol from automake for version number.
1846
18471998-12-29 Jesse Thilo <jthilo@gnu.org>
1848
1849 * acconfig.h, configure.in, version.cin:
1850 Use VERSION symbol from automake for version number.
1851
18521998-11-28 Jesse Thilo <jthilo@gnu.org>
1853
1854 * Makefile.am:
1855 Distribute original version of simple parser (bison.s1), not built
1856 version (bison.simple).
1857
18581998-11-28 Jesse Thilo <jthilo@gnu.org>
1859
1860 * doc/bison.texinfo: Add info dir entry.
1861
1862 * doc/bison.texinfo:
1863 Let automake put version number into documentation.
1864
18651998-11-26 Jesse Thilo <jthilo@gnu.org>
1866
1867 * src/bison.cld, src/build.com, src/vmshlp.mar:
1868 Add non-RCS files from /gd/gnu/bison.
1869
18701998-11-26 Jesse Thilo <jthilo@gnu.org>
1871
1872 * doc/bison.1:
1873 Document the BISON_HAIRY and BISON_SIMPLE variables.
1874
18751998-11-25 Jesse Thilo <jthilo@gnu.org>
1876
1877 * src/version.c: Build version.c automatically.
1878
1879 * src/reader.c:
1880 Fix token numbering (used to start at 258, not 257).
1881
1882 * src/system.h: Include config.h.
1883
1884 * src/getargs.c: Update bug report address.
1885
1886 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
1887 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
1888
18891998-11-25 Jesse Thilo <jthilo@gnu.org>
1890
1891 * Makefile.am:
1892 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1893
1894 * configure.in, version.cin:
1895 Build version.c automatically.
1896
1897 * AUTHORS: Add AUTHORS file.
1898
1899 * README: Update bug report address.
1900
1901 * bison.simple:
1902 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1903
1904 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
1905 Add automake stuff.
1906
19071998-11-25 Jesse Thilo <jthilo@gnu.org>
1908
1909 * doc/bison.texinfo: Clean up some formatting.
1910
19111998-05-05 Richard Stallman <rms@gnu.org>
1912
1913 * doc/bison.texinfo:
1914 Explain better why to make a pure parser.
1915
19161998-01-05 Richard Stallman <rms@gnu.org>
1917
1918 * src/files.c (openfiles):
1919 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
1920 find a temporary directory, if possible. Do not unlink files while
1921 they are open.
1922
19231997-08-25 Richard Stallman <rms@gnu.org>
1924
1925 * src/reader.c (stack_offset;):
1926 Change some warni to warns.
1927
1928 * src/lex.c (literalchar): Use warns, not warni.
1929
19301997-06-28 Richard Stallman <rms@gnu.org>
1931
1932 * src/bison.s1: Add a Bison version comment.
1933
1934 * src/main.c (fatal, warn, berror):
1935 Use program_name.
1936
19371997-06-28 Richard Stallman <rms@gnu.org>
1938
1939 * Makefile.in (bison_version): New variable.
1940 (dist): Use that variable.
1941 (bison.s1): Substitute the Bison version into bison.simple.
1942
1943 * bison.simple: Add a Bison version comment.
1944
19451997-06-18 Richard Stallman <rms@gnu.org>
1946
1947 * src/main.c (fatal, warn, berror):
1948 Make error messages standard.
1949 (toomany): Improve error message text.
1950
1951 * 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:
1952 new.h renamed to alloc.h.
1953
19541997-06-18 Richard Stallman <rms@gnu.org>
1955
1956 * Makefile.in: new.h renamed to alloc.h.
1957
19581997-05-24 Richard Stallman <rms@gnu.org>
1959
1960 * src/lex.c (literalchar):
1961 Fix the code for escaping \, " and '.
1962
1963 (lex): Avoid trouble when there are many chars
1964 to discard in a char literal with just several chars in it.
1965
19661997-05-17 Richard Stallman <rms@gnu.org>
1967
1968 * src/bison.s1:
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-05-17 Richard Stallman <rms@gnu.org>
1977
1978 * bison.simple:
1979 Use malloc, if using alloca is troublesome.
1980 (YYSTACK_USE_ALLOCA): New flag macro.
1981 Define it for some systems and compilers.
1982 (YYSTACK_ALLOC): New macro.
1983 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1984 If it was malloc'd, free it.
1985
19861997-04-23 Richard Stallman <rms@gnu.org>
1987
1988 * src/bison.s1:
1989 (alloca) [__hpux]: Always define as __builtin_alloca.
1990
19911997-04-23 Richard Stallman <rms@gnu.org>
1992
1993 * bison.simple:
1994 (alloca) [__hpux]: Always define as __builtin_alloca.
1995
19961997-04-22 Richard Stallman <rms@gnu.org>
1997
1998 * src/bison.s1:
1999 [__hpux]: Include alloca.h (right for HPUX 10)
2000 instead of declaring alloca (right for HPUX 9).
2001
2002 * src/bison.s1 (__yy_memcpy):
2003 Declare arg `count' as unsigned int.
2004 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2005
20061997-04-22 Richard Stallman <rms@gnu.org>
2007
2008 * bison.simple:
2009 [__hpux]: Include alloca.h (right for HPUX 10)
2010 instead of declaring alloca (right for HPUX 9).
2011
2012 * bison.simple (__yy_memcpy):
2013 Declare arg `count' as unsigned int.
2014 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2015
20161997-01-03 Richard Stallman <rms@gnu.org>
2017
2018 * src/allocate.c: [__STDC__ or _MSC_VER]:
2019 Declare calloc and realloc to return void *.
2020
20211997-01-02 Richard Stallman <rms@gnu.org>
2022
2023 * src/system.h:
2024 [_MSC_VER]: Include stdlib.h and process.h.
2025 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
2026
2027 * src/main.c (main): Return FAILURE as a value.
2028 (printable_version): Declare arg as int, not char.
2029
20301997-01-02 Richard Stallman <rms@gnu.org>
2031
2032 * Makefile.in (dist):
2033 Explicitly check for symlinks, and copy them.
2034
20351996-12-19 Richard Stallman <rms@gnu.org>
2036
2037 * src/files.c:
2038 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
2039
20401996-12-18 Paul Eggert <eggert@gnu.org>
2041
2042 * src/bison.s1 (yyparse):
2043 If __GNUC__ and YYPARSE_PARAM are both defined,
2044 declare yyparse to have a void * argument.
2045
20461996-12-18 Paul Eggert <eggert@gnu.org>
2047
2048 * bison.simple (yyparse):
2049 If __GNUC__ and YYPARSE_PARAM are both defined,
2050 declare yyparse to have a void * argument.
2051
20521996-12-17 Richard Stallman <rms@gnu.org>
2053
2054 * src/reduce.c (nbits): Add some casts.
2055
20561996-08-12 Richard Stallman <rms@gnu.org>
2057
2058 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
2059
20601996-08-12 Richard Stallman <rms@gnu.org>
2061
2062 * bison.simple: Test _MSDOS as well as _MSDOS_.
2063
20641996-07-31 Richard Stallman <rms@gnu.org>
2065
2066 * src/bison.s1:
2067 [__sun && __i386]: Include alloca.h.
2068
20691996-07-31 Richard Stallman <rms@gnu.org>
2070
2071 * bison.simple:
2072 [__sun && __i386]: Include alloca.h.
2073
20741996-07-30 Richard Stallman <rms@gnu.org>
2075
2076 * src/bison.s1: Comment change.
2077
2078 * src/bison.s1: Test _MSDOS_, not MSDOS.
2079
20801996-07-30 Richard Stallman <rms@gnu.org>
2081
2082 * bison.simple: Comment change.
2083
2084 * bison.simple: Test _MSDOS_, not MSDOS.
2085
20861996-06-01 Richard Stallman <rms@gnu.org>
2087
2088 * 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:
2089 Insert `_' macro around many string constants.
2090
2091 * src/main.c:
2092 Insert `_' macro around many string constants.
2093
2094 (main): Call setlocale, bindtextdomain and textdomain.
2095
2096 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
2097 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
2098 [ENABLE_NLS]: Include libintl.h.
2099 [ENABLE_NLS] (gettext): Define.
2100 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
2101 (N_, PACKAGE, LOCALEDIR): New macros.
2102
21031996-06-01 Richard Stallman <rms@gnu.org>
2104
2105 * POTFILES.in: New file.
2106
2107 * Makefile.in (allocate.o):
2108 Define target explicitly.
2109
2110 * Makefile.in (CFLAGS): Set to @CFLAGS@.
2111 (LDFLAGS): Set to @LDFLAGS@.
2112 (configure): Run autoconf only if preceding `cd' succeeds.
2113 (bison.s1): Redirect output to temporary file then move the
2114 temporary to the target, rather than redirecting directly to bison.s1.
2115 (clean): Remove config.status and config.log.
2116 (distclean): Don't remove config.status here.
2117
21181996-05-12 Richard Stallman <rms@gnu.org>
2119
2120 * src/bison.s1:
2121 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
2122
21231996-05-12 Richard Stallman <rms@gnu.org>
2124
2125 * bison.simple:
2126 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
2127
21281996-05-11 Richard Stallman <rms@gnu.org>
2129
2130 * src/bison.s1 (__yy_memcpy):
2131 Really reorder the args, as was supposedly done on Feb 14 1995.
2132 (yyparse): Calls changed accordingly.
2133
21341996-05-11 Richard Stallman <rms@gnu.org>
2135
2136 * Makefile.in (dist): Don't use $(srcdir).
2137
2138 * bison.simple (__yy_memcpy):
2139 Really reorder the args, as was supposedly done on Feb 14 1995.
2140 (yyparse): Calls changed accordingly.
2141
21421996-01-27 Richard Stallman <rms@gnu.org>
2143
2144 * src/output.c (output_rule_data):
2145 Test YYERROR_VERBOSE in the conditional
2146 around the definition of ttyname.
2147
21481995-12-29 Richard Stallman <rms@gnu.org>
2149
2150 * src/bison.s1:
2151 Fix line numbers in #line commands.
2152
21531995-12-29 Richard Stallman <rms@gnu.org>
2154
2155 * bison.simple:
2156 Fix line numbers in #line commands.
2157
21581995-12-27 Richard Stallman <rms@gnu.org>
2159
2160 * src/bison.s1 (YYPARSE_PARAM_DECL):
2161 In C++, make it always null.
2162 (YYPARSE_PARAM_ARG): New macro.
2163 (yyparse): Use YYPARSE_PARAM_ARG.
2164
21651995-12-27 Richard Stallman <rms@gnu.org>
2166
2167 * bison.simple (YYPARSE_PARAM_DECL):
2168 In C++, make it always null.
2169 (YYPARSE_PARAM_ARG): New macro.
2170 (yyparse): Use YYPARSE_PARAM_ARG.
2171
21721995-11-29 Richard Stallman <rms@gnu.org>
2173
2174 * doc/bison.texinfo:
2175 Describe literal string tokens, %raw, %no_lines, %token_table.
2176
21771995-11-29 Daniel Hagerty <hag@gnu.org>
2178
2179 * doc/bison.texinfo: Fixed update date
2180
21811995-10-16 Richard Stallman <rms@gnu.org>
2182
2183 * src/version.c: Version 1.25.
2184
21851995-10-16 Richard Stallman <rms@gnu.org>
2186
2187 * NEWS: *** empty log message ***
2188
21891995-10-16 Richard Stallman <rms@gnu.org>
2190
2191 * doc/bison.1, doc/bison.rnh:
2192 Add new options.
2193
21941995-10-15 Richard Stallman <rms@gnu.org>
2195
2196 * src/vmsgetargs.c, src/getargs.c:
2197 Added -n, -k, and -raw switches.
2198 (noparserflag, toknumflag, rawtoknumflag): New variables.
2199
2200 * src/symtab.h (SALIAS):
2201 New #define for adding aliases to %token.
2202 (struct bucket): Added `alias' field.
2203
2204 * src/reduce.c (reduce_grammar):
2205 Revise error message.
2206 (print_notices): Remove final `.' from error message.
2207
2208 * src/reader.c (reader_output_yylsp):
2209 New function.
2210 (readgram): Use `#if 0' around code that accepted %command
2211 inside grammar rules: The documentation doesn't allow it,
2212 and it will fail since the %command processors scan for the next %.
2213 (parse_token_decl): Extended the %token
2214 declaration to allow a multi-character symbol as an alias.
2215 (parse_thong_decl): New function.
2216 (read_declarations): Added %thong declarations.
2217 (read_declarations): Handle NOOP to deal with allowing
2218 % declarations as another means to specify the flags.
2219 (readgram): Allow %prec prior to semantics embedded in a rule.
2220 (skip_to_char, read_declarations, copy_definition)
2221 (parse_token_decl, parse_start_decl, parse_type_decl)
2222 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
2223 (get_type_name, copy_guard, copy_action, readgram)
2224 (get_type, packsymbols): Revised most error messages.
2225 Changed `fatal' to `warnxxx' to avoid aborting for error.
2226 Revised and use multiple warnxxx functions to avoid using VARARGS1.
2227 (read_declarations): Improve the error message for
2228 an invalid character. Do not abort.
2229 (read_declarations, copy_guard, copy_action): Use
2230 printable_version to avoid unprintable characters in printed output.
2231 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
2232 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
2233 Allow the type of a non-terminal can be given
2234 more than once, as long as all specifications give the same type.
2235
2236 * src/output.c:
2237 (output_headers, output_trailers, output, output_gram)
2238 (output_rule_data): Implement noparserflag variable.
2239 Implement toknumflag variable.
2240 (output): Call reader_output_yylsp to output LTYPESTR.
2241
2242 * src/main.c (main):
2243 If reader sees an error, don't process the grammar.
2244 (fatals): Updated to not use VARARGS1.
2245 (printable_version, int_to_string, warn, warni, warns, warnss)
2246 (warnsss): New error reporting functions. Avoid abort for error.
2247
2248 * src/lex.h:
2249 Added THONG and NOOP for alias processing.
2250 Added SETOPT for the new code that allows setting options with %flags.
2251
2252 * src/lex.c:
2253 Include getopt.h. Add some extern decls.
2254 (safegetc): New function to deal with EOF gracefully.
2255 (literalchar); new function to deal with reading \ escapes.
2256 (lex): Use literalchar.
2257 (lex): Implemented "..." tokens.
2258 (literalchar, lex, parse_percent_token): Made tokenbuffer
2259 always contain the token. This includes growing the token
2260 buffer while reading an integer.
2261 (parse_percent_token): Replaced if-else statement with percent_table.
2262 (parse_percent_token): Added % declarations as another
2263 way to specify the flags -n, -l, and -r. Also added hooks for
2264 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
2265 major changes to files.c.
2266 (lex) Retain in the incoming stream a character following
2267 an incorrect '/'.
2268 (skip_white_space, lex): Revised most error messages
2269 and changed fatal to warn to avoid aborting.
2270 (percent_table): Added %thong declarations.
2271
2272 * src/gram.h: Comment changes.
2273
2274 * src/files.c (openfiles, open_extra_files, done):
2275 Add faction flag
2276 and actfile file. Handle noparserflag. Both for -n switch.
2277
2278 * src/conflicts.c (resolve_sr_conflict):
2279 Remove use of alloca.
2280
22811995-06-01 Jim Meyering <meyering@gnu.org>
2282
2283 * doc/bison.texinfo: *** empty log message ***
2284
22851995-05-06 Richard Stallman <rms@gnu.org>
2286
2287 * src/bison.s1: Comment change.
2288
22891995-05-06 Richard Stallman <rms@gnu.org>
2290
2291 * bison.simple: Comment change.
2292
22931995-05-03 Richard Stallman <rms@gnu.org>
2294
2295 * src/version.c: Version now 1.24.
2296
2297 * src/bison.s1: Change distribution terms.
2298
2299 * src/version.c: Version now 1.23.
2300
23011995-05-03 Richard Stallman <rms@gnu.org>
2302
2303 * doc/bison.texinfo:
2304 Rewrite "Conditions for Using Bison".
2305 Update version to 1.24.
2306
23071995-05-03 Richard Stallman <rms@gnu.org>
2308
2309 * bison.simple: Change distribution terms.
2310
23111995-02-23 Richard Stallman <rms@gnu.org>
2312
2313 * src/files.c: Test __VMS_POSIX as well as VMS.
2314
23151995-02-14 Jim Meyering <meyering@gnu.org>
2316
2317 * src/bison.s1 (__yy_memcpy):
2318 Renamed from __yy_bcopy to avoid
2319 confusion. Reverse FROM and TO arguments to be consistent with
2320 those of memcpy.
2321
23221995-02-14 Jim Meyering <meyering@gnu.org>
2323
2324 * bison.simple (__yy_memcpy):
2325 Renamed from __yy_bcopy to avoid
2326 confusion. Reverse FROM and TO arguments to be consistent with
2327 those of memcpy.
2328
23291994-11-10 David J. MacKenzie <djm@gnu.org>
2330
2331 * NEWS: reformat
2332
2333 * NEWS: New file.
2334
2335 * Makefile.in (DISTFILES): Include NEWS.
2336
2337 * Makefile.in (DISTFILES):
2338 Include install-sh, not install.sh.
2339
2340 * configure.in: Update to Autoconf v2 macro names.
2341
23421994-10-05 David J. MacKenzie <djm@gnu.org>
2343
2344 * Makefile.in: fix typo
2345
2346 * Makefile.in (prefix, exec_prefix):
2347 Let configure set them.
2348
23491994-09-28 David J. MacKenzie <djm@gnu.org>
2350
2351 * Makefile.in: Set datadir to $(prefix)/share.
2352
23531994-09-15 Richard Stallman <rms@gnu.org>
2354
2355 * src/bison.s1:
2356 Update copyright notice and GPL version.
2357
23581994-09-15 Richard Stallman <rms@gnu.org>
2359
2360 * bison.simple:
2361 Update copyright notice and GPL version.
2362
23631994-07-12 Richard Stallman <rms@gnu.org>
2364
2365 * src/reduce.c, src/reader.c:
2366 entered into RCS
2367
23681994-05-05 David J. MacKenzie <djm@gnu.org>
2369
2370 * Makefile.in: entered into RCS
2371
23721994-03-26 Richard Stallman <rms@gnu.org>
2373
2374 * src/bison.s1: entered into RCS
2375
23761994-03-26 Richard Stallman <rms@gnu.org>
2377
2378 * bison.simple: entered into RCS
2379
23801994-03-25 Richard Stallman <rms@gnu.org>
2381
2382 * src/main.c: entered into RCS
2383
23841994-03-24 Richard Stallman <rms@gnu.org>
2385
2386 * src/conflicts.c: entered into RCS
2387
23881994-01-02 Richard Stallman <rms@gnu.org>
2389
2390 * Makefile.in: *** empty log message ***
2391
23921993-11-21 Richard Stallman <rms@gnu.org>
2393
2394 * src/bison.s1: *** empty log message ***
2395
23961993-11-21 Richard Stallman <rms@gnu.org>
2397
2398 * doc/bison.texinfo: entered into RCS
2399
2400 * doc/bison.texinfo: *** empty log message ***
2401
24021993-11-21 Richard Stallman <rms@gnu.org>
2403
2404 * bison.simple: *** empty log message ***
2405
24061993-10-25 David J. MacKenzie <djm@gnu.org>
2407
2408 * doc/bison.texinfo: *** empty log message ***
2409
24101993-10-19 Richard Stallman <rms@gnu.org>
2411
2412 * src/bison.s1: *** empty log message ***
2413
24141993-10-19 Richard Stallman <rms@gnu.org>
2415
2416 * bison.simple: *** empty log message ***
2417
24181993-10-14 Richard Stallman <rms@gnu.org>
2419
2420 * src/bison.s1: *** empty log message ***
2421
24221993-10-14 Richard Stallman <rms@gnu.org>
2423
2424 * bison.simple: *** empty log message ***
2425
24261993-09-14 David J. MacKenzie <djm@gnu.org>
2427
2428 * doc/bison.texinfo: *** empty log message ***
2429
24301993-09-13 Noah Friedman <friedman@gnu.org>
2431
2432 * Makefile.in: *** empty log message ***
2433
24341993-09-10 Richard Stallman <rms@gnu.org>
2435
2436 * src/conflicts.c: *** empty log message ***
2437
2438 * src/system.h: entered into RCS
2439
24401993-09-10 Richard Stallman <rms@gnu.org>
2441
2442 * doc/bison.1: entered into RCS
2443
24441993-09-06 Noah Friedman <friedman@gnu.org>
2445
2446 * src/version.c: entered into RCS
2447
24481993-09-06 Noah Friedman <friedman@gnu.org>
2449
2450 * Makefile.in: *** empty log message ***
2451
24521993-07-30 David J. MacKenzie <djm@gnu.org>
2453
2454 * Makefile.in: *** empty log message ***
2455
24561993-07-24 Richard Stallman <rms@gnu.org>
2457
2458 * src/bison.s1: *** empty log message ***
2459
24601993-07-24 Richard Stallman <rms@gnu.org>
2461
2462 * bison.simple: *** empty log message ***
2463
24641993-07-08 David J. MacKenzie <djm@gnu.org>
2465
2466 * Makefile.in: *** empty log message ***
2467
24681993-07-04 Richard Stallman <rms@gnu.org>
2469
2470 * src/bison.s1: *** empty log message ***
2471
24721993-07-04 Richard Stallman <rms@gnu.org>
2473
2474 * bison.simple: *** empty log message ***
2475
24761993-06-26 David J. MacKenzie <djm@gnu.org>
2477
2478 * src/getargs.c: entered into RCS
2479
24801993-06-26 David J. MacKenzie <djm@gnu.org>
2481
2482 * doc/bison.texinfo: *** empty log message ***
2483
2484 * doc/bison.1: New file.
2485
24861993-06-25 Richard Stallman <rms@gnu.org>
2487
2488 * src/getargs.c: New file.
2489
24901993-06-16 Richard Stallman <rms@gnu.org>
2491
2492 * src/bison.s1: *** empty log message ***
2493
24941993-06-16 Richard Stallman <rms@gnu.org>
2495
2496 * bison.simple: *** empty log message ***
2497
24981993-06-03 Richard Stallman <rms@gnu.org>
2499
2500 * src/bison.s1: New file.
2501
25021993-06-03 Richard Stallman <rms@gnu.org>
2503
2504 * doc/bison.texinfo: *** empty log message ***
2505
25061993-06-03 Richard Stallman <rms@gnu.org>
2507
2508 * bison.simple: New file.
2509
25101993-05-19 Richard Stallman <rms@gnu.org>
2511
2512 * doc/bison.texinfo: New file.
2513
25141993-05-07 Noah Friedman <friedman@gnu.org>
2515
2516 * Makefile.in: *** empty log message ***
2517
25181993-04-28 Noah Friedman <friedman@gnu.org>
2519
2520 * src/reader.c: *** empty log message ***
2521
25221993-04-23 Noah Friedman <friedman@gnu.org>
2523
2524 * src/alloc.h: entered into RCS
2525
25261993-04-20 David J. MacKenzie <djm@gnu.org>
2527
2528 * src/version.c: *** empty log message ***
2529
2530 * src/files.c, src/allocate.c:
2531 entered into RCS
2532
2533 * src/reader.c: *** empty log message ***
2534
2535 * src/lex.c: entered into RCS
2536
2537 * src/conflicts.c: New file.
2538
2539 * src/symtab.c: entered into RCS
2540
2541 * src/alloc.h: New file.
2542
2543 * src/LR0.c: entered into RCS
2544
25451993-04-18 Noah Friedman <friedman@gnu.org>
2546
2547 * src/reader.c: New file.
2548
2549 * src/version.c: *** empty log message ***
2550
25511993-04-18 Noah Friedman <friedman@gnu.org>
2552
2553 * Makefile.in: *** empty log message ***
2554
25551993-04-17 Noah Friedman <friedman@gnu.org>
2556
2557 * Makefile.in: *** empty log message ***
2558
25591993-04-15 Richard Stallman <rms@gnu.org>
2560
2561 * src/main.c, src/files.c:
2562 New file.
2563
25641993-04-15 Noah Friedman <friedman@gnu.org>
2565
2566 * configure.in: entered into RCS
2567
2568 * configure.in: *** empty log message ***
2569
2570 * configure.in: New file.
2571
25721993-04-14 Richard Stallman <rms@gnu.org>
2573
2574 * Makefile.in: New file.
2575
25761993-04-13 Richard Stallman <rms@gnu.org>
2577
2578 * src/version.c: New file.
2579
25801993-03-25 Richard Stallman <rms@gnu.org>
2581
2582 * src/output.c: entered into RCS
2583
25841992-09-25 Richard Stallman <rms@gnu.org>
2585
2586 * configure.bat: entered into RCS
2587
25881992-06-22 Richard Stallman <rms@gnu.org>
2589
2590 * src/vmsgetargs.c: entered into RCS
2591
25921992-06-22 Richard Stallman <rms@gnu.org>
2593
2594 * doc/bison.rnh: entered into RCS
2595
25961992-04-20 David J. MacKenzie <djm@gnu.org>
2597
2598 * README: entered into RCS
2599
26001992-01-22 Richard Stallman <rms@gnu.org>
2601
2602 * src/machine.h: entered into RCS
2603
26041991-12-21 Richard Stallman <rms@gnu.org>
2605
2606 * src/lalr.c, src/closure.c:
2607 entered into RCS
2608
26091991-12-20 Richard Stallman <rms@gnu.org>
2610
2611 * src/state.h: entered into RCS
2612
26131991-12-18 Richard Stallman <rms@gnu.org>
2614
2615 * src/print.c, src/nullable.c, src/derives.c:
2616 entered into RCS
2617
26181991-11-03 David J. MacKenzie <djm@gnu.org>
2619
2620 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
2621 entered into RCS
2622
26231988-09-09 Richard Stallman <rms@gnu.org>
2624
2625 * src/bison.hairy: entered into RCS
2626
26271987-12-16 Richard Stallman <rms@gnu.org>
2628
2629 * REFERENCES: entered into RCS