]> git.saurik.com Git - bison.git/blame - ChangeLog
* src/output.c (output_master_parser): New.
[bison.git] / ChangeLog
CommitLineData
652def80
MA
12001-09-22 Marc Autret <autret_m@epita.fr>
2
3 * src/output.c (output_master_parser): New.
4 (output_parser): Be more re-entrant.
5
25b222fa
MA
62001-09-21 Marc Autret <autret_m@epita.fr>
7
8 * src/reader.c (copy_definition, parse_union_decl): Update and use
9 `linef' muscle.
10 (copy_action): Likewise.
11 Use obstack_1grow ().
12 * src/muscle_tab.c (muscle_init): Add muscle `linef'.
13
6bc35ae5
MA
142001-09-21 Marc Autret <autret_m@epita.fr>
15
16 * src/options.c (option_table): Adjust.
17 * src/lex.c (parse_percent_token): Fix.
18
c0629aa1
PB
192001-09-20 Pascal Bart <pascal.bart@epita.fr>
20
21 * src/options.c (symtab.h): Include it, need by lex.h.
22
82b6d266
PB
232001-09-20 Pascal Bart <pascal.bart@epita.fr>
24
25 * src/lex.c (parse_percent_token): Change type of variable `tx', which
26 is now an option_table_struct*.
27 (option_strcmp): New function option_strcmp.
28 (parse_percent_token): Call option_strcmp.
29 * src/getargs.c (xalloc.h, options.h): Include it.
30 (getargs): Call create_long_option_table.
31 (getargs): Free longopts at the end of the function.
32 (shortopts): Move in options.c.
33 * src/options.c (create_long_option_table): New function. Convert
34 information from option_table to option structure.
35 * src/reader.c (options.h): Include it.
36
37 * src/Makefile.am: Adjust.
38 * src/options.c (option_table): Create from longopts and percent_table.
39 * src/getargs.c (longopts): Delete.
40 * src/lex.c (struct percent_table_struct): Delete.
41 (percent_table): Delete.
42 (options.h): Include it.
43 * src/options.c: Create.
44 * src/options.h: Create.
45 Declare enum opt_access_e.
46 Define struct option_table_struct.
47
75f5aaea
MA
482001-09-20 Marc Autret <autret_m@epita.fr>
49
50 * doc/bison.texinfo: Adjust terminologies about prologue and epilogue
51 sections of Bison.
52
f508cb0a
PB
532001-09-19 Pascal Bart <pascal.bart@epita.fr>
54
55 * src/bison.simple: s/%%filename/%%skeleton.
56 * src/muscle_tab.c (getargs.h): Include it.
57 (muscle_init): Insert new muscle skeleton.
58
13105fc1
PB
592001-09-18 Pascal Bart <pascal.bart@epita.fr>
60
61 * src/output.c (output_parser): Delete unused variable actions_dumped.
62
b0c4483e
PB
632001-09-07 Pascal Bart <pascal.bart@epita.fr>
64
65 * src/output.c (output): Delete call to reader_output_yylsp.
66 * src/reader.c (reader): Likewise.
67 * src/reader.h: Delete declaration of reader_output_yylsp.
68
11d82f03
MA
692001-09-02 Marc Autret <autret_m@epita.fr>
70
71 * src/reader.c: Include muscle_tab.h.
72 (parse_union_decl): Update.
73 (parse_macro_decl): Rename parse_muscle_decl.
74 Update to use renamed functions and variable.
75 (read_declarations, copy_action, read_additionnal_code, : Updated
76 with correct variables and functions names.
77 (packsymbols, reader): Likewise.
78
79 * src/reader.h (muscle_obstack): Extern declaration update.
80
81 * src/output.c: Include muscle_tab.h
82 In all functions using macro_insert, change by using muscle_insert ().
83 (macro_obstack): Rename muscle_obstack.
84 Echo modifications in the whole file.
85 (MACRO_INSERT_INT): Rename MUSCLE_INSERT_INT.
86 (MACRO_INSERT_STRING): Rename MUSCLE_INSERT_STRING.
87 (MACRO_INSERT_PREFIX): Rename MUSCLE_INSERT_PREFIX.
88
89 * src/muscle_tab.h: Update double inclusion macros.
90 (macro_entry_s): Rename muscle_entry_s.
91 Update prototypes.
92
93 * src/muscle_tab.c: Include muscle_tab.h.
94 Rename macro_tabble to muscle_table.
95 (mhash1, mhash2, mcmp): Use muscle_entry.
96 (macro_init): Rename muscle_init. Update.
97 (macro_insert): Rename muscle_insert. Update.
98 (macro_find): Rename muscle_find. Update.
99
100 * src/main.c: Include muscle_tab.h.
101 (main): Call muscle_init ().
102 * src/Makefile.am (bison_SOURCES): Echo modifications.
103
93a37297
MA
1042001-09-02 Marc Autret <autret_m@epita.fr>
105
f753cd62
MA
106 Now the files macro_tab.[ch] are named muscle_tab.[ch].
107
108 * src/muscle_tab.c, src/muscle_tab.h: Add files.
109
1102001-09-02 Marc Autret <autret_m@epita.fr>
111
112 * src/macrotab.c, src/macrotab.h: Remove.
93a37297 113
682d48cd
PB
1142001-09-01 Pascal Bart <pascal.bart@epita.fr>
115
116 * src/reader.c (copy_guard): Use muscle to specify the `#line'
117 filename.
118
087c8fda
MA
1192001-09-01 Marc Autret <autret_m@epita.fr>
120
121 * tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set
122 to an explicit value to activate the feature. We do it here.
123
dda680cb
PB
1242001-08-31 Pascal Bart <pascal.bart@epita.fr>
125
126 * src/output.c (prepare): Delete the `filename' muscule insertion.
127 * src/reader.c (copy_action): Use `filename' muscule with `#line'.
128 (parse_union_decl): Likewise.
129 * src/macrotab.c (macro_init): Initialize filename by infile.
130
9e644e64
MA
1312001-08-31 Marc Autret <autret_m@epita.fr>
132
133 * src/bison.simple (YYLSP_NEEDED): New definition.
134 * src/output.c (prepare): Add macro insertion of `locations_flag'
135
17da6427
PB
1362001-08-31 Pascal Bart <pascal.bart@epita.fr>
137
138 * src/output.c (prepare): Delete insertion of previous muscles,
139 and insert the `prefix' muscles.
140 * src/macrotab.c (macro_init): Likewise.
141 (macro_init): Initialization prefix directive by `yy'.
142 * src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval,
143 %%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar,
144 yylval, yydebug, yyerror, yynerrs and yyparse.
145 New directive `#define' to substitute yydebug, ... with option
146 name_prefix.
147
e8cb70b9
PB
1482001-08-31 Pascal Bart <pascal.bart@epita.fr>
149
150 * src/main.c (main): Standardize.
151 * src/output.c (output_table_data, output_parser): Likewise.
152 * src/macrotab.h, src/macrotab.c, src/bison.simple: Likewise.
153
63c2d5de
MA
1542001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr>
155
156 * src/reader.c (read_additionnal_code): Rename %%user_code to
157 %%epilogue.
158 * src/output.c (output): Rename %%declarations to %%prologue.
159 * src/bison.simple: Echo modifications.
160
d8cb5183
MA
1612001-08-31 Marc Autret <autret_m@epita.fr>
162
163 * src/reader.c (readgram): CleanUp.
164 (output_token_defines): Likewise.
165 (packsymbols): Likewise.
166 (reader): Likewise.
167 * src/output.c (output): CPP-out useless code.
168
6c686258
PB
1692001-08-31 Pascal Bart <pascal.bart@epita.fr>
170
171 * src/reader.c (reader): Delete obsolete call to function
172 output_trailers and output_headers.
173 * src/output.h: Remove obsolete functions prototypes of output_headers
174 and output_trailers.
175
8f451ef7
PB
1762001-08-30 Pascal Bart <pascal.bart@epita.fr>
177
178 * src/main.c: Include macrotab.h.
179 * src/macrotab.h (macro_entry_s): Constify fields.
180 Adjust functions prototypes.
181 * src/macrotab.c (macro_insert): Constify key and value.
182 (macro_find): Constify key.
183 (macro_insert): Include 'xalloc.h'
184 (macro_insert): Use XMALLOC.
185 (macro_find): Constify return value.
186 * src/output.c (output_table_data): Rename table to table_data.
187 (output_parser): Constify macro_key, macro_value.
188
997b6fd0 1892001-08-30 Marc Autret <autret_m@epita.fr>
2ba3b73c
MA
190
191 * src/reader.c (parse_skel_decl): New.
192 (read_declarations): Add case `tok_skel', call parse_skel_decl ().
193 * src/lex.h (token_t): New token `tok_skel'.
194 * src/lex.c (percent_table): Add skeleton option entry.
195 Standardize.
196
ff48177d
MA
1972001-08-29 Marc Autret <autret_m@epita.fr>
198
199 * src/bison.simple: Add %%user_code directive at the end.
200 * src/reader.c (read_additionnal_code): New.
201 (reader): Use it.
202 * src/output.c (output_program): Remove.
203 (output): Update.
204
b33160bf
MA
2052001-08-28 Marc Autret <autret_m@epita.fr>
206
207 * src/output.c (output_actions): Clean up.
4e5caae2 208 (output_gram): CPP-out useless code.
b33160bf
MA
209 * src/reader.c (reader): Clean up, CPP-out useless code.
210
d1a2daf7
PB
2112001-08-28 Pascal Bart <pascal.bart@epita.fr>
212
535c0e75
PB
213 * src/output.c (output): Copy attrs_obstack in the '%%definitions'
214 directive.
d1a2daf7
PB
215 * src/bison.simple: Add `%%definitions'.
216
2b763dfe
MA
2172001-08-28 Marc Autret <autret_m@epita.fr>
218
219 * config/depcomp: New file.
220
f1a87ef6
PE
2212001-08-27 Paul Eggert <eggert@twinsun.com>
222
223 * src/bison.simple (yyparse): Don't take the address of an
224 item before the start of an array, as that doesn't conform to
225 the C Standard.
226
82e236e2
RA
2272001-08-27 Robert Anisko <robert.anisko@epita.fr>
228
f1a87ef6 229 * src/output.c (output): Remove the initialization of the macro
82e236e2
RA
230 obstack. It was done too late here.
231
232 * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was
233 completely wrong.
234 (reader): Initialize the macro obstack here, since we need it to grow
235 '%define' directives.
236
237 * src/reader.h: Declare the macro obstack as extern.
238
b0cfa28a
RA
2392001-08-27 Robert Anisko <robert.anisko@epita.fr>
240
241 * src/output.c (output_parser): Fix. Store single '%' characters in
242 the output obstack instead of throwing them away.
243
6fc74234
AD
2442001-08-27 Akim Demaille <akim@epita.fr>
245
246 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
247
9c76d118
RA
2482001-08-25 Robert Anisko <robert.anisko@epita.fr>
249
250 * lib/Makefile.am: Adjust.
251
a8289c62
RA
2522001-08-25 Robert Anisko <robert.anisko@epita.fr>
253
254 * src/bison.simple: Update and add '%%' directives.
255
b6610515
RA
2562001-08-25 Robert Anisko <robert.anisko@epita.fr>
257
258 * src/reader.c (reader): Remove calls to 'output_headers' and
259 'output_trailers'. Remove some C output.
260 (readgram): Disable a piece of code that was writing a default
261 definition for 'YYSTYPE'.
262 (reader_output_yylsp): Remove.
263 (packsymbols): Output token defintions to a macro.
264 (copy_definition): Disable C output.
6fc74234 265
b6610515
RA
266 * src/reader.c (parse_macro_decl): New function used to parse macro
267 declarations.
268 (copy_string2): Put the body of copy_string into this new function.
269 Add a parameter to let the caller choose whether he wants to copy the
270 string delimiters or not.
271 (copy_string): Be a simple call to copy_string2 with the last argument
272 bound to true.
273 (read_declarations): Add case for macro definition.
274 (copy_identifier): New.
6fc74234 275 (parse_macro_decl): Read macro identifiers using copy_identifier
b6610515
RA
276 rather than lex.
277
26f609ff
RA
2782001-08-25 Robert Anisko <robert.anisko@epita.fr>
279
280 * src/output.c (prepare): Add prefixed names.
281 (output_parser): Output semantic actions.
282 (output_parser): Fix bug on '%%line' directives.
6fc74234 283
26f609ff
RA
284 * src/output.c (output_headers): Remove. The C code printed by this
285 function should now be in the skeletons.
286 (output_trailers): Remove.
287 (output): Disable call to 'reader_output_yylsp'.
288 (output_rule_data): Do not output tables to the table obstack.
289
290 * src/output.c: Remove some C dedicated output.
291 Improve the use of macro and output obstacks.
292 (output_defines): Remove.
6fc74234 293
26f609ff
RA
294 * src/output.c (output_token_translations): Associate 'translate'
295 table with a macro. No output to the table obstack.
296 (output_gram): Same for 'rhs' and 'prhs'.
297 (output_stos): Same for 'stos'.
298 (output_rule_data): Same for 'r1' and 'r2'.
299 (token_actions): Same for 'defact'.
300 (goto_actions): Same for 'defgoto'.
301 (output_base): Same for 'pact' and 'pgoto'.
302 (output_table): Same for 'table'.
303 (output_check): Same for 'check'.
6fc74234 304
26f609ff
RA
305 * src/output.c (output_table_data): New function.
306 (output_short_table): Remove.
307 (output_short_or_char_table): Remove.
6fc74234 308
26f609ff
RA
309 * src/output.c (output_parser): Replace most of the skeleton copy code
310 with something new. Skeletons are now processed character by character
311 rather than line by line, and Bison looks for '%%' macros. This is the
312 first step in making Bison's output process (a lot) more flexible.
313 (output_parser): Use the macro table.
314
6f43b113
RA
3152001-08-25 Robert Anisko <robert.anisko@epita.fr>
316
317 * src/main.c (main): Initialize the macro table.
318
dd3127cf
RA
3192001-08-25 Robert Anisko <robert.anisko@epita.fr>
320
321 * src/lex.c (percent_table): Add tok_define.
322 * src/lex.h: Add tok_define.
323
aa321494
RA
3242001-08-25 Robert Anisko <robert.anisko@epita.fr>
325
326 * src/macrotab.c: New file.
327 * src/macrotab.h: New file.
328 * src/Makefile.am: Update.
329
68bd3b6b
RA
3302001-08-25 Robert Anisko <robert.anisko@epita.fr>
331
332 * lib/hash.c: New file.
333 * lib/hash.h: New file.
334 * lib/Makefile.am: Update.
335
45f8dd1e
AD
3362001-08-15 Akim Demaille <akim@epita.fr>
337
338 Version 1.28c.
339
40a64a7a 3402001-08-15 Marc Autret <autret_m@epita.fr>
0b8afb77
AD
341
342 * src/reader.c (readgram): Indent output macro YYSTYPE.
343 (packsymbols): Likewise.
344 (output_token_defines): Likewise.
345 * src/files.c: Standardize.
346 (compute_header_macro): New.
347 (defines_obstack_save): New. Use compute_header_macro.
348 (output_files): Update. Use defines_obstack_save.
349
f9a8293a
AD
3502001-08-15 Akim Demaille <akim@epita.fr>
351
352 * doc/bison.texinfo (Table of Symbols): Document
353 YYSTACK_USE_ALLOCA.
354
150ca7a7
AD
3552001-08-15 Akim Demaille <akim@epita.fr>
356
357 * missing: Update from CVS Automake.
358 * config/config.guess, config/config.sub, config/texinfo.tex:
359 Update from gnu.org.
360
69b5cec4
AD
3612001-08-15 Akim Demaille <akim@epita.fr>
362
363 * Makefile.maint: Sync with CVS Autoconf.
364
f2b5126e
PB
3652001-08-14 Pascal Bart <pascal.bart@epita.fr>
366
69b5cec4 367 * doc/bison.texinfo: Include GNU Free Documentation License from
f2b5126e
PB
368 `fdl.texi'.
369 * doc/fdl.texi: Add to package.
370
4ecbf796
MA
3712001-08-14 Marc Autret <autret_m@epita.fr>
372
373 Turn on %{source,header}_extension features.
374
69b5cec4 375 * src/lex.c (percent_table): Un-CPP out header_extension and
4ecbf796
MA
376 source_extension.
377 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
69b5cec4 378 (compute_exts_from_src): Remove conditions. It restores priorities
4ecbf796
MA
379 between options.
380
95fb5662
MA
3812001-08-14 Marc Autret <autret_m@epita.fr>
382
383 * src/files.c (compute_base_names): Add extensions computing when
384 `--file-prefix' used.
385 Standardize function calls.
386
78d09da9
MA
3872001-08-13 Marc Autret <autret_m@epita.fr>
388
69b5cec4 389 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
78d09da9
MA
390 defining it (defined but null disables alloca).
391
5a009f2c
MA
3922001-08-13 Marc Autret <autret_m@epita.fr>
393
394 * src/bison.simple (_yy_memcpy): CPP reformat.
395
1e41465a
PB
3962001-08-13 Pascal Bart <pascal.bart@epita.fr>
397
398 * tests/atconfig.in (CPPFLAGS): Fix.
399
c67a198d
PB
4002001-08-10 Pascal Bart <pascal.bart@epita.fr>
401
79282c6c 402 * doc/bison.texinfo: Include GNU General Public License from
c67a198d
PB
403 `gpl.texi'.
404 * doc/gpl.texi: Add to package.
405
09a6de7e
MA
4062001-08-10 Marc Autret <autret_m@epita.fr>
407
408 * src/print_graph.h: Fix.
409 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
410
b77b9ee0
AD
4112001-08-10 Akim Demaille <akim@epita.fr>
412
413 * src/system.h: Provide default declarations for stpcpy, strndup,
414 and strnlen.
415
3e259915
MA
4162001-08-10 Robert Anisko <anisko_r@epita.fr>
417
418 * doc/bison.texinfo (Locations): Update @$ stuff.
419
ca96bc2d
MA
4202001-08-09 Robert Anisko <anisko_r@epita.fr>
421
422 * src/bison.simple (YYLLOC_DEFAULT): Update.
423 (yyparse): Adjust.
424
fdc6758b
MA
4252001-08-08 Marc Autret <autret_m@epita.fr>
426
b77b9ee0 427 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
fdc6758b
MA
428 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
429 Reported by Fabrice Bauzac.
957d4dbf 430
600cad3b
MA
4312001-08-08 Marc Autret <autret_m@epita.fr>
432
433 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
434 * src/vcg.c (output_node): Fix.
435 * src/vcg.h: Cleanup.
436 * src/print_graph.c: Add comments.
b77b9ee0 437 (node_output_size): New global variable. Simplify the formatting of
600cad3b 438 the VCG graph output.
b77b9ee0 439 (print_actions): Unused code is now used. It notifies the final state
600cad3b 440 and no action states in the VCG graph. It also give the reduce actions.
b77b9ee0 441 The `shift and goto' edges are red and the `go to state' edges are
600cad3b
MA
442 blue.
443 Get the current node name and node_obstack by argument.
444 (node_obstack): New variable.
445 (print_state): Manage node_obstack.
446 (print_core): Use node_obstack given by argument.
447 A node is not only computed here but in print_actions also.
448 (print_graph): CPP out useless code instead of commenting it.
449
976e528f
AD
4502001-08-07 Pascal Bart <pascal.bart@epita.fr>
451
452 * tests/atconfig.in (CPPFLAGS): Fix.
453
20e8e5ca
AD
4542001-08-07 Akim Demaille <akim@epita.fr>
455
456 * src/print_graph.c (quote): New.
457 (print_core): Use it.
458
957d4dbf 4592001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
3e3da797 460
3e3da797
AD
461 * src/vcg.c (complain.h): Include it.
462 Unepitaize `return' invocations.
c4b66126 463 [NDEBUG] (main): Remove.
79282c6c 464 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
c4b66126
AD
465 * src/files.c (open_files): Initialize graph_obstack.
466 * src/print_graph.c (print_actions): CPP out useless code.
467 (print_core): Don't output the last `\n' in labels.
468 Use `quote'.
469 * src/files.c (output_files): Output the VCG file.
470 * src/main.c (main): Invoke print_graph ();
3e3da797 471
957d4dbf 4722001-08-06 Marc Autret <autret_m@epita.fr>
22c2cbc0
AD
473
474 Automaton VCG graph output.
475 Using option ``-g'' or long option ``--graph'', you can generate
476 a gram_filename.vcg file containing a VCG description of the LALR (1)
477 automaton of your grammar.
478
479 * src/main.c: Call to print_graph() function.
480 * src/getargs.h: Update.
481 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
482 (graph_flag): New flag.
483 (longopts): Update.
484 (getargs): Add case `g'.
485 * src/files.c (graph_obstack): New obstack struct.
486 (open_files): Initialize new obstack.
487 (output_files): Saves graph_obstack if required.
488 * src/files.h (graph_obstack): New extern declaration.
489 * src/Makefile.am: Add new source files.
490
957d4dbf 4912001-08-06 Marc Autret <autret_m@epita.fr>
ce4d5ce0
AD
492
493 * src/print_graph.c, src/print_graph.h (graph): New.
494 * src/vcg.h: New file.
495 * src/vcg.c: New file, VCG graph handling.
496
7333d403
AD
4972001-08-06 Marc Autret <autret_m@epita.fr>
498
499 Add of %source_extension and %header_extension which specify
500 the source or/and the header output file extension.
501
502 * src/files.c (compute_base_names): Remove initialisation of
503 src_extension and header_extension.
504 (compute_exts_from_gf): Update.
505 (compute_exts_from_src): Update.
506 (output_files): Update.
507 * src/reader.c (parse_header_extension_decl): New.
508 (parse_source_extension_decl): New.
509 (read_declarations): New case statements for the new tokens.
510 * src/lex.c (percent_table): Add entries for %source_extension
511 and %header_extension.
512 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
513
84163231
AD
5142001-08-06 Marc Autret <autret_m@epita.fr>
515
516 * configure.in: Bump to 1.28c.
517 * doc/bison.texinfo: Texinfo thingies.
518
8303fc42
AD
5192001-08-04 Pascal Bart <pascal.bart@epita.fr>
520
521 * tests/atconfig.in (CPPFLAGS): Add.
522 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
523
70a84437
AD
5242001-08-03 Akim Demaille <akim@epita.fr>
525
526 Version 1.28b.
527
2ce10144
AD
5282001-08-03 Akim Demaille <akim@epita.fr>
529
530 * tests/Makefile.am (check-local): Ship testsuite.
531 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
532 Include `string.h'.
533
1e3e4bc1
AD
5342001-08-03 Akim Demaille <akim@epita.fr>
535
536 * configure.in: Try using -Wformat when compiling.
537
42b45b7f
AD
5382001-08-03 Akim Demaille <akim@epita.fr>
539
540 * configure.in: Bump to 1.28b.
541
8f13fe33
AD
5422001-08-03 Akim Demaille <akim@epita.fr>
543
544 * src/complain.c: Adjust strerror_r portability issues.
545
b37ba92c
AD
5462001-08-03 Akim Demaille <akim@epita.fr>
547
548 Version 1.28a.
549
b0ce6046
AD
5502001-08-03 Akim Demaille <akim@epita.fr>
551
552 * src/getargs.c, src/getarg.h (skeleton)): Constify.
553 * src/lex.c (literalchar): Avoid name clashes on `buf'.
554 * src/getargs.c: Include complain.h.
555 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
556 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
557
d01c415b
AD
5582001-08-03 Akim Demaille <akim@epita.fr>
559
560 * src/reader.c (readgram): Display hidden chars in error messages.
561
459dd1a6
AD
5622001-08-03 Akim Demaille <akim@epita.fr>
563
564 Update to gettext 0.10.39.
565
53b74c0c
AD
5662001-08-03 Akim Demaille <akim@epita.fr>
567
568 * lib/strspn.c: New.
569
234a3be3
AD
5702001-08-01 Marc Autret <autret_m@epita.fr>
571
572 * doc/bison.texinfo: Update.
573 * doc/bison.1 (mandoc): Update.
574 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
575 * src/files.c: Support output files extensions computing.
576 (src_extension): New static variable.
577 (header_extension): New static variable.
578 (tr): New function.
579 (get_extension_index): New function, gets the index of an extension
580 filename in a string.
581 (compute_exts_from_gf): New function, computes extensions from the
582 grammar file extension.
583 (compute_exts_from_src): New functions, computes extensions from the
584 C source file extension, file given by ``-o'' option.
585 (compute_base_names): Update.
586 (output_files): Update.
587
847bf1f5
AD
5882001-08-01 Robert Anisko <anisko_r@epita.fr>
589
d995fee7 590 * doc/bison.texi: Document @$.
847bf1f5
AD
591 (Locations): New section.
592
d074a105
AD
5932001-07-18 Akim Demaille <akim@epita.fr>
594
595 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
596 * config/prev-version.txt, config/move-if-change: New.
597 * Makefile.am: Adjust.
598
3419715d
AD
5992001-07-08 Pascal Bart <pascal.bart@epita.fr>
600
601 * src/bison.simple (yyparse): Suppress warning `comparaison
602 between signed and unsigned'.
603
62ab6972
AD
6042001-07-05 Pascal Bart <pascal.bart@epita.fr>
605
606 * src/getargs.h (raw_flag): Remove.
607 * src/getargs.c: Die on `-r'/`--raw'.
608 * src/lex.c (parse_percent_token): Die on `%raw'.
609 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
610 * tests/calc.at: Suppress test with option `--raw'.
611
1e24cc5b
AD
6122001-07-14 Akim Demaille <akim@epita.fr>
613
614 * config/: New.
615 * configure.in: Require Autoconf 2.50.
616 Update to gettext 0.10.38.
617
32dfccf8
AD
6182001-03-16 Akim Demaille <akim@epita.fr>
619
620 * doc/bison.texinfo: ANSIfy the examples.
621
cd5bd6ac
AD
6222001-03-16 Akim Demaille <akim@epita.fr>
623
624 * getargs.c (skeleton): New variable.
625 (longopts): --skeleton is a new option.
626 (shortopts, getargs): -S is a new option.
627 * getargs.h: Declare skeleton.
628 * output.c (output_parser): Use it.
629
5141b016
AD
6302001-03-16 Akim Demaille <akim@epita.fr>
631
632 * m4/strerror_r.m4: New.
633 * m4/error.m4: Run AC_FUNC_STRERROR_R.
634 * lib/error.h, lib/error.c: Update.
635
447992b9
AD
6362001-03-16 Akim Demaille <akim@epita.fr>
637
638 * src/getargs.c (longopts): Clean up.
639
274d42ce
AD
6402001-02-21 Akim Demaille <akim@epita.fr>
641
642 * src/reader.c (gensym): `gensym_count' is your own.
643 Use a static buf to create the symbol name, as token_buffer is no
644 longer a buffer.
645
22c821f3
AD
6462001-02-08 Akim Demaille <akim@epita.fr>
647
648 * src/conflicts.c (conflict_report): Be sure not to append to res
649 between two calls, which could happen if both first sprintf were
650 skipped, but not the first cp += strlen.
651
18569462
AD
6522001-02-08 Akim Demaille <akim@epita.fr>
653
654 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
655 New, from fileutils 4.0.37.
656 * configure.in: Require Autoconf 2.49c. I took some time before
657 making this decision. This is the only way out for portability
658 issues in Bison, it would mean way too much duplicate effort to
659 import in Bison features implemented in 2.49c since 2.13.
660 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
661
0d8f3c8a
AD
6622001-02-02 Akim Demaille <akim@epita.fr>
663
664 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
66075dcf 665 * lib/xalloc.h, lib/xmalloc.c: Update.
0d8f3c8a 666
f17bcd1f
AD
6672001-01-19 Akim Demaille <akim@epita.fr>
668
669 Get rid of the ad hoc handling of token_buffer in the scanner: use
670 the obstacks.
671
672 * src/lex.c (token_obstack): New.
673 (init_lex): Initialize it. No longer call...
674 (grow_token_buffer): this. Remove it.
675 Adjust all the places which used it to use the obstack.
676
511e79b3
AD
6772001-01-19 Akim Demaille <akim@epita.fr>
678
679 * src/lex.h: Rename all the tokens:
680 s/\bENDFILE\b/tok_eof/g;
681 s/\bIDENTIFIER\b/tok_identifier/g;
682 etc.
683 Let them be enums, not #define, to ease debugging.
684 Adjust all the code.
685
0d6508ef
AD
6862001-01-18 Akim Demaille <akim@epita.fr>
687
688 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
689 * src/lex.c (maxtoken, grow_token_buffer): Static.
690
6deb4447
AD
6912001-01-18 Akim Demaille <akim@epita.fr>
692
693 Since we now use obstacks, more % directives can be enabled.
694
695 * src/lex.c (percent_table): Also accept `%yacc',
696 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
697 `%debug'.
698 Handle the actions for `%semantic_parser' and `%pure_parser' here,
699 instead of returning a token.
700 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
701 * src/reader.c (read_declarations): Adjust.
702 * src/files.c (open_files): Don't call `compute_base_names', don't
703 compute `attrsfile' since they depend upon data which might be
704 *in* the input file now.
705 (output_files): Do it here.
706 * src/output.c (output_headers): Document the fact that this patch
707 introduces a guaranteed SEGV for semantic parsers.
708 * doc/bison.texinfo: Document them.
709 * tests/suite.at: Exercise these %options.
710
ff4423cc
AD
7112000-12-20 Akim Demaille <akim@epita.fr>
712
713 Also handle the output file (--verbose) with obstacks.
714
715 * files.c (foutput): Remove.
716 (output_obstack): New.
717 Adjust all dependencies.
718 * src/conflicts.c: Return a string.
719 * src/system.h (obstack_grow_string): Rename as...
720 (obstack_sgrow): this. Be ready to work with non literals.
721 (obstack_fgrow4): New.
722
956dba3a
AD
7232000-12-20 Akim Demaille <akim@epita.fr>
724
725 * src/files.c (open_files): Fix the computation of short_base_name
726 in the case of `-o foo.tab.c'.
727
337bab46
AD
7282000-12-20 Akim Demaille <akim@epita.fr>
729
730 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
731 (copy_dollar): Now that everything uses obstacks, get rid of the
732 FILE * parameters.
733
5d3214b8
AD
7342000-12-20 Akim Demaille <akim@epita.fr>
735
736 * src/files.c (open_files): Actually the `.output' file is based
737 on the short_base_name, not base_name.
738 * tests/suite.at (Checking output file names): Adjust.
739
29092a57
AD
7402000-12-20 Akim Demaille <akim@epita.fr>
741
742 * src/bison.s1: Remove, we now use directly...
743 * src/bison.simple: this.
744 * src/Makefile.am: Use pkgdata instead of data.
745
ea5607fd
AD
7462000-12-20 Akim Demaille <akim@epita.fr>
747
748 * src/files.c (guard_obstack): New.
749 (open_files): Initialize it.
750 (output_files): Dump it...
751 * src/files.h: Export it.
752 * src/reader.c (copy_guard): Use it.
753
27110317
AD
7542000-12-19 Akim Demaille <akim@epita.fr>
755
756 * src/files.c (outfile, defsfile, actfile): Removed as global
757 vars.
758 (open_files): Don't compute them.
759 (output_files): Adjust.
760 (base_name, short_base_name): Be global.
761 Adjust dependencies.
762
19c50364
AD
7632000-12-19 Akim Demaille <akim@epita.fr>
764
765 * src/files.c (strsuffix): New.
766 (stringappend): Be just like strcat but allocate.
767 (base_names): Eve out from open_files.
768 Try to simplify the rather hairy computation of base_name and
769 short_base_name.
770 (open_files): Use it.
771 * tests/suite.at (Checking output file names): New test.
772
573c1d9f
AD
7732000-12-19 Akim Demaille <akim@epita.fr>
774
775 * src/system.h (obstack_grow_literal_string): Rename as...
776 (obstack_grow_string): this.
777 * src/output.c (output_parser): Recognize `%% actions' instead of
778 `$'.
779 * src/bison.s1: s/$/%% actions/.
780 * src/bison.hairy: Likewise.
781
ef7ddedd
AD
7822000-12-19 Akim Demaille <akim@epita.fr>
783
784 * src/output.c (output_parser): Compute the `#line' lines when
785 there are.
786 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
787 Suggested by Hans Aberg.
788
ff61dabd
AD
7892000-12-19 Akim Demaille <akim@epita.fr>
790
791 Let the handling of the skeleton files be local to the procedures
792 that use it.
793
794 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
795 longer static.
796 (fparser, open_extra_files): Remove.
797 (open_files, output_files): Don't take care of fparser.
798 * src/files.h: Adjust.
799 * src/output.c (output_parser): Open and close the file to the
800 skeleton.
801 * src/reader.c (read_declarations): When %semantic_parser, open
802 fguard.
803
55b96341
AD
8042000-12-19 Akim Demaille <akim@epita.fr>
805
806 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
807 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
808
358c15b7
AD
8092000-12-19 Akim Demaille <akim@epita.fr>
810
811 * src/files.c (open_files): Yipee! We no longer need all the code
812 looking for `/tmp' since we have no tmp file.
813
7de3329e
AD
8142000-12-19 Akim Demaille <akim@epita.fr>
815
816 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
817 New macros.
818 * src/files.c (open_files): Less dependency on MSDOS etc.
819
3abcd459
AD
8202000-12-14 Akim Demaille <akim@epita.fr>
821
822 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
823 Provide a default definition.
824 Use it when executing the default @ action.
825 * src/reader.c (reader_output_yylsp): No longer include
826 `timestamp' and `text' in the default YYLTYPE.
827
2a91a95e
AD
8282000-12-12 Akim Demaille <akim@epita.fr>
829
830 * src/reader.c (copy_definition, parse_union_decl, copy_action)
831 (copy_guard): Quote the file names.
832 Reported by Laurent Mascherpa.
833
14d3eb9b
AD
8342000-12-12 Akim Demaille <akim@epita.fr>
835
836 * src/output.c (output_headers, output_program, output): Be sure
837 to escape special characters when outputting filenames.
838 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
839 (output_headers): Don't depend on them, Use ACTSTR.
840
d7045ec6
AD
8412000-11-17 Akim Demaille <akim@epita.fr>
842
843 * lib/obstack.h: Formatting changes.
844 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
845 prevents type checking.
846 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
847 cast the value to (void *): assigning a `foo *' to a `void *'
848 variable is valid.
849 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
850 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
851 append characters.
852
6fd54b73
AD
8532000-11-17 Akim Demaille <akim@epita.fr>
854
855 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
856 as...
857 (suite.m4, regression.m4, calc.m4): these.
858 * tests/atgeneral.m4: Update from CVS Autoconf.
859
4c50eae6
AD
8602000-11-17 Akim Demaille <akim@epita.fr>
861
862 * tests/regression.m4 (%union and --defines): New test,
863 demonstrating a current bug in the obstack implementation.
864
a35f64ea
AD
8652000-11-17 Akim Demaille <akim@epita.fr>
866
867 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
868 macros.
869 Use them to declare the variables which are global or local to
870 `yyparse'.
871
7de23534
AD
8722000-11-17 Akim Demaille <akim@epita.fr>
873
874 * acconfig.h: Remove, no longer used.
875
aa7815f5
AD
8762000-11-07 Akim Demaille <akim@epita.fr>
877
878 * src: s/Copyright (C)/Copyright/g.
879
5af1f549
AD
8802000-11-07 Akim Demaille <akim@epita.fr>
881
882 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
883 defining.
884 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
885
553e2b22
AD
8862000-11-07 Akim Demaille <akim@epita.fr>
887
888 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
889 Merge in a single CPP if/else.
890
8a4f41d6
AD
8912000-11-07 Akim Demaille <akim@epita.fr>
892
893 * src/output.c (output): Remove useless variables.
894 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
895 argument `data' for consistency with the prototypes.
896 Qualify it `const'.
897 (obstack_copy, obstack_copy0): Rename the second argument as
898 `address' for consistency. Qualify it `const'.
899 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
900 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
901 `const' their input argument (`data' or `address').
902 Adjust the corresponding macros to include `const' in casts.
903
095a3fb5
AD
9042000-11-03 Akim Demaille <akim@epita.fr>
905
906 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
907 s/PFILE1/BISON_HAIRY/.
908 Adjust dependencies.
909
d1cdce7c
AD
9102000-11-03 Akim Demaille <akim@epita.fr>
911
090c5ebf 912 For some reason, this was not applied.
d1cdce7c
AD
913
914 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
915 `unlink': it's no longer used.
916
9311529b
AD
9172000-11-03 Akim Demaille <akim@epita.fr>
918
919 * src/files.c (skeleton_find): New function, eved out of...
920 (open_files, open_extra_files): here.
921
d8880f69
AD
9222000-11-03 Akim Demaille <akim@epita.fr>
923
924 Don't use `atexit'.
925
926 * src/files.c (obstack_save): New function.
927 (done): Rename as...
928 (output_files): this.
929 Use `obstack_save'.
930 * src/main.c (main): Don't use `atexit' to register `done', since
931 it no longer has to remove tmp files, just call `output_files'
932 when there are no errors.
933
0dbb648e
AD
9342000-11-02 Akim Demaille <akim@epita.fr>
935
936 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
937 `unlink': it's no longer used.
938 * src/files.h: Formatting changes.
939
896fe5c1
AD
9402000-11-02 Akim Demaille <akim@epita.fr>
941
942 Remove the last uses of mktemp and unlink/delete.
943
944 * src/files.c (fdefines, ftable): Removed.
945 (defines_ostack, table_obstack): New.
946 Adjust dependencies of the former into uses of the latter.
947 * src/output.c (output_short_or_char_table, output_short_table):
948 Convert to using obstacks.
949 * src/reader.c (copy_comment2): Accept one FILE * and two
950 obstacks.
951 (output_token_defines, reader_output_yylsp): Use obstacks.
952 * src/system.h (obstack_fgrow3): New.
953
dd60faec
AD
9542000-11-01 Akim Demaille <akim@epita.fr>
955
956 Change each use of `fattrs' into a use of `attrs_obstack'.
957
958 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
959 * src/files.c (fattrs): Remove.
960 (attrs_obstack): New.
961 Adjust all dependencies.
962 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
963
8c7ebe49
AD
9642000-11-01 Akim Demaille <akim@epita.fr>
965
966 Introduce obstacks.
967 Change each use of `faction' into a use of `action_obstack'.
968
969 * lib/obstack.h, lib/obstack.c: New files.
970 * src/files.c (faction): Remove.
971 (action_obstack): New.
972 Adjust all dependencies.
973
77aee789
AD
9742000-10-20 Akim Demaille <akim@epita.fr>
975
976 * lib/quote.h (PARAMS): New macro. Use it.
977
43591cec
AD
9782000-10-16 Akim Demaille <akim@epita.fr>
979
980 * src/output.c (output_short_or_char_table): New function.
981 (output_short_table, output_token_translations): Use it.
982 (goto_actions): Use output_short_table.
983
1e9798d5
AD
9842000-10-16 Akim Demaille <akim@epita.fr>
985
986 * src/symtab.c (bucket_new): New function.
987 (getsym): Use it.
988
989 * src/output.c (output_short_table): New argument to display the
990 comment associated with the table.
991 Adjust dependencies.
992 (output_gram): Use it.
993 (output_rule_data): Nicer output layout for YYTNAME.
994
f282676b
AD
9952000-10-16 Akim Demaille <akim@epita.fr>
996
997 * src/lex.c (read_typename): New function.
998 (lex): Use it.
999 * src/reader.c (copy_dollar): Likewise.
1000
550a72a3
AD
10012000-10-16 Akim Demaille <akim@epita.fr>
1002
1003 * src/reader.c (copy_comment2): Expect the input stream to be on
1004 the `/' which is suspected to open a comment, instead of being
1005 called after `//' or `/*' was read.
1006 (copy_comment, copy_definition, parse_union_decl, copy_action)
1007 (copy_guard): Adjust.
1008
131e2fef
AD
10092000-10-16 Akim Demaille <akim@epita.fr>
1010
1011 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
1012 `read_signed_integer'.
1013
79282c5a
AD
10142000-10-16 Akim Demaille <akim@epita.fr>
1015
1016 * src/reader.c (copy_dollar): New function.
1017 (copy_guard, copy_action): Use it.
1018
ff4a34be
AD
10192000-10-16 Akim Demaille <akim@epita.fr>
1020
1021 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
1022 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
1023 New files, from Fileutils 4.0.27.
1024 * src/main.c (printable_version): Remove.
1025 * src/lex.c, src/reader.c: Use `quote'.
1026
10272000-10-04 Akim Demaille <akim@epita.fr>
1028
1029 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
1030
14ded682
AD
10312000-10-04 Akim Demaille <akim@epita.fr>
1032
1033 * doc/bison.texinfo: Various typos spotted by Neil Booth.
1034
8e03724b
AD
10352000-10-04 Akim Demaille <akim@epita.fr>
1036
1037 When a literal string is used to define two different tokens,
1038 `bison -v' segfaults.
1039 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
1040
1041 * tests/regression.m4: New file.
1042 Include the core of the sample provided by Piotr Gackiewicz.
1043 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
1044 properly.
1045
a9e64249
AD
10462000-10-04 Akim Demaille <akim@epita.fr>
1047
1048 * src/reader.c (parse_expect_decl): Keep `count' within the size
1049 of `buffer'.
1050 From Neil Booth.
1051
da9abf43
AD
10522000-10-02 Paul Eggert <eggert@twinsun.com>
1053
1054 * bison.s1 (yyparse): Assign the default value
1055 unconditionally, to avoid a GCC warning and make the parser a
1056 tad smaller.
1057
c33638bb
AD
10582000-10-02 Akim Demaille <akim@epita.fr>
1059
1060 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
1061 options.
1062
444c570a
AD
10632000-10-02 Akim Demaille <akim@epita.fr>
1064
1065 * src/derives.c, src/print.c, src/reduce.c: To ease the
1066 translation, move some `\n' out of the translated strings.
1067
89cab50d
AD
10682000-10-02 Akim Demaille <akim@epita.fr>
1069
1070 The location tracking mechanism is precious for parse error
1071 messages. Nevertheless, it is enabled only when `@n' is used in
1072 the grammar, which is a different issue (you can use it in error
1073 message, but not in the grammar per se). Therefore, there should
1074 be another means to enable it.
1075
1076 * src/getargs.c (getargs): Support `--locations'.
1077 (usage): Report it.
1078 * src/getargs.h (locationsflag): Export it.
1079 * src/lex.c (percent_table): Support `%locations'.
1080 * src/reader.c (yylsp_needed): Remove this variable, now replaced
1081 with `locationsflag'.
1082 * doc/bison.texinfo: Document `--locations' and `%locations'.
1083 Sort the options.
1084 * tests/calc.m4: Test it.
1085
1086 For regularity of the names, replace each
1087 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
1088 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
1089 In addition replace each `flag' with `_flag'.
1090
d6c2cba0
AD
10912000-10-02 Akim Demaille <akim@epita.fr>
1092
1093 Also test parse error messages, including with YYERROR_VERBOSE.
1094
1095 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
1096 associative).
1097 Use it to check the computations.
1098 Use it to check `nonassoc' is honored.
1099 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
1100 `--yyerror-verbose'.
1101 (_AT_CHECK_CALC): Adjust to this option.
1102 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
1103
5a35a6cb
AD
11042000-10-02 Akim Demaille <akim@epita.fr>
1105
1106 Test also `--verbose', `--defines' and `--name-prefix'. Testing
1107 the latter demonstrates a flaw in the handling of non debugging
1108 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
1109 was used in order to simplify:
1110
1111 #if YYDEBUG
1112 if (yydebug)
1113 {
1114 ...
1115 }
1116 #endif
1117
1118 into
1119
1120 if (yydebug)
1121 {
1122 ...
1123 }
1124
1125 unfortunately this leads to a CPP conflict when
1126 `--name-prefix=foo' is used since it produces `#define yydebug
1127 foodebug'.
1128
1129 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
1130 (YYDPRINTF): New macro.
1131 Spread its use.
1132 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
1133 the bison options.
1134 Also test `--verbose', `--defines' and `--name-prefix'.
1135
71da9eea
AD
11362000-10-02 Akim Demaille <akim@epita.fr>
1137
1138 Improve the readability of the produced parsers.
1139
1140 * src/bison.s1: Formatting changes.
1141 Improve the comment related to the `$' mark.
1142 (yydefault): Don't fall through to `yyresume': `goto' there.
1143 * src/output.c (output_parser): When the `$' is met, skip the end
1144 of its line.
1145 New variable, `number_of_dollar_signs', to check there's exactly
1146 one `$' in the parser skeleton.
1147
95e36146
AD
11482000-10-02 Akim Demaille <akim@epita.fr>
1149
1150 * lib/xstrdup.c: New file, from the fileutils.
1151 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
1152 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
1153 instead of strlen + xmalloc + strcpy.
1154 * src/symtab.c (copys): Remove, use xstrdup instead.
1155
d7020c20
AD
11562000-10-02 Akim Demaille <akim@epita.fr>
1157
1158 * src/gram.h (associativity): New enum type which replaces the
1159 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
1160 `right_assoc', `left_assoc' and `non_assoc'.
1161 Adjust all dependencies.
1162 * src/reader.c: Formatting changes.
1163 (LTYPESTR): Don't define it, use it as a literal in
1164 `reader_output_yylsp'.
1165 * src/symtab.h (symbol_class): New enum type which replaces the
1166 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
1167 `sunknown', `stoken and `snterm'.
1168
1916f98e
AD
11692000-10-02 Akim Demaille <akim@epita.fr>
1170
1171 * src/getargs.c (fixed_outfiles): Rename as...
1172 (yaccflag): for consistency and accuracy.
1173 Adjust dependencies.
1174
d7913476
AD
11752000-10-02 Akim Demaille <akim@epita.fr>
1176
1177 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
1178 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
1179 difficult and introduced a lot of core dump. It turns out that
1180 Bison used an implementation of `xmalloc' based on `calloc', and
1181 at various places it does depend upon the initialization to 0. I
1182 have not tried to isolate the pertinent places, and all the former
1183 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
1184 someone should address this issue.
1185
1186 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
1187 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
1188 files.
1189 Adjust dependencies.
1190 * src/warshall.h: New file.
1191 Propagate.
1192
340ef489
AD
11932000-10-02 Akim Demaille <akim@epita.fr>
1194
1195 Various anti-`extern in *.c' changes.
1196
1197 * src/system.h: Include `assert.h'.
1198
b2ca4022
AD
11992000-10-02 Akim Demaille <akim@epita.fr>
1200
1201 * src/state.h (nstates, final_state, first_state, first_shift)
1202 (first_reduction): Move their exportation from here...
1203 * src/LR0.h: to here.
1204 Adjust dependencies.
1205 * src/getargs.c (statisticsflag): New variable.
1206 Add support for `--statistics'.
1207 Adjust dependencies.
1208
1209 Remove a lot of now useless `extern' statements in most files.
1210
403b315b
AD
12112000-10-02 Akim Demaille <akim@epita.fr>
1212
1213 * src/LR0.h: New file.
1214 Propagate its use.
1215
07a58c13
AD
12162000-10-02 Akim Demaille <akim@epita.fr>
1217
1218 * src/print.h: New file.
1219 Propagate its use.
1220 * src/print.c: Formatting and ordering changes.
1221 (verbose, terse): Replace with...
1222 (print_results): this new function.
1223 Adjust dependencies.
1224
0619caf0
AD
12252000-10-02 Akim Demaille <akim@epita.fr>
1226
1227 * src/conflicts.c (conflict_report): New function.
1228 (conflict_log, verbose_conflict_log): Replace with...
1229 (print_conflicts): this function.
1230 Adjust dependencies.
1231 * src/conflicts.h: New file.
1232 Propagate its inclusion.
1233
3519ec76
AD
12342000-10-02 Akim Demaille <akim@epita.fr>
1235
1236 * src/nullable.h: New file.
1237 Propagate its inclusion.
1238 * src/nullable.c: Formatting changes.
1239
015acc48
AD
12402000-10-02 Akim Demaille <akim@epita.fr>
1241
1242 * src/reduce.h: New file.
1243 Propagate its inclusion.
1244 * src/reduce.c: Topological sort and other formatting changes.
1245 (bool, TRUE, FALSE): Move their definition to...
1246 * src/system.h: here.
1247
8963a27b
AD
12482000-10-02 Akim Demaille <akim@epita.fr>
1249
1250 * src/files.c: Formatting changes.
1251 (tryopen, tryclose, openfiles): Rename as...
1252 (xfopen, xfclose, open_files): this.
1253 (stringappend): static.
1254 * src/files.h: Complete the list of exported symbols.
1255 Propagate its use.
1256
a70083a3
AD
12572000-10-02 Akim Demaille <akim@epita.fr>
1258
1259 * src/reader.h: New file.
1260 Propagate its use instead of tedious list of `extern' and
1261 prototypes.
1262 * src/reader.c: Formatting changes, topological sort,
1263 s/register//.
1264
abadc117
AD
12652000-10-02 Akim Demaille <akim@epita.fr>
1266
1267 * src/lex.h: Prototype `lex.c' exported functions.
1268 * src/reader.c: Adjust.
1269 * src/lex.c: Formatting changes.
1270 (safegetc): Rename as...
1271 (xgetc): this.
1272
720d742f
AD
12732000-10-02 Akim Demaille <akim@epita.fr>
1274
1275 * src/lalr.h: New file.
1276 Propagate its inclusion instead of prototypes and `extern'.
1277 * src/lalr.c: Formatting changes, topological sorting etc.
1278
f2acea59
AD
12792000-10-02 Akim Demaille <akim@epita.fr>
1280
1281 * src/output.c (token_actions): Introduce a temporary array,
1282 YYDEFACT, that makes it possible for this function to use
1283 output_short_table.
1284
d019d655
AD
12852000-10-02 Akim Demaille <akim@epita.fr>
1286
1287 `user_toknums' is output as a `short[]' in `output.c', while it is
1288 defined as a `int[]' in `reader.c'. For consistency with the
1289 other output tables, `user_toknums' is now defined as a table of
1290 shorts.
1291
1292 * src/reader.c (user_toknums): Be a short table instead of an int
1293 table.
1294 Adjust dependencies.
1295
1296 Factor the short table outputs.
1297
1298 * src/output.c (output_short_table): New function.
1299 * src/output.c (output_gram, output_stos, output_rule_data)
1300 (output_base, output_table, output_check): Use it.
1301
6c89f1c1
AD
13022000-10-02 Akim Demaille <akim@epita.fr>
1303
1304 * src/output.c (output): Topological sort of the functions, in
1305 order to get rid of the `static' prototypes.
1306 No longer use `register'.
1307 * src/output.h: New file.
1308 Propagate its inclusion in files explicitly prototyping functions
1309 from output.c.
1310
d9efd181
AD
13112000-09-21 Akim Demaille <akim@epita.fr>
1312
1313 * src/atgeneral.m4: Update from Autoconf.
1314
c29240e7 13152000-09-21 Akim Demaille <akim@epita.fr>
2fa6973e
AD
1316
1317 * src/closure.h: New file.
1318 * src/closure.c: Formatting changes, topological sort over the
1319 functions, use of closure.h.
1320 (initialize_closure, finalize_closure): Rename as...
1321 (new_closure, free_closure): these. Adjust dependencies.
1322 * src/LR0.c: Formatting changes, topological sort, use of
1323 cloture.h.
1324 (initialize_states): Rename as...
1325 (new_states): this.
1326 * src/Makefile.am (noinst_HEADERS): Adjust.
1327
499daa50
AD
13282000-09-20 Akim Demaille <akim@epita.fr>
1329
1330 * src/acconfig.h: Don't protect config.h against multiple
1331 inclusion.
1332 Don't define PARAMS.
1333 * src/system.h: Define PARAMS.
1334 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
1335 purpose of config.h. system.h must not try to fix wrong
1336 definitions in config.h.
1337
cc84fd5d
AD
13382000-09-20 Akim Demaille <akim@epita.fr>
1339
1340 * src/derives.h: New file.
1341 * src/main.c, src/derives.h: Use it.
1342 Formatting changes.
1343 * src/Makefile.am (noinst_HEADERS): Adjust.
1344
db5b3a89
AD
13452000-09-20 Akim Demaille <akim@epita.fr>
1346
1347 * tests/atgeneral.m4: Update from Autoconf.
1348 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
1349 (AT_CHECK_CALC): New macros.
1350 Use these macros to test bison with options `', `--raw',
1351 `--debug', `--yacc', `--yacc --debug'.
1352
ceed8467
AD
13532000-09-19 Akim Demaille <akim@epita.fr>
1354
1355 * src/output.c: Formatting changes.
1356 * src/machine.h: Remove, leaving its contents in...
1357 * src/system.h: here.
1358 Include stdio.h.
1359 Adjust all dependencies on stdio.h and machine.h.
1360 * src/getargs.h: New file.
1361 Let all `extern' declarations about getargs.c be replaced with
1362 inclusion of `getargs.h'.
1363 * src/Makefile.am (noinst_HEADERS): Adjust.
1364
1365 * tests/calc.m4 (yyin): Be initialized in main, not on the global
1366 scope.
1367 (yyerror): Returns void, not int.
1368 * doc/bison.texinfo: Formatting changes.
1369
05a1d24b
AD
13702000-09-19 Akim Demaille <akim@epita.fr>
1371
1372 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
1373 portable.
1374
cbd25751
AD
13752000-09-18 Akim Demaille <akim@epita.fr>
1376
1377 * configure.in: Append WARNING_CFLAGS to CFLAGS.
1378 * src/Makefile.am (INCLUDES): Don't.
1379 Be ready to fetch headers in lib/.
1380
13863333
AD
13812000-09-18 Akim Demaille <akim@epita.fr>
1382
1383 * doc/bison.texinfo: Update the copyright.
1384 ANSIfy and GNUify the examples.
1385 Remove the old menu.
1386
0d533154
AD
13872000-09-18 Akim Demaille <akim@epita.fr>
1388
1389 First set of tests: use the `calc' example from the documentation.
1390
1391 * src/bison.s1 (yyparse): Condition the code using `yytname' which
1392 is defined only when YYDEBUG is.
1393 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
1394 * src/files.c (tryopen, tryclose): Formatting changes.
1395 Move to the top and be static.
1396 * src/reader.c (read_signed_integer): Likewise.
1397 * tests/calc.m4: New file.
1398 * Makefile.am, suite.m4: Adjust.
1399 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
1400
e79137ac
AD
14012000-09-18 Akim Demaille <akim@epita.fr>
1402
1403 Add support for an Autotest test suite for Bison.
1404
1405 * m4/m4.m4, m4/atconfig.m4: New files.
1406 * m4/Makefile.am (EXTRA_DIST): Adjust.
1407 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
1408 files.
1409 * src/getargs.c: Display a more standard --version message.
1410 * src/reader.c (reader): Formatting changes.
1411 No longer depend upon VERSION_STRING.
1412 * configure.in: No longer use `dnl'.
1413 Set up the test suite and the new directory `tests/.
1414 (VERSION_STRING): Remove.
1415
27821bff
AD
14162000-04-14 Akim Demaille <akim@epita.fr>
1417
1418 * src/reader.c (copy_comment2): New function, same as former
1419 `copy_comment', but outputs into two FILE *.
1420 (copy_comment): Use it.
1421 (parse_union_decl): Use it.
1422 (get_type, parse_start_decl): Use the same `invalid' message.
1423 (parse_start_decl, parse_union_decl): Use the same `multiple'
1424 message.
1425 (parse_union_decl, copy_guard, copy_action): Use the same
1426 `unmatched' message.
1427 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
1428
cfe5fbc0
AD
14292000-03-31 Akim Demaille <akim@epita.fr>
1430
1431 * src/files.c (tryopen, tryclose): Move to the top.
1432 Be static.
1433
cb7db13e
AD
14342000-03-31 Akim Demaille <akim@epita.fr>
1435
1436 * src/main.c (main): Don't call `done', exit does it.
1437
a0f6b076
AD
14382000-03-31 Akim Demaille <akim@epita.fr>
1439
36281465
AD
1440 * allocate.c: s/return (foo)/return foo/.
1441 * lalr.c: Likewise.
1442 * LR0.c: Likewise.
1443 * output.c: Likewise.
1444 * reader.c: Likewise.
1445 * symtab.c: Likewise.
1446 * vmsgetargs.c: Likewise.
1447
14482000-03-31 Akim Demaille <akim@epita.fr>
1449
1450 Clean up the error reporting functions.
a0f6b076
AD
1451
1452 * src/report.c: New file.
1453 * src/report.h: Likewise.
1454 * src/Makefile.am: Adjust.
1455 * m4/error.m4: New file.
1456 * m4/Makefile.am: Adjust.
1457 * configure.in (jm_PREREQ_ERROR): Call it.
1458 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
1459 Remove.
1460 (fatal, fatals): Remove. All callers use complain.c::fatal.
1461 (warn, warni, warns, warnss, warnss): Remove. All callers use
1462 complain.c::complain.
1463 (toomany): Remove, use fatal instead.
1464 * src/files.c (done): No argument, use complain_message_count.
1465 * src/main.c (main): Register `done' to `atexit'.
1466
1467 * src/getargs.c (usage): More `fputs', less `fprintf'.
1468
18539825
AD
14692000-03-28 Akim Demaille <akim@epita.fr>
1470
1471 * lib/: New directory.
1472 * Makefile.am (SUBDIRS): Adjust.
1473 * configure.in: Adjust.
1474 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
1475 useless.
1476 * src/alloca.c: Moved to lib/.
1477 * src/getopt.c: Likewise.
1478 * src/getopt1.c: Likewise.
1479 * src/getopt.h: Likewise.
1480 * src/ansi2knr.c: Likewise.
1481 * src/ansi2knr.1: Likewise.
1482 * src/Makefile.am: Adjust.
1483 * lib/Makefile.am: New file.
1484
9f306f2a
AD
14852000-03-28 Akim Demaille <akim@epita.fr>
1486
1487 * src/getargs.c (usage): Refresh the help message.
1488
0ba347b6
AD
14892000-03-17 Akim Demaille <akim@epita.fr>
1490
1491 * src/getopt1.c: Updated from textutils 2.0e
1492 * src/getopt.c: Likewise.
1493 * src/getopt.h: Likewise.
1494
dbe7f271
AD
14952000-03-17 Akim Demaille <akim@epita.fr>
1496
1497 * src/Makefile.am (bison.simple): Fix the awk program: quote only
1498 the file name, not the whole `#line LINE FILE'.
1499
75bbe78d
AD
15002000-03-17 Akim Demaille <akim@epita.fr>
1501
1502 On syntax errors, report the token on which we choked.
1503
aa5fd0ee
AD
1504 * src/bison.s1 (yyparse): In the label yyerrlab, when
1505 YYERROR_VERBOSE, add yychar in msg.
75bbe78d 1506
7b306f52
AD
15072000-03-17 Akim Demaille <akim@epita.fr>
1508
aa5fd0ee 1509 * src/reader.c (copy_at): New function.
7b306f52
AD
1510 (copy_guard): Use it.
1511 (copy_action): Use it.
1512
e87b5700
AD
15132000-03-17 Akim Demaille <akim@epita.fr>
1514
1515 Be kind to translators, save some useless translations.
1516
aa5fd0ee 1517 * src/main.c (banner): New function.
e87b5700
AD
1518 (fatal_banner): Use it.
1519 (warn_banner): Use it.
1520
ae3c3164
AD
15212000-03-17 Akim Demaille <akim@epita.fr>
1522
aa5fd0ee
AD
1523 * src/reader.c (copy_definition): Use copy_string and
1524 copy_comment. Removed now unused `match', `ended',
1525 `cplus_comment'.
ae3c3164
AD
1526 (copy_comment, copy_string): Moved, to be visible from
1527 copy_definition.
1528
4dc58e7c
AD
15292000-03-17 Akim Demaille <akim@epita.fr>
1530
aa5fd0ee
AD
1531 * src/reader.c (copy_string): Declare `static inline'. No
1532 problems with inline, since it is checked by configure.
4dc58e7c
AD
1533 (copy_comment): Likewise.
1534
0a6384c4
AD
15352000-03-17 Akim Demaille <akim@epita.fr>
1536
aa5fd0ee 1537 * src/reader.c (packsymbols): Formatting changes.
0a6384c4 1538
3cef001a
AD
15392000-03-17 Akim Demaille <akim@epita.fr>
1540
aa5fd0ee 1541 * src/reader.c (copy_comment): New function, factored out from:
3cef001a
AD
1542 (copy_action): Use it. Removed now unused `match', `ended',
1543 `cplus_comment'.
1544 (copy_guard): Likewise.
1545
ca36d2ef
AD
15462000-03-17 Akim Demaille <akim@epita.fr>
1547
aa5fd0ee 1548 * src/reader.c (copy_string): New function, factored out from:
ca36d2ef
AD
1549 (copy_action): Use it.
1550 (copy_guard): Likewise.
1551
6666f98f
AD
15522000-03-17 Akim Demaille <akim@epita.fr>
1553
1554 Change the handling of @s so that they behave exactly like $s.
1555 There is now a pseudo variable @$ (readble and writable), location
1556 of the lhs of the rule (by default ranging from the location of
1557 the first symbol of the rhs, to the location of the last symbol,
1558 or, if the rhs is empty, YYLLOC).
1559
1560 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
1561 yyval.
1562 (yyparse): When providing a default semantic action, provide a
1563 default location action.
1564 (after the $): No longer change `*YYLSP', just stack YYLOC the
1565 same way you stack YYVAL.
1566 * src/reader.c (read_declarations): Use warns.
1567 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
1568 (copy_action, case '@'): Likewise.
1569 Use a standard error message, to save useless work from
1570 translators.
1571
41aca2e0
AD
15722000-03-17 Akim Demaille <akim@epita.fr>
1573
aa5fd0ee
AD
1574 * src/bison.s1: Formatting and cosmetics changes.
1575 * src/reader.c: Likewise.
41aca2e0
AD
1576 Update the Copyright notice.
1577
dc08c1d5
AD
15782000-03-17 Akim Demaille <akim@epita.fr>
1579
aa5fd0ee
AD
1580 * src/bison.s1 (#line): All set to `#line' only, since the
1581 Makefile now handles them.
dc08c1d5 1582
9ee3c97b
AD
15832000-03-16 Akim Demaille <akim@epita.fr>
1584
1585 * src/output.c (output_rule_data): Output the documentation of
1586 some of the tables.
1587 (Copyright notice): Update.
1588 Formatting changes.
1589
0de741ca
AD
15902000-03-16 Akim Demaille <akim@epita.fr>
1591
1592 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
1593 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
1594 One `#if YYDEBUG' remains, since it uses variables which are
1595 defined only if `YYDEBUG != 0'.
1596
bb10be54
AD
15972000-03-16 Akim Demaille <akim@epita.fr>
1598
1599 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
1600 and related variables so that the similarities are highlighted.
1601
b07b484a
AD
16022000-03-16 Akim Demaille <akim@epita.fr>
1603
1604 * src/bison.s1: Properly indent CPP directives.
1605
361f60b3
AD
16062000-03-16 Akim Demaille <akim@epita.fr>
1607
1608 * src/bison.s1: Properly indent the `alloca' CPP section.
1609
8c44d3ec
AD
16102000-03-16 Akim Demaille <akim@epita.fr>
1611
1612 Do not hard code values of directories in `configure.in'.
1613 Update the `configure' tool chain.
1614
1615 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
1616 src/makefile.am.
1617 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
1618 (AC_OUTPUT): Add m4/Makefile.
1619 Bump to bison 1.28a, 1.29 has never been released.
1620 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
1621 handled via src/Makefile.am.
1622 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
1623 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
1624 autoheader.
1625 * Makefile.am (SUBDIRS): Add m4.
1626 (ACLOCAL_AM_FLAGS): New variable.
1627 (AUTOMAKE_OPTIONS): Add check-news.
1628 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
1629 the proper line number and file name.
1630 (DEFS): Propagate the location of bison library files and of the
1631 locale files.
1632 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
1633 builddir.
1634 * acinclude.m4: Remove, replaced by the directory m4.
1635 * m4/Makefile.am (EXTRA_DIST): New variable.
1636 * m4/gettext.m4: New file, from the fileutils.
1637 * m4/lcmessage.m4: Likewise
1638 * m4/progtest.m4: Likewise.
1639 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
1640
f95997e7
AD
16412000-03-10 Akim Demaille <akim@epita.fr>
1642
1643 * src/closure.c:
1644 Formatting changes of various comments.
1645 Respect the GNU coding standards at various places.
1646 Don't use `_()' when no translation is needed.
1647
16481999-12-13 Jesse Thilo <jthilo@gnu.org>
1649
1650 * src/files.c:
1651 OS/2 honors TMPDIR environment variable.
1652
16531999-12-13 Jesse Thilo <jthilo@gnu.org>
1654
1655 * doc/bison.texinfo: Tweaked spelling and grammar.
1656 Updated ISBN.
1657 Removed reference to price of printed copy.
1658 Mention BISON_SIMPLE and BISON_HAIRY.
1659
16601999-12-13 Jesse Thilo <jthilo@gnu.org>
1661
1662 * configure.in, NEWS:
1663 Bison 1.29 released.
1664
16651999-10-27 Jesse Thilo <jthilo@gnu.org>
1666
1667 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
1668 Added reference card.
1669
16701999-07-26 Jesse Thilo <jthilo@gnu.org>
1671
1672 * po/ru.po: Added Russian translation.
1673
16741999-07-26 Jesse Thilo <jthilo@gnu.org>
1675
1676 * configure.in: Added Russian translation.
1677
16781999-07-06 Jesse Thilo <jthilo@gnu.org>
1679
1680 * configure.in, NEWS, README:
1681 Released version 1.28.
1682
16831999-06-14 Jesse Thilo <jthilo@gnu.org>
1684
1685 * src/system.h:
1686 Squashed redefinition warning on some systems.
1687
1688 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
1689 Have configure build version string instead of relying on ANSI string
1690 concatentation.
1691
16921999-06-14 Jesse Thilo <jthilo@gnu.org>
1693
1694 * po/POTFILES.in: Got rid of version.c.
1695
16961999-06-14 Jesse Thilo <jthilo@gnu.org>
1697
1698 * acconfig.h, configure.in:
1699 Have configure build version string instead of relying on ANSI string
1700 concatentation.
1701
17021999-06-08 Jesse Thilo <jthilo@gnu.org>
1703
1704 * doc/bison.1:
1705 Dropped mention of `+' for long-named options.
1706
17071999-05-30 Jesse Thilo <jthilo@gnu.org>
1708
1709 * src/files.c: Added <unistd.h> for unlink().
1710
1711 * src/Makefile.am, src/system.h:
1712 I18n fixes.
1713
17141999-05-30 Jesse Thilo <jthilo@gnu.org>
1715
1716 * README: Added a FAQ list.
1717
1718 * configure.in, acconfig.h:
1719 I18n fixes.
1720
17211999-05-30 Jesse Thilo <jthilo@gnu.org>
1722
1723 * doc/FAQ, doc/Makefile.am:
1724 Added a FAQ list.
1725
17261999-05-19 Jesse Thilo <jthilo@gnu.org>
1727
1728 * src/alloc.h, src/symtab.h, src/version.c:
1729 Protected inclusion of "config.h" with HAVE_CONFIG_H.
1730
17311999-04-18 Jesse Thilo <jthilo@gnu.org>
1732
1733 * src/.cvsignore, src/Makefile.am:
1734 Reorganized: sources in `src', documentation in `doc'.
1735
1736 * src/lex.c (literalchar):
1737 fixed the code for escaping double quotes (thanks
1738 Jonathan Czisny.)
1739
17401999-04-18 Jesse Thilo <jthilo@gnu.org>
1741
1742 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
1743 Adjusted paths to reflect directory reorganization.
1744
17451999-04-18 Jesse Thilo <jthilo@gnu.org>
1746
1747 * doc/.cvsignore, doc/Makefile.am:
1748 Reorganized: sources in `src', documentation in `doc'.
1749
17501999-04-18 Jesse Thilo <jthilo@gnu.org>
1751
1752 * configure.in:
1753 Updated AC_INIT file to reflect directory reorganization.
1754
1755 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
1756 Reorganized: sources in `src', documentation in `doc'.
1757
17581999-04-13 Jesse Thilo <jthilo@gnu.org>
1759
1760 * src/allocate.c:
1761 Don't declare calloc() and realloc() if not necessary.
1762
17631999-04-13 Jesse Thilo <jthilo@gnu.org>
1764
1765 * configure.in, acconfig.h, acinclude.m4:
1766 Don't declare calloc() and realloc() if not necessary.
1767
17681999-03-23 Jesse Thilo <jthilo@gnu.org>
1769
1770 * po/.cvsignore: Added i18n support.
1771
17721999-03-23 Jesse Thilo <jthilo@gnu.org>
1773
1774 * acconfig.h, configure.in, Makefile.am:
1775 Added i18n support.
1776
17771999-03-22 Jesse Thilo <jthilo@gnu.org>
1778
1779 * src/bison.s1: Fixed #line numbers.
1780
17811999-03-15 Jesse Thilo <jthilo@gnu.org>
1782
1783 * po/es.po, po/fr.po, po/nl.po, po/de.po:
1784 Added PO files from Translation Project.
1785
17861999-03-03 Jesse Thilo <jthilo@gnu.org>
1787
1788 * Makefile.am:
1789 Added support for non-ANSI compilers (ansi2knr).
1790
17911999-02-16 Jesse Thilo <jthilo@gnu.org>
1792
1793 * configure.in: Bumped version number to 1.27.
1794
1795 * Makefile.am:
1796 Added `bison.simple' to list of files removed by `make distclean'.
1797
17981999-02-12 Jesse Thilo <jthilo@gnu.org>
1799
1800 * src/files.c, src/files.h:
1801 Defined locations of parser files in config.h instead of Makefile.
1802
18031999-02-12 Jesse Thilo <jthilo@gnu.org>
1804
1805 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
1806 Defined locations of parser files in config.h instead of Makefile.
1807
18081999-02-09 Jesse Thilo <jthilo@gnu.org>
1809
1810 * Makefile.am:
1811 Removed inappropriate use of $< macro.
1812
18131999-02-05 Jesse Thilo <jthilo@gnu.org>
1814
1815 * po/Makefile.in.in, po/POTFILES.in:
1816 Add `po' directory skeleton.
1817
18181999-01-27 Jesse Thilo <jthilo@gnu.org>
1819
1820 * README: Document help-bison list.
1821
1822 * configure.in: Add check for mkstemp().
1823
18241999-01-20 Jesse Thilo <jthilo@gnu.org>
1825
1826 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
1827 Hush a few compiler warnings.
1828
1829 * src/files.c:
1830 Add tryclose(), which verifies that fclose was successful.
1831 Hush a couple of compiler warnings.
1832
18331999-01-20 Jesse Thilo <jthilo@gnu.org>
1834
1835 * Makefile.am, OChangeLog:
1836 ChangeLog is now automatically generated. Include the old version as
1837 OChangeLog.
1838
18391999-01-14 Jesse Thilo <jthilo@gnu.org>
1840
1841 * 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:
1842 Update FSF address.
1843
18441999-01-14 Jesse Thilo <jthilo@gnu.org>
1845
1846 * doc/bison.texinfo: Fix formatting glitch.
1847
1848 * doc/bison.texinfo: Update FSF address.
1849
18501999-01-14 Jesse Thilo <jthilo@gnu.org>
1851
1852 * acconfig.h: Update FSF address.
1853
18541999-01-08 Jesse Thilo <jthilo@gnu.org>
1855
1856 * src/system.h:
1857 Don't define PACKAGE here, since config.h defines it.
1858
18591998-12-30 Jesse Thilo <jthilo@gnu.org>
1860
1861 * src/reader.c: Update copyright date.
1862
1863 * src/main.c:
1864 Ditch sprintf to statically-sized buffers in fatal/warn functions in
1865 favor of output directly to stderr (avoids buffer overruns).
1866
1867 * src/reader.c: Some checks for premature EOF.
1868
1869 * 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:
1870 Use prototypes if the compiler understands them.
1871
1872 * src/files.c: Honor TMPDIR on Unix hosts.
1873 Use prototypes if the compiler understands them.
1874
1875 * src/reader.c:
1876 Fix a couple of buffer overrun bugs.
1877 Use prototypes if the compiler understands them.
1878
1879 * src/system.h: Include unistd.h and ctype.h.
1880 Use #ifdef instead of #if for NLS symbols.
1881
18821998-12-30 Jesse Thilo <jthilo@gnu.org>
1883
1884 * doc/bison.texinfo:
1885 Delete comment "consider using @set for edition number, etc..." since
1886 we now are doing so.
1887
18881998-12-30 Jesse Thilo <jthilo@gnu.org>
1889
1890 * configure.in:
1891 Use prototypes if the compiler understands them.
1892
1893 * NEWS: Document 1.26 highlights.
1894
1895 * Makefile.am: Require Automake 1.3 or later.
1896
1897 * acconfig.h:
1898 Use prototypes if the compiler understands them.
1899
19001998-12-29 Jesse Thilo <jthilo@gnu.org>
1901
1902 * src/version.c:
1903 Use VERSION symbol from automake for version number.
1904
19051998-12-29 Jesse Thilo <jthilo@gnu.org>
1906
1907 * acconfig.h, configure.in, version.cin:
1908 Use VERSION symbol from automake for version number.
1909
19101998-11-28 Jesse Thilo <jthilo@gnu.org>
1911
1912 * Makefile.am:
1913 Distribute original version of simple parser (bison.s1), not built
1914 version (bison.simple).
1915
19161998-11-28 Jesse Thilo <jthilo@gnu.org>
1917
1918 * doc/bison.texinfo: Add info dir entry.
1919
1920 * doc/bison.texinfo:
1921 Let automake put version number into documentation.
1922
19231998-11-26 Jesse Thilo <jthilo@gnu.org>
1924
1925 * src/bison.cld, src/build.com, src/vmshlp.mar:
1926 Add non-RCS files from /gd/gnu/bison.
1927
19281998-11-26 Jesse Thilo <jthilo@gnu.org>
1929
1930 * doc/bison.1:
1931 Document the BISON_HAIRY and BISON_SIMPLE variables.
1932
19331998-11-25 Jesse Thilo <jthilo@gnu.org>
1934
1935 * src/version.c: Build version.c automatically.
1936
1937 * src/reader.c:
1938 Fix token numbering (used to start at 258, not 257).
1939
1940 * src/system.h: Include config.h.
1941
1942 * src/getargs.c: Update bug report address.
1943
1944 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
1945 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
1946
19471998-11-25 Jesse Thilo <jthilo@gnu.org>
1948
1949 * Makefile.am:
1950 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1951
1952 * configure.in, version.cin:
1953 Build version.c automatically.
1954
1955 * AUTHORS: Add AUTHORS file.
1956
1957 * README: Update bug report address.
1958
1959 * bison.simple:
1960 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1961
1962 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
1963 Add automake stuff.
1964
19651998-11-25 Jesse Thilo <jthilo@gnu.org>
1966
1967 * doc/bison.texinfo: Clean up some formatting.
1968
19691998-05-05 Richard Stallman <rms@gnu.org>
1970
1971 * doc/bison.texinfo:
1972 Explain better why to make a pure parser.
1973
19741998-01-05 Richard Stallman <rms@gnu.org>
1975
1976 * src/files.c (openfiles):
1977 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
1978 find a temporary directory, if possible. Do not unlink files while
1979 they are open.
1980
19811997-08-25 Richard Stallman <rms@gnu.org>
1982
1983 * src/reader.c (stack_offset;):
1984 Change some warni to warns.
1985
1986 * src/lex.c (literalchar): Use warns, not warni.
1987
19881997-06-28 Richard Stallman <rms@gnu.org>
1989
1990 * src/bison.s1: Add a Bison version comment.
1991
1992 * src/main.c (fatal, warn, berror):
1993 Use program_name.
1994
19951997-06-28 Richard Stallman <rms@gnu.org>
1996
1997 * Makefile.in (bison_version): New variable.
1998 (dist): Use that variable.
1999 (bison.s1): Substitute the Bison version into bison.simple.
2000
2001 * bison.simple: Add a Bison version comment.
2002
20031997-06-18 Richard Stallman <rms@gnu.org>
2004
2005 * src/main.c (fatal, warn, berror):
2006 Make error messages standard.
2007 (toomany): Improve error message text.
2008
2009 * 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:
2010 new.h renamed to alloc.h.
2011
20121997-06-18 Richard Stallman <rms@gnu.org>
2013
2014 * Makefile.in: new.h renamed to alloc.h.
2015
20161997-05-24 Richard Stallman <rms@gnu.org>
2017
2018 * src/lex.c (literalchar):
2019 Fix the code for escaping \, " and '.
2020
2021 (lex): Avoid trouble when there are many chars
2022 to discard in a char literal with just several chars in it.
2023
20241997-05-17 Richard Stallman <rms@gnu.org>
2025
2026 * src/bison.s1:
2027 Use malloc, if using alloca is troublesome.
2028 (YYSTACK_USE_ALLOCA): New flag macro.
2029 Define it for some systems and compilers.
2030 (YYSTACK_ALLOC): New macro.
2031 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2032 If it was malloc'd, free it.
2033
20341997-05-17 Richard Stallman <rms@gnu.org>
2035
2036 * bison.simple:
2037 Use malloc, if using alloca is troublesome.
2038 (YYSTACK_USE_ALLOCA): New flag macro.
2039 Define it for some systems and compilers.
2040 (YYSTACK_ALLOC): New macro.
2041 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2042 If it was malloc'd, free it.
2043
20441997-04-23 Richard Stallman <rms@gnu.org>
2045
2046 * src/bison.s1:
2047 (alloca) [__hpux]: Always define as __builtin_alloca.
2048
20491997-04-23 Richard Stallman <rms@gnu.org>
2050
2051 * bison.simple:
2052 (alloca) [__hpux]: Always define as __builtin_alloca.
2053
20541997-04-22 Richard Stallman <rms@gnu.org>
2055
2056 * src/bison.s1:
2057 [__hpux]: Include alloca.h (right for HPUX 10)
2058 instead of declaring alloca (right for HPUX 9).
2059
2060 * src/bison.s1 (__yy_memcpy):
2061 Declare arg `count' as unsigned int.
2062 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2063
20641997-04-22 Richard Stallman <rms@gnu.org>
2065
2066 * bison.simple:
2067 [__hpux]: Include alloca.h (right for HPUX 10)
2068 instead of declaring alloca (right for HPUX 9).
2069
2070 * bison.simple (__yy_memcpy):
2071 Declare arg `count' as unsigned int.
2072 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2073
20741997-01-03 Richard Stallman <rms@gnu.org>
2075
2076 * src/allocate.c: [__STDC__ or _MSC_VER]:
2077 Declare calloc and realloc to return void *.
2078
20791997-01-02 Richard Stallman <rms@gnu.org>
2080
2081 * src/system.h:
2082 [_MSC_VER]: Include stdlib.h and process.h.
2083 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
2084
2085 * src/main.c (main): Return FAILURE as a value.
2086 (printable_version): Declare arg as int, not char.
2087
20881997-01-02 Richard Stallman <rms@gnu.org>
2089
2090 * Makefile.in (dist):
2091 Explicitly check for symlinks, and copy them.
2092
20931996-12-19 Richard Stallman <rms@gnu.org>
2094
2095 * src/files.c:
2096 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
2097
20981996-12-18 Paul Eggert <eggert@gnu.org>
2099
2100 * src/bison.s1 (yyparse):
2101 If __GNUC__ and YYPARSE_PARAM are both defined,
2102 declare yyparse to have a void * argument.
2103
21041996-12-18 Paul Eggert <eggert@gnu.org>
2105
2106 * bison.simple (yyparse):
2107 If __GNUC__ and YYPARSE_PARAM are both defined,
2108 declare yyparse to have a void * argument.
2109
21101996-12-17 Richard Stallman <rms@gnu.org>
2111
2112 * src/reduce.c (nbits): Add some casts.
2113
21141996-08-12 Richard Stallman <rms@gnu.org>
2115
2116 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
2117
21181996-08-12 Richard Stallman <rms@gnu.org>
2119
2120 * bison.simple: Test _MSDOS as well as _MSDOS_.
2121
21221996-07-31 Richard Stallman <rms@gnu.org>
2123
2124 * src/bison.s1:
2125 [__sun && __i386]: Include alloca.h.
2126
21271996-07-31 Richard Stallman <rms@gnu.org>
2128
2129 * bison.simple:
2130 [__sun && __i386]: Include alloca.h.
2131
21321996-07-30 Richard Stallman <rms@gnu.org>
2133
2134 * src/bison.s1: Comment change.
2135
2136 * src/bison.s1: Test _MSDOS_, not MSDOS.
2137
21381996-07-30 Richard Stallman <rms@gnu.org>
2139
2140 * bison.simple: Comment change.
2141
2142 * bison.simple: Test _MSDOS_, not MSDOS.
2143
21441996-06-01 Richard Stallman <rms@gnu.org>
2145
2146 * 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:
2147 Insert `_' macro around many string constants.
2148
2149 * src/main.c:
2150 Insert `_' macro around many string constants.
2151
2152 (main): Call setlocale, bindtextdomain and textdomain.
2153
2154 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
2155 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
2156 [ENABLE_NLS]: Include libintl.h.
2157 [ENABLE_NLS] (gettext): Define.
2158 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
2159 (N_, PACKAGE, LOCALEDIR): New macros.
2160
21611996-06-01 Richard Stallman <rms@gnu.org>
2162
2163 * POTFILES.in: New file.
2164
2165 * Makefile.in (allocate.o):
2166 Define target explicitly.
2167
2168 * Makefile.in (CFLAGS): Set to @CFLAGS@.
2169 (LDFLAGS): Set to @LDFLAGS@.
2170 (configure): Run autoconf only if preceding `cd' succeeds.
2171 (bison.s1): Redirect output to temporary file then move the
2172 temporary to the target, rather than redirecting directly to bison.s1.
2173 (clean): Remove config.status and config.log.
2174 (distclean): Don't remove config.status here.
2175
21761996-05-12 Richard Stallman <rms@gnu.org>
2177
2178 * src/bison.s1:
2179 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
2180
21811996-05-12 Richard Stallman <rms@gnu.org>
2182
2183 * bison.simple:
2184 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
2185
21861996-05-11 Richard Stallman <rms@gnu.org>
2187
2188 * src/bison.s1 (__yy_memcpy):
2189 Really reorder the args, as was supposedly done on Feb 14 1995.
2190 (yyparse): Calls changed accordingly.
2191
21921996-05-11 Richard Stallman <rms@gnu.org>
2193
2194 * Makefile.in (dist): Don't use $(srcdir).
2195
2196 * bison.simple (__yy_memcpy):
2197 Really reorder the args, as was supposedly done on Feb 14 1995.
2198 (yyparse): Calls changed accordingly.
2199
22001996-01-27 Richard Stallman <rms@gnu.org>
2201
2202 * src/output.c (output_rule_data):
2203 Test YYERROR_VERBOSE in the conditional
2204 around the definition of ttyname.
2205
22061995-12-29 Richard Stallman <rms@gnu.org>
2207
2208 * src/bison.s1:
2209 Fix line numbers in #line commands.
2210
22111995-12-29 Richard Stallman <rms@gnu.org>
2212
2213 * bison.simple:
2214 Fix line numbers in #line commands.
2215
22161995-12-27 Richard Stallman <rms@gnu.org>
2217
2218 * src/bison.s1 (YYPARSE_PARAM_DECL):
2219 In C++, make it always null.
2220 (YYPARSE_PARAM_ARG): New macro.
2221 (yyparse): Use YYPARSE_PARAM_ARG.
2222
22231995-12-27 Richard Stallman <rms@gnu.org>
2224
2225 * bison.simple (YYPARSE_PARAM_DECL):
2226 In C++, make it always null.
2227 (YYPARSE_PARAM_ARG): New macro.
2228 (yyparse): Use YYPARSE_PARAM_ARG.
2229
22301995-11-29 Richard Stallman <rms@gnu.org>
2231
2232 * doc/bison.texinfo:
2233 Describe literal string tokens, %raw, %no_lines, %token_table.
2234
22351995-11-29 Daniel Hagerty <hag@gnu.org>
2236
2237 * doc/bison.texinfo: Fixed update date
2238
22391995-10-16 Richard Stallman <rms@gnu.org>
2240
2241 * src/version.c: Version 1.25.
2242
22431995-10-16 Richard Stallman <rms@gnu.org>
2244
2245 * NEWS: *** empty log message ***
2246
22471995-10-16 Richard Stallman <rms@gnu.org>
2248
2249 * doc/bison.1, doc/bison.rnh:
2250 Add new options.
2251
22521995-10-15 Richard Stallman <rms@gnu.org>
2253
2254 * src/vmsgetargs.c, src/getargs.c:
2255 Added -n, -k, and -raw switches.
2256 (noparserflag, toknumflag, rawtoknumflag): New variables.
2257
2258 * src/symtab.h (SALIAS):
2259 New #define for adding aliases to %token.
2260 (struct bucket): Added `alias' field.
2261
2262 * src/reduce.c (reduce_grammar):
2263 Revise error message.
2264 (print_notices): Remove final `.' from error message.
2265
2266 * src/reader.c (reader_output_yylsp):
2267 New function.
2268 (readgram): Use `#if 0' around code that accepted %command
2269 inside grammar rules: The documentation doesn't allow it,
2270 and it will fail since the %command processors scan for the next %.
2271 (parse_token_decl): Extended the %token
2272 declaration to allow a multi-character symbol as an alias.
2273 (parse_thong_decl): New function.
2274 (read_declarations): Added %thong declarations.
2275 (read_declarations): Handle NOOP to deal with allowing
2276 % declarations as another means to specify the flags.
2277 (readgram): Allow %prec prior to semantics embedded in a rule.
2278 (skip_to_char, read_declarations, copy_definition)
2279 (parse_token_decl, parse_start_decl, parse_type_decl)
2280 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
2281 (get_type_name, copy_guard, copy_action, readgram)
2282 (get_type, packsymbols): Revised most error messages.
2283 Changed `fatal' to `warnxxx' to avoid aborting for error.
2284 Revised and use multiple warnxxx functions to avoid using VARARGS1.
2285 (read_declarations): Improve the error message for
2286 an invalid character. Do not abort.
2287 (read_declarations, copy_guard, copy_action): Use
2288 printable_version to avoid unprintable characters in printed output.
2289 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
2290 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
2291 Allow the type of a non-terminal can be given
2292 more than once, as long as all specifications give the same type.
2293
2294 * src/output.c:
2295 (output_headers, output_trailers, output, output_gram)
2296 (output_rule_data): Implement noparserflag variable.
2297 Implement toknumflag variable.
2298 (output): Call reader_output_yylsp to output LTYPESTR.
2299
2300 * src/main.c (main):
2301 If reader sees an error, don't process the grammar.
2302 (fatals): Updated to not use VARARGS1.
2303 (printable_version, int_to_string, warn, warni, warns, warnss)
2304 (warnsss): New error reporting functions. Avoid abort for error.
2305
2306 * src/lex.h:
2307 Added THONG and NOOP for alias processing.
2308 Added SETOPT for the new code that allows setting options with %flags.
2309
2310 * src/lex.c:
2311 Include getopt.h. Add some extern decls.
2312 (safegetc): New function to deal with EOF gracefully.
2313 (literalchar); new function to deal with reading \ escapes.
2314 (lex): Use literalchar.
2315 (lex): Implemented "..." tokens.
2316 (literalchar, lex, parse_percent_token): Made tokenbuffer
2317 always contain the token. This includes growing the token
2318 buffer while reading an integer.
2319 (parse_percent_token): Replaced if-else statement with percent_table.
2320 (parse_percent_token): Added % declarations as another
2321 way to specify the flags -n, -l, and -r. Also added hooks for
2322 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
2323 major changes to files.c.
2324 (lex) Retain in the incoming stream a character following
2325 an incorrect '/'.
2326 (skip_white_space, lex): Revised most error messages
2327 and changed fatal to warn to avoid aborting.
2328 (percent_table): Added %thong declarations.
2329
2330 * src/gram.h: Comment changes.
2331
2332 * src/files.c (openfiles, open_extra_files, done):
2333 Add faction flag
2334 and actfile file. Handle noparserflag. Both for -n switch.
2335
2336 * src/conflicts.c (resolve_sr_conflict):
2337 Remove use of alloca.
2338
23391995-06-01 Jim Meyering <meyering@gnu.org>
2340
2341 * doc/bison.texinfo: *** empty log message ***
2342
23431995-05-06 Richard Stallman <rms@gnu.org>
2344
2345 * src/bison.s1: Comment change.
2346
23471995-05-06 Richard Stallman <rms@gnu.org>
2348
2349 * bison.simple: Comment change.
2350
23511995-05-03 Richard Stallman <rms@gnu.org>
2352
2353 * src/version.c: Version now 1.24.
2354
2355 * src/bison.s1: Change distribution terms.
2356
2357 * src/version.c: Version now 1.23.
2358
23591995-05-03 Richard Stallman <rms@gnu.org>
2360
2361 * doc/bison.texinfo:
2362 Rewrite "Conditions for Using Bison".
2363 Update version to 1.24.
2364
23651995-05-03 Richard Stallman <rms@gnu.org>
2366
2367 * bison.simple: Change distribution terms.
2368
23691995-02-23 Richard Stallman <rms@gnu.org>
2370
2371 * src/files.c: Test __VMS_POSIX as well as VMS.
2372
23731995-02-14 Jim Meyering <meyering@gnu.org>
2374
2375 * src/bison.s1 (__yy_memcpy):
2376 Renamed from __yy_bcopy to avoid
2377 confusion. Reverse FROM and TO arguments to be consistent with
2378 those of memcpy.
2379
23801995-02-14 Jim Meyering <meyering@gnu.org>
2381
2382 * bison.simple (__yy_memcpy):
2383 Renamed from __yy_bcopy to avoid
2384 confusion. Reverse FROM and TO arguments to be consistent with
2385 those of memcpy.
2386
23871994-11-10 David J. MacKenzie <djm@gnu.org>
2388
2389 * NEWS: reformat
2390
2391 * NEWS: New file.
2392
2393 * Makefile.in (DISTFILES): Include NEWS.
2394
2395 * Makefile.in (DISTFILES):
2396 Include install-sh, not install.sh.
2397
2398 * configure.in: Update to Autoconf v2 macro names.
2399
24001994-10-05 David J. MacKenzie <djm@gnu.org>
2401
2402 * Makefile.in: fix typo
2403
2404 * Makefile.in (prefix, exec_prefix):
2405 Let configure set them.
2406
24071994-09-28 David J. MacKenzie <djm@gnu.org>
2408
2409 * Makefile.in: Set datadir to $(prefix)/share.
2410
24111994-09-15 Richard Stallman <rms@gnu.org>
2412
2413 * src/bison.s1:
2414 Update copyright notice and GPL version.
2415
24161994-09-15 Richard Stallman <rms@gnu.org>
2417
2418 * bison.simple:
2419 Update copyright notice and GPL version.
2420
24211994-07-12 Richard Stallman <rms@gnu.org>
2422
2423 * src/reduce.c, src/reader.c:
2424 entered into RCS
2425
24261994-05-05 David J. MacKenzie <djm@gnu.org>
2427
2428 * Makefile.in: entered into RCS
2429
24301994-03-26 Richard Stallman <rms@gnu.org>
2431
2432 * src/bison.s1: entered into RCS
2433
24341994-03-26 Richard Stallman <rms@gnu.org>
2435
2436 * bison.simple: entered into RCS
2437
24381994-03-25 Richard Stallman <rms@gnu.org>
2439
2440 * src/main.c: entered into RCS
2441
24421994-03-24 Richard Stallman <rms@gnu.org>
2443
2444 * src/conflicts.c: entered into RCS
2445
24461994-01-02 Richard Stallman <rms@gnu.org>
2447
2448 * Makefile.in: *** empty log message ***
2449
24501993-11-21 Richard Stallman <rms@gnu.org>
2451
2452 * src/bison.s1: *** empty log message ***
2453
24541993-11-21 Richard Stallman <rms@gnu.org>
2455
2456 * doc/bison.texinfo: entered into RCS
2457
2458 * doc/bison.texinfo: *** empty log message ***
2459
24601993-11-21 Richard Stallman <rms@gnu.org>
2461
2462 * bison.simple: *** empty log message ***
2463
24641993-10-25 David J. MacKenzie <djm@gnu.org>
2465
2466 * doc/bison.texinfo: *** empty log message ***
2467
24681993-10-19 Richard Stallman <rms@gnu.org>
2469
2470 * src/bison.s1: *** empty log message ***
2471
24721993-10-19 Richard Stallman <rms@gnu.org>
2473
2474 * bison.simple: *** empty log message ***
2475
24761993-10-14 Richard Stallman <rms@gnu.org>
2477
2478 * src/bison.s1: *** empty log message ***
2479
24801993-10-14 Richard Stallman <rms@gnu.org>
2481
2482 * bison.simple: *** empty log message ***
2483
24841993-09-14 David J. MacKenzie <djm@gnu.org>
2485
2486 * doc/bison.texinfo: *** empty log message ***
2487
24881993-09-13 Noah Friedman <friedman@gnu.org>
2489
2490 * Makefile.in: *** empty log message ***
2491
24921993-09-10 Richard Stallman <rms@gnu.org>
2493
2494 * src/conflicts.c: *** empty log message ***
2495
2496 * src/system.h: entered into RCS
2497
24981993-09-10 Richard Stallman <rms@gnu.org>
2499
2500 * doc/bison.1: entered into RCS
2501
25021993-09-06 Noah Friedman <friedman@gnu.org>
2503
2504 * src/version.c: entered into RCS
2505
25061993-09-06 Noah Friedman <friedman@gnu.org>
2507
2508 * Makefile.in: *** empty log message ***
2509
25101993-07-30 David J. MacKenzie <djm@gnu.org>
2511
2512 * Makefile.in: *** empty log message ***
2513
25141993-07-24 Richard Stallman <rms@gnu.org>
2515
2516 * src/bison.s1: *** empty log message ***
2517
25181993-07-24 Richard Stallman <rms@gnu.org>
2519
2520 * bison.simple: *** empty log message ***
2521
25221993-07-08 David J. MacKenzie <djm@gnu.org>
2523
2524 * Makefile.in: *** empty log message ***
2525
25261993-07-04 Richard Stallman <rms@gnu.org>
2527
2528 * src/bison.s1: *** empty log message ***
2529
25301993-07-04 Richard Stallman <rms@gnu.org>
2531
2532 * bison.simple: *** empty log message ***
2533
25341993-06-26 David J. MacKenzie <djm@gnu.org>
2535
2536 * src/getargs.c: entered into RCS
2537
25381993-06-26 David J. MacKenzie <djm@gnu.org>
2539
2540 * doc/bison.texinfo: *** empty log message ***
2541
2542 * doc/bison.1: New file.
2543
25441993-06-25 Richard Stallman <rms@gnu.org>
2545
2546 * src/getargs.c: New file.
2547
25481993-06-16 Richard Stallman <rms@gnu.org>
2549
2550 * src/bison.s1: *** empty log message ***
2551
25521993-06-16 Richard Stallman <rms@gnu.org>
2553
2554 * bison.simple: *** empty log message ***
2555
25561993-06-03 Richard Stallman <rms@gnu.org>
2557
2558 * src/bison.s1: New file.
2559
25601993-06-03 Richard Stallman <rms@gnu.org>
2561
2562 * doc/bison.texinfo: *** empty log message ***
2563
25641993-06-03 Richard Stallman <rms@gnu.org>
2565
2566 * bison.simple: New file.
2567
25681993-05-19 Richard Stallman <rms@gnu.org>
2569
2570 * doc/bison.texinfo: New file.
2571
25721993-05-07 Noah Friedman <friedman@gnu.org>
2573
2574 * Makefile.in: *** empty log message ***
2575
25761993-04-28 Noah Friedman <friedman@gnu.org>
2577
2578 * src/reader.c: *** empty log message ***
2579
25801993-04-23 Noah Friedman <friedman@gnu.org>
2581
2582 * src/alloc.h: entered into RCS
2583
25841993-04-20 David J. MacKenzie <djm@gnu.org>
2585
2586 * src/version.c: *** empty log message ***
2587
2588 * src/files.c, src/allocate.c:
2589 entered into RCS
2590
2591 * src/reader.c: *** empty log message ***
2592
2593 * src/lex.c: entered into RCS
2594
2595 * src/conflicts.c: New file.
2596
2597 * src/symtab.c: entered into RCS
2598
2599 * src/alloc.h: New file.
2600
2601 * src/LR0.c: entered into RCS
2602
26031993-04-18 Noah Friedman <friedman@gnu.org>
2604
2605 * src/reader.c: New file.
2606
2607 * src/version.c: *** empty log message ***
2608
26091993-04-18 Noah Friedman <friedman@gnu.org>
2610
2611 * Makefile.in: *** empty log message ***
2612
26131993-04-17 Noah Friedman <friedman@gnu.org>
2614
2615 * Makefile.in: *** empty log message ***
2616
26171993-04-15 Richard Stallman <rms@gnu.org>
2618
2619 * src/main.c, src/files.c:
2620 New file.
2621
26221993-04-15 Noah Friedman <friedman@gnu.org>
2623
2624 * configure.in: entered into RCS
2625
2626 * configure.in: *** empty log message ***
2627
2628 * configure.in: New file.
2629
26301993-04-14 Richard Stallman <rms@gnu.org>
2631
2632 * Makefile.in: New file.
2633
26341993-04-13 Richard Stallman <rms@gnu.org>
2635
2636 * src/version.c: New file.
2637
26381993-03-25 Richard Stallman <rms@gnu.org>
2639
2640 * src/output.c: entered into RCS
2641
26421992-09-25 Richard Stallman <rms@gnu.org>
2643
2644 * configure.bat: entered into RCS
2645
26461992-06-22 Richard Stallman <rms@gnu.org>
2647
2648 * src/vmsgetargs.c: entered into RCS
2649
26501992-06-22 Richard Stallman <rms@gnu.org>
2651
2652 * doc/bison.rnh: entered into RCS
2653
26541992-04-20 David J. MacKenzie <djm@gnu.org>
2655
2656 * README: entered into RCS
2657
26581992-01-22 Richard Stallman <rms@gnu.org>
2659
2660 * src/machine.h: entered into RCS
2661
26621991-12-21 Richard Stallman <rms@gnu.org>
2663
2664 * src/lalr.c, src/closure.c:
2665 entered into RCS
2666
26671991-12-20 Richard Stallman <rms@gnu.org>
2668
2669 * src/state.h: entered into RCS
2670
26711991-12-18 Richard Stallman <rms@gnu.org>
2672
2673 * src/print.c, src/nullable.c, src/derives.c:
2674 entered into RCS
2675
26761991-11-03 David J. MacKenzie <djm@gnu.org>
2677
2678 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
2679 entered into RCS
2680
26811988-09-09 Richard Stallman <rms@gnu.org>
2682
2683 * src/bison.hairy: entered into RCS
2684
26851987-12-16 Richard Stallman <rms@gnu.org>
2686
2687 * REFERENCES: entered into RCS