]> git.saurik.com Git - bison.git/blame - ChangeLog
Fix line report with input_line
[bison.git] / ChangeLog
CommitLineData
6f9344da
PB
12001-09-22 Pascal Bart <pascal.bart@epita.fr>
2
3 * src/bison.simple: New `#line' directive.
4 * src/output.c (output_parser): Support new dynamic muscle input_line.
5
652def80
MA
62001-09-22 Marc Autret <autret_m@epita.fr>
7
8 * src/output.c (output_master_parser): New.
9 (output_parser): Be more re-entrant.
10
25b222fa
MA
112001-09-21 Marc Autret <autret_m@epita.fr>
12
13 * src/reader.c (copy_definition, parse_union_decl): Update and use
14 `linef' muscle.
15 (copy_action): Likewise.
16 Use obstack_1grow ().
17 * src/muscle_tab.c (muscle_init): Add muscle `linef'.
18
6bc35ae5
MA
192001-09-21 Marc Autret <autret_m@epita.fr>
20
21 * src/options.c (option_table): Adjust.
22 * src/lex.c (parse_percent_token): Fix.
23
c0629aa1
PB
242001-09-20 Pascal Bart <pascal.bart@epita.fr>
25
26 * src/options.c (symtab.h): Include it, need by lex.h.
27
82b6d266
PB
282001-09-20 Pascal Bart <pascal.bart@epita.fr>
29
30 * src/lex.c (parse_percent_token): Change type of variable `tx', which
31 is now an option_table_struct*.
32 (option_strcmp): New function option_strcmp.
33 (parse_percent_token): Call option_strcmp.
34 * src/getargs.c (xalloc.h, options.h): Include it.
35 (getargs): Call create_long_option_table.
36 (getargs): Free longopts at the end of the function.
37 (shortopts): Move in options.c.
38 * src/options.c (create_long_option_table): New function. Convert
39 information from option_table to option structure.
40 * src/reader.c (options.h): Include it.
41
42 * src/Makefile.am: Adjust.
43 * src/options.c (option_table): Create from longopts and percent_table.
44 * src/getargs.c (longopts): Delete.
45 * src/lex.c (struct percent_table_struct): Delete.
46 (percent_table): Delete.
47 (options.h): Include it.
48 * src/options.c: Create.
49 * src/options.h: Create.
50 Declare enum opt_access_e.
51 Define struct option_table_struct.
52
75f5aaea
MA
532001-09-20 Marc Autret <autret_m@epita.fr>
54
55 * doc/bison.texinfo: Adjust terminologies about prologue and epilogue
56 sections of Bison.
57
f508cb0a
PB
582001-09-19 Pascal Bart <pascal.bart@epita.fr>
59
60 * src/bison.simple: s/%%filename/%%skeleton.
61 * src/muscle_tab.c (getargs.h): Include it.
62 (muscle_init): Insert new muscle skeleton.
63
13105fc1
PB
642001-09-18 Pascal Bart <pascal.bart@epita.fr>
65
66 * src/output.c (output_parser): Delete unused variable actions_dumped.
67
b0c4483e
PB
682001-09-07 Pascal Bart <pascal.bart@epita.fr>
69
70 * src/output.c (output): Delete call to reader_output_yylsp.
71 * src/reader.c (reader): Likewise.
72 * src/reader.h: Delete declaration of reader_output_yylsp.
73
11d82f03
MA
742001-09-02 Marc Autret <autret_m@epita.fr>
75
76 * src/reader.c: Include muscle_tab.h.
77 (parse_union_decl): Update.
78 (parse_macro_decl): Rename parse_muscle_decl.
79 Update to use renamed functions and variable.
80 (read_declarations, copy_action, read_additionnal_code, : Updated
81 with correct variables and functions names.
82 (packsymbols, reader): Likewise.
83
84 * src/reader.h (muscle_obstack): Extern declaration update.
85
86 * src/output.c: Include muscle_tab.h
87 In all functions using macro_insert, change by using muscle_insert ().
88 (macro_obstack): Rename muscle_obstack.
89 Echo modifications in the whole file.
90 (MACRO_INSERT_INT): Rename MUSCLE_INSERT_INT.
91 (MACRO_INSERT_STRING): Rename MUSCLE_INSERT_STRING.
92 (MACRO_INSERT_PREFIX): Rename MUSCLE_INSERT_PREFIX.
93
94 * src/muscle_tab.h: Update double inclusion macros.
95 (macro_entry_s): Rename muscle_entry_s.
96 Update prototypes.
97
98 * src/muscle_tab.c: Include muscle_tab.h.
99 Rename macro_tabble to muscle_table.
100 (mhash1, mhash2, mcmp): Use muscle_entry.
101 (macro_init): Rename muscle_init. Update.
102 (macro_insert): Rename muscle_insert. Update.
103 (macro_find): Rename muscle_find. Update.
104
105 * src/main.c: Include muscle_tab.h.
106 (main): Call muscle_init ().
107 * src/Makefile.am (bison_SOURCES): Echo modifications.
108
93a37297
MA
1092001-09-02 Marc Autret <autret_m@epita.fr>
110
f753cd62
MA
111 Now the files macro_tab.[ch] are named muscle_tab.[ch].
112
113 * src/muscle_tab.c, src/muscle_tab.h: Add files.
114
1152001-09-02 Marc Autret <autret_m@epita.fr>
116
117 * src/macrotab.c, src/macrotab.h: Remove.
93a37297 118
682d48cd
PB
1192001-09-01 Pascal Bart <pascal.bart@epita.fr>
120
121 * src/reader.c (copy_guard): Use muscle to specify the `#line'
122 filename.
123
087c8fda
MA
1242001-09-01 Marc Autret <autret_m@epita.fr>
125
126 * tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set
127 to an explicit value to activate the feature. We do it here.
128
dda680cb
PB
1292001-08-31 Pascal Bart <pascal.bart@epita.fr>
130
131 * src/output.c (prepare): Delete the `filename' muscule insertion.
132 * src/reader.c (copy_action): Use `filename' muscule with `#line'.
133 (parse_union_decl): Likewise.
134 * src/macrotab.c (macro_init): Initialize filename by infile.
135
9e644e64
MA
1362001-08-31 Marc Autret <autret_m@epita.fr>
137
138 * src/bison.simple (YYLSP_NEEDED): New definition.
139 * src/output.c (prepare): Add macro insertion of `locations_flag'
140
17da6427
PB
1412001-08-31 Pascal Bart <pascal.bart@epita.fr>
142
143 * src/output.c (prepare): Delete insertion of previous muscles,
144 and insert the `prefix' muscles.
145 * src/macrotab.c (macro_init): Likewise.
146 (macro_init): Initialization prefix directive by `yy'.
147 * src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval,
148 %%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar,
149 yylval, yydebug, yyerror, yynerrs and yyparse.
150 New directive `#define' to substitute yydebug, ... with option
151 name_prefix.
152
e8cb70b9
PB
1532001-08-31 Pascal Bart <pascal.bart@epita.fr>
154
155 * src/main.c (main): Standardize.
156 * src/output.c (output_table_data, output_parser): Likewise.
157 * src/macrotab.h, src/macrotab.c, src/bison.simple: Likewise.
158
63c2d5de
MA
1592001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr>
160
161 * src/reader.c (read_additionnal_code): Rename %%user_code to
162 %%epilogue.
163 * src/output.c (output): Rename %%declarations to %%prologue.
164 * src/bison.simple: Echo modifications.
165
d8cb5183
MA
1662001-08-31 Marc Autret <autret_m@epita.fr>
167
168 * src/reader.c (readgram): CleanUp.
169 (output_token_defines): Likewise.
170 (packsymbols): Likewise.
171 (reader): Likewise.
172 * src/output.c (output): CPP-out useless code.
173
6c686258
PB
1742001-08-31 Pascal Bart <pascal.bart@epita.fr>
175
176 * src/reader.c (reader): Delete obsolete call to function
177 output_trailers and output_headers.
178 * src/output.h: Remove obsolete functions prototypes of output_headers
179 and output_trailers.
180
8f451ef7
PB
1812001-08-30 Pascal Bart <pascal.bart@epita.fr>
182
183 * src/main.c: Include macrotab.h.
184 * src/macrotab.h (macro_entry_s): Constify fields.
185 Adjust functions prototypes.
186 * src/macrotab.c (macro_insert): Constify key and value.
187 (macro_find): Constify key.
188 (macro_insert): Include 'xalloc.h'
189 (macro_insert): Use XMALLOC.
190 (macro_find): Constify return value.
191 * src/output.c (output_table_data): Rename table to table_data.
192 (output_parser): Constify macro_key, macro_value.
193
997b6fd0 1942001-08-30 Marc Autret <autret_m@epita.fr>
2ba3b73c
MA
195
196 * src/reader.c (parse_skel_decl): New.
197 (read_declarations): Add case `tok_skel', call parse_skel_decl ().
198 * src/lex.h (token_t): New token `tok_skel'.
199 * src/lex.c (percent_table): Add skeleton option entry.
200 Standardize.
201
ff48177d
MA
2022001-08-29 Marc Autret <autret_m@epita.fr>
203
204 * src/bison.simple: Add %%user_code directive at the end.
205 * src/reader.c (read_additionnal_code): New.
206 (reader): Use it.
207 * src/output.c (output_program): Remove.
208 (output): Update.
209
b33160bf
MA
2102001-08-28 Marc Autret <autret_m@epita.fr>
211
212 * src/output.c (output_actions): Clean up.
4e5caae2 213 (output_gram): CPP-out useless code.
b33160bf
MA
214 * src/reader.c (reader): Clean up, CPP-out useless code.
215
d1a2daf7
PB
2162001-08-28 Pascal Bart <pascal.bart@epita.fr>
217
535c0e75
PB
218 * src/output.c (output): Copy attrs_obstack in the '%%definitions'
219 directive.
d1a2daf7
PB
220 * src/bison.simple: Add `%%definitions'.
221
2b763dfe
MA
2222001-08-28 Marc Autret <autret_m@epita.fr>
223
224 * config/depcomp: New file.
225
f1a87ef6
PE
2262001-08-27 Paul Eggert <eggert@twinsun.com>
227
228 * src/bison.simple (yyparse): Don't take the address of an
229 item before the start of an array, as that doesn't conform to
230 the C Standard.
231
82e236e2
RA
2322001-08-27 Robert Anisko <robert.anisko@epita.fr>
233
f1a87ef6 234 * src/output.c (output): Remove the initialization of the macro
82e236e2
RA
235 obstack. It was done too late here.
236
237 * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was
238 completely wrong.
239 (reader): Initialize the macro obstack here, since we need it to grow
240 '%define' directives.
241
242 * src/reader.h: Declare the macro obstack as extern.
243
b0cfa28a
RA
2442001-08-27 Robert Anisko <robert.anisko@epita.fr>
245
246 * src/output.c (output_parser): Fix. Store single '%' characters in
247 the output obstack instead of throwing them away.
248
6fc74234
AD
2492001-08-27 Akim Demaille <akim@epita.fr>
250
251 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
252
9c76d118
RA
2532001-08-25 Robert Anisko <robert.anisko@epita.fr>
254
255 * lib/Makefile.am: Adjust.
256
a8289c62
RA
2572001-08-25 Robert Anisko <robert.anisko@epita.fr>
258
259 * src/bison.simple: Update and add '%%' directives.
260
b6610515
RA
2612001-08-25 Robert Anisko <robert.anisko@epita.fr>
262
263 * src/reader.c (reader): Remove calls to 'output_headers' and
264 'output_trailers'. Remove some C output.
265 (readgram): Disable a piece of code that was writing a default
266 definition for 'YYSTYPE'.
267 (reader_output_yylsp): Remove.
268 (packsymbols): Output token defintions to a macro.
269 (copy_definition): Disable C output.
6fc74234 270
b6610515
RA
271 * src/reader.c (parse_macro_decl): New function used to parse macro
272 declarations.
273 (copy_string2): Put the body of copy_string into this new function.
274 Add a parameter to let the caller choose whether he wants to copy the
275 string delimiters or not.
276 (copy_string): Be a simple call to copy_string2 with the last argument
277 bound to true.
278 (read_declarations): Add case for macro definition.
279 (copy_identifier): New.
6fc74234 280 (parse_macro_decl): Read macro identifiers using copy_identifier
b6610515
RA
281 rather than lex.
282
26f609ff
RA
2832001-08-25 Robert Anisko <robert.anisko@epita.fr>
284
285 * src/output.c (prepare): Add prefixed names.
286 (output_parser): Output semantic actions.
287 (output_parser): Fix bug on '%%line' directives.
6fc74234 288
26f609ff
RA
289 * src/output.c (output_headers): Remove. The C code printed by this
290 function should now be in the skeletons.
291 (output_trailers): Remove.
292 (output): Disable call to 'reader_output_yylsp'.
293 (output_rule_data): Do not output tables to the table obstack.
294
295 * src/output.c: Remove some C dedicated output.
296 Improve the use of macro and output obstacks.
297 (output_defines): Remove.
6fc74234 298
26f609ff
RA
299 * src/output.c (output_token_translations): Associate 'translate'
300 table with a macro. No output to the table obstack.
301 (output_gram): Same for 'rhs' and 'prhs'.
302 (output_stos): Same for 'stos'.
303 (output_rule_data): Same for 'r1' and 'r2'.
304 (token_actions): Same for 'defact'.
305 (goto_actions): Same for 'defgoto'.
306 (output_base): Same for 'pact' and 'pgoto'.
307 (output_table): Same for 'table'.
308 (output_check): Same for 'check'.
6fc74234 309
26f609ff
RA
310 * src/output.c (output_table_data): New function.
311 (output_short_table): Remove.
312 (output_short_or_char_table): Remove.
6fc74234 313
26f609ff
RA
314 * src/output.c (output_parser): Replace most of the skeleton copy code
315 with something new. Skeletons are now processed character by character
316 rather than line by line, and Bison looks for '%%' macros. This is the
317 first step in making Bison's output process (a lot) more flexible.
318 (output_parser): Use the macro table.
319
6f43b113
RA
3202001-08-25 Robert Anisko <robert.anisko@epita.fr>
321
322 * src/main.c (main): Initialize the macro table.
323
dd3127cf
RA
3242001-08-25 Robert Anisko <robert.anisko@epita.fr>
325
326 * src/lex.c (percent_table): Add tok_define.
327 * src/lex.h: Add tok_define.
328
aa321494
RA
3292001-08-25 Robert Anisko <robert.anisko@epita.fr>
330
331 * src/macrotab.c: New file.
332 * src/macrotab.h: New file.
333 * src/Makefile.am: Update.
334
68bd3b6b
RA
3352001-08-25 Robert Anisko <robert.anisko@epita.fr>
336
337 * lib/hash.c: New file.
338 * lib/hash.h: New file.
339 * lib/Makefile.am: Update.
340
45f8dd1e
AD
3412001-08-15 Akim Demaille <akim@epita.fr>
342
343 Version 1.28c.
344
40a64a7a 3452001-08-15 Marc Autret <autret_m@epita.fr>
0b8afb77
AD
346
347 * src/reader.c (readgram): Indent output macro YYSTYPE.
348 (packsymbols): Likewise.
349 (output_token_defines): Likewise.
350 * src/files.c: Standardize.
351 (compute_header_macro): New.
352 (defines_obstack_save): New. Use compute_header_macro.
353 (output_files): Update. Use defines_obstack_save.
354
f9a8293a
AD
3552001-08-15 Akim Demaille <akim@epita.fr>
356
357 * doc/bison.texinfo (Table of Symbols): Document
358 YYSTACK_USE_ALLOCA.
359
150ca7a7
AD
3602001-08-15 Akim Demaille <akim@epita.fr>
361
362 * missing: Update from CVS Automake.
363 * config/config.guess, config/config.sub, config/texinfo.tex:
364 Update from gnu.org.
365
69b5cec4
AD
3662001-08-15 Akim Demaille <akim@epita.fr>
367
368 * Makefile.maint: Sync with CVS Autoconf.
369
f2b5126e
PB
3702001-08-14 Pascal Bart <pascal.bart@epita.fr>
371
69b5cec4 372 * doc/bison.texinfo: Include GNU Free Documentation License from
f2b5126e
PB
373 `fdl.texi'.
374 * doc/fdl.texi: Add to package.
375
4ecbf796
MA
3762001-08-14 Marc Autret <autret_m@epita.fr>
377
378 Turn on %{source,header}_extension features.
379
69b5cec4 380 * src/lex.c (percent_table): Un-CPP out header_extension and
4ecbf796
MA
381 source_extension.
382 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
69b5cec4 383 (compute_exts_from_src): Remove conditions. It restores priorities
4ecbf796
MA
384 between options.
385
95fb5662
MA
3862001-08-14 Marc Autret <autret_m@epita.fr>
387
388 * src/files.c (compute_base_names): Add extensions computing when
389 `--file-prefix' used.
390 Standardize function calls.
391
78d09da9
MA
3922001-08-13 Marc Autret <autret_m@epita.fr>
393
69b5cec4 394 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
78d09da9
MA
395 defining it (defined but null disables alloca).
396
5a009f2c
MA
3972001-08-13 Marc Autret <autret_m@epita.fr>
398
399 * src/bison.simple (_yy_memcpy): CPP reformat.
400
1e41465a
PB
4012001-08-13 Pascal Bart <pascal.bart@epita.fr>
402
403 * tests/atconfig.in (CPPFLAGS): Fix.
404
c67a198d
PB
4052001-08-10 Pascal Bart <pascal.bart@epita.fr>
406
79282c6c 407 * doc/bison.texinfo: Include GNU General Public License from
c67a198d
PB
408 `gpl.texi'.
409 * doc/gpl.texi: Add to package.
410
09a6de7e
MA
4112001-08-10 Marc Autret <autret_m@epita.fr>
412
413 * src/print_graph.h: Fix.
414 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
415
b77b9ee0
AD
4162001-08-10 Akim Demaille <akim@epita.fr>
417
418 * src/system.h: Provide default declarations for stpcpy, strndup,
419 and strnlen.
420
3e259915
MA
4212001-08-10 Robert Anisko <anisko_r@epita.fr>
422
423 * doc/bison.texinfo (Locations): Update @$ stuff.
424
ca96bc2d
MA
4252001-08-09 Robert Anisko <anisko_r@epita.fr>
426
427 * src/bison.simple (YYLLOC_DEFAULT): Update.
428 (yyparse): Adjust.
429
fdc6758b
MA
4302001-08-08 Marc Autret <autret_m@epita.fr>
431
b77b9ee0 432 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
fdc6758b
MA
433 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
434 Reported by Fabrice Bauzac.
957d4dbf 435
600cad3b
MA
4362001-08-08 Marc Autret <autret_m@epita.fr>
437
438 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
439 * src/vcg.c (output_node): Fix.
440 * src/vcg.h: Cleanup.
441 * src/print_graph.c: Add comments.
b77b9ee0 442 (node_output_size): New global variable. Simplify the formatting of
600cad3b 443 the VCG graph output.
b77b9ee0 444 (print_actions): Unused code is now used. It notifies the final state
600cad3b 445 and no action states in the VCG graph. It also give the reduce actions.
b77b9ee0 446 The `shift and goto' edges are red and the `go to state' edges are
600cad3b
MA
447 blue.
448 Get the current node name and node_obstack by argument.
449 (node_obstack): New variable.
450 (print_state): Manage node_obstack.
451 (print_core): Use node_obstack given by argument.
452 A node is not only computed here but in print_actions also.
453 (print_graph): CPP out useless code instead of commenting it.
454
976e528f
AD
4552001-08-07 Pascal Bart <pascal.bart@epita.fr>
456
457 * tests/atconfig.in (CPPFLAGS): Fix.
458
20e8e5ca
AD
4592001-08-07 Akim Demaille <akim@epita.fr>
460
461 * src/print_graph.c (quote): New.
462 (print_core): Use it.
463
957d4dbf 4642001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
3e3da797 465
3e3da797
AD
466 * src/vcg.c (complain.h): Include it.
467 Unepitaize `return' invocations.
c4b66126 468 [NDEBUG] (main): Remove.
79282c6c 469 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
c4b66126
AD
470 * src/files.c (open_files): Initialize graph_obstack.
471 * src/print_graph.c (print_actions): CPP out useless code.
472 (print_core): Don't output the last `\n' in labels.
473 Use `quote'.
474 * src/files.c (output_files): Output the VCG file.
475 * src/main.c (main): Invoke print_graph ();
3e3da797 476
957d4dbf 4772001-08-06 Marc Autret <autret_m@epita.fr>
22c2cbc0
AD
478
479 Automaton VCG graph output.
480 Using option ``-g'' or long option ``--graph'', you can generate
481 a gram_filename.vcg file containing a VCG description of the LALR (1)
482 automaton of your grammar.
483
484 * src/main.c: Call to print_graph() function.
485 * src/getargs.h: Update.
486 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
487 (graph_flag): New flag.
488 (longopts): Update.
489 (getargs): Add case `g'.
490 * src/files.c (graph_obstack): New obstack struct.
491 (open_files): Initialize new obstack.
492 (output_files): Saves graph_obstack if required.
493 * src/files.h (graph_obstack): New extern declaration.
494 * src/Makefile.am: Add new source files.
495
957d4dbf 4962001-08-06 Marc Autret <autret_m@epita.fr>
ce4d5ce0
AD
497
498 * src/print_graph.c, src/print_graph.h (graph): New.
499 * src/vcg.h: New file.
500 * src/vcg.c: New file, VCG graph handling.
501
7333d403
AD
5022001-08-06 Marc Autret <autret_m@epita.fr>
503
504 Add of %source_extension and %header_extension which specify
505 the source or/and the header output file extension.
506
507 * src/files.c (compute_base_names): Remove initialisation of
508 src_extension and header_extension.
509 (compute_exts_from_gf): Update.
510 (compute_exts_from_src): Update.
511 (output_files): Update.
512 * src/reader.c (parse_header_extension_decl): New.
513 (parse_source_extension_decl): New.
514 (read_declarations): New case statements for the new tokens.
515 * src/lex.c (percent_table): Add entries for %source_extension
516 and %header_extension.
517 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
518
84163231
AD
5192001-08-06 Marc Autret <autret_m@epita.fr>
520
521 * configure.in: Bump to 1.28c.
522 * doc/bison.texinfo: Texinfo thingies.
523
8303fc42
AD
5242001-08-04 Pascal Bart <pascal.bart@epita.fr>
525
526 * tests/atconfig.in (CPPFLAGS): Add.
527 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
528
70a84437
AD
5292001-08-03 Akim Demaille <akim@epita.fr>
530
531 Version 1.28b.
532
2ce10144
AD
5332001-08-03 Akim Demaille <akim@epita.fr>
534
535 * tests/Makefile.am (check-local): Ship testsuite.
536 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
537 Include `string.h'.
538
1e3e4bc1
AD
5392001-08-03 Akim Demaille <akim@epita.fr>
540
541 * configure.in: Try using -Wformat when compiling.
542
42b45b7f
AD
5432001-08-03 Akim Demaille <akim@epita.fr>
544
545 * configure.in: Bump to 1.28b.
546
8f13fe33
AD
5472001-08-03 Akim Demaille <akim@epita.fr>
548
549 * src/complain.c: Adjust strerror_r portability issues.
550
b37ba92c
AD
5512001-08-03 Akim Demaille <akim@epita.fr>
552
553 Version 1.28a.
554
b0ce6046
AD
5552001-08-03 Akim Demaille <akim@epita.fr>
556
557 * src/getargs.c, src/getarg.h (skeleton)): Constify.
558 * src/lex.c (literalchar): Avoid name clashes on `buf'.
559 * src/getargs.c: Include complain.h.
560 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
561 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
562
d01c415b
AD
5632001-08-03 Akim Demaille <akim@epita.fr>
564
565 * src/reader.c (readgram): Display hidden chars in error messages.
566
459dd1a6
AD
5672001-08-03 Akim Demaille <akim@epita.fr>
568
569 Update to gettext 0.10.39.
570
53b74c0c
AD
5712001-08-03 Akim Demaille <akim@epita.fr>
572
573 * lib/strspn.c: New.
574
234a3be3
AD
5752001-08-01 Marc Autret <autret_m@epita.fr>
576
577 * doc/bison.texinfo: Update.
578 * doc/bison.1 (mandoc): Update.
579 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
580 * src/files.c: Support output files extensions computing.
581 (src_extension): New static variable.
582 (header_extension): New static variable.
583 (tr): New function.
584 (get_extension_index): New function, gets the index of an extension
585 filename in a string.
586 (compute_exts_from_gf): New function, computes extensions from the
587 grammar file extension.
588 (compute_exts_from_src): New functions, computes extensions from the
589 C source file extension, file given by ``-o'' option.
590 (compute_base_names): Update.
591 (output_files): Update.
592
847bf1f5
AD
5932001-08-01 Robert Anisko <anisko_r@epita.fr>
594
d995fee7 595 * doc/bison.texi: Document @$.
847bf1f5
AD
596 (Locations): New section.
597
d074a105
AD
5982001-07-18 Akim Demaille <akim@epita.fr>
599
600 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
601 * config/prev-version.txt, config/move-if-change: New.
602 * Makefile.am: Adjust.
603
3419715d
AD
6042001-07-08 Pascal Bart <pascal.bart@epita.fr>
605
606 * src/bison.simple (yyparse): Suppress warning `comparaison
607 between signed and unsigned'.
608
62ab6972
AD
6092001-07-05 Pascal Bart <pascal.bart@epita.fr>
610
611 * src/getargs.h (raw_flag): Remove.
612 * src/getargs.c: Die on `-r'/`--raw'.
613 * src/lex.c (parse_percent_token): Die on `%raw'.
614 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
615 * tests/calc.at: Suppress test with option `--raw'.
616
1e24cc5b
AD
6172001-07-14 Akim Demaille <akim@epita.fr>
618
619 * config/: New.
620 * configure.in: Require Autoconf 2.50.
621 Update to gettext 0.10.38.
622
32dfccf8
AD
6232001-03-16 Akim Demaille <akim@epita.fr>
624
625 * doc/bison.texinfo: ANSIfy the examples.
626
cd5bd6ac
AD
6272001-03-16 Akim Demaille <akim@epita.fr>
628
629 * getargs.c (skeleton): New variable.
630 (longopts): --skeleton is a new option.
631 (shortopts, getargs): -S is a new option.
632 * getargs.h: Declare skeleton.
633 * output.c (output_parser): Use it.
634
5141b016
AD
6352001-03-16 Akim Demaille <akim@epita.fr>
636
637 * m4/strerror_r.m4: New.
638 * m4/error.m4: Run AC_FUNC_STRERROR_R.
639 * lib/error.h, lib/error.c: Update.
640
447992b9
AD
6412001-03-16 Akim Demaille <akim@epita.fr>
642
643 * src/getargs.c (longopts): Clean up.
644
274d42ce
AD
6452001-02-21 Akim Demaille <akim@epita.fr>
646
647 * src/reader.c (gensym): `gensym_count' is your own.
648 Use a static buf to create the symbol name, as token_buffer is no
649 longer a buffer.
650
22c821f3
AD
6512001-02-08 Akim Demaille <akim@epita.fr>
652
653 * src/conflicts.c (conflict_report): Be sure not to append to res
654 between two calls, which could happen if both first sprintf were
655 skipped, but not the first cp += strlen.
656
18569462
AD
6572001-02-08 Akim Demaille <akim@epita.fr>
658
659 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
660 New, from fileutils 4.0.37.
661 * configure.in: Require Autoconf 2.49c. I took some time before
662 making this decision. This is the only way out for portability
663 issues in Bison, it would mean way too much duplicate effort to
664 import in Bison features implemented in 2.49c since 2.13.
665 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
666
0d8f3c8a
AD
6672001-02-02 Akim Demaille <akim@epita.fr>
668
669 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
66075dcf 670 * lib/xalloc.h, lib/xmalloc.c: Update.
0d8f3c8a 671
f17bcd1f
AD
6722001-01-19 Akim Demaille <akim@epita.fr>
673
674 Get rid of the ad hoc handling of token_buffer in the scanner: use
675 the obstacks.
676
677 * src/lex.c (token_obstack): New.
678 (init_lex): Initialize it. No longer call...
679 (grow_token_buffer): this. Remove it.
680 Adjust all the places which used it to use the obstack.
681
511e79b3
AD
6822001-01-19 Akim Demaille <akim@epita.fr>
683
684 * src/lex.h: Rename all the tokens:
685 s/\bENDFILE\b/tok_eof/g;
686 s/\bIDENTIFIER\b/tok_identifier/g;
687 etc.
688 Let them be enums, not #define, to ease debugging.
689 Adjust all the code.
690
0d6508ef
AD
6912001-01-18 Akim Demaille <akim@epita.fr>
692
693 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
694 * src/lex.c (maxtoken, grow_token_buffer): Static.
695
6deb4447
AD
6962001-01-18 Akim Demaille <akim@epita.fr>
697
698 Since we now use obstacks, more % directives can be enabled.
699
700 * src/lex.c (percent_table): Also accept `%yacc',
701 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
702 `%debug'.
703 Handle the actions for `%semantic_parser' and `%pure_parser' here,
704 instead of returning a token.
705 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
706 * src/reader.c (read_declarations): Adjust.
707 * src/files.c (open_files): Don't call `compute_base_names', don't
708 compute `attrsfile' since they depend upon data which might be
709 *in* the input file now.
710 (output_files): Do it here.
711 * src/output.c (output_headers): Document the fact that this patch
712 introduces a guaranteed SEGV for semantic parsers.
713 * doc/bison.texinfo: Document them.
714 * tests/suite.at: Exercise these %options.
715
ff4423cc
AD
7162000-12-20 Akim Demaille <akim@epita.fr>
717
718 Also handle the output file (--verbose) with obstacks.
719
720 * files.c (foutput): Remove.
721 (output_obstack): New.
722 Adjust all dependencies.
723 * src/conflicts.c: Return a string.
724 * src/system.h (obstack_grow_string): Rename as...
725 (obstack_sgrow): this. Be ready to work with non literals.
726 (obstack_fgrow4): New.
727
956dba3a
AD
7282000-12-20 Akim Demaille <akim@epita.fr>
729
730 * src/files.c (open_files): Fix the computation of short_base_name
731 in the case of `-o foo.tab.c'.
732
337bab46
AD
7332000-12-20 Akim Demaille <akim@epita.fr>
734
735 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
736 (copy_dollar): Now that everything uses obstacks, get rid of the
737 FILE * parameters.
738
5d3214b8
AD
7392000-12-20 Akim Demaille <akim@epita.fr>
740
741 * src/files.c (open_files): Actually the `.output' file is based
742 on the short_base_name, not base_name.
743 * tests/suite.at (Checking output file names): Adjust.
744
29092a57
AD
7452000-12-20 Akim Demaille <akim@epita.fr>
746
747 * src/bison.s1: Remove, we now use directly...
748 * src/bison.simple: this.
749 * src/Makefile.am: Use pkgdata instead of data.
750
ea5607fd
AD
7512000-12-20 Akim Demaille <akim@epita.fr>
752
753 * src/files.c (guard_obstack): New.
754 (open_files): Initialize it.
755 (output_files): Dump it...
756 * src/files.h: Export it.
757 * src/reader.c (copy_guard): Use it.
758
27110317
AD
7592000-12-19 Akim Demaille <akim@epita.fr>
760
761 * src/files.c (outfile, defsfile, actfile): Removed as global
762 vars.
763 (open_files): Don't compute them.
764 (output_files): Adjust.
765 (base_name, short_base_name): Be global.
766 Adjust dependencies.
767
19c50364
AD
7682000-12-19 Akim Demaille <akim@epita.fr>
769
770 * src/files.c (strsuffix): New.
771 (stringappend): Be just like strcat but allocate.
772 (base_names): Eve out from open_files.
773 Try to simplify the rather hairy computation of base_name and
774 short_base_name.
775 (open_files): Use it.
776 * tests/suite.at (Checking output file names): New test.
777
573c1d9f
AD
7782000-12-19 Akim Demaille <akim@epita.fr>
779
780 * src/system.h (obstack_grow_literal_string): Rename as...
781 (obstack_grow_string): this.
782 * src/output.c (output_parser): Recognize `%% actions' instead of
783 `$'.
784 * src/bison.s1: s/$/%% actions/.
785 * src/bison.hairy: Likewise.
786
ef7ddedd
AD
7872000-12-19 Akim Demaille <akim@epita.fr>
788
789 * src/output.c (output_parser): Compute the `#line' lines when
790 there are.
791 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
792 Suggested by Hans Aberg.
793
ff61dabd
AD
7942000-12-19 Akim Demaille <akim@epita.fr>
795
796 Let the handling of the skeleton files be local to the procedures
797 that use it.
798
799 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
800 longer static.
801 (fparser, open_extra_files): Remove.
802 (open_files, output_files): Don't take care of fparser.
803 * src/files.h: Adjust.
804 * src/output.c (output_parser): Open and close the file to the
805 skeleton.
806 * src/reader.c (read_declarations): When %semantic_parser, open
807 fguard.
808
55b96341
AD
8092000-12-19 Akim Demaille <akim@epita.fr>
810
811 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
812 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
813
358c15b7
AD
8142000-12-19 Akim Demaille <akim@epita.fr>
815
816 * src/files.c (open_files): Yipee! We no longer need all the code
817 looking for `/tmp' since we have no tmp file.
818
7de3329e
AD
8192000-12-19 Akim Demaille <akim@epita.fr>
820
821 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
822 New macros.
823 * src/files.c (open_files): Less dependency on MSDOS etc.
824
3abcd459
AD
8252000-12-14 Akim Demaille <akim@epita.fr>
826
827 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
828 Provide a default definition.
829 Use it when executing the default @ action.
830 * src/reader.c (reader_output_yylsp): No longer include
831 `timestamp' and `text' in the default YYLTYPE.
832
2a91a95e
AD
8332000-12-12 Akim Demaille <akim@epita.fr>
834
835 * src/reader.c (copy_definition, parse_union_decl, copy_action)
836 (copy_guard): Quote the file names.
837 Reported by Laurent Mascherpa.
838
14d3eb9b
AD
8392000-12-12 Akim Demaille <akim@epita.fr>
840
841 * src/output.c (output_headers, output_program, output): Be sure
842 to escape special characters when outputting filenames.
843 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
844 (output_headers): Don't depend on them, Use ACTSTR.
845
d7045ec6
AD
8462000-11-17 Akim Demaille <akim@epita.fr>
847
848 * lib/obstack.h: Formatting changes.
849 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
850 prevents type checking.
851 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
852 cast the value to (void *): assigning a `foo *' to a `void *'
853 variable is valid.
854 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
855 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
856 append characters.
857
6fd54b73
AD
8582000-11-17 Akim Demaille <akim@epita.fr>
859
860 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
861 as...
862 (suite.m4, regression.m4, calc.m4): these.
863 * tests/atgeneral.m4: Update from CVS Autoconf.
864
4c50eae6
AD
8652000-11-17 Akim Demaille <akim@epita.fr>
866
867 * tests/regression.m4 (%union and --defines): New test,
868 demonstrating a current bug in the obstack implementation.
869
a35f64ea
AD
8702000-11-17 Akim Demaille <akim@epita.fr>
871
872 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
873 macros.
874 Use them to declare the variables which are global or local to
875 `yyparse'.
876
7de23534
AD
8772000-11-17 Akim Demaille <akim@epita.fr>
878
879 * acconfig.h: Remove, no longer used.
880
aa7815f5
AD
8812000-11-07 Akim Demaille <akim@epita.fr>
882
883 * src: s/Copyright (C)/Copyright/g.
884
5af1f549
AD
8852000-11-07 Akim Demaille <akim@epita.fr>
886
887 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
888 defining.
889 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
890
553e2b22
AD
8912000-11-07 Akim Demaille <akim@epita.fr>
892
893 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
894 Merge in a single CPP if/else.
895
8a4f41d6
AD
8962000-11-07 Akim Demaille <akim@epita.fr>
897
898 * src/output.c (output): Remove useless variables.
899 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
900 argument `data' for consistency with the prototypes.
901 Qualify it `const'.
902 (obstack_copy, obstack_copy0): Rename the second argument as
903 `address' for consistency. Qualify it `const'.
904 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
905 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
906 `const' their input argument (`data' or `address').
907 Adjust the corresponding macros to include `const' in casts.
908
095a3fb5
AD
9092000-11-03 Akim Demaille <akim@epita.fr>
910
911 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
912 s/PFILE1/BISON_HAIRY/.
913 Adjust dependencies.
914
d1cdce7c
AD
9152000-11-03 Akim Demaille <akim@epita.fr>
916
090c5ebf 917 For some reason, this was not applied.
d1cdce7c
AD
918
919 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
920 `unlink': it's no longer used.
921
9311529b
AD
9222000-11-03 Akim Demaille <akim@epita.fr>
923
924 * src/files.c (skeleton_find): New function, eved out of...
925 (open_files, open_extra_files): here.
926
d8880f69
AD
9272000-11-03 Akim Demaille <akim@epita.fr>
928
929 Don't use `atexit'.
930
931 * src/files.c (obstack_save): New function.
932 (done): Rename as...
933 (output_files): this.
934 Use `obstack_save'.
935 * src/main.c (main): Don't use `atexit' to register `done', since
936 it no longer has to remove tmp files, just call `output_files'
937 when there are no errors.
938
0dbb648e
AD
9392000-11-02 Akim Demaille <akim@epita.fr>
940
941 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
942 `unlink': it's no longer used.
943 * src/files.h: Formatting changes.
944
896fe5c1
AD
9452000-11-02 Akim Demaille <akim@epita.fr>
946
947 Remove the last uses of mktemp and unlink/delete.
948
949 * src/files.c (fdefines, ftable): Removed.
950 (defines_ostack, table_obstack): New.
951 Adjust dependencies of the former into uses of the latter.
952 * src/output.c (output_short_or_char_table, output_short_table):
953 Convert to using obstacks.
954 * src/reader.c (copy_comment2): Accept one FILE * and two
955 obstacks.
956 (output_token_defines, reader_output_yylsp): Use obstacks.
957 * src/system.h (obstack_fgrow3): New.
958
dd60faec
AD
9592000-11-01 Akim Demaille <akim@epita.fr>
960
961 Change each use of `fattrs' into a use of `attrs_obstack'.
962
963 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
964 * src/files.c (fattrs): Remove.
965 (attrs_obstack): New.
966 Adjust all dependencies.
967 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
968
8c7ebe49
AD
9692000-11-01 Akim Demaille <akim@epita.fr>
970
971 Introduce obstacks.
972 Change each use of `faction' into a use of `action_obstack'.
973
974 * lib/obstack.h, lib/obstack.c: New files.
975 * src/files.c (faction): Remove.
976 (action_obstack): New.
977 Adjust all dependencies.
978
77aee789
AD
9792000-10-20 Akim Demaille <akim@epita.fr>
980
981 * lib/quote.h (PARAMS): New macro. Use it.
982
43591cec
AD
9832000-10-16 Akim Demaille <akim@epita.fr>
984
985 * src/output.c (output_short_or_char_table): New function.
986 (output_short_table, output_token_translations): Use it.
987 (goto_actions): Use output_short_table.
988
1e9798d5
AD
9892000-10-16 Akim Demaille <akim@epita.fr>
990
991 * src/symtab.c (bucket_new): New function.
992 (getsym): Use it.
993
994 * src/output.c (output_short_table): New argument to display the
995 comment associated with the table.
996 Adjust dependencies.
997 (output_gram): Use it.
998 (output_rule_data): Nicer output layout for YYTNAME.
999
f282676b
AD
10002000-10-16 Akim Demaille <akim@epita.fr>
1001
1002 * src/lex.c (read_typename): New function.
1003 (lex): Use it.
1004 * src/reader.c (copy_dollar): Likewise.
1005
550a72a3
AD
10062000-10-16 Akim Demaille <akim@epita.fr>
1007
1008 * src/reader.c (copy_comment2): Expect the input stream to be on
1009 the `/' which is suspected to open a comment, instead of being
1010 called after `//' or `/*' was read.
1011 (copy_comment, copy_definition, parse_union_decl, copy_action)
1012 (copy_guard): Adjust.
1013
131e2fef
AD
10142000-10-16 Akim Demaille <akim@epita.fr>
1015
1016 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
1017 `read_signed_integer'.
1018
79282c5a
AD
10192000-10-16 Akim Demaille <akim@epita.fr>
1020
1021 * src/reader.c (copy_dollar): New function.
1022 (copy_guard, copy_action): Use it.
1023
ff4a34be
AD
10242000-10-16 Akim Demaille <akim@epita.fr>
1025
1026 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
1027 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
1028 New files, from Fileutils 4.0.27.
1029 * src/main.c (printable_version): Remove.
1030 * src/lex.c, src/reader.c: Use `quote'.
1031
10322000-10-04 Akim Demaille <akim@epita.fr>
1033
1034 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
1035
14ded682
AD
10362000-10-04 Akim Demaille <akim@epita.fr>
1037
1038 * doc/bison.texinfo: Various typos spotted by Neil Booth.
1039
8e03724b
AD
10402000-10-04 Akim Demaille <akim@epita.fr>
1041
1042 When a literal string is used to define two different tokens,
1043 `bison -v' segfaults.
1044 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
1045
1046 * tests/regression.m4: New file.
1047 Include the core of the sample provided by Piotr Gackiewicz.
1048 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
1049 properly.
1050
a9e64249
AD
10512000-10-04 Akim Demaille <akim@epita.fr>
1052
1053 * src/reader.c (parse_expect_decl): Keep `count' within the size
1054 of `buffer'.
1055 From Neil Booth.
1056
da9abf43
AD
10572000-10-02 Paul Eggert <eggert@twinsun.com>
1058
1059 * bison.s1 (yyparse): Assign the default value
1060 unconditionally, to avoid a GCC warning and make the parser a
1061 tad smaller.
1062
c33638bb
AD
10632000-10-02 Akim Demaille <akim@epita.fr>
1064
1065 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
1066 options.
1067
444c570a
AD
10682000-10-02 Akim Demaille <akim@epita.fr>
1069
1070 * src/derives.c, src/print.c, src/reduce.c: To ease the
1071 translation, move some `\n' out of the translated strings.
1072
89cab50d
AD
10732000-10-02 Akim Demaille <akim@epita.fr>
1074
1075 The location tracking mechanism is precious for parse error
1076 messages. Nevertheless, it is enabled only when `@n' is used in
1077 the grammar, which is a different issue (you can use it in error
1078 message, but not in the grammar per se). Therefore, there should
1079 be another means to enable it.
1080
1081 * src/getargs.c (getargs): Support `--locations'.
1082 (usage): Report it.
1083 * src/getargs.h (locationsflag): Export it.
1084 * src/lex.c (percent_table): Support `%locations'.
1085 * src/reader.c (yylsp_needed): Remove this variable, now replaced
1086 with `locationsflag'.
1087 * doc/bison.texinfo: Document `--locations' and `%locations'.
1088 Sort the options.
1089 * tests/calc.m4: Test it.
1090
1091 For regularity of the names, replace each
1092 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
1093 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
1094 In addition replace each `flag' with `_flag'.
1095
d6c2cba0
AD
10962000-10-02 Akim Demaille <akim@epita.fr>
1097
1098 Also test parse error messages, including with YYERROR_VERBOSE.
1099
1100 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
1101 associative).
1102 Use it to check the computations.
1103 Use it to check `nonassoc' is honored.
1104 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
1105 `--yyerror-verbose'.
1106 (_AT_CHECK_CALC): Adjust to this option.
1107 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
1108
5a35a6cb
AD
11092000-10-02 Akim Demaille <akim@epita.fr>
1110
1111 Test also `--verbose', `--defines' and `--name-prefix'. Testing
1112 the latter demonstrates a flaw in the handling of non debugging
1113 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
1114 was used in order to simplify:
1115
1116 #if YYDEBUG
1117 if (yydebug)
1118 {
1119 ...
1120 }
1121 #endif
1122
1123 into
1124
1125 if (yydebug)
1126 {
1127 ...
1128 }
1129
1130 unfortunately this leads to a CPP conflict when
1131 `--name-prefix=foo' is used since it produces `#define yydebug
1132 foodebug'.
1133
1134 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
1135 (YYDPRINTF): New macro.
1136 Spread its use.
1137 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
1138 the bison options.
1139 Also test `--verbose', `--defines' and `--name-prefix'.
1140
71da9eea
AD
11412000-10-02 Akim Demaille <akim@epita.fr>
1142
1143 Improve the readability of the produced parsers.
1144
1145 * src/bison.s1: Formatting changes.
1146 Improve the comment related to the `$' mark.
1147 (yydefault): Don't fall through to `yyresume': `goto' there.
1148 * src/output.c (output_parser): When the `$' is met, skip the end
1149 of its line.
1150 New variable, `number_of_dollar_signs', to check there's exactly
1151 one `$' in the parser skeleton.
1152
95e36146
AD
11532000-10-02 Akim Demaille <akim@epita.fr>
1154
1155 * lib/xstrdup.c: New file, from the fileutils.
1156 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
1157 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
1158 instead of strlen + xmalloc + strcpy.
1159 * src/symtab.c (copys): Remove, use xstrdup instead.
1160
d7020c20
AD
11612000-10-02 Akim Demaille <akim@epita.fr>
1162
1163 * src/gram.h (associativity): New enum type which replaces the
1164 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
1165 `right_assoc', `left_assoc' and `non_assoc'.
1166 Adjust all dependencies.
1167 * src/reader.c: Formatting changes.
1168 (LTYPESTR): Don't define it, use it as a literal in
1169 `reader_output_yylsp'.
1170 * src/symtab.h (symbol_class): New enum type which replaces the
1171 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
1172 `sunknown', `stoken and `snterm'.
1173
1916f98e
AD
11742000-10-02 Akim Demaille <akim@epita.fr>
1175
1176 * src/getargs.c (fixed_outfiles): Rename as...
1177 (yaccflag): for consistency and accuracy.
1178 Adjust dependencies.
1179
d7913476
AD
11802000-10-02 Akim Demaille <akim@epita.fr>
1181
1182 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
1183 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
1184 difficult and introduced a lot of core dump. It turns out that
1185 Bison used an implementation of `xmalloc' based on `calloc', and
1186 at various places it does depend upon the initialization to 0. I
1187 have not tried to isolate the pertinent places, and all the former
1188 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
1189 someone should address this issue.
1190
1191 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
1192 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
1193 files.
1194 Adjust dependencies.
1195 * src/warshall.h: New file.
1196 Propagate.
1197
340ef489
AD
11982000-10-02 Akim Demaille <akim@epita.fr>
1199
1200 Various anti-`extern in *.c' changes.
1201
1202 * src/system.h: Include `assert.h'.
1203
b2ca4022
AD
12042000-10-02 Akim Demaille <akim@epita.fr>
1205
1206 * src/state.h (nstates, final_state, first_state, first_shift)
1207 (first_reduction): Move their exportation from here...
1208 * src/LR0.h: to here.
1209 Adjust dependencies.
1210 * src/getargs.c (statisticsflag): New variable.
1211 Add support for `--statistics'.
1212 Adjust dependencies.
1213
1214 Remove a lot of now useless `extern' statements in most files.
1215
403b315b
AD
12162000-10-02 Akim Demaille <akim@epita.fr>
1217
1218 * src/LR0.h: New file.
1219 Propagate its use.
1220
07a58c13
AD
12212000-10-02 Akim Demaille <akim@epita.fr>
1222
1223 * src/print.h: New file.
1224 Propagate its use.
1225 * src/print.c: Formatting and ordering changes.
1226 (verbose, terse): Replace with...
1227 (print_results): this new function.
1228 Adjust dependencies.
1229
0619caf0
AD
12302000-10-02 Akim Demaille <akim@epita.fr>
1231
1232 * src/conflicts.c (conflict_report): New function.
1233 (conflict_log, verbose_conflict_log): Replace with...
1234 (print_conflicts): this function.
1235 Adjust dependencies.
1236 * src/conflicts.h: New file.
1237 Propagate its inclusion.
1238
3519ec76
AD
12392000-10-02 Akim Demaille <akim@epita.fr>
1240
1241 * src/nullable.h: New file.
1242 Propagate its inclusion.
1243 * src/nullable.c: Formatting changes.
1244
015acc48
AD
12452000-10-02 Akim Demaille <akim@epita.fr>
1246
1247 * src/reduce.h: New file.
1248 Propagate its inclusion.
1249 * src/reduce.c: Topological sort and other formatting changes.
1250 (bool, TRUE, FALSE): Move their definition to...
1251 * src/system.h: here.
1252
8963a27b
AD
12532000-10-02 Akim Demaille <akim@epita.fr>
1254
1255 * src/files.c: Formatting changes.
1256 (tryopen, tryclose, openfiles): Rename as...
1257 (xfopen, xfclose, open_files): this.
1258 (stringappend): static.
1259 * src/files.h: Complete the list of exported symbols.
1260 Propagate its use.
1261
a70083a3
AD
12622000-10-02 Akim Demaille <akim@epita.fr>
1263
1264 * src/reader.h: New file.
1265 Propagate its use instead of tedious list of `extern' and
1266 prototypes.
1267 * src/reader.c: Formatting changes, topological sort,
1268 s/register//.
1269
abadc117
AD
12702000-10-02 Akim Demaille <akim@epita.fr>
1271
1272 * src/lex.h: Prototype `lex.c' exported functions.
1273 * src/reader.c: Adjust.
1274 * src/lex.c: Formatting changes.
1275 (safegetc): Rename as...
1276 (xgetc): this.
1277
720d742f
AD
12782000-10-02 Akim Demaille <akim@epita.fr>
1279
1280 * src/lalr.h: New file.
1281 Propagate its inclusion instead of prototypes and `extern'.
1282 * src/lalr.c: Formatting changes, topological sorting etc.
1283
f2acea59
AD
12842000-10-02 Akim Demaille <akim@epita.fr>
1285
1286 * src/output.c (token_actions): Introduce a temporary array,
1287 YYDEFACT, that makes it possible for this function to use
1288 output_short_table.
1289
d019d655
AD
12902000-10-02 Akim Demaille <akim@epita.fr>
1291
1292 `user_toknums' is output as a `short[]' in `output.c', while it is
1293 defined as a `int[]' in `reader.c'. For consistency with the
1294 other output tables, `user_toknums' is now defined as a table of
1295 shorts.
1296
1297 * src/reader.c (user_toknums): Be a short table instead of an int
1298 table.
1299 Adjust dependencies.
1300
1301 Factor the short table outputs.
1302
1303 * src/output.c (output_short_table): New function.
1304 * src/output.c (output_gram, output_stos, output_rule_data)
1305 (output_base, output_table, output_check): Use it.
1306
6c89f1c1
AD
13072000-10-02 Akim Demaille <akim@epita.fr>
1308
1309 * src/output.c (output): Topological sort of the functions, in
1310 order to get rid of the `static' prototypes.
1311 No longer use `register'.
1312 * src/output.h: New file.
1313 Propagate its inclusion in files explicitly prototyping functions
1314 from output.c.
1315
d9efd181
AD
13162000-09-21 Akim Demaille <akim@epita.fr>
1317
1318 * src/atgeneral.m4: Update from Autoconf.
1319
c29240e7 13202000-09-21 Akim Demaille <akim@epita.fr>
2fa6973e
AD
1321
1322 * src/closure.h: New file.
1323 * src/closure.c: Formatting changes, topological sort over the
1324 functions, use of closure.h.
1325 (initialize_closure, finalize_closure): Rename as...
1326 (new_closure, free_closure): these. Adjust dependencies.
1327 * src/LR0.c: Formatting changes, topological sort, use of
1328 cloture.h.
1329 (initialize_states): Rename as...
1330 (new_states): this.
1331 * src/Makefile.am (noinst_HEADERS): Adjust.
1332
499daa50
AD
13332000-09-20 Akim Demaille <akim@epita.fr>
1334
1335 * src/acconfig.h: Don't protect config.h against multiple
1336 inclusion.
1337 Don't define PARAMS.
1338 * src/system.h: Define PARAMS.
1339 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
1340 purpose of config.h. system.h must not try to fix wrong
1341 definitions in config.h.
1342
cc84fd5d
AD
13432000-09-20 Akim Demaille <akim@epita.fr>
1344
1345 * src/derives.h: New file.
1346 * src/main.c, src/derives.h: Use it.
1347 Formatting changes.
1348 * src/Makefile.am (noinst_HEADERS): Adjust.
1349
db5b3a89
AD
13502000-09-20 Akim Demaille <akim@epita.fr>
1351
1352 * tests/atgeneral.m4: Update from Autoconf.
1353 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
1354 (AT_CHECK_CALC): New macros.
1355 Use these macros to test bison with options `', `--raw',
1356 `--debug', `--yacc', `--yacc --debug'.
1357
ceed8467
AD
13582000-09-19 Akim Demaille <akim@epita.fr>
1359
1360 * src/output.c: Formatting changes.
1361 * src/machine.h: Remove, leaving its contents in...
1362 * src/system.h: here.
1363 Include stdio.h.
1364 Adjust all dependencies on stdio.h and machine.h.
1365 * src/getargs.h: New file.
1366 Let all `extern' declarations about getargs.c be replaced with
1367 inclusion of `getargs.h'.
1368 * src/Makefile.am (noinst_HEADERS): Adjust.
1369
1370 * tests/calc.m4 (yyin): Be initialized in main, not on the global
1371 scope.
1372 (yyerror): Returns void, not int.
1373 * doc/bison.texinfo: Formatting changes.
1374
05a1d24b
AD
13752000-09-19 Akim Demaille <akim@epita.fr>
1376
1377 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
1378 portable.
1379
cbd25751
AD
13802000-09-18 Akim Demaille <akim@epita.fr>
1381
1382 * configure.in: Append WARNING_CFLAGS to CFLAGS.
1383 * src/Makefile.am (INCLUDES): Don't.
1384 Be ready to fetch headers in lib/.
1385
13863333
AD
13862000-09-18 Akim Demaille <akim@epita.fr>
1387
1388 * doc/bison.texinfo: Update the copyright.
1389 ANSIfy and GNUify the examples.
1390 Remove the old menu.
1391
0d533154
AD
13922000-09-18 Akim Demaille <akim@epita.fr>
1393
1394 First set of tests: use the `calc' example from the documentation.
1395
1396 * src/bison.s1 (yyparse): Condition the code using `yytname' which
1397 is defined only when YYDEBUG is.
1398 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
1399 * src/files.c (tryopen, tryclose): Formatting changes.
1400 Move to the top and be static.
1401 * src/reader.c (read_signed_integer): Likewise.
1402 * tests/calc.m4: New file.
1403 * Makefile.am, suite.m4: Adjust.
1404 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
1405
e79137ac
AD
14062000-09-18 Akim Demaille <akim@epita.fr>
1407
1408 Add support for an Autotest test suite for Bison.
1409
1410 * m4/m4.m4, m4/atconfig.m4: New files.
1411 * m4/Makefile.am (EXTRA_DIST): Adjust.
1412 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
1413 files.
1414 * src/getargs.c: Display a more standard --version message.
1415 * src/reader.c (reader): Formatting changes.
1416 No longer depend upon VERSION_STRING.
1417 * configure.in: No longer use `dnl'.
1418 Set up the test suite and the new directory `tests/.
1419 (VERSION_STRING): Remove.
1420
27821bff
AD
14212000-04-14 Akim Demaille <akim@epita.fr>
1422
1423 * src/reader.c (copy_comment2): New function, same as former
1424 `copy_comment', but outputs into two FILE *.
1425 (copy_comment): Use it.
1426 (parse_union_decl): Use it.
1427 (get_type, parse_start_decl): Use the same `invalid' message.
1428 (parse_start_decl, parse_union_decl): Use the same `multiple'
1429 message.
1430 (parse_union_decl, copy_guard, copy_action): Use the same
1431 `unmatched' message.
1432 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
1433
cfe5fbc0
AD
14342000-03-31 Akim Demaille <akim@epita.fr>
1435
1436 * src/files.c (tryopen, tryclose): Move to the top.
1437 Be static.
1438
cb7db13e
AD
14392000-03-31 Akim Demaille <akim@epita.fr>
1440
1441 * src/main.c (main): Don't call `done', exit does it.
1442
a0f6b076
AD
14432000-03-31 Akim Demaille <akim@epita.fr>
1444
36281465
AD
1445 * allocate.c: s/return (foo)/return foo/.
1446 * lalr.c: Likewise.
1447 * LR0.c: Likewise.
1448 * output.c: Likewise.
1449 * reader.c: Likewise.
1450 * symtab.c: Likewise.
1451 * vmsgetargs.c: Likewise.
1452
14532000-03-31 Akim Demaille <akim@epita.fr>
1454
1455 Clean up the error reporting functions.
a0f6b076
AD
1456
1457 * src/report.c: New file.
1458 * src/report.h: Likewise.
1459 * src/Makefile.am: Adjust.
1460 * m4/error.m4: New file.
1461 * m4/Makefile.am: Adjust.
1462 * configure.in (jm_PREREQ_ERROR): Call it.
1463 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
1464 Remove.
1465 (fatal, fatals): Remove. All callers use complain.c::fatal.
1466 (warn, warni, warns, warnss, warnss): Remove. All callers use
1467 complain.c::complain.
1468 (toomany): Remove, use fatal instead.
1469 * src/files.c (done): No argument, use complain_message_count.
1470 * src/main.c (main): Register `done' to `atexit'.
1471
1472 * src/getargs.c (usage): More `fputs', less `fprintf'.
1473
18539825
AD
14742000-03-28 Akim Demaille <akim@epita.fr>
1475
1476 * lib/: New directory.
1477 * Makefile.am (SUBDIRS): Adjust.
1478 * configure.in: Adjust.
1479 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
1480 useless.
1481 * src/alloca.c: Moved to lib/.
1482 * src/getopt.c: Likewise.
1483 * src/getopt1.c: Likewise.
1484 * src/getopt.h: Likewise.
1485 * src/ansi2knr.c: Likewise.
1486 * src/ansi2knr.1: Likewise.
1487 * src/Makefile.am: Adjust.
1488 * lib/Makefile.am: New file.
1489
9f306f2a
AD
14902000-03-28 Akim Demaille <akim@epita.fr>
1491
1492 * src/getargs.c (usage): Refresh the help message.
1493
0ba347b6
AD
14942000-03-17 Akim Demaille <akim@epita.fr>
1495
1496 * src/getopt1.c: Updated from textutils 2.0e
1497 * src/getopt.c: Likewise.
1498 * src/getopt.h: Likewise.
1499
dbe7f271
AD
15002000-03-17 Akim Demaille <akim@epita.fr>
1501
1502 * src/Makefile.am (bison.simple): Fix the awk program: quote only
1503 the file name, not the whole `#line LINE FILE'.
1504
75bbe78d
AD
15052000-03-17 Akim Demaille <akim@epita.fr>
1506
1507 On syntax errors, report the token on which we choked.
1508
aa5fd0ee
AD
1509 * src/bison.s1 (yyparse): In the label yyerrlab, when
1510 YYERROR_VERBOSE, add yychar in msg.
75bbe78d 1511
7b306f52
AD
15122000-03-17 Akim Demaille <akim@epita.fr>
1513
aa5fd0ee 1514 * src/reader.c (copy_at): New function.
7b306f52
AD
1515 (copy_guard): Use it.
1516 (copy_action): Use it.
1517
e87b5700
AD
15182000-03-17 Akim Demaille <akim@epita.fr>
1519
1520 Be kind to translators, save some useless translations.
1521
aa5fd0ee 1522 * src/main.c (banner): New function.
e87b5700
AD
1523 (fatal_banner): Use it.
1524 (warn_banner): Use it.
1525
ae3c3164
AD
15262000-03-17 Akim Demaille <akim@epita.fr>
1527
aa5fd0ee
AD
1528 * src/reader.c (copy_definition): Use copy_string and
1529 copy_comment. Removed now unused `match', `ended',
1530 `cplus_comment'.
ae3c3164
AD
1531 (copy_comment, copy_string): Moved, to be visible from
1532 copy_definition.
1533
4dc58e7c
AD
15342000-03-17 Akim Demaille <akim@epita.fr>
1535
aa5fd0ee
AD
1536 * src/reader.c (copy_string): Declare `static inline'. No
1537 problems with inline, since it is checked by configure.
4dc58e7c
AD
1538 (copy_comment): Likewise.
1539
0a6384c4
AD
15402000-03-17 Akim Demaille <akim@epita.fr>
1541
aa5fd0ee 1542 * src/reader.c (packsymbols): Formatting changes.
0a6384c4 1543
3cef001a
AD
15442000-03-17 Akim Demaille <akim@epita.fr>
1545
aa5fd0ee 1546 * src/reader.c (copy_comment): New function, factored out from:
3cef001a
AD
1547 (copy_action): Use it. Removed now unused `match', `ended',
1548 `cplus_comment'.
1549 (copy_guard): Likewise.
1550
ca36d2ef
AD
15512000-03-17 Akim Demaille <akim@epita.fr>
1552
aa5fd0ee 1553 * src/reader.c (copy_string): New function, factored out from:
ca36d2ef
AD
1554 (copy_action): Use it.
1555 (copy_guard): Likewise.
1556
6666f98f
AD
15572000-03-17 Akim Demaille <akim@epita.fr>
1558
1559 Change the handling of @s so that they behave exactly like $s.
1560 There is now a pseudo variable @$ (readble and writable), location
1561 of the lhs of the rule (by default ranging from the location of
1562 the first symbol of the rhs, to the location of the last symbol,
1563 or, if the rhs is empty, YYLLOC).
1564
1565 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
1566 yyval.
1567 (yyparse): When providing a default semantic action, provide a
1568 default location action.
1569 (after the $): No longer change `*YYLSP', just stack YYLOC the
1570 same way you stack YYVAL.
1571 * src/reader.c (read_declarations): Use warns.
1572 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
1573 (copy_action, case '@'): Likewise.
1574 Use a standard error message, to save useless work from
1575 translators.
1576
41aca2e0
AD
15772000-03-17 Akim Demaille <akim@epita.fr>
1578
aa5fd0ee
AD
1579 * src/bison.s1: Formatting and cosmetics changes.
1580 * src/reader.c: Likewise.
41aca2e0
AD
1581 Update the Copyright notice.
1582
dc08c1d5
AD
15832000-03-17 Akim Demaille <akim@epita.fr>
1584
aa5fd0ee
AD
1585 * src/bison.s1 (#line): All set to `#line' only, since the
1586 Makefile now handles them.
dc08c1d5 1587
9ee3c97b
AD
15882000-03-16 Akim Demaille <akim@epita.fr>
1589
1590 * src/output.c (output_rule_data): Output the documentation of
1591 some of the tables.
1592 (Copyright notice): Update.
1593 Formatting changes.
1594
0de741ca
AD
15952000-03-16 Akim Demaille <akim@epita.fr>
1596
1597 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
1598 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
1599 One `#if YYDEBUG' remains, since it uses variables which are
1600 defined only if `YYDEBUG != 0'.
1601
bb10be54
AD
16022000-03-16 Akim Demaille <akim@epita.fr>
1603
1604 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
1605 and related variables so that the similarities are highlighted.
1606
b07b484a
AD
16072000-03-16 Akim Demaille <akim@epita.fr>
1608
1609 * src/bison.s1: Properly indent CPP directives.
1610
361f60b3
AD
16112000-03-16 Akim Demaille <akim@epita.fr>
1612
1613 * src/bison.s1: Properly indent the `alloca' CPP section.
1614
8c44d3ec
AD
16152000-03-16 Akim Demaille <akim@epita.fr>
1616
1617 Do not hard code values of directories in `configure.in'.
1618 Update the `configure' tool chain.
1619
1620 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
1621 src/makefile.am.
1622 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
1623 (AC_OUTPUT): Add m4/Makefile.
1624 Bump to bison 1.28a, 1.29 has never been released.
1625 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
1626 handled via src/Makefile.am.
1627 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
1628 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
1629 autoheader.
1630 * Makefile.am (SUBDIRS): Add m4.
1631 (ACLOCAL_AM_FLAGS): New variable.
1632 (AUTOMAKE_OPTIONS): Add check-news.
1633 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
1634 the proper line number and file name.
1635 (DEFS): Propagate the location of bison library files and of the
1636 locale files.
1637 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
1638 builddir.
1639 * acinclude.m4: Remove, replaced by the directory m4.
1640 * m4/Makefile.am (EXTRA_DIST): New variable.
1641 * m4/gettext.m4: New file, from the fileutils.
1642 * m4/lcmessage.m4: Likewise
1643 * m4/progtest.m4: Likewise.
1644 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
1645
f95997e7
AD
16462000-03-10 Akim Demaille <akim@epita.fr>
1647
1648 * src/closure.c:
1649 Formatting changes of various comments.
1650 Respect the GNU coding standards at various places.
1651 Don't use `_()' when no translation is needed.
1652
16531999-12-13 Jesse Thilo <jthilo@gnu.org>
1654
1655 * src/files.c:
1656 OS/2 honors TMPDIR environment variable.
1657
16581999-12-13 Jesse Thilo <jthilo@gnu.org>
1659
1660 * doc/bison.texinfo: Tweaked spelling and grammar.
1661 Updated ISBN.
1662 Removed reference to price of printed copy.
1663 Mention BISON_SIMPLE and BISON_HAIRY.
1664
16651999-12-13 Jesse Thilo <jthilo@gnu.org>
1666
1667 * configure.in, NEWS:
1668 Bison 1.29 released.
1669
16701999-10-27 Jesse Thilo <jthilo@gnu.org>
1671
1672 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
1673 Added reference card.
1674
16751999-07-26 Jesse Thilo <jthilo@gnu.org>
1676
1677 * po/ru.po: Added Russian translation.
1678
16791999-07-26 Jesse Thilo <jthilo@gnu.org>
1680
1681 * configure.in: Added Russian translation.
1682
16831999-07-06 Jesse Thilo <jthilo@gnu.org>
1684
1685 * configure.in, NEWS, README:
1686 Released version 1.28.
1687
16881999-06-14 Jesse Thilo <jthilo@gnu.org>
1689
1690 * src/system.h:
1691 Squashed redefinition warning on some systems.
1692
1693 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
1694 Have configure build version string instead of relying on ANSI string
1695 concatentation.
1696
16971999-06-14 Jesse Thilo <jthilo@gnu.org>
1698
1699 * po/POTFILES.in: Got rid of version.c.
1700
17011999-06-14 Jesse Thilo <jthilo@gnu.org>
1702
1703 * acconfig.h, configure.in:
1704 Have configure build version string instead of relying on ANSI string
1705 concatentation.
1706
17071999-06-08 Jesse Thilo <jthilo@gnu.org>
1708
1709 * doc/bison.1:
1710 Dropped mention of `+' for long-named options.
1711
17121999-05-30 Jesse Thilo <jthilo@gnu.org>
1713
1714 * src/files.c: Added <unistd.h> for unlink().
1715
1716 * src/Makefile.am, src/system.h:
1717 I18n fixes.
1718
17191999-05-30 Jesse Thilo <jthilo@gnu.org>
1720
1721 * README: Added a FAQ list.
1722
1723 * configure.in, acconfig.h:
1724 I18n fixes.
1725
17261999-05-30 Jesse Thilo <jthilo@gnu.org>
1727
1728 * doc/FAQ, doc/Makefile.am:
1729 Added a FAQ list.
1730
17311999-05-19 Jesse Thilo <jthilo@gnu.org>
1732
1733 * src/alloc.h, src/symtab.h, src/version.c:
1734 Protected inclusion of "config.h" with HAVE_CONFIG_H.
1735
17361999-04-18 Jesse Thilo <jthilo@gnu.org>
1737
1738 * src/.cvsignore, src/Makefile.am:
1739 Reorganized: sources in `src', documentation in `doc'.
1740
1741 * src/lex.c (literalchar):
1742 fixed the code for escaping double quotes (thanks
1743 Jonathan Czisny.)
1744
17451999-04-18 Jesse Thilo <jthilo@gnu.org>
1746
1747 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
1748 Adjusted paths to reflect directory reorganization.
1749
17501999-04-18 Jesse Thilo <jthilo@gnu.org>
1751
1752 * doc/.cvsignore, doc/Makefile.am:
1753 Reorganized: sources in `src', documentation in `doc'.
1754
17551999-04-18 Jesse Thilo <jthilo@gnu.org>
1756
1757 * configure.in:
1758 Updated AC_INIT file to reflect directory reorganization.
1759
1760 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
1761 Reorganized: sources in `src', documentation in `doc'.
1762
17631999-04-13 Jesse Thilo <jthilo@gnu.org>
1764
1765 * src/allocate.c:
1766 Don't declare calloc() and realloc() if not necessary.
1767
17681999-04-13 Jesse Thilo <jthilo@gnu.org>
1769
1770 * configure.in, acconfig.h, acinclude.m4:
1771 Don't declare calloc() and realloc() if not necessary.
1772
17731999-03-23 Jesse Thilo <jthilo@gnu.org>
1774
1775 * po/.cvsignore: Added i18n support.
1776
17771999-03-23 Jesse Thilo <jthilo@gnu.org>
1778
1779 * acconfig.h, configure.in, Makefile.am:
1780 Added i18n support.
1781
17821999-03-22 Jesse Thilo <jthilo@gnu.org>
1783
1784 * src/bison.s1: Fixed #line numbers.
1785
17861999-03-15 Jesse Thilo <jthilo@gnu.org>
1787
1788 * po/es.po, po/fr.po, po/nl.po, po/de.po:
1789 Added PO files from Translation Project.
1790
17911999-03-03 Jesse Thilo <jthilo@gnu.org>
1792
1793 * Makefile.am:
1794 Added support for non-ANSI compilers (ansi2knr).
1795
17961999-02-16 Jesse Thilo <jthilo@gnu.org>
1797
1798 * configure.in: Bumped version number to 1.27.
1799
1800 * Makefile.am:
1801 Added `bison.simple' to list of files removed by `make distclean'.
1802
18031999-02-12 Jesse Thilo <jthilo@gnu.org>
1804
1805 * src/files.c, src/files.h:
1806 Defined locations of parser files in config.h instead of Makefile.
1807
18081999-02-12 Jesse Thilo <jthilo@gnu.org>
1809
1810 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
1811 Defined locations of parser files in config.h instead of Makefile.
1812
18131999-02-09 Jesse Thilo <jthilo@gnu.org>
1814
1815 * Makefile.am:
1816 Removed inappropriate use of $< macro.
1817
18181999-02-05 Jesse Thilo <jthilo@gnu.org>
1819
1820 * po/Makefile.in.in, po/POTFILES.in:
1821 Add `po' directory skeleton.
1822
18231999-01-27 Jesse Thilo <jthilo@gnu.org>
1824
1825 * README: Document help-bison list.
1826
1827 * configure.in: Add check for mkstemp().
1828
18291999-01-20 Jesse Thilo <jthilo@gnu.org>
1830
1831 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
1832 Hush a few compiler warnings.
1833
1834 * src/files.c:
1835 Add tryclose(), which verifies that fclose was successful.
1836 Hush a couple of compiler warnings.
1837
18381999-01-20 Jesse Thilo <jthilo@gnu.org>
1839
1840 * Makefile.am, OChangeLog:
1841 ChangeLog is now automatically generated. Include the old version as
1842 OChangeLog.
1843
18441999-01-14 Jesse Thilo <jthilo@gnu.org>
1845
1846 * 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:
1847 Update FSF address.
1848
18491999-01-14 Jesse Thilo <jthilo@gnu.org>
1850
1851 * doc/bison.texinfo: Fix formatting glitch.
1852
1853 * doc/bison.texinfo: Update FSF address.
1854
18551999-01-14 Jesse Thilo <jthilo@gnu.org>
1856
1857 * acconfig.h: Update FSF address.
1858
18591999-01-08 Jesse Thilo <jthilo@gnu.org>
1860
1861 * src/system.h:
1862 Don't define PACKAGE here, since config.h defines it.
1863
18641998-12-30 Jesse Thilo <jthilo@gnu.org>
1865
1866 * src/reader.c: Update copyright date.
1867
1868 * src/main.c:
1869 Ditch sprintf to statically-sized buffers in fatal/warn functions in
1870 favor of output directly to stderr (avoids buffer overruns).
1871
1872 * src/reader.c: Some checks for premature EOF.
1873
1874 * 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:
1875 Use prototypes if the compiler understands them.
1876
1877 * src/files.c: Honor TMPDIR on Unix hosts.
1878 Use prototypes if the compiler understands them.
1879
1880 * src/reader.c:
1881 Fix a couple of buffer overrun bugs.
1882 Use prototypes if the compiler understands them.
1883
1884 * src/system.h: Include unistd.h and ctype.h.
1885 Use #ifdef instead of #if for NLS symbols.
1886
18871998-12-30 Jesse Thilo <jthilo@gnu.org>
1888
1889 * doc/bison.texinfo:
1890 Delete comment "consider using @set for edition number, etc..." since
1891 we now are doing so.
1892
18931998-12-30 Jesse Thilo <jthilo@gnu.org>
1894
1895 * configure.in:
1896 Use prototypes if the compiler understands them.
1897
1898 * NEWS: Document 1.26 highlights.
1899
1900 * Makefile.am: Require Automake 1.3 or later.
1901
1902 * acconfig.h:
1903 Use prototypes if the compiler understands them.
1904
19051998-12-29 Jesse Thilo <jthilo@gnu.org>
1906
1907 * src/version.c:
1908 Use VERSION symbol from automake for version number.
1909
19101998-12-29 Jesse Thilo <jthilo@gnu.org>
1911
1912 * acconfig.h, configure.in, version.cin:
1913 Use VERSION symbol from automake for version number.
1914
19151998-11-28 Jesse Thilo <jthilo@gnu.org>
1916
1917 * Makefile.am:
1918 Distribute original version of simple parser (bison.s1), not built
1919 version (bison.simple).
1920
19211998-11-28 Jesse Thilo <jthilo@gnu.org>
1922
1923 * doc/bison.texinfo: Add info dir entry.
1924
1925 * doc/bison.texinfo:
1926 Let automake put version number into documentation.
1927
19281998-11-26 Jesse Thilo <jthilo@gnu.org>
1929
1930 * src/bison.cld, src/build.com, src/vmshlp.mar:
1931 Add non-RCS files from /gd/gnu/bison.
1932
19331998-11-26 Jesse Thilo <jthilo@gnu.org>
1934
1935 * doc/bison.1:
1936 Document the BISON_HAIRY and BISON_SIMPLE variables.
1937
19381998-11-25 Jesse Thilo <jthilo@gnu.org>
1939
1940 * src/version.c: Build version.c automatically.
1941
1942 * src/reader.c:
1943 Fix token numbering (used to start at 258, not 257).
1944
1945 * src/system.h: Include config.h.
1946
1947 * src/getargs.c: Update bug report address.
1948
1949 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
1950 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
1951
19521998-11-25 Jesse Thilo <jthilo@gnu.org>
1953
1954 * Makefile.am:
1955 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1956
1957 * configure.in, version.cin:
1958 Build version.c automatically.
1959
1960 * AUTHORS: Add AUTHORS file.
1961
1962 * README: Update bug report address.
1963
1964 * bison.simple:
1965 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1966
1967 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
1968 Add automake stuff.
1969
19701998-11-25 Jesse Thilo <jthilo@gnu.org>
1971
1972 * doc/bison.texinfo: Clean up some formatting.
1973
19741998-05-05 Richard Stallman <rms@gnu.org>
1975
1976 * doc/bison.texinfo:
1977 Explain better why to make a pure parser.
1978
19791998-01-05 Richard Stallman <rms@gnu.org>
1980
1981 * src/files.c (openfiles):
1982 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
1983 find a temporary directory, if possible. Do not unlink files while
1984 they are open.
1985
19861997-08-25 Richard Stallman <rms@gnu.org>
1987
1988 * src/reader.c (stack_offset;):
1989 Change some warni to warns.
1990
1991 * src/lex.c (literalchar): Use warns, not warni.
1992
19931997-06-28 Richard Stallman <rms@gnu.org>
1994
1995 * src/bison.s1: Add a Bison version comment.
1996
1997 * src/main.c (fatal, warn, berror):
1998 Use program_name.
1999
20001997-06-28 Richard Stallman <rms@gnu.org>
2001
2002 * Makefile.in (bison_version): New variable.
2003 (dist): Use that variable.
2004 (bison.s1): Substitute the Bison version into bison.simple.
2005
2006 * bison.simple: Add a Bison version comment.
2007
20081997-06-18 Richard Stallman <rms@gnu.org>
2009
2010 * src/main.c (fatal, warn, berror):
2011 Make error messages standard.
2012 (toomany): Improve error message text.
2013
2014 * 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:
2015 new.h renamed to alloc.h.
2016
20171997-06-18 Richard Stallman <rms@gnu.org>
2018
2019 * Makefile.in: new.h renamed to alloc.h.
2020
20211997-05-24 Richard Stallman <rms@gnu.org>
2022
2023 * src/lex.c (literalchar):
2024 Fix the code for escaping \, " and '.
2025
2026 (lex): Avoid trouble when there are many chars
2027 to discard in a char literal with just several chars in it.
2028
20291997-05-17 Richard Stallman <rms@gnu.org>
2030
2031 * src/bison.s1:
2032 Use malloc, if using alloca is troublesome.
2033 (YYSTACK_USE_ALLOCA): New flag macro.
2034 Define it for some systems and compilers.
2035 (YYSTACK_ALLOC): New macro.
2036 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2037 If it was malloc'd, free it.
2038
20391997-05-17 Richard Stallman <rms@gnu.org>
2040
2041 * bison.simple:
2042 Use malloc, if using alloca is troublesome.
2043 (YYSTACK_USE_ALLOCA): New flag macro.
2044 Define it for some systems and compilers.
2045 (YYSTACK_ALLOC): New macro.
2046 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2047 If it was malloc'd, free it.
2048
20491997-04-23 Richard Stallman <rms@gnu.org>
2050
2051 * src/bison.s1:
2052 (alloca) [__hpux]: Always define as __builtin_alloca.
2053
20541997-04-23 Richard Stallman <rms@gnu.org>
2055
2056 * bison.simple:
2057 (alloca) [__hpux]: Always define as __builtin_alloca.
2058
20591997-04-22 Richard Stallman <rms@gnu.org>
2060
2061 * src/bison.s1:
2062 [__hpux]: Include alloca.h (right for HPUX 10)
2063 instead of declaring alloca (right for HPUX 9).
2064
2065 * src/bison.s1 (__yy_memcpy):
2066 Declare arg `count' as unsigned int.
2067 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2068
20691997-04-22 Richard Stallman <rms@gnu.org>
2070
2071 * bison.simple:
2072 [__hpux]: Include alloca.h (right for HPUX 10)
2073 instead of declaring alloca (right for HPUX 9).
2074
2075 * bison.simple (__yy_memcpy):
2076 Declare arg `count' as unsigned int.
2077 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2078
20791997-01-03 Richard Stallman <rms@gnu.org>
2080
2081 * src/allocate.c: [__STDC__ or _MSC_VER]:
2082 Declare calloc and realloc to return void *.
2083
20841997-01-02 Richard Stallman <rms@gnu.org>
2085
2086 * src/system.h:
2087 [_MSC_VER]: Include stdlib.h and process.h.
2088 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
2089
2090 * src/main.c (main): Return FAILURE as a value.
2091 (printable_version): Declare arg as int, not char.
2092
20931997-01-02 Richard Stallman <rms@gnu.org>
2094
2095 * Makefile.in (dist):
2096 Explicitly check for symlinks, and copy them.
2097
20981996-12-19 Richard Stallman <rms@gnu.org>
2099
2100 * src/files.c:
2101 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
2102
21031996-12-18 Paul Eggert <eggert@gnu.org>
2104
2105 * src/bison.s1 (yyparse):
2106 If __GNUC__ and YYPARSE_PARAM are both defined,
2107 declare yyparse to have a void * argument.
2108
21091996-12-18 Paul Eggert <eggert@gnu.org>
2110
2111 * bison.simple (yyparse):
2112 If __GNUC__ and YYPARSE_PARAM are both defined,
2113 declare yyparse to have a void * argument.
2114
21151996-12-17 Richard Stallman <rms@gnu.org>
2116
2117 * src/reduce.c (nbits): Add some casts.
2118
21191996-08-12 Richard Stallman <rms@gnu.org>
2120
2121 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
2122
21231996-08-12 Richard Stallman <rms@gnu.org>
2124
2125 * bison.simple: Test _MSDOS as well as _MSDOS_.
2126
21271996-07-31 Richard Stallman <rms@gnu.org>
2128
2129 * src/bison.s1:
2130 [__sun && __i386]: Include alloca.h.
2131
21321996-07-31 Richard Stallman <rms@gnu.org>
2133
2134 * bison.simple:
2135 [__sun && __i386]: Include alloca.h.
2136
21371996-07-30 Richard Stallman <rms@gnu.org>
2138
2139 * src/bison.s1: Comment change.
2140
2141 * src/bison.s1: Test _MSDOS_, not MSDOS.
2142
21431996-07-30 Richard Stallman <rms@gnu.org>
2144
2145 * bison.simple: Comment change.
2146
2147 * bison.simple: Test _MSDOS_, not MSDOS.
2148
21491996-06-01 Richard Stallman <rms@gnu.org>
2150
2151 * 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:
2152 Insert `_' macro around many string constants.
2153
2154 * src/main.c:
2155 Insert `_' macro around many string constants.
2156
2157 (main): Call setlocale, bindtextdomain and textdomain.
2158
2159 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
2160 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
2161 [ENABLE_NLS]: Include libintl.h.
2162 [ENABLE_NLS] (gettext): Define.
2163 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
2164 (N_, PACKAGE, LOCALEDIR): New macros.
2165
21661996-06-01 Richard Stallman <rms@gnu.org>
2167
2168 * POTFILES.in: New file.
2169
2170 * Makefile.in (allocate.o):
2171 Define target explicitly.
2172
2173 * Makefile.in (CFLAGS): Set to @CFLAGS@.
2174 (LDFLAGS): Set to @LDFLAGS@.
2175 (configure): Run autoconf only if preceding `cd' succeeds.
2176 (bison.s1): Redirect output to temporary file then move the
2177 temporary to the target, rather than redirecting directly to bison.s1.
2178 (clean): Remove config.status and config.log.
2179 (distclean): Don't remove config.status here.
2180
21811996-05-12 Richard Stallman <rms@gnu.org>
2182
2183 * src/bison.s1:
2184 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
2185
21861996-05-12 Richard Stallman <rms@gnu.org>
2187
2188 * bison.simple:
2189 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
2190
21911996-05-11 Richard Stallman <rms@gnu.org>
2192
2193 * src/bison.s1 (__yy_memcpy):
2194 Really reorder the args, as was supposedly done on Feb 14 1995.
2195 (yyparse): Calls changed accordingly.
2196
21971996-05-11 Richard Stallman <rms@gnu.org>
2198
2199 * Makefile.in (dist): Don't use $(srcdir).
2200
2201 * bison.simple (__yy_memcpy):
2202 Really reorder the args, as was supposedly done on Feb 14 1995.
2203 (yyparse): Calls changed accordingly.
2204
22051996-01-27 Richard Stallman <rms@gnu.org>
2206
2207 * src/output.c (output_rule_data):
2208 Test YYERROR_VERBOSE in the conditional
2209 around the definition of ttyname.
2210
22111995-12-29 Richard Stallman <rms@gnu.org>
2212
2213 * src/bison.s1:
2214 Fix line numbers in #line commands.
2215
22161995-12-29 Richard Stallman <rms@gnu.org>
2217
2218 * bison.simple:
2219 Fix line numbers in #line commands.
2220
22211995-12-27 Richard Stallman <rms@gnu.org>
2222
2223 * src/bison.s1 (YYPARSE_PARAM_DECL):
2224 In C++, make it always null.
2225 (YYPARSE_PARAM_ARG): New macro.
2226 (yyparse): Use YYPARSE_PARAM_ARG.
2227
22281995-12-27 Richard Stallman <rms@gnu.org>
2229
2230 * bison.simple (YYPARSE_PARAM_DECL):
2231 In C++, make it always null.
2232 (YYPARSE_PARAM_ARG): New macro.
2233 (yyparse): Use YYPARSE_PARAM_ARG.
2234
22351995-11-29 Richard Stallman <rms@gnu.org>
2236
2237 * doc/bison.texinfo:
2238 Describe literal string tokens, %raw, %no_lines, %token_table.
2239
22401995-11-29 Daniel Hagerty <hag@gnu.org>
2241
2242 * doc/bison.texinfo: Fixed update date
2243
22441995-10-16 Richard Stallman <rms@gnu.org>
2245
2246 * src/version.c: Version 1.25.
2247
22481995-10-16 Richard Stallman <rms@gnu.org>
2249
2250 * NEWS: *** empty log message ***
2251
22521995-10-16 Richard Stallman <rms@gnu.org>
2253
2254 * doc/bison.1, doc/bison.rnh:
2255 Add new options.
2256
22571995-10-15 Richard Stallman <rms@gnu.org>
2258
2259 * src/vmsgetargs.c, src/getargs.c:
2260 Added -n, -k, and -raw switches.
2261 (noparserflag, toknumflag, rawtoknumflag): New variables.
2262
2263 * src/symtab.h (SALIAS):
2264 New #define for adding aliases to %token.
2265 (struct bucket): Added `alias' field.
2266
2267 * src/reduce.c (reduce_grammar):
2268 Revise error message.
2269 (print_notices): Remove final `.' from error message.
2270
2271 * src/reader.c (reader_output_yylsp):
2272 New function.
2273 (readgram): Use `#if 0' around code that accepted %command
2274 inside grammar rules: The documentation doesn't allow it,
2275 and it will fail since the %command processors scan for the next %.
2276 (parse_token_decl): Extended the %token
2277 declaration to allow a multi-character symbol as an alias.
2278 (parse_thong_decl): New function.
2279 (read_declarations): Added %thong declarations.
2280 (read_declarations): Handle NOOP to deal with allowing
2281 % declarations as another means to specify the flags.
2282 (readgram): Allow %prec prior to semantics embedded in a rule.
2283 (skip_to_char, read_declarations, copy_definition)
2284 (parse_token_decl, parse_start_decl, parse_type_decl)
2285 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
2286 (get_type_name, copy_guard, copy_action, readgram)
2287 (get_type, packsymbols): Revised most error messages.
2288 Changed `fatal' to `warnxxx' to avoid aborting for error.
2289 Revised and use multiple warnxxx functions to avoid using VARARGS1.
2290 (read_declarations): Improve the error message for
2291 an invalid character. Do not abort.
2292 (read_declarations, copy_guard, copy_action): Use
2293 printable_version to avoid unprintable characters in printed output.
2294 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
2295 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
2296 Allow the type of a non-terminal can be given
2297 more than once, as long as all specifications give the same type.
2298
2299 * src/output.c:
2300 (output_headers, output_trailers, output, output_gram)
2301 (output_rule_data): Implement noparserflag variable.
2302 Implement toknumflag variable.
2303 (output): Call reader_output_yylsp to output LTYPESTR.
2304
2305 * src/main.c (main):
2306 If reader sees an error, don't process the grammar.
2307 (fatals): Updated to not use VARARGS1.
2308 (printable_version, int_to_string, warn, warni, warns, warnss)
2309 (warnsss): New error reporting functions. Avoid abort for error.
2310
2311 * src/lex.h:
2312 Added THONG and NOOP for alias processing.
2313 Added SETOPT for the new code that allows setting options with %flags.
2314
2315 * src/lex.c:
2316 Include getopt.h. Add some extern decls.
2317 (safegetc): New function to deal with EOF gracefully.
2318 (literalchar); new function to deal with reading \ escapes.
2319 (lex): Use literalchar.
2320 (lex): Implemented "..." tokens.
2321 (literalchar, lex, parse_percent_token): Made tokenbuffer
2322 always contain the token. This includes growing the token
2323 buffer while reading an integer.
2324 (parse_percent_token): Replaced if-else statement with percent_table.
2325 (parse_percent_token): Added % declarations as another
2326 way to specify the flags -n, -l, and -r. Also added hooks for
2327 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
2328 major changes to files.c.
2329 (lex) Retain in the incoming stream a character following
2330 an incorrect '/'.
2331 (skip_white_space, lex): Revised most error messages
2332 and changed fatal to warn to avoid aborting.
2333 (percent_table): Added %thong declarations.
2334
2335 * src/gram.h: Comment changes.
2336
2337 * src/files.c (openfiles, open_extra_files, done):
2338 Add faction flag
2339 and actfile file. Handle noparserflag. Both for -n switch.
2340
2341 * src/conflicts.c (resolve_sr_conflict):
2342 Remove use of alloca.
2343
23441995-06-01 Jim Meyering <meyering@gnu.org>
2345
2346 * doc/bison.texinfo: *** empty log message ***
2347
23481995-05-06 Richard Stallman <rms@gnu.org>
2349
2350 * src/bison.s1: Comment change.
2351
23521995-05-06 Richard Stallman <rms@gnu.org>
2353
2354 * bison.simple: Comment change.
2355
23561995-05-03 Richard Stallman <rms@gnu.org>
2357
2358 * src/version.c: Version now 1.24.
2359
2360 * src/bison.s1: Change distribution terms.
2361
2362 * src/version.c: Version now 1.23.
2363
23641995-05-03 Richard Stallman <rms@gnu.org>
2365
2366 * doc/bison.texinfo:
2367 Rewrite "Conditions for Using Bison".
2368 Update version to 1.24.
2369
23701995-05-03 Richard Stallman <rms@gnu.org>
2371
2372 * bison.simple: Change distribution terms.
2373
23741995-02-23 Richard Stallman <rms@gnu.org>
2375
2376 * src/files.c: Test __VMS_POSIX as well as VMS.
2377
23781995-02-14 Jim Meyering <meyering@gnu.org>
2379
2380 * src/bison.s1 (__yy_memcpy):
2381 Renamed from __yy_bcopy to avoid
2382 confusion. Reverse FROM and TO arguments to be consistent with
2383 those of memcpy.
2384
23851995-02-14 Jim Meyering <meyering@gnu.org>
2386
2387 * bison.simple (__yy_memcpy):
2388 Renamed from __yy_bcopy to avoid
2389 confusion. Reverse FROM and TO arguments to be consistent with
2390 those of memcpy.
2391
23921994-11-10 David J. MacKenzie <djm@gnu.org>
2393
2394 * NEWS: reformat
2395
2396 * NEWS: New file.
2397
2398 * Makefile.in (DISTFILES): Include NEWS.
2399
2400 * Makefile.in (DISTFILES):
2401 Include install-sh, not install.sh.
2402
2403 * configure.in: Update to Autoconf v2 macro names.
2404
24051994-10-05 David J. MacKenzie <djm@gnu.org>
2406
2407 * Makefile.in: fix typo
2408
2409 * Makefile.in (prefix, exec_prefix):
2410 Let configure set them.
2411
24121994-09-28 David J. MacKenzie <djm@gnu.org>
2413
2414 * Makefile.in: Set datadir to $(prefix)/share.
2415
24161994-09-15 Richard Stallman <rms@gnu.org>
2417
2418 * src/bison.s1:
2419 Update copyright notice and GPL version.
2420
24211994-09-15 Richard Stallman <rms@gnu.org>
2422
2423 * bison.simple:
2424 Update copyright notice and GPL version.
2425
24261994-07-12 Richard Stallman <rms@gnu.org>
2427
2428 * src/reduce.c, src/reader.c:
2429 entered into RCS
2430
24311994-05-05 David J. MacKenzie <djm@gnu.org>
2432
2433 * Makefile.in: entered into RCS
2434
24351994-03-26 Richard Stallman <rms@gnu.org>
2436
2437 * src/bison.s1: entered into RCS
2438
24391994-03-26 Richard Stallman <rms@gnu.org>
2440
2441 * bison.simple: entered into RCS
2442
24431994-03-25 Richard Stallman <rms@gnu.org>
2444
2445 * src/main.c: entered into RCS
2446
24471994-03-24 Richard Stallman <rms@gnu.org>
2448
2449 * src/conflicts.c: entered into RCS
2450
24511994-01-02 Richard Stallman <rms@gnu.org>
2452
2453 * Makefile.in: *** empty log message ***
2454
24551993-11-21 Richard Stallman <rms@gnu.org>
2456
2457 * src/bison.s1: *** empty log message ***
2458
24591993-11-21 Richard Stallman <rms@gnu.org>
2460
2461 * doc/bison.texinfo: entered into RCS
2462
2463 * doc/bison.texinfo: *** empty log message ***
2464
24651993-11-21 Richard Stallman <rms@gnu.org>
2466
2467 * bison.simple: *** empty log message ***
2468
24691993-10-25 David J. MacKenzie <djm@gnu.org>
2470
2471 * doc/bison.texinfo: *** empty log message ***
2472
24731993-10-19 Richard Stallman <rms@gnu.org>
2474
2475 * src/bison.s1: *** empty log message ***
2476
24771993-10-19 Richard Stallman <rms@gnu.org>
2478
2479 * bison.simple: *** empty log message ***
2480
24811993-10-14 Richard Stallman <rms@gnu.org>
2482
2483 * src/bison.s1: *** empty log message ***
2484
24851993-10-14 Richard Stallman <rms@gnu.org>
2486
2487 * bison.simple: *** empty log message ***
2488
24891993-09-14 David J. MacKenzie <djm@gnu.org>
2490
2491 * doc/bison.texinfo: *** empty log message ***
2492
24931993-09-13 Noah Friedman <friedman@gnu.org>
2494
2495 * Makefile.in: *** empty log message ***
2496
24971993-09-10 Richard Stallman <rms@gnu.org>
2498
2499 * src/conflicts.c: *** empty log message ***
2500
2501 * src/system.h: entered into RCS
2502
25031993-09-10 Richard Stallman <rms@gnu.org>
2504
2505 * doc/bison.1: entered into RCS
2506
25071993-09-06 Noah Friedman <friedman@gnu.org>
2508
2509 * src/version.c: entered into RCS
2510
25111993-09-06 Noah Friedman <friedman@gnu.org>
2512
2513 * Makefile.in: *** empty log message ***
2514
25151993-07-30 David J. MacKenzie <djm@gnu.org>
2516
2517 * Makefile.in: *** empty log message ***
2518
25191993-07-24 Richard Stallman <rms@gnu.org>
2520
2521 * src/bison.s1: *** empty log message ***
2522
25231993-07-24 Richard Stallman <rms@gnu.org>
2524
2525 * bison.simple: *** empty log message ***
2526
25271993-07-08 David J. MacKenzie <djm@gnu.org>
2528
2529 * Makefile.in: *** empty log message ***
2530
25311993-07-04 Richard Stallman <rms@gnu.org>
2532
2533 * src/bison.s1: *** empty log message ***
2534
25351993-07-04 Richard Stallman <rms@gnu.org>
2536
2537 * bison.simple: *** empty log message ***
2538
25391993-06-26 David J. MacKenzie <djm@gnu.org>
2540
2541 * src/getargs.c: entered into RCS
2542
25431993-06-26 David J. MacKenzie <djm@gnu.org>
2544
2545 * doc/bison.texinfo: *** empty log message ***
2546
2547 * doc/bison.1: New file.
2548
25491993-06-25 Richard Stallman <rms@gnu.org>
2550
2551 * src/getargs.c: New file.
2552
25531993-06-16 Richard Stallman <rms@gnu.org>
2554
2555 * src/bison.s1: *** empty log message ***
2556
25571993-06-16 Richard Stallman <rms@gnu.org>
2558
2559 * bison.simple: *** empty log message ***
2560
25611993-06-03 Richard Stallman <rms@gnu.org>
2562
2563 * src/bison.s1: New file.
2564
25651993-06-03 Richard Stallman <rms@gnu.org>
2566
2567 * doc/bison.texinfo: *** empty log message ***
2568
25691993-06-03 Richard Stallman <rms@gnu.org>
2570
2571 * bison.simple: New file.
2572
25731993-05-19 Richard Stallman <rms@gnu.org>
2574
2575 * doc/bison.texinfo: New file.
2576
25771993-05-07 Noah Friedman <friedman@gnu.org>
2578
2579 * Makefile.in: *** empty log message ***
2580
25811993-04-28 Noah Friedman <friedman@gnu.org>
2582
2583 * src/reader.c: *** empty log message ***
2584
25851993-04-23 Noah Friedman <friedman@gnu.org>
2586
2587 * src/alloc.h: entered into RCS
2588
25891993-04-20 David J. MacKenzie <djm@gnu.org>
2590
2591 * src/version.c: *** empty log message ***
2592
2593 * src/files.c, src/allocate.c:
2594 entered into RCS
2595
2596 * src/reader.c: *** empty log message ***
2597
2598 * src/lex.c: entered into RCS
2599
2600 * src/conflicts.c: New file.
2601
2602 * src/symtab.c: entered into RCS
2603
2604 * src/alloc.h: New file.
2605
2606 * src/LR0.c: entered into RCS
2607
26081993-04-18 Noah Friedman <friedman@gnu.org>
2609
2610 * src/reader.c: New file.
2611
2612 * src/version.c: *** empty log message ***
2613
26141993-04-18 Noah Friedman <friedman@gnu.org>
2615
2616 * Makefile.in: *** empty log message ***
2617
26181993-04-17 Noah Friedman <friedman@gnu.org>
2619
2620 * Makefile.in: *** empty log message ***
2621
26221993-04-15 Richard Stallman <rms@gnu.org>
2623
2624 * src/main.c, src/files.c:
2625 New file.
2626
26271993-04-15 Noah Friedman <friedman@gnu.org>
2628
2629 * configure.in: entered into RCS
2630
2631 * configure.in: *** empty log message ***
2632
2633 * configure.in: New file.
2634
26351993-04-14 Richard Stallman <rms@gnu.org>
2636
2637 * Makefile.in: New file.
2638
26391993-04-13 Richard Stallman <rms@gnu.org>
2640
2641 * src/version.c: New file.
2642
26431993-03-25 Richard Stallman <rms@gnu.org>
2644
2645 * src/output.c: entered into RCS
2646
26471992-09-25 Richard Stallman <rms@gnu.org>
2648
2649 * configure.bat: entered into RCS
2650
26511992-06-22 Richard Stallman <rms@gnu.org>
2652
2653 * src/vmsgetargs.c: entered into RCS
2654
26551992-06-22 Richard Stallman <rms@gnu.org>
2656
2657 * doc/bison.rnh: entered into RCS
2658
26591992-04-20 David J. MacKenzie <djm@gnu.org>
2660
2661 * README: entered into RCS
2662
26631992-01-22 Richard Stallman <rms@gnu.org>
2664
2665 * src/machine.h: entered into RCS
2666
26671991-12-21 Richard Stallman <rms@gnu.org>
2668
2669 * src/lalr.c, src/closure.c:
2670 entered into RCS
2671
26721991-12-20 Richard Stallman <rms@gnu.org>
2673
2674 * src/state.h: entered into RCS
2675
26761991-12-18 Richard Stallman <rms@gnu.org>
2677
2678 * src/print.c, src/nullable.c, src/derives.c:
2679 entered into RCS
2680
26811991-11-03 David J. MacKenzie <djm@gnu.org>
2682
2683 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
2684 entered into RCS
2685
26861988-09-09 Richard Stallman <rms@gnu.org>
2687
2688 * src/bison.hairy: entered into RCS
2689
26901987-12-16 Richard Stallman <rms@gnu.org>
2691
2692 * REFERENCES: entered into RCS