]> git.saurik.com Git - bison.git/blame - ChangeLog
Update.
[bison.git] / ChangeLog
CommitLineData
25b222fa
MA
12001-09-21 Marc Autret <autret_m@epita.fr>
2
3 * src/reader.c (copy_definition, parse_union_decl): Update and use
4 `linef' muscle.
5 (copy_action): Likewise.
6 Use obstack_1grow ().
7 * src/muscle_tab.c (muscle_init): Add muscle `linef'.
8
6bc35ae5
MA
92001-09-21 Marc Autret <autret_m@epita.fr>
10
11 * src/options.c (option_table): Adjust.
12 * src/lex.c (parse_percent_token): Fix.
13
c0629aa1
PB
142001-09-20 Pascal Bart <pascal.bart@epita.fr>
15
16 * src/options.c (symtab.h): Include it, need by lex.h.
17
82b6d266
PB
182001-09-20 Pascal Bart <pascal.bart@epita.fr>
19
20 * src/lex.c (parse_percent_token): Change type of variable `tx', which
21 is now an option_table_struct*.
22 (option_strcmp): New function option_strcmp.
23 (parse_percent_token): Call option_strcmp.
24 * src/getargs.c (xalloc.h, options.h): Include it.
25 (getargs): Call create_long_option_table.
26 (getargs): Free longopts at the end of the function.
27 (shortopts): Move in options.c.
28 * src/options.c (create_long_option_table): New function. Convert
29 information from option_table to option structure.
30 * src/reader.c (options.h): Include it.
31
32 * src/Makefile.am: Adjust.
33 * src/options.c (option_table): Create from longopts and percent_table.
34 * src/getargs.c (longopts): Delete.
35 * src/lex.c (struct percent_table_struct): Delete.
36 (percent_table): Delete.
37 (options.h): Include it.
38 * src/options.c: Create.
39 * src/options.h: Create.
40 Declare enum opt_access_e.
41 Define struct option_table_struct.
42
75f5aaea
MA
432001-09-20 Marc Autret <autret_m@epita.fr>
44
45 * doc/bison.texinfo: Adjust terminologies about prologue and epilogue
46 sections of Bison.
47
f508cb0a
PB
482001-09-19 Pascal Bart <pascal.bart@epita.fr>
49
50 * src/bison.simple: s/%%filename/%%skeleton.
51 * src/muscle_tab.c (getargs.h): Include it.
52 (muscle_init): Insert new muscle skeleton.
53
13105fc1
PB
542001-09-18 Pascal Bart <pascal.bart@epita.fr>
55
56 * src/output.c (output_parser): Delete unused variable actions_dumped.
57
b0c4483e
PB
582001-09-07 Pascal Bart <pascal.bart@epita.fr>
59
60 * src/output.c (output): Delete call to reader_output_yylsp.
61 * src/reader.c (reader): Likewise.
62 * src/reader.h: Delete declaration of reader_output_yylsp.
63
11d82f03
MA
642001-09-02 Marc Autret <autret_m@epita.fr>
65
66 * src/reader.c: Include muscle_tab.h.
67 (parse_union_decl): Update.
68 (parse_macro_decl): Rename parse_muscle_decl.
69 Update to use renamed functions and variable.
70 (read_declarations, copy_action, read_additionnal_code, : Updated
71 with correct variables and functions names.
72 (packsymbols, reader): Likewise.
73
74 * src/reader.h (muscle_obstack): Extern declaration update.
75
76 * src/output.c: Include muscle_tab.h
77 In all functions using macro_insert, change by using muscle_insert ().
78 (macro_obstack): Rename muscle_obstack.
79 Echo modifications in the whole file.
80 (MACRO_INSERT_INT): Rename MUSCLE_INSERT_INT.
81 (MACRO_INSERT_STRING): Rename MUSCLE_INSERT_STRING.
82 (MACRO_INSERT_PREFIX): Rename MUSCLE_INSERT_PREFIX.
83
84 * src/muscle_tab.h: Update double inclusion macros.
85 (macro_entry_s): Rename muscle_entry_s.
86 Update prototypes.
87
88 * src/muscle_tab.c: Include muscle_tab.h.
89 Rename macro_tabble to muscle_table.
90 (mhash1, mhash2, mcmp): Use muscle_entry.
91 (macro_init): Rename muscle_init. Update.
92 (macro_insert): Rename muscle_insert. Update.
93 (macro_find): Rename muscle_find. Update.
94
95 * src/main.c: Include muscle_tab.h.
96 (main): Call muscle_init ().
97 * src/Makefile.am (bison_SOURCES): Echo modifications.
98
93a37297
MA
992001-09-02 Marc Autret <autret_m@epita.fr>
100
f753cd62
MA
101 Now the files macro_tab.[ch] are named muscle_tab.[ch].
102
103 * src/muscle_tab.c, src/muscle_tab.h: Add files.
104
1052001-09-02 Marc Autret <autret_m@epita.fr>
106
107 * src/macrotab.c, src/macrotab.h: Remove.
93a37297 108
682d48cd
PB
1092001-09-01 Pascal Bart <pascal.bart@epita.fr>
110
111 * src/reader.c (copy_guard): Use muscle to specify the `#line'
112 filename.
113
087c8fda
MA
1142001-09-01 Marc Autret <autret_m@epita.fr>
115
116 * tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set
117 to an explicit value to activate the feature. We do it here.
118
dda680cb
PB
1192001-08-31 Pascal Bart <pascal.bart@epita.fr>
120
121 * src/output.c (prepare): Delete the `filename' muscule insertion.
122 * src/reader.c (copy_action): Use `filename' muscule with `#line'.
123 (parse_union_decl): Likewise.
124 * src/macrotab.c (macro_init): Initialize filename by infile.
125
9e644e64
MA
1262001-08-31 Marc Autret <autret_m@epita.fr>
127
128 * src/bison.simple (YYLSP_NEEDED): New definition.
129 * src/output.c (prepare): Add macro insertion of `locations_flag'
130
17da6427
PB
1312001-08-31 Pascal Bart <pascal.bart@epita.fr>
132
133 * src/output.c (prepare): Delete insertion of previous muscles,
134 and insert the `prefix' muscles.
135 * src/macrotab.c (macro_init): Likewise.
136 (macro_init): Initialization prefix directive by `yy'.
137 * src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval,
138 %%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar,
139 yylval, yydebug, yyerror, yynerrs and yyparse.
140 New directive `#define' to substitute yydebug, ... with option
141 name_prefix.
142
e8cb70b9
PB
1432001-08-31 Pascal Bart <pascal.bart@epita.fr>
144
145 * src/main.c (main): Standardize.
146 * src/output.c (output_table_data, output_parser): Likewise.
147 * src/macrotab.h, src/macrotab.c, src/bison.simple: Likewise.
148
63c2d5de
MA
1492001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr>
150
151 * src/reader.c (read_additionnal_code): Rename %%user_code to
152 %%epilogue.
153 * src/output.c (output): Rename %%declarations to %%prologue.
154 * src/bison.simple: Echo modifications.
155
d8cb5183
MA
1562001-08-31 Marc Autret <autret_m@epita.fr>
157
158 * src/reader.c (readgram): CleanUp.
159 (output_token_defines): Likewise.
160 (packsymbols): Likewise.
161 (reader): Likewise.
162 * src/output.c (output): CPP-out useless code.
163
6c686258
PB
1642001-08-31 Pascal Bart <pascal.bart@epita.fr>
165
166 * src/reader.c (reader): Delete obsolete call to function
167 output_trailers and output_headers.
168 * src/output.h: Remove obsolete functions prototypes of output_headers
169 and output_trailers.
170
8f451ef7
PB
1712001-08-30 Pascal Bart <pascal.bart@epita.fr>
172
173 * src/main.c: Include macrotab.h.
174 * src/macrotab.h (macro_entry_s): Constify fields.
175 Adjust functions prototypes.
176 * src/macrotab.c (macro_insert): Constify key and value.
177 (macro_find): Constify key.
178 (macro_insert): Include 'xalloc.h'
179 (macro_insert): Use XMALLOC.
180 (macro_find): Constify return value.
181 * src/output.c (output_table_data): Rename table to table_data.
182 (output_parser): Constify macro_key, macro_value.
183
997b6fd0 1842001-08-30 Marc Autret <autret_m@epita.fr>
2ba3b73c
MA
185
186 * src/reader.c (parse_skel_decl): New.
187 (read_declarations): Add case `tok_skel', call parse_skel_decl ().
188 * src/lex.h (token_t): New token `tok_skel'.
189 * src/lex.c (percent_table): Add skeleton option entry.
190 Standardize.
191
ff48177d
MA
1922001-08-29 Marc Autret <autret_m@epita.fr>
193
194 * src/bison.simple: Add %%user_code directive at the end.
195 * src/reader.c (read_additionnal_code): New.
196 (reader): Use it.
197 * src/output.c (output_program): Remove.
198 (output): Update.
199
b33160bf
MA
2002001-08-28 Marc Autret <autret_m@epita.fr>
201
202 * src/output.c (output_actions): Clean up.
4e5caae2 203 (output_gram): CPP-out useless code.
b33160bf
MA
204 * src/reader.c (reader): Clean up, CPP-out useless code.
205
d1a2daf7
PB
2062001-08-28 Pascal Bart <pascal.bart@epita.fr>
207
535c0e75
PB
208 * src/output.c (output): Copy attrs_obstack in the '%%definitions'
209 directive.
d1a2daf7
PB
210 * src/bison.simple: Add `%%definitions'.
211
2b763dfe
MA
2122001-08-28 Marc Autret <autret_m@epita.fr>
213
214 * config/depcomp: New file.
215
f1a87ef6
PE
2162001-08-27 Paul Eggert <eggert@twinsun.com>
217
218 * src/bison.simple (yyparse): Don't take the address of an
219 item before the start of an array, as that doesn't conform to
220 the C Standard.
221
82e236e2
RA
2222001-08-27 Robert Anisko <robert.anisko@epita.fr>
223
f1a87ef6 224 * src/output.c (output): Remove the initialization of the macro
82e236e2
RA
225 obstack. It was done too late here.
226
227 * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was
228 completely wrong.
229 (reader): Initialize the macro obstack here, since we need it to grow
230 '%define' directives.
231
232 * src/reader.h: Declare the macro obstack as extern.
233
b0cfa28a
RA
2342001-08-27 Robert Anisko <robert.anisko@epita.fr>
235
236 * src/output.c (output_parser): Fix. Store single '%' characters in
237 the output obstack instead of throwing them away.
238
6fc74234
AD
2392001-08-27 Akim Demaille <akim@epita.fr>
240
241 * Makefile.am (AUTOMAKE_OPTIONS): 1.5.
242
9c76d118
RA
2432001-08-25 Robert Anisko <robert.anisko@epita.fr>
244
245 * lib/Makefile.am: Adjust.
246
a8289c62
RA
2472001-08-25 Robert Anisko <robert.anisko@epita.fr>
248
249 * src/bison.simple: Update and add '%%' directives.
250
b6610515
RA
2512001-08-25 Robert Anisko <robert.anisko@epita.fr>
252
253 * src/reader.c (reader): Remove calls to 'output_headers' and
254 'output_trailers'. Remove some C output.
255 (readgram): Disable a piece of code that was writing a default
256 definition for 'YYSTYPE'.
257 (reader_output_yylsp): Remove.
258 (packsymbols): Output token defintions to a macro.
259 (copy_definition): Disable C output.
6fc74234 260
b6610515
RA
261 * src/reader.c (parse_macro_decl): New function used to parse macro
262 declarations.
263 (copy_string2): Put the body of copy_string into this new function.
264 Add a parameter to let the caller choose whether he wants to copy the
265 string delimiters or not.
266 (copy_string): Be a simple call to copy_string2 with the last argument
267 bound to true.
268 (read_declarations): Add case for macro definition.
269 (copy_identifier): New.
6fc74234 270 (parse_macro_decl): Read macro identifiers using copy_identifier
b6610515
RA
271 rather than lex.
272
26f609ff
RA
2732001-08-25 Robert Anisko <robert.anisko@epita.fr>
274
275 * src/output.c (prepare): Add prefixed names.
276 (output_parser): Output semantic actions.
277 (output_parser): Fix bug on '%%line' directives.
6fc74234 278
26f609ff
RA
279 * src/output.c (output_headers): Remove. The C code printed by this
280 function should now be in the skeletons.
281 (output_trailers): Remove.
282 (output): Disable call to 'reader_output_yylsp'.
283 (output_rule_data): Do not output tables to the table obstack.
284
285 * src/output.c: Remove some C dedicated output.
286 Improve the use of macro and output obstacks.
287 (output_defines): Remove.
6fc74234 288
26f609ff
RA
289 * src/output.c (output_token_translations): Associate 'translate'
290 table with a macro. No output to the table obstack.
291 (output_gram): Same for 'rhs' and 'prhs'.
292 (output_stos): Same for 'stos'.
293 (output_rule_data): Same for 'r1' and 'r2'.
294 (token_actions): Same for 'defact'.
295 (goto_actions): Same for 'defgoto'.
296 (output_base): Same for 'pact' and 'pgoto'.
297 (output_table): Same for 'table'.
298 (output_check): Same for 'check'.
6fc74234 299
26f609ff
RA
300 * src/output.c (output_table_data): New function.
301 (output_short_table): Remove.
302 (output_short_or_char_table): Remove.
6fc74234 303
26f609ff
RA
304 * src/output.c (output_parser): Replace most of the skeleton copy code
305 with something new. Skeletons are now processed character by character
306 rather than line by line, and Bison looks for '%%' macros. This is the
307 first step in making Bison's output process (a lot) more flexible.
308 (output_parser): Use the macro table.
309
6f43b113
RA
3102001-08-25 Robert Anisko <robert.anisko@epita.fr>
311
312 * src/main.c (main): Initialize the macro table.
313
dd3127cf
RA
3142001-08-25 Robert Anisko <robert.anisko@epita.fr>
315
316 * src/lex.c (percent_table): Add tok_define.
317 * src/lex.h: Add tok_define.
318
aa321494
RA
3192001-08-25 Robert Anisko <robert.anisko@epita.fr>
320
321 * src/macrotab.c: New file.
322 * src/macrotab.h: New file.
323 * src/Makefile.am: Update.
324
68bd3b6b
RA
3252001-08-25 Robert Anisko <robert.anisko@epita.fr>
326
327 * lib/hash.c: New file.
328 * lib/hash.h: New file.
329 * lib/Makefile.am: Update.
330
45f8dd1e
AD
3312001-08-15 Akim Demaille <akim@epita.fr>
332
333 Version 1.28c.
334
40a64a7a 3352001-08-15 Marc Autret <autret_m@epita.fr>
0b8afb77
AD
336
337 * src/reader.c (readgram): Indent output macro YYSTYPE.
338 (packsymbols): Likewise.
339 (output_token_defines): Likewise.
340 * src/files.c: Standardize.
341 (compute_header_macro): New.
342 (defines_obstack_save): New. Use compute_header_macro.
343 (output_files): Update. Use defines_obstack_save.
344
f9a8293a
AD
3452001-08-15 Akim Demaille <akim@epita.fr>
346
347 * doc/bison.texinfo (Table of Symbols): Document
348 YYSTACK_USE_ALLOCA.
349
150ca7a7
AD
3502001-08-15 Akim Demaille <akim@epita.fr>
351
352 * missing: Update from CVS Automake.
353 * config/config.guess, config/config.sub, config/texinfo.tex:
354 Update from gnu.org.
355
69b5cec4
AD
3562001-08-15 Akim Demaille <akim@epita.fr>
357
358 * Makefile.maint: Sync with CVS Autoconf.
359
f2b5126e
PB
3602001-08-14 Pascal Bart <pascal.bart@epita.fr>
361
69b5cec4 362 * doc/bison.texinfo: Include GNU Free Documentation License from
f2b5126e
PB
363 `fdl.texi'.
364 * doc/fdl.texi: Add to package.
365
4ecbf796
MA
3662001-08-14 Marc Autret <autret_m@epita.fr>
367
368 Turn on %{source,header}_extension features.
369
69b5cec4 370 * src/lex.c (percent_table): Un-CPP out header_extension and
4ecbf796
MA
371 source_extension.
372 * src/files.c (compute_exts_from_gf): Compare pointers with NULL.
69b5cec4 373 (compute_exts_from_src): Remove conditions. It restores priorities
4ecbf796
MA
374 between options.
375
95fb5662
MA
3762001-08-14 Marc Autret <autret_m@epita.fr>
377
378 * src/files.c (compute_base_names): Add extensions computing when
379 `--file-prefix' used.
380 Standardize function calls.
381
78d09da9
MA
3822001-08-13 Marc Autret <autret_m@epita.fr>
383
69b5cec4 384 * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users
78d09da9
MA
385 defining it (defined but null disables alloca).
386
5a009f2c
MA
3872001-08-13 Marc Autret <autret_m@epita.fr>
388
389 * src/bison.simple (_yy_memcpy): CPP reformat.
390
1e41465a
PB
3912001-08-13 Pascal Bart <pascal.bart@epita.fr>
392
393 * tests/atconfig.in (CPPFLAGS): Fix.
394
c67a198d
PB
3952001-08-10 Pascal Bart <pascal.bart@epita.fr>
396
79282c6c 397 * doc/bison.texinfo: Include GNU General Public License from
c67a198d
PB
398 `gpl.texi'.
399 * doc/gpl.texi: Add to package.
400
09a6de7e
MA
4012001-08-10 Marc Autret <autret_m@epita.fr>
402
403 * src/print_graph.h: Fix.
404 * src/reader.c (read_declarations): Use parse_header_extension_decl ().
405
b77b9ee0
AD
4062001-08-10 Akim Demaille <akim@epita.fr>
407
408 * src/system.h: Provide default declarations for stpcpy, strndup,
409 and strnlen.
410
3e259915
MA
4112001-08-10 Robert Anisko <anisko_r@epita.fr>
412
413 * doc/bison.texinfo (Locations): Update @$ stuff.
414
ca96bc2d
MA
4152001-08-09 Robert Anisko <anisko_r@epita.fr>
416
417 * src/bison.simple (YYLLOC_DEFAULT): Update.
418 (yyparse): Adjust.
419
fdc6758b
MA
4202001-08-08 Marc Autret <autret_m@epita.fr>
421
b77b9ee0 422 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
fdc6758b
MA
423 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
424 Reported by Fabrice Bauzac.
957d4dbf 425
600cad3b
MA
4262001-08-08 Marc Autret <autret_m@epita.fr>
427
428 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
429 * src/vcg.c (output_node): Fix.
430 * src/vcg.h: Cleanup.
431 * src/print_graph.c: Add comments.
b77b9ee0 432 (node_output_size): New global variable. Simplify the formatting of
600cad3b 433 the VCG graph output.
b77b9ee0 434 (print_actions): Unused code is now used. It notifies the final state
600cad3b 435 and no action states in the VCG graph. It also give the reduce actions.
b77b9ee0 436 The `shift and goto' edges are red and the `go to state' edges are
600cad3b
MA
437 blue.
438 Get the current node name and node_obstack by argument.
439 (node_obstack): New variable.
440 (print_state): Manage node_obstack.
441 (print_core): Use node_obstack given by argument.
442 A node is not only computed here but in print_actions also.
443 (print_graph): CPP out useless code instead of commenting it.
444
976e528f
AD
4452001-08-07 Pascal Bart <pascal.bart@epita.fr>
446
447 * tests/atconfig.in (CPPFLAGS): Fix.
448
20e8e5ca
AD
4492001-08-07 Akim Demaille <akim@epita.fr>
450
451 * src/print_graph.c (quote): New.
452 (print_core): Use it.
453
957d4dbf 4542001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
3e3da797 455
3e3da797
AD
456 * src/vcg.c (complain.h): Include it.
457 Unepitaize `return' invocations.
c4b66126 458 [NDEBUG] (main): Remove.
79282c6c 459 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members.
c4b66126
AD
460 * src/files.c (open_files): Initialize graph_obstack.
461 * src/print_graph.c (print_actions): CPP out useless code.
462 (print_core): Don't output the last `\n' in labels.
463 Use `quote'.
464 * src/files.c (output_files): Output the VCG file.
465 * src/main.c (main): Invoke print_graph ();
3e3da797 466
957d4dbf 4672001-08-06 Marc Autret <autret_m@epita.fr>
22c2cbc0
AD
468
469 Automaton VCG graph output.
470 Using option ``-g'' or long option ``--graph'', you can generate
471 a gram_filename.vcg file containing a VCG description of the LALR (1)
472 automaton of your grammar.
473
474 * src/main.c: Call to print_graph() function.
475 * src/getargs.h: Update.
476 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
477 (graph_flag): New flag.
478 (longopts): Update.
479 (getargs): Add case `g'.
480 * src/files.c (graph_obstack): New obstack struct.
481 (open_files): Initialize new obstack.
482 (output_files): Saves graph_obstack if required.
483 * src/files.h (graph_obstack): New extern declaration.
484 * src/Makefile.am: Add new source files.
485
957d4dbf 4862001-08-06 Marc Autret <autret_m@epita.fr>
ce4d5ce0
AD
487
488 * src/print_graph.c, src/print_graph.h (graph): New.
489 * src/vcg.h: New file.
490 * src/vcg.c: New file, VCG graph handling.
491
7333d403
AD
4922001-08-06 Marc Autret <autret_m@epita.fr>
493
494 Add of %source_extension and %header_extension which specify
495 the source or/and the header output file extension.
496
497 * src/files.c (compute_base_names): Remove initialisation of
498 src_extension and header_extension.
499 (compute_exts_from_gf): Update.
500 (compute_exts_from_src): Update.
501 (output_files): Update.
502 * src/reader.c (parse_header_extension_decl): New.
503 (parse_source_extension_decl): New.
504 (read_declarations): New case statements for the new tokens.
505 * src/lex.c (percent_table): Add entries for %source_extension
506 and %header_extension.
507 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
508
84163231
AD
5092001-08-06 Marc Autret <autret_m@epita.fr>
510
511 * configure.in: Bump to 1.28c.
512 * doc/bison.texinfo: Texinfo thingies.
513
8303fc42
AD
5142001-08-04 Pascal Bart <pascal.bart@epita.fr>
515
516 * tests/atconfig.in (CPPFLAGS): Add.
517 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
518
70a84437
AD
5192001-08-03 Akim Demaille <akim@epita.fr>
520
521 Version 1.28b.
522
2ce10144
AD
5232001-08-03 Akim Demaille <akim@epita.fr>
524
525 * tests/Makefile.am (check-local): Ship testsuite.
526 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
527 Include `string.h'.
528
1e3e4bc1
AD
5292001-08-03 Akim Demaille <akim@epita.fr>
530
531 * configure.in: Try using -Wformat when compiling.
532
42b45b7f
AD
5332001-08-03 Akim Demaille <akim@epita.fr>
534
535 * configure.in: Bump to 1.28b.
536
8f13fe33
AD
5372001-08-03 Akim Demaille <akim@epita.fr>
538
539 * src/complain.c: Adjust strerror_r portability issues.
540
b37ba92c
AD
5412001-08-03 Akim Demaille <akim@epita.fr>
542
543 Version 1.28a.
544
b0ce6046
AD
5452001-08-03 Akim Demaille <akim@epita.fr>
546
547 * src/getargs.c, src/getarg.h (skeleton)): Constify.
548 * src/lex.c (literalchar): Avoid name clashes on `buf'.
549 * src/getargs.c: Include complain.h.
550 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
551 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
552
d01c415b
AD
5532001-08-03 Akim Demaille <akim@epita.fr>
554
555 * src/reader.c (readgram): Display hidden chars in error messages.
556
459dd1a6
AD
5572001-08-03 Akim Demaille <akim@epita.fr>
558
559 Update to gettext 0.10.39.
560
53b74c0c
AD
5612001-08-03 Akim Demaille <akim@epita.fr>
562
563 * lib/strspn.c: New.
564
234a3be3
AD
5652001-08-01 Marc Autret <autret_m@epita.fr>
566
567 * doc/bison.texinfo: Update.
568 * doc/bison.1 (mandoc): Update.
569 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
570 * src/files.c: Support output files extensions computing.
571 (src_extension): New static variable.
572 (header_extension): New static variable.
573 (tr): New function.
574 (get_extension_index): New function, gets the index of an extension
575 filename in a string.
576 (compute_exts_from_gf): New function, computes extensions from the
577 grammar file extension.
578 (compute_exts_from_src): New functions, computes extensions from the
579 C source file extension, file given by ``-o'' option.
580 (compute_base_names): Update.
581 (output_files): Update.
582
847bf1f5
AD
5832001-08-01 Robert Anisko <anisko_r@epita.fr>
584
d995fee7 585 * doc/bison.texi: Document @$.
847bf1f5
AD
586 (Locations): New section.
587
d074a105
AD
5882001-07-18 Akim Demaille <akim@epita.fr>
589
590 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
591 * config/prev-version.txt, config/move-if-change: New.
592 * Makefile.am: Adjust.
593
3419715d
AD
5942001-07-08 Pascal Bart <pascal.bart@epita.fr>
595
596 * src/bison.simple (yyparse): Suppress warning `comparaison
597 between signed and unsigned'.
598
62ab6972
AD
5992001-07-05 Pascal Bart <pascal.bart@epita.fr>
600
601 * src/getargs.h (raw_flag): Remove.
602 * src/getargs.c: Die on `-r'/`--raw'.
603 * src/lex.c (parse_percent_token): Die on `%raw'.
604 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
605 * tests/calc.at: Suppress test with option `--raw'.
606
1e24cc5b
AD
6072001-07-14 Akim Demaille <akim@epita.fr>
608
609 * config/: New.
610 * configure.in: Require Autoconf 2.50.
611 Update to gettext 0.10.38.
612
32dfccf8
AD
6132001-03-16 Akim Demaille <akim@epita.fr>
614
615 * doc/bison.texinfo: ANSIfy the examples.
616
cd5bd6ac
AD
6172001-03-16 Akim Demaille <akim@epita.fr>
618
619 * getargs.c (skeleton): New variable.
620 (longopts): --skeleton is a new option.
621 (shortopts, getargs): -S is a new option.
622 * getargs.h: Declare skeleton.
623 * output.c (output_parser): Use it.
624
5141b016
AD
6252001-03-16 Akim Demaille <akim@epita.fr>
626
627 * m4/strerror_r.m4: New.
628 * m4/error.m4: Run AC_FUNC_STRERROR_R.
629 * lib/error.h, lib/error.c: Update.
630
447992b9
AD
6312001-03-16 Akim Demaille <akim@epita.fr>
632
633 * src/getargs.c (longopts): Clean up.
634
274d42ce
AD
6352001-02-21 Akim Demaille <akim@epita.fr>
636
637 * src/reader.c (gensym): `gensym_count' is your own.
638 Use a static buf to create the symbol name, as token_buffer is no
639 longer a buffer.
640
22c821f3
AD
6412001-02-08 Akim Demaille <akim@epita.fr>
642
643 * src/conflicts.c (conflict_report): Be sure not to append to res
644 between two calls, which could happen if both first sprintf were
645 skipped, but not the first cp += strlen.
646
18569462
AD
6472001-02-08 Akim Demaille <akim@epita.fr>
648
649 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
650 New, from fileutils 4.0.37.
651 * configure.in: Require Autoconf 2.49c. I took some time before
652 making this decision. This is the only way out for portability
653 issues in Bison, it would mean way too much duplicate effort to
654 import in Bison features implemented in 2.49c since 2.13.
655 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
656
0d8f3c8a
AD
6572001-02-02 Akim Demaille <akim@epita.fr>
658
659 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
66075dcf 660 * lib/xalloc.h, lib/xmalloc.c: Update.
0d8f3c8a 661
f17bcd1f
AD
6622001-01-19 Akim Demaille <akim@epita.fr>
663
664 Get rid of the ad hoc handling of token_buffer in the scanner: use
665 the obstacks.
666
667 * src/lex.c (token_obstack): New.
668 (init_lex): Initialize it. No longer call...
669 (grow_token_buffer): this. Remove it.
670 Adjust all the places which used it to use the obstack.
671
511e79b3
AD
6722001-01-19 Akim Demaille <akim@epita.fr>
673
674 * src/lex.h: Rename all the tokens:
675 s/\bENDFILE\b/tok_eof/g;
676 s/\bIDENTIFIER\b/tok_identifier/g;
677 etc.
678 Let them be enums, not #define, to ease debugging.
679 Adjust all the code.
680
0d6508ef
AD
6812001-01-18 Akim Demaille <akim@epita.fr>
682
683 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
684 * src/lex.c (maxtoken, grow_token_buffer): Static.
685
6deb4447
AD
6862001-01-18 Akim Demaille <akim@epita.fr>
687
688 Since we now use obstacks, more % directives can be enabled.
689
690 * src/lex.c (percent_table): Also accept `%yacc',
691 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
692 `%debug'.
693 Handle the actions for `%semantic_parser' and `%pure_parser' here,
694 instead of returning a token.
695 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
696 * src/reader.c (read_declarations): Adjust.
697 * src/files.c (open_files): Don't call `compute_base_names', don't
698 compute `attrsfile' since they depend upon data which might be
699 *in* the input file now.
700 (output_files): Do it here.
701 * src/output.c (output_headers): Document the fact that this patch
702 introduces a guaranteed SEGV for semantic parsers.
703 * doc/bison.texinfo: Document them.
704 * tests/suite.at: Exercise these %options.
705
ff4423cc
AD
7062000-12-20 Akim Demaille <akim@epita.fr>
707
708 Also handle the output file (--verbose) with obstacks.
709
710 * files.c (foutput): Remove.
711 (output_obstack): New.
712 Adjust all dependencies.
713 * src/conflicts.c: Return a string.
714 * src/system.h (obstack_grow_string): Rename as...
715 (obstack_sgrow): this. Be ready to work with non literals.
716 (obstack_fgrow4): New.
717
956dba3a
AD
7182000-12-20 Akim Demaille <akim@epita.fr>
719
720 * src/files.c (open_files): Fix the computation of short_base_name
721 in the case of `-o foo.tab.c'.
722
337bab46
AD
7232000-12-20 Akim Demaille <akim@epita.fr>
724
725 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
726 (copy_dollar): Now that everything uses obstacks, get rid of the
727 FILE * parameters.
728
5d3214b8
AD
7292000-12-20 Akim Demaille <akim@epita.fr>
730
731 * src/files.c (open_files): Actually the `.output' file is based
732 on the short_base_name, not base_name.
733 * tests/suite.at (Checking output file names): Adjust.
734
29092a57
AD
7352000-12-20 Akim Demaille <akim@epita.fr>
736
737 * src/bison.s1: Remove, we now use directly...
738 * src/bison.simple: this.
739 * src/Makefile.am: Use pkgdata instead of data.
740
ea5607fd
AD
7412000-12-20 Akim Demaille <akim@epita.fr>
742
743 * src/files.c (guard_obstack): New.
744 (open_files): Initialize it.
745 (output_files): Dump it...
746 * src/files.h: Export it.
747 * src/reader.c (copy_guard): Use it.
748
27110317
AD
7492000-12-19 Akim Demaille <akim@epita.fr>
750
751 * src/files.c (outfile, defsfile, actfile): Removed as global
752 vars.
753 (open_files): Don't compute them.
754 (output_files): Adjust.
755 (base_name, short_base_name): Be global.
756 Adjust dependencies.
757
19c50364
AD
7582000-12-19 Akim Demaille <akim@epita.fr>
759
760 * src/files.c (strsuffix): New.
761 (stringappend): Be just like strcat but allocate.
762 (base_names): Eve out from open_files.
763 Try to simplify the rather hairy computation of base_name and
764 short_base_name.
765 (open_files): Use it.
766 * tests/suite.at (Checking output file names): New test.
767
573c1d9f
AD
7682000-12-19 Akim Demaille <akim@epita.fr>
769
770 * src/system.h (obstack_grow_literal_string): Rename as...
771 (obstack_grow_string): this.
772 * src/output.c (output_parser): Recognize `%% actions' instead of
773 `$'.
774 * src/bison.s1: s/$/%% actions/.
775 * src/bison.hairy: Likewise.
776
ef7ddedd
AD
7772000-12-19 Akim Demaille <akim@epita.fr>
778
779 * src/output.c (output_parser): Compute the `#line' lines when
780 there are.
781 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
782 Suggested by Hans Aberg.
783
ff61dabd
AD
7842000-12-19 Akim Demaille <akim@epita.fr>
785
786 Let the handling of the skeleton files be local to the procedures
787 that use it.
788
789 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
790 longer static.
791 (fparser, open_extra_files): Remove.
792 (open_files, output_files): Don't take care of fparser.
793 * src/files.h: Adjust.
794 * src/output.c (output_parser): Open and close the file to the
795 skeleton.
796 * src/reader.c (read_declarations): When %semantic_parser, open
797 fguard.
798
55b96341
AD
7992000-12-19 Akim Demaille <akim@epita.fr>
800
801 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
802 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
803
358c15b7
AD
8042000-12-19 Akim Demaille <akim@epita.fr>
805
806 * src/files.c (open_files): Yipee! We no longer need all the code
807 looking for `/tmp' since we have no tmp file.
808
7de3329e
AD
8092000-12-19 Akim Demaille <akim@epita.fr>
810
811 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
812 New macros.
813 * src/files.c (open_files): Less dependency on MSDOS etc.
814
3abcd459
AD
8152000-12-14 Akim Demaille <akim@epita.fr>
816
817 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
818 Provide a default definition.
819 Use it when executing the default @ action.
820 * src/reader.c (reader_output_yylsp): No longer include
821 `timestamp' and `text' in the default YYLTYPE.
822
2a91a95e
AD
8232000-12-12 Akim Demaille <akim@epita.fr>
824
825 * src/reader.c (copy_definition, parse_union_decl, copy_action)
826 (copy_guard): Quote the file names.
827 Reported by Laurent Mascherpa.
828
14d3eb9b
AD
8292000-12-12 Akim Demaille <akim@epita.fr>
830
831 * src/output.c (output_headers, output_program, output): Be sure
832 to escape special characters when outputting filenames.
833 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
834 (output_headers): Don't depend on them, Use ACTSTR.
835
d7045ec6
AD
8362000-11-17 Akim Demaille <akim@epita.fr>
837
838 * lib/obstack.h: Formatting changes.
839 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
840 prevents type checking.
841 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
842 cast the value to (void *): assigning a `foo *' to a `void *'
843 variable is valid.
844 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
845 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
846 append characters.
847
6fd54b73
AD
8482000-11-17 Akim Demaille <akim@epita.fr>
849
850 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
851 as...
852 (suite.m4, regression.m4, calc.m4): these.
853 * tests/atgeneral.m4: Update from CVS Autoconf.
854
4c50eae6
AD
8552000-11-17 Akim Demaille <akim@epita.fr>
856
857 * tests/regression.m4 (%union and --defines): New test,
858 demonstrating a current bug in the obstack implementation.
859
a35f64ea
AD
8602000-11-17 Akim Demaille <akim@epita.fr>
861
862 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
863 macros.
864 Use them to declare the variables which are global or local to
865 `yyparse'.
866
7de23534
AD
8672000-11-17 Akim Demaille <akim@epita.fr>
868
869 * acconfig.h: Remove, no longer used.
870
aa7815f5
AD
8712000-11-07 Akim Demaille <akim@epita.fr>
872
873 * src: s/Copyright (C)/Copyright/g.
874
5af1f549
AD
8752000-11-07 Akim Demaille <akim@epita.fr>
876
877 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
878 defining.
879 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
880
553e2b22
AD
8812000-11-07 Akim Demaille <akim@epita.fr>
882
883 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
884 Merge in a single CPP if/else.
885
8a4f41d6
AD
8862000-11-07 Akim Demaille <akim@epita.fr>
887
888 * src/output.c (output): Remove useless variables.
889 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
890 argument `data' for consistency with the prototypes.
891 Qualify it `const'.
892 (obstack_copy, obstack_copy0): Rename the second argument as
893 `address' for consistency. Qualify it `const'.
894 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
895 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
896 `const' their input argument (`data' or `address').
897 Adjust the corresponding macros to include `const' in casts.
898
095a3fb5
AD
8992000-11-03 Akim Demaille <akim@epita.fr>
900
901 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
902 s/PFILE1/BISON_HAIRY/.
903 Adjust dependencies.
904
d1cdce7c
AD
9052000-11-03 Akim Demaille <akim@epita.fr>
906
090c5ebf 907 For some reason, this was not applied.
d1cdce7c
AD
908
909 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
910 `unlink': it's no longer used.
911
9311529b
AD
9122000-11-03 Akim Demaille <akim@epita.fr>
913
914 * src/files.c (skeleton_find): New function, eved out of...
915 (open_files, open_extra_files): here.
916
d8880f69
AD
9172000-11-03 Akim Demaille <akim@epita.fr>
918
919 Don't use `atexit'.
920
921 * src/files.c (obstack_save): New function.
922 (done): Rename as...
923 (output_files): this.
924 Use `obstack_save'.
925 * src/main.c (main): Don't use `atexit' to register `done', since
926 it no longer has to remove tmp files, just call `output_files'
927 when there are no errors.
928
0dbb648e
AD
9292000-11-02 Akim Demaille <akim@epita.fr>
930
931 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
932 `unlink': it's no longer used.
933 * src/files.h: Formatting changes.
934
896fe5c1
AD
9352000-11-02 Akim Demaille <akim@epita.fr>
936
937 Remove the last uses of mktemp and unlink/delete.
938
939 * src/files.c (fdefines, ftable): Removed.
940 (defines_ostack, table_obstack): New.
941 Adjust dependencies of the former into uses of the latter.
942 * src/output.c (output_short_or_char_table, output_short_table):
943 Convert to using obstacks.
944 * src/reader.c (copy_comment2): Accept one FILE * and two
945 obstacks.
946 (output_token_defines, reader_output_yylsp): Use obstacks.
947 * src/system.h (obstack_fgrow3): New.
948
dd60faec
AD
9492000-11-01 Akim Demaille <akim@epita.fr>
950
951 Change each use of `fattrs' into a use of `attrs_obstack'.
952
953 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
954 * src/files.c (fattrs): Remove.
955 (attrs_obstack): New.
956 Adjust all dependencies.
957 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
958
8c7ebe49
AD
9592000-11-01 Akim Demaille <akim@epita.fr>
960
961 Introduce obstacks.
962 Change each use of `faction' into a use of `action_obstack'.
963
964 * lib/obstack.h, lib/obstack.c: New files.
965 * src/files.c (faction): Remove.
966 (action_obstack): New.
967 Adjust all dependencies.
968
77aee789
AD
9692000-10-20 Akim Demaille <akim@epita.fr>
970
971 * lib/quote.h (PARAMS): New macro. Use it.
972
43591cec
AD
9732000-10-16 Akim Demaille <akim@epita.fr>
974
975 * src/output.c (output_short_or_char_table): New function.
976 (output_short_table, output_token_translations): Use it.
977 (goto_actions): Use output_short_table.
978
1e9798d5
AD
9792000-10-16 Akim Demaille <akim@epita.fr>
980
981 * src/symtab.c (bucket_new): New function.
982 (getsym): Use it.
983
984 * src/output.c (output_short_table): New argument to display the
985 comment associated with the table.
986 Adjust dependencies.
987 (output_gram): Use it.
988 (output_rule_data): Nicer output layout for YYTNAME.
989
f282676b
AD
9902000-10-16 Akim Demaille <akim@epita.fr>
991
992 * src/lex.c (read_typename): New function.
993 (lex): Use it.
994 * src/reader.c (copy_dollar): Likewise.
995
550a72a3
AD
9962000-10-16 Akim Demaille <akim@epita.fr>
997
998 * src/reader.c (copy_comment2): Expect the input stream to be on
999 the `/' which is suspected to open a comment, instead of being
1000 called after `//' or `/*' was read.
1001 (copy_comment, copy_definition, parse_union_decl, copy_action)
1002 (copy_guard): Adjust.
1003
131e2fef
AD
10042000-10-16 Akim Demaille <akim@epita.fr>
1005
1006 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
1007 `read_signed_integer'.
1008
79282c5a
AD
10092000-10-16 Akim Demaille <akim@epita.fr>
1010
1011 * src/reader.c (copy_dollar): New function.
1012 (copy_guard, copy_action): Use it.
1013
ff4a34be
AD
10142000-10-16 Akim Demaille <akim@epita.fr>
1015
1016 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
1017 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
1018 New files, from Fileutils 4.0.27.
1019 * src/main.c (printable_version): Remove.
1020 * src/lex.c, src/reader.c: Use `quote'.
1021
10222000-10-04 Akim Demaille <akim@epita.fr>
1023
1024 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
1025
14ded682
AD
10262000-10-04 Akim Demaille <akim@epita.fr>
1027
1028 * doc/bison.texinfo: Various typos spotted by Neil Booth.
1029
8e03724b
AD
10302000-10-04 Akim Demaille <akim@epita.fr>
1031
1032 When a literal string is used to define two different tokens,
1033 `bison -v' segfaults.
1034 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
1035
1036 * tests/regression.m4: New file.
1037 Include the core of the sample provided by Piotr Gackiewicz.
1038 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
1039 properly.
1040
a9e64249
AD
10412000-10-04 Akim Demaille <akim@epita.fr>
1042
1043 * src/reader.c (parse_expect_decl): Keep `count' within the size
1044 of `buffer'.
1045 From Neil Booth.
1046
da9abf43
AD
10472000-10-02 Paul Eggert <eggert@twinsun.com>
1048
1049 * bison.s1 (yyparse): Assign the default value
1050 unconditionally, to avoid a GCC warning and make the parser a
1051 tad smaller.
1052
c33638bb
AD
10532000-10-02 Akim Demaille <akim@epita.fr>
1054
1055 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
1056 options.
1057
444c570a
AD
10582000-10-02 Akim Demaille <akim@epita.fr>
1059
1060 * src/derives.c, src/print.c, src/reduce.c: To ease the
1061 translation, move some `\n' out of the translated strings.
1062
89cab50d
AD
10632000-10-02 Akim Demaille <akim@epita.fr>
1064
1065 The location tracking mechanism is precious for parse error
1066 messages. Nevertheless, it is enabled only when `@n' is used in
1067 the grammar, which is a different issue (you can use it in error
1068 message, but not in the grammar per se). Therefore, there should
1069 be another means to enable it.
1070
1071 * src/getargs.c (getargs): Support `--locations'.
1072 (usage): Report it.
1073 * src/getargs.h (locationsflag): Export it.
1074 * src/lex.c (percent_table): Support `%locations'.
1075 * src/reader.c (yylsp_needed): Remove this variable, now replaced
1076 with `locationsflag'.
1077 * doc/bison.texinfo: Document `--locations' and `%locations'.
1078 Sort the options.
1079 * tests/calc.m4: Test it.
1080
1081 For regularity of the names, replace each
1082 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
1083 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
1084 In addition replace each `flag' with `_flag'.
1085
d6c2cba0
AD
10862000-10-02 Akim Demaille <akim@epita.fr>
1087
1088 Also test parse error messages, including with YYERROR_VERBOSE.
1089
1090 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
1091 associative).
1092 Use it to check the computations.
1093 Use it to check `nonassoc' is honored.
1094 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
1095 `--yyerror-verbose'.
1096 (_AT_CHECK_CALC): Adjust to this option.
1097 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
1098
5a35a6cb
AD
10992000-10-02 Akim Demaille <akim@epita.fr>
1100
1101 Test also `--verbose', `--defines' and `--name-prefix'. Testing
1102 the latter demonstrates a flaw in the handling of non debugging
1103 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
1104 was used in order to simplify:
1105
1106 #if YYDEBUG
1107 if (yydebug)
1108 {
1109 ...
1110 }
1111 #endif
1112
1113 into
1114
1115 if (yydebug)
1116 {
1117 ...
1118 }
1119
1120 unfortunately this leads to a CPP conflict when
1121 `--name-prefix=foo' is used since it produces `#define yydebug
1122 foodebug'.
1123
1124 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
1125 (YYDPRINTF): New macro.
1126 Spread its use.
1127 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
1128 the bison options.
1129 Also test `--verbose', `--defines' and `--name-prefix'.
1130
71da9eea
AD
11312000-10-02 Akim Demaille <akim@epita.fr>
1132
1133 Improve the readability of the produced parsers.
1134
1135 * src/bison.s1: Formatting changes.
1136 Improve the comment related to the `$' mark.
1137 (yydefault): Don't fall through to `yyresume': `goto' there.
1138 * src/output.c (output_parser): When the `$' is met, skip the end
1139 of its line.
1140 New variable, `number_of_dollar_signs', to check there's exactly
1141 one `$' in the parser skeleton.
1142
95e36146
AD
11432000-10-02 Akim Demaille <akim@epita.fr>
1144
1145 * lib/xstrdup.c: New file, from the fileutils.
1146 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
1147 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
1148 instead of strlen + xmalloc + strcpy.
1149 * src/symtab.c (copys): Remove, use xstrdup instead.
1150
d7020c20
AD
11512000-10-02 Akim Demaille <akim@epita.fr>
1152
1153 * src/gram.h (associativity): New enum type which replaces the
1154 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
1155 `right_assoc', `left_assoc' and `non_assoc'.
1156 Adjust all dependencies.
1157 * src/reader.c: Formatting changes.
1158 (LTYPESTR): Don't define it, use it as a literal in
1159 `reader_output_yylsp'.
1160 * src/symtab.h (symbol_class): New enum type which replaces the
1161 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
1162 `sunknown', `stoken and `snterm'.
1163
1916f98e
AD
11642000-10-02 Akim Demaille <akim@epita.fr>
1165
1166 * src/getargs.c (fixed_outfiles): Rename as...
1167 (yaccflag): for consistency and accuracy.
1168 Adjust dependencies.
1169
d7913476
AD
11702000-10-02 Akim Demaille <akim@epita.fr>
1171
1172 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
1173 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
1174 difficult and introduced a lot of core dump. It turns out that
1175 Bison used an implementation of `xmalloc' based on `calloc', and
1176 at various places it does depend upon the initialization to 0. I
1177 have not tried to isolate the pertinent places, and all the former
1178 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
1179 someone should address this issue.
1180
1181 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
1182 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
1183 files.
1184 Adjust dependencies.
1185 * src/warshall.h: New file.
1186 Propagate.
1187
340ef489
AD
11882000-10-02 Akim Demaille <akim@epita.fr>
1189
1190 Various anti-`extern in *.c' changes.
1191
1192 * src/system.h: Include `assert.h'.
1193
b2ca4022
AD
11942000-10-02 Akim Demaille <akim@epita.fr>
1195
1196 * src/state.h (nstates, final_state, first_state, first_shift)
1197 (first_reduction): Move their exportation from here...
1198 * src/LR0.h: to here.
1199 Adjust dependencies.
1200 * src/getargs.c (statisticsflag): New variable.
1201 Add support for `--statistics'.
1202 Adjust dependencies.
1203
1204 Remove a lot of now useless `extern' statements in most files.
1205
403b315b
AD
12062000-10-02 Akim Demaille <akim@epita.fr>
1207
1208 * src/LR0.h: New file.
1209 Propagate its use.
1210
07a58c13
AD
12112000-10-02 Akim Demaille <akim@epita.fr>
1212
1213 * src/print.h: New file.
1214 Propagate its use.
1215 * src/print.c: Formatting and ordering changes.
1216 (verbose, terse): Replace with...
1217 (print_results): this new function.
1218 Adjust dependencies.
1219
0619caf0
AD
12202000-10-02 Akim Demaille <akim@epita.fr>
1221
1222 * src/conflicts.c (conflict_report): New function.
1223 (conflict_log, verbose_conflict_log): Replace with...
1224 (print_conflicts): this function.
1225 Adjust dependencies.
1226 * src/conflicts.h: New file.
1227 Propagate its inclusion.
1228
3519ec76
AD
12292000-10-02 Akim Demaille <akim@epita.fr>
1230
1231 * src/nullable.h: New file.
1232 Propagate its inclusion.
1233 * src/nullable.c: Formatting changes.
1234
015acc48
AD
12352000-10-02 Akim Demaille <akim@epita.fr>
1236
1237 * src/reduce.h: New file.
1238 Propagate its inclusion.
1239 * src/reduce.c: Topological sort and other formatting changes.
1240 (bool, TRUE, FALSE): Move their definition to...
1241 * src/system.h: here.
1242
8963a27b
AD
12432000-10-02 Akim Demaille <akim@epita.fr>
1244
1245 * src/files.c: Formatting changes.
1246 (tryopen, tryclose, openfiles): Rename as...
1247 (xfopen, xfclose, open_files): this.
1248 (stringappend): static.
1249 * src/files.h: Complete the list of exported symbols.
1250 Propagate its use.
1251
a70083a3
AD
12522000-10-02 Akim Demaille <akim@epita.fr>
1253
1254 * src/reader.h: New file.
1255 Propagate its use instead of tedious list of `extern' and
1256 prototypes.
1257 * src/reader.c: Formatting changes, topological sort,
1258 s/register//.
1259
abadc117
AD
12602000-10-02 Akim Demaille <akim@epita.fr>
1261
1262 * src/lex.h: Prototype `lex.c' exported functions.
1263 * src/reader.c: Adjust.
1264 * src/lex.c: Formatting changes.
1265 (safegetc): Rename as...
1266 (xgetc): this.
1267
720d742f
AD
12682000-10-02 Akim Demaille <akim@epita.fr>
1269
1270 * src/lalr.h: New file.
1271 Propagate its inclusion instead of prototypes and `extern'.
1272 * src/lalr.c: Formatting changes, topological sorting etc.
1273
f2acea59
AD
12742000-10-02 Akim Demaille <akim@epita.fr>
1275
1276 * src/output.c (token_actions): Introduce a temporary array,
1277 YYDEFACT, that makes it possible for this function to use
1278 output_short_table.
1279
d019d655
AD
12802000-10-02 Akim Demaille <akim@epita.fr>
1281
1282 `user_toknums' is output as a `short[]' in `output.c', while it is
1283 defined as a `int[]' in `reader.c'. For consistency with the
1284 other output tables, `user_toknums' is now defined as a table of
1285 shorts.
1286
1287 * src/reader.c (user_toknums): Be a short table instead of an int
1288 table.
1289 Adjust dependencies.
1290
1291 Factor the short table outputs.
1292
1293 * src/output.c (output_short_table): New function.
1294 * src/output.c (output_gram, output_stos, output_rule_data)
1295 (output_base, output_table, output_check): Use it.
1296
6c89f1c1
AD
12972000-10-02 Akim Demaille <akim@epita.fr>
1298
1299 * src/output.c (output): Topological sort of the functions, in
1300 order to get rid of the `static' prototypes.
1301 No longer use `register'.
1302 * src/output.h: New file.
1303 Propagate its inclusion in files explicitly prototyping functions
1304 from output.c.
1305
d9efd181
AD
13062000-09-21 Akim Demaille <akim@epita.fr>
1307
1308 * src/atgeneral.m4: Update from Autoconf.
1309
c29240e7 13102000-09-21 Akim Demaille <akim@epita.fr>
2fa6973e
AD
1311
1312 * src/closure.h: New file.
1313 * src/closure.c: Formatting changes, topological sort over the
1314 functions, use of closure.h.
1315 (initialize_closure, finalize_closure): Rename as...
1316 (new_closure, free_closure): these. Adjust dependencies.
1317 * src/LR0.c: Formatting changes, topological sort, use of
1318 cloture.h.
1319 (initialize_states): Rename as...
1320 (new_states): this.
1321 * src/Makefile.am (noinst_HEADERS): Adjust.
1322
499daa50
AD
13232000-09-20 Akim Demaille <akim@epita.fr>
1324
1325 * src/acconfig.h: Don't protect config.h against multiple
1326 inclusion.
1327 Don't define PARAMS.
1328 * src/system.h: Define PARAMS.
1329 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
1330 purpose of config.h. system.h must not try to fix wrong
1331 definitions in config.h.
1332
cc84fd5d
AD
13332000-09-20 Akim Demaille <akim@epita.fr>
1334
1335 * src/derives.h: New file.
1336 * src/main.c, src/derives.h: Use it.
1337 Formatting changes.
1338 * src/Makefile.am (noinst_HEADERS): Adjust.
1339
db5b3a89
AD
13402000-09-20 Akim Demaille <akim@epita.fr>
1341
1342 * tests/atgeneral.m4: Update from Autoconf.
1343 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
1344 (AT_CHECK_CALC): New macros.
1345 Use these macros to test bison with options `', `--raw',
1346 `--debug', `--yacc', `--yacc --debug'.
1347
ceed8467
AD
13482000-09-19 Akim Demaille <akim@epita.fr>
1349
1350 * src/output.c: Formatting changes.
1351 * src/machine.h: Remove, leaving its contents in...
1352 * src/system.h: here.
1353 Include stdio.h.
1354 Adjust all dependencies on stdio.h and machine.h.
1355 * src/getargs.h: New file.
1356 Let all `extern' declarations about getargs.c be replaced with
1357 inclusion of `getargs.h'.
1358 * src/Makefile.am (noinst_HEADERS): Adjust.
1359
1360 * tests/calc.m4 (yyin): Be initialized in main, not on the global
1361 scope.
1362 (yyerror): Returns void, not int.
1363 * doc/bison.texinfo: Formatting changes.
1364
05a1d24b
AD
13652000-09-19 Akim Demaille <akim@epita.fr>
1366
1367 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
1368 portable.
1369
cbd25751
AD
13702000-09-18 Akim Demaille <akim@epita.fr>
1371
1372 * configure.in: Append WARNING_CFLAGS to CFLAGS.
1373 * src/Makefile.am (INCLUDES): Don't.
1374 Be ready to fetch headers in lib/.
1375
13863333
AD
13762000-09-18 Akim Demaille <akim@epita.fr>
1377
1378 * doc/bison.texinfo: Update the copyright.
1379 ANSIfy and GNUify the examples.
1380 Remove the old menu.
1381
0d533154
AD
13822000-09-18 Akim Demaille <akim@epita.fr>
1383
1384 First set of tests: use the `calc' example from the documentation.
1385
1386 * src/bison.s1 (yyparse): Condition the code using `yytname' which
1387 is defined only when YYDEBUG is.
1388 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
1389 * src/files.c (tryopen, tryclose): Formatting changes.
1390 Move to the top and be static.
1391 * src/reader.c (read_signed_integer): Likewise.
1392 * tests/calc.m4: New file.
1393 * Makefile.am, suite.m4: Adjust.
1394 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
1395
e79137ac
AD
13962000-09-18 Akim Demaille <akim@epita.fr>
1397
1398 Add support for an Autotest test suite for Bison.
1399
1400 * m4/m4.m4, m4/atconfig.m4: New files.
1401 * m4/Makefile.am (EXTRA_DIST): Adjust.
1402 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
1403 files.
1404 * src/getargs.c: Display a more standard --version message.
1405 * src/reader.c (reader): Formatting changes.
1406 No longer depend upon VERSION_STRING.
1407 * configure.in: No longer use `dnl'.
1408 Set up the test suite and the new directory `tests/.
1409 (VERSION_STRING): Remove.
1410
27821bff
AD
14112000-04-14 Akim Demaille <akim@epita.fr>
1412
1413 * src/reader.c (copy_comment2): New function, same as former
1414 `copy_comment', but outputs into two FILE *.
1415 (copy_comment): Use it.
1416 (parse_union_decl): Use it.
1417 (get_type, parse_start_decl): Use the same `invalid' message.
1418 (parse_start_decl, parse_union_decl): Use the same `multiple'
1419 message.
1420 (parse_union_decl, copy_guard, copy_action): Use the same
1421 `unmatched' message.
1422 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
1423
cfe5fbc0
AD
14242000-03-31 Akim Demaille <akim@epita.fr>
1425
1426 * src/files.c (tryopen, tryclose): Move to the top.
1427 Be static.
1428
cb7db13e
AD
14292000-03-31 Akim Demaille <akim@epita.fr>
1430
1431 * src/main.c (main): Don't call `done', exit does it.
1432
a0f6b076
AD
14332000-03-31 Akim Demaille <akim@epita.fr>
1434
36281465
AD
1435 * allocate.c: s/return (foo)/return foo/.
1436 * lalr.c: Likewise.
1437 * LR0.c: Likewise.
1438 * output.c: Likewise.
1439 * reader.c: Likewise.
1440 * symtab.c: Likewise.
1441 * vmsgetargs.c: Likewise.
1442
14432000-03-31 Akim Demaille <akim@epita.fr>
1444
1445 Clean up the error reporting functions.
a0f6b076
AD
1446
1447 * src/report.c: New file.
1448 * src/report.h: Likewise.
1449 * src/Makefile.am: Adjust.
1450 * m4/error.m4: New file.
1451 * m4/Makefile.am: Adjust.
1452 * configure.in (jm_PREREQ_ERROR): Call it.
1453 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
1454 Remove.
1455 (fatal, fatals): Remove. All callers use complain.c::fatal.
1456 (warn, warni, warns, warnss, warnss): Remove. All callers use
1457 complain.c::complain.
1458 (toomany): Remove, use fatal instead.
1459 * src/files.c (done): No argument, use complain_message_count.
1460 * src/main.c (main): Register `done' to `atexit'.
1461
1462 * src/getargs.c (usage): More `fputs', less `fprintf'.
1463
18539825
AD
14642000-03-28 Akim Demaille <akim@epita.fr>
1465
1466 * lib/: New directory.
1467 * Makefile.am (SUBDIRS): Adjust.
1468 * configure.in: Adjust.
1469 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
1470 useless.
1471 * src/alloca.c: Moved to lib/.
1472 * src/getopt.c: Likewise.
1473 * src/getopt1.c: Likewise.
1474 * src/getopt.h: Likewise.
1475 * src/ansi2knr.c: Likewise.
1476 * src/ansi2knr.1: Likewise.
1477 * src/Makefile.am: Adjust.
1478 * lib/Makefile.am: New file.
1479
9f306f2a
AD
14802000-03-28 Akim Demaille <akim@epita.fr>
1481
1482 * src/getargs.c (usage): Refresh the help message.
1483
0ba347b6
AD
14842000-03-17 Akim Demaille <akim@epita.fr>
1485
1486 * src/getopt1.c: Updated from textutils 2.0e
1487 * src/getopt.c: Likewise.
1488 * src/getopt.h: Likewise.
1489
dbe7f271
AD
14902000-03-17 Akim Demaille <akim@epita.fr>
1491
1492 * src/Makefile.am (bison.simple): Fix the awk program: quote only
1493 the file name, not the whole `#line LINE FILE'.
1494
75bbe78d
AD
14952000-03-17 Akim Demaille <akim@epita.fr>
1496
1497 On syntax errors, report the token on which we choked.
1498
aa5fd0ee
AD
1499 * src/bison.s1 (yyparse): In the label yyerrlab, when
1500 YYERROR_VERBOSE, add yychar in msg.
75bbe78d 1501
7b306f52
AD
15022000-03-17 Akim Demaille <akim@epita.fr>
1503
aa5fd0ee 1504 * src/reader.c (copy_at): New function.
7b306f52
AD
1505 (copy_guard): Use it.
1506 (copy_action): Use it.
1507
e87b5700
AD
15082000-03-17 Akim Demaille <akim@epita.fr>
1509
1510 Be kind to translators, save some useless translations.
1511
aa5fd0ee 1512 * src/main.c (banner): New function.
e87b5700
AD
1513 (fatal_banner): Use it.
1514 (warn_banner): Use it.
1515
ae3c3164
AD
15162000-03-17 Akim Demaille <akim@epita.fr>
1517
aa5fd0ee
AD
1518 * src/reader.c (copy_definition): Use copy_string and
1519 copy_comment. Removed now unused `match', `ended',
1520 `cplus_comment'.
ae3c3164
AD
1521 (copy_comment, copy_string): Moved, to be visible from
1522 copy_definition.
1523
4dc58e7c
AD
15242000-03-17 Akim Demaille <akim@epita.fr>
1525
aa5fd0ee
AD
1526 * src/reader.c (copy_string): Declare `static inline'. No
1527 problems with inline, since it is checked by configure.
4dc58e7c
AD
1528 (copy_comment): Likewise.
1529
0a6384c4
AD
15302000-03-17 Akim Demaille <akim@epita.fr>
1531
aa5fd0ee 1532 * src/reader.c (packsymbols): Formatting changes.
0a6384c4 1533
3cef001a
AD
15342000-03-17 Akim Demaille <akim@epita.fr>
1535
aa5fd0ee 1536 * src/reader.c (copy_comment): New function, factored out from:
3cef001a
AD
1537 (copy_action): Use it. Removed now unused `match', `ended',
1538 `cplus_comment'.
1539 (copy_guard): Likewise.
1540
ca36d2ef
AD
15412000-03-17 Akim Demaille <akim@epita.fr>
1542
aa5fd0ee 1543 * src/reader.c (copy_string): New function, factored out from:
ca36d2ef
AD
1544 (copy_action): Use it.
1545 (copy_guard): Likewise.
1546
6666f98f
AD
15472000-03-17 Akim Demaille <akim@epita.fr>
1548
1549 Change the handling of @s so that they behave exactly like $s.
1550 There is now a pseudo variable @$ (readble and writable), location
1551 of the lhs of the rule (by default ranging from the location of
1552 the first symbol of the rhs, to the location of the last symbol,
1553 or, if the rhs is empty, YYLLOC).
1554
1555 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
1556 yyval.
1557 (yyparse): When providing a default semantic action, provide a
1558 default location action.
1559 (after the $): No longer change `*YYLSP', just stack YYLOC the
1560 same way you stack YYVAL.
1561 * src/reader.c (read_declarations): Use warns.
1562 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
1563 (copy_action, case '@'): Likewise.
1564 Use a standard error message, to save useless work from
1565 translators.
1566
41aca2e0
AD
15672000-03-17 Akim Demaille <akim@epita.fr>
1568
aa5fd0ee
AD
1569 * src/bison.s1: Formatting and cosmetics changes.
1570 * src/reader.c: Likewise.
41aca2e0
AD
1571 Update the Copyright notice.
1572
dc08c1d5
AD
15732000-03-17 Akim Demaille <akim@epita.fr>
1574
aa5fd0ee
AD
1575 * src/bison.s1 (#line): All set to `#line' only, since the
1576 Makefile now handles them.
dc08c1d5 1577
9ee3c97b
AD
15782000-03-16 Akim Demaille <akim@epita.fr>
1579
1580 * src/output.c (output_rule_data): Output the documentation of
1581 some of the tables.
1582 (Copyright notice): Update.
1583 Formatting changes.
1584
0de741ca
AD
15852000-03-16 Akim Demaille <akim@epita.fr>
1586
1587 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
1588 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
1589 One `#if YYDEBUG' remains, since it uses variables which are
1590 defined only if `YYDEBUG != 0'.
1591
bb10be54
AD
15922000-03-16 Akim Demaille <akim@epita.fr>
1593
1594 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
1595 and related variables so that the similarities are highlighted.
1596
b07b484a
AD
15972000-03-16 Akim Demaille <akim@epita.fr>
1598
1599 * src/bison.s1: Properly indent CPP directives.
1600
361f60b3
AD
16012000-03-16 Akim Demaille <akim@epita.fr>
1602
1603 * src/bison.s1: Properly indent the `alloca' CPP section.
1604
8c44d3ec
AD
16052000-03-16 Akim Demaille <akim@epita.fr>
1606
1607 Do not hard code values of directories in `configure.in'.
1608 Update the `configure' tool chain.
1609
1610 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
1611 src/makefile.am.
1612 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
1613 (AC_OUTPUT): Add m4/Makefile.
1614 Bump to bison 1.28a, 1.29 has never been released.
1615 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
1616 handled via src/Makefile.am.
1617 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
1618 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
1619 autoheader.
1620 * Makefile.am (SUBDIRS): Add m4.
1621 (ACLOCAL_AM_FLAGS): New variable.
1622 (AUTOMAKE_OPTIONS): Add check-news.
1623 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
1624 the proper line number and file name.
1625 (DEFS): Propagate the location of bison library files and of the
1626 locale files.
1627 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
1628 builddir.
1629 * acinclude.m4: Remove, replaced by the directory m4.
1630 * m4/Makefile.am (EXTRA_DIST): New variable.
1631 * m4/gettext.m4: New file, from the fileutils.
1632 * m4/lcmessage.m4: Likewise
1633 * m4/progtest.m4: Likewise.
1634 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
1635
f95997e7
AD
16362000-03-10 Akim Demaille <akim@epita.fr>
1637
1638 * src/closure.c:
1639 Formatting changes of various comments.
1640 Respect the GNU coding standards at various places.
1641 Don't use `_()' when no translation is needed.
1642
16431999-12-13 Jesse Thilo <jthilo@gnu.org>
1644
1645 * src/files.c:
1646 OS/2 honors TMPDIR environment variable.
1647
16481999-12-13 Jesse Thilo <jthilo@gnu.org>
1649
1650 * doc/bison.texinfo: Tweaked spelling and grammar.
1651 Updated ISBN.
1652 Removed reference to price of printed copy.
1653 Mention BISON_SIMPLE and BISON_HAIRY.
1654
16551999-12-13 Jesse Thilo <jthilo@gnu.org>
1656
1657 * configure.in, NEWS:
1658 Bison 1.29 released.
1659
16601999-10-27 Jesse Thilo <jthilo@gnu.org>
1661
1662 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
1663 Added reference card.
1664
16651999-07-26 Jesse Thilo <jthilo@gnu.org>
1666
1667 * po/ru.po: Added Russian translation.
1668
16691999-07-26 Jesse Thilo <jthilo@gnu.org>
1670
1671 * configure.in: Added Russian translation.
1672
16731999-07-06 Jesse Thilo <jthilo@gnu.org>
1674
1675 * configure.in, NEWS, README:
1676 Released version 1.28.
1677
16781999-06-14 Jesse Thilo <jthilo@gnu.org>
1679
1680 * src/system.h:
1681 Squashed redefinition warning on some systems.
1682
1683 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
1684 Have configure build version string instead of relying on ANSI string
1685 concatentation.
1686
16871999-06-14 Jesse Thilo <jthilo@gnu.org>
1688
1689 * po/POTFILES.in: Got rid of version.c.
1690
16911999-06-14 Jesse Thilo <jthilo@gnu.org>
1692
1693 * acconfig.h, configure.in:
1694 Have configure build version string instead of relying on ANSI string
1695 concatentation.
1696
16971999-06-08 Jesse Thilo <jthilo@gnu.org>
1698
1699 * doc/bison.1:
1700 Dropped mention of `+' for long-named options.
1701
17021999-05-30 Jesse Thilo <jthilo@gnu.org>
1703
1704 * src/files.c: Added <unistd.h> for unlink().
1705
1706 * src/Makefile.am, src/system.h:
1707 I18n fixes.
1708
17091999-05-30 Jesse Thilo <jthilo@gnu.org>
1710
1711 * README: Added a FAQ list.
1712
1713 * configure.in, acconfig.h:
1714 I18n fixes.
1715
17161999-05-30 Jesse Thilo <jthilo@gnu.org>
1717
1718 * doc/FAQ, doc/Makefile.am:
1719 Added a FAQ list.
1720
17211999-05-19 Jesse Thilo <jthilo@gnu.org>
1722
1723 * src/alloc.h, src/symtab.h, src/version.c:
1724 Protected inclusion of "config.h" with HAVE_CONFIG_H.
1725
17261999-04-18 Jesse Thilo <jthilo@gnu.org>
1727
1728 * src/.cvsignore, src/Makefile.am:
1729 Reorganized: sources in `src', documentation in `doc'.
1730
1731 * src/lex.c (literalchar):
1732 fixed the code for escaping double quotes (thanks
1733 Jonathan Czisny.)
1734
17351999-04-18 Jesse Thilo <jthilo@gnu.org>
1736
1737 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
1738 Adjusted paths to reflect directory reorganization.
1739
17401999-04-18 Jesse Thilo <jthilo@gnu.org>
1741
1742 * doc/.cvsignore, doc/Makefile.am:
1743 Reorganized: sources in `src', documentation in `doc'.
1744
17451999-04-18 Jesse Thilo <jthilo@gnu.org>
1746
1747 * configure.in:
1748 Updated AC_INIT file to reflect directory reorganization.
1749
1750 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
1751 Reorganized: sources in `src', documentation in `doc'.
1752
17531999-04-13 Jesse Thilo <jthilo@gnu.org>
1754
1755 * src/allocate.c:
1756 Don't declare calloc() and realloc() if not necessary.
1757
17581999-04-13 Jesse Thilo <jthilo@gnu.org>
1759
1760 * configure.in, acconfig.h, acinclude.m4:
1761 Don't declare calloc() and realloc() if not necessary.
1762
17631999-03-23 Jesse Thilo <jthilo@gnu.org>
1764
1765 * po/.cvsignore: Added i18n support.
1766
17671999-03-23 Jesse Thilo <jthilo@gnu.org>
1768
1769 * acconfig.h, configure.in, Makefile.am:
1770 Added i18n support.
1771
17721999-03-22 Jesse Thilo <jthilo@gnu.org>
1773
1774 * src/bison.s1: Fixed #line numbers.
1775
17761999-03-15 Jesse Thilo <jthilo@gnu.org>
1777
1778 * po/es.po, po/fr.po, po/nl.po, po/de.po:
1779 Added PO files from Translation Project.
1780
17811999-03-03 Jesse Thilo <jthilo@gnu.org>
1782
1783 * Makefile.am:
1784 Added support for non-ANSI compilers (ansi2knr).
1785
17861999-02-16 Jesse Thilo <jthilo@gnu.org>
1787
1788 * configure.in: Bumped version number to 1.27.
1789
1790 * Makefile.am:
1791 Added `bison.simple' to list of files removed by `make distclean'.
1792
17931999-02-12 Jesse Thilo <jthilo@gnu.org>
1794
1795 * src/files.c, src/files.h:
1796 Defined locations of parser files in config.h instead of Makefile.
1797
17981999-02-12 Jesse Thilo <jthilo@gnu.org>
1799
1800 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
1801 Defined locations of parser files in config.h instead of Makefile.
1802
18031999-02-09 Jesse Thilo <jthilo@gnu.org>
1804
1805 * Makefile.am:
1806 Removed inappropriate use of $< macro.
1807
18081999-02-05 Jesse Thilo <jthilo@gnu.org>
1809
1810 * po/Makefile.in.in, po/POTFILES.in:
1811 Add `po' directory skeleton.
1812
18131999-01-27 Jesse Thilo <jthilo@gnu.org>
1814
1815 * README: Document help-bison list.
1816
1817 * configure.in: Add check for mkstemp().
1818
18191999-01-20 Jesse Thilo <jthilo@gnu.org>
1820
1821 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
1822 Hush a few compiler warnings.
1823
1824 * src/files.c:
1825 Add tryclose(), which verifies that fclose was successful.
1826 Hush a couple of compiler warnings.
1827
18281999-01-20 Jesse Thilo <jthilo@gnu.org>
1829
1830 * Makefile.am, OChangeLog:
1831 ChangeLog is now automatically generated. Include the old version as
1832 OChangeLog.
1833
18341999-01-14 Jesse Thilo <jthilo@gnu.org>
1835
1836 * 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:
1837 Update FSF address.
1838
18391999-01-14 Jesse Thilo <jthilo@gnu.org>
1840
1841 * doc/bison.texinfo: Fix formatting glitch.
1842
1843 * doc/bison.texinfo: Update FSF address.
1844
18451999-01-14 Jesse Thilo <jthilo@gnu.org>
1846
1847 * acconfig.h: Update FSF address.
1848
18491999-01-08 Jesse Thilo <jthilo@gnu.org>
1850
1851 * src/system.h:
1852 Don't define PACKAGE here, since config.h defines it.
1853
18541998-12-30 Jesse Thilo <jthilo@gnu.org>
1855
1856 * src/reader.c: Update copyright date.
1857
1858 * src/main.c:
1859 Ditch sprintf to statically-sized buffers in fatal/warn functions in
1860 favor of output directly to stderr (avoids buffer overruns).
1861
1862 * src/reader.c: Some checks for premature EOF.
1863
1864 * 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:
1865 Use prototypes if the compiler understands them.
1866
1867 * src/files.c: Honor TMPDIR on Unix hosts.
1868 Use prototypes if the compiler understands them.
1869
1870 * src/reader.c:
1871 Fix a couple of buffer overrun bugs.
1872 Use prototypes if the compiler understands them.
1873
1874 * src/system.h: Include unistd.h and ctype.h.
1875 Use #ifdef instead of #if for NLS symbols.
1876
18771998-12-30 Jesse Thilo <jthilo@gnu.org>
1878
1879 * doc/bison.texinfo:
1880 Delete comment "consider using @set for edition number, etc..." since
1881 we now are doing so.
1882
18831998-12-30 Jesse Thilo <jthilo@gnu.org>
1884
1885 * configure.in:
1886 Use prototypes if the compiler understands them.
1887
1888 * NEWS: Document 1.26 highlights.
1889
1890 * Makefile.am: Require Automake 1.3 or later.
1891
1892 * acconfig.h:
1893 Use prototypes if the compiler understands them.
1894
18951998-12-29 Jesse Thilo <jthilo@gnu.org>
1896
1897 * src/version.c:
1898 Use VERSION symbol from automake for version number.
1899
19001998-12-29 Jesse Thilo <jthilo@gnu.org>
1901
1902 * acconfig.h, configure.in, version.cin:
1903 Use VERSION symbol from automake for version number.
1904
19051998-11-28 Jesse Thilo <jthilo@gnu.org>
1906
1907 * Makefile.am:
1908 Distribute original version of simple parser (bison.s1), not built
1909 version (bison.simple).
1910
19111998-11-28 Jesse Thilo <jthilo@gnu.org>
1912
1913 * doc/bison.texinfo: Add info dir entry.
1914
1915 * doc/bison.texinfo:
1916 Let automake put version number into documentation.
1917
19181998-11-26 Jesse Thilo <jthilo@gnu.org>
1919
1920 * src/bison.cld, src/build.com, src/vmshlp.mar:
1921 Add non-RCS files from /gd/gnu/bison.
1922
19231998-11-26 Jesse Thilo <jthilo@gnu.org>
1924
1925 * doc/bison.1:
1926 Document the BISON_HAIRY and BISON_SIMPLE variables.
1927
19281998-11-25 Jesse Thilo <jthilo@gnu.org>
1929
1930 * src/version.c: Build version.c automatically.
1931
1932 * src/reader.c:
1933 Fix token numbering (used to start at 258, not 257).
1934
1935 * src/system.h: Include config.h.
1936
1937 * src/getargs.c: Update bug report address.
1938
1939 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
1940 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
1941
19421998-11-25 Jesse Thilo <jthilo@gnu.org>
1943
1944 * Makefile.am:
1945 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1946
1947 * configure.in, version.cin:
1948 Build version.c automatically.
1949
1950 * AUTHORS: Add AUTHORS file.
1951
1952 * README: Update bug report address.
1953
1954 * bison.simple:
1955 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1956
1957 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
1958 Add automake stuff.
1959
19601998-11-25 Jesse Thilo <jthilo@gnu.org>
1961
1962 * doc/bison.texinfo: Clean up some formatting.
1963
19641998-05-05 Richard Stallman <rms@gnu.org>
1965
1966 * doc/bison.texinfo:
1967 Explain better why to make a pure parser.
1968
19691998-01-05 Richard Stallman <rms@gnu.org>
1970
1971 * src/files.c (openfiles):
1972 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
1973 find a temporary directory, if possible. Do not unlink files while
1974 they are open.
1975
19761997-08-25 Richard Stallman <rms@gnu.org>
1977
1978 * src/reader.c (stack_offset;):
1979 Change some warni to warns.
1980
1981 * src/lex.c (literalchar): Use warns, not warni.
1982
19831997-06-28 Richard Stallman <rms@gnu.org>
1984
1985 * src/bison.s1: Add a Bison version comment.
1986
1987 * src/main.c (fatal, warn, berror):
1988 Use program_name.
1989
19901997-06-28 Richard Stallman <rms@gnu.org>
1991
1992 * Makefile.in (bison_version): New variable.
1993 (dist): Use that variable.
1994 (bison.s1): Substitute the Bison version into bison.simple.
1995
1996 * bison.simple: Add a Bison version comment.
1997
19981997-06-18 Richard Stallman <rms@gnu.org>
1999
2000 * src/main.c (fatal, warn, berror):
2001 Make error messages standard.
2002 (toomany): Improve error message text.
2003
2004 * 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:
2005 new.h renamed to alloc.h.
2006
20071997-06-18 Richard Stallman <rms@gnu.org>
2008
2009 * Makefile.in: new.h renamed to alloc.h.
2010
20111997-05-24 Richard Stallman <rms@gnu.org>
2012
2013 * src/lex.c (literalchar):
2014 Fix the code for escaping \, " and '.
2015
2016 (lex): Avoid trouble when there are many chars
2017 to discard in a char literal with just several chars in it.
2018
20191997-05-17 Richard Stallman <rms@gnu.org>
2020
2021 * src/bison.s1:
2022 Use malloc, if using alloca is troublesome.
2023 (YYSTACK_USE_ALLOCA): New flag macro.
2024 Define it for some systems and compilers.
2025 (YYSTACK_ALLOC): New macro.
2026 (yyparse): Use YYSTACK_ALLOC to allocate stack.
2027 If it was malloc'd, free it.
2028
20291997-05-17 Richard Stallman <rms@gnu.org>
2030
2031 * bison.simple:
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-04-23 Richard Stallman <rms@gnu.org>
2040
2041 * src/bison.s1:
2042 (alloca) [__hpux]: Always define as __builtin_alloca.
2043
20441997-04-23 Richard Stallman <rms@gnu.org>
2045
2046 * bison.simple:
2047 (alloca) [__hpux]: Always define as __builtin_alloca.
2048
20491997-04-22 Richard Stallman <rms@gnu.org>
2050
2051 * src/bison.s1:
2052 [__hpux]: Include alloca.h (right for HPUX 10)
2053 instead of declaring alloca (right for HPUX 9).
2054
2055 * src/bison.s1 (__yy_memcpy):
2056 Declare arg `count' as unsigned int.
2057 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2058
20591997-04-22 Richard Stallman <rms@gnu.org>
2060
2061 * bison.simple:
2062 [__hpux]: Include alloca.h (right for HPUX 10)
2063 instead of declaring alloca (right for HPUX 9).
2064
2065 * bison.simple (__yy_memcpy):
2066 Declare arg `count' as unsigned int.
2067 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
2068
20691997-01-03 Richard Stallman <rms@gnu.org>
2070
2071 * src/allocate.c: [__STDC__ or _MSC_VER]:
2072 Declare calloc and realloc to return void *.
2073
20741997-01-02 Richard Stallman <rms@gnu.org>
2075
2076 * src/system.h:
2077 [_MSC_VER]: Include stdlib.h and process.h.
2078 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
2079
2080 * src/main.c (main): Return FAILURE as a value.
2081 (printable_version): Declare arg as int, not char.
2082
20831997-01-02 Richard Stallman <rms@gnu.org>
2084
2085 * Makefile.in (dist):
2086 Explicitly check for symlinks, and copy them.
2087
20881996-12-19 Richard Stallman <rms@gnu.org>
2089
2090 * src/files.c:
2091 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
2092
20931996-12-18 Paul Eggert <eggert@gnu.org>
2094
2095 * src/bison.s1 (yyparse):
2096 If __GNUC__ and YYPARSE_PARAM are both defined,
2097 declare yyparse to have a void * argument.
2098
20991996-12-18 Paul Eggert <eggert@gnu.org>
2100
2101 * bison.simple (yyparse):
2102 If __GNUC__ and YYPARSE_PARAM are both defined,
2103 declare yyparse to have a void * argument.
2104
21051996-12-17 Richard Stallman <rms@gnu.org>
2106
2107 * src/reduce.c (nbits): Add some casts.
2108
21091996-08-12 Richard Stallman <rms@gnu.org>
2110
2111 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
2112
21131996-08-12 Richard Stallman <rms@gnu.org>
2114
2115 * bison.simple: Test _MSDOS as well as _MSDOS_.
2116
21171996-07-31 Richard Stallman <rms@gnu.org>
2118
2119 * src/bison.s1:
2120 [__sun && __i386]: Include alloca.h.
2121
21221996-07-31 Richard Stallman <rms@gnu.org>
2123
2124 * bison.simple:
2125 [__sun && __i386]: Include alloca.h.
2126
21271996-07-30 Richard Stallman <rms@gnu.org>
2128
2129 * src/bison.s1: Comment change.
2130
2131 * src/bison.s1: Test _MSDOS_, not MSDOS.
2132
21331996-07-30 Richard Stallman <rms@gnu.org>
2134
2135 * bison.simple: Comment change.
2136
2137 * bison.simple: Test _MSDOS_, not MSDOS.
2138
21391996-06-01 Richard Stallman <rms@gnu.org>
2140
2141 * 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:
2142 Insert `_' macro around many string constants.
2143
2144 * src/main.c:
2145 Insert `_' macro around many string constants.
2146
2147 (main): Call setlocale, bindtextdomain and textdomain.
2148
2149 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
2150 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
2151 [ENABLE_NLS]: Include libintl.h.
2152 [ENABLE_NLS] (gettext): Define.
2153 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
2154 (N_, PACKAGE, LOCALEDIR): New macros.
2155
21561996-06-01 Richard Stallman <rms@gnu.org>
2157
2158 * POTFILES.in: New file.
2159
2160 * Makefile.in (allocate.o):
2161 Define target explicitly.
2162
2163 * Makefile.in (CFLAGS): Set to @CFLAGS@.
2164 (LDFLAGS): Set to @LDFLAGS@.
2165 (configure): Run autoconf only if preceding `cd' succeeds.
2166 (bison.s1): Redirect output to temporary file then move the
2167 temporary to the target, rather than redirecting directly to bison.s1.
2168 (clean): Remove config.status and config.log.
2169 (distclean): Don't remove config.status here.
2170
21711996-05-12 Richard Stallman <rms@gnu.org>
2172
2173 * src/bison.s1:
2174 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
2175
21761996-05-12 Richard Stallman <rms@gnu.org>
2177
2178 * bison.simple:
2179 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
2180
21811996-05-11 Richard Stallman <rms@gnu.org>
2182
2183 * src/bison.s1 (__yy_memcpy):
2184 Really reorder the args, as was supposedly done on Feb 14 1995.
2185 (yyparse): Calls changed accordingly.
2186
21871996-05-11 Richard Stallman <rms@gnu.org>
2188
2189 * Makefile.in (dist): Don't use $(srcdir).
2190
2191 * bison.simple (__yy_memcpy):
2192 Really reorder the args, as was supposedly done on Feb 14 1995.
2193 (yyparse): Calls changed accordingly.
2194
21951996-01-27 Richard Stallman <rms@gnu.org>
2196
2197 * src/output.c (output_rule_data):
2198 Test YYERROR_VERBOSE in the conditional
2199 around the definition of ttyname.
2200
22011995-12-29 Richard Stallman <rms@gnu.org>
2202
2203 * src/bison.s1:
2204 Fix line numbers in #line commands.
2205
22061995-12-29 Richard Stallman <rms@gnu.org>
2207
2208 * bison.simple:
2209 Fix line numbers in #line commands.
2210
22111995-12-27 Richard Stallman <rms@gnu.org>
2212
2213 * src/bison.s1 (YYPARSE_PARAM_DECL):
2214 In C++, make it always null.
2215 (YYPARSE_PARAM_ARG): New macro.
2216 (yyparse): Use YYPARSE_PARAM_ARG.
2217
22181995-12-27 Richard Stallman <rms@gnu.org>
2219
2220 * bison.simple (YYPARSE_PARAM_DECL):
2221 In C++, make it always null.
2222 (YYPARSE_PARAM_ARG): New macro.
2223 (yyparse): Use YYPARSE_PARAM_ARG.
2224
22251995-11-29 Richard Stallman <rms@gnu.org>
2226
2227 * doc/bison.texinfo:
2228 Describe literal string tokens, %raw, %no_lines, %token_table.
2229
22301995-11-29 Daniel Hagerty <hag@gnu.org>
2231
2232 * doc/bison.texinfo: Fixed update date
2233
22341995-10-16 Richard Stallman <rms@gnu.org>
2235
2236 * src/version.c: Version 1.25.
2237
22381995-10-16 Richard Stallman <rms@gnu.org>
2239
2240 * NEWS: *** empty log message ***
2241
22421995-10-16 Richard Stallman <rms@gnu.org>
2243
2244 * doc/bison.1, doc/bison.rnh:
2245 Add new options.
2246
22471995-10-15 Richard Stallman <rms@gnu.org>
2248
2249 * src/vmsgetargs.c, src/getargs.c:
2250 Added -n, -k, and -raw switches.
2251 (noparserflag, toknumflag, rawtoknumflag): New variables.
2252
2253 * src/symtab.h (SALIAS):
2254 New #define for adding aliases to %token.
2255 (struct bucket): Added `alias' field.
2256
2257 * src/reduce.c (reduce_grammar):
2258 Revise error message.
2259 (print_notices): Remove final `.' from error message.
2260
2261 * src/reader.c (reader_output_yylsp):
2262 New function.
2263 (readgram): Use `#if 0' around code that accepted %command
2264 inside grammar rules: The documentation doesn't allow it,
2265 and it will fail since the %command processors scan for the next %.
2266 (parse_token_decl): Extended the %token
2267 declaration to allow a multi-character symbol as an alias.
2268 (parse_thong_decl): New function.
2269 (read_declarations): Added %thong declarations.
2270 (read_declarations): Handle NOOP to deal with allowing
2271 % declarations as another means to specify the flags.
2272 (readgram): Allow %prec prior to semantics embedded in a rule.
2273 (skip_to_char, read_declarations, copy_definition)
2274 (parse_token_decl, parse_start_decl, parse_type_decl)
2275 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
2276 (get_type_name, copy_guard, copy_action, readgram)
2277 (get_type, packsymbols): Revised most error messages.
2278 Changed `fatal' to `warnxxx' to avoid aborting for error.
2279 Revised and use multiple warnxxx functions to avoid using VARARGS1.
2280 (read_declarations): Improve the error message for
2281 an invalid character. Do not abort.
2282 (read_declarations, copy_guard, copy_action): Use
2283 printable_version to avoid unprintable characters in printed output.
2284 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
2285 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
2286 Allow the type of a non-terminal can be given
2287 more than once, as long as all specifications give the same type.
2288
2289 * src/output.c:
2290 (output_headers, output_trailers, output, output_gram)
2291 (output_rule_data): Implement noparserflag variable.
2292 Implement toknumflag variable.
2293 (output): Call reader_output_yylsp to output LTYPESTR.
2294
2295 * src/main.c (main):
2296 If reader sees an error, don't process the grammar.
2297 (fatals): Updated to not use VARARGS1.
2298 (printable_version, int_to_string, warn, warni, warns, warnss)
2299 (warnsss): New error reporting functions. Avoid abort for error.
2300
2301 * src/lex.h:
2302 Added THONG and NOOP for alias processing.
2303 Added SETOPT for the new code that allows setting options with %flags.
2304
2305 * src/lex.c:
2306 Include getopt.h. Add some extern decls.
2307 (safegetc): New function to deal with EOF gracefully.
2308 (literalchar); new function to deal with reading \ escapes.
2309 (lex): Use literalchar.
2310 (lex): Implemented "..." tokens.
2311 (literalchar, lex, parse_percent_token): Made tokenbuffer
2312 always contain the token. This includes growing the token
2313 buffer while reading an integer.
2314 (parse_percent_token): Replaced if-else statement with percent_table.
2315 (parse_percent_token): Added % declarations as another
2316 way to specify the flags -n, -l, and -r. Also added hooks for
2317 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
2318 major changes to files.c.
2319 (lex) Retain in the incoming stream a character following
2320 an incorrect '/'.
2321 (skip_white_space, lex): Revised most error messages
2322 and changed fatal to warn to avoid aborting.
2323 (percent_table): Added %thong declarations.
2324
2325 * src/gram.h: Comment changes.
2326
2327 * src/files.c (openfiles, open_extra_files, done):
2328 Add faction flag
2329 and actfile file. Handle noparserflag. Both for -n switch.
2330
2331 * src/conflicts.c (resolve_sr_conflict):
2332 Remove use of alloca.
2333
23341995-06-01 Jim Meyering <meyering@gnu.org>
2335
2336 * doc/bison.texinfo: *** empty log message ***
2337
23381995-05-06 Richard Stallman <rms@gnu.org>
2339
2340 * src/bison.s1: Comment change.
2341
23421995-05-06 Richard Stallman <rms@gnu.org>
2343
2344 * bison.simple: Comment change.
2345
23461995-05-03 Richard Stallman <rms@gnu.org>
2347
2348 * src/version.c: Version now 1.24.
2349
2350 * src/bison.s1: Change distribution terms.
2351
2352 * src/version.c: Version now 1.23.
2353
23541995-05-03 Richard Stallman <rms@gnu.org>
2355
2356 * doc/bison.texinfo:
2357 Rewrite "Conditions for Using Bison".
2358 Update version to 1.24.
2359
23601995-05-03 Richard Stallman <rms@gnu.org>
2361
2362 * bison.simple: Change distribution terms.
2363
23641995-02-23 Richard Stallman <rms@gnu.org>
2365
2366 * src/files.c: Test __VMS_POSIX as well as VMS.
2367
23681995-02-14 Jim Meyering <meyering@gnu.org>
2369
2370 * src/bison.s1 (__yy_memcpy):
2371 Renamed from __yy_bcopy to avoid
2372 confusion. Reverse FROM and TO arguments to be consistent with
2373 those of memcpy.
2374
23751995-02-14 Jim Meyering <meyering@gnu.org>
2376
2377 * bison.simple (__yy_memcpy):
2378 Renamed from __yy_bcopy to avoid
2379 confusion. Reverse FROM and TO arguments to be consistent with
2380 those of memcpy.
2381
23821994-11-10 David J. MacKenzie <djm@gnu.org>
2383
2384 * NEWS: reformat
2385
2386 * NEWS: New file.
2387
2388 * Makefile.in (DISTFILES): Include NEWS.
2389
2390 * Makefile.in (DISTFILES):
2391 Include install-sh, not install.sh.
2392
2393 * configure.in: Update to Autoconf v2 macro names.
2394
23951994-10-05 David J. MacKenzie <djm@gnu.org>
2396
2397 * Makefile.in: fix typo
2398
2399 * Makefile.in (prefix, exec_prefix):
2400 Let configure set them.
2401
24021994-09-28 David J. MacKenzie <djm@gnu.org>
2403
2404 * Makefile.in: Set datadir to $(prefix)/share.
2405
24061994-09-15 Richard Stallman <rms@gnu.org>
2407
2408 * src/bison.s1:
2409 Update copyright notice and GPL version.
2410
24111994-09-15 Richard Stallman <rms@gnu.org>
2412
2413 * bison.simple:
2414 Update copyright notice and GPL version.
2415
24161994-07-12 Richard Stallman <rms@gnu.org>
2417
2418 * src/reduce.c, src/reader.c:
2419 entered into RCS
2420
24211994-05-05 David J. MacKenzie <djm@gnu.org>
2422
2423 * Makefile.in: entered into RCS
2424
24251994-03-26 Richard Stallman <rms@gnu.org>
2426
2427 * src/bison.s1: entered into RCS
2428
24291994-03-26 Richard Stallman <rms@gnu.org>
2430
2431 * bison.simple: entered into RCS
2432
24331994-03-25 Richard Stallman <rms@gnu.org>
2434
2435 * src/main.c: entered into RCS
2436
24371994-03-24 Richard Stallman <rms@gnu.org>
2438
2439 * src/conflicts.c: entered into RCS
2440
24411994-01-02 Richard Stallman <rms@gnu.org>
2442
2443 * Makefile.in: *** empty log message ***
2444
24451993-11-21 Richard Stallman <rms@gnu.org>
2446
2447 * src/bison.s1: *** empty log message ***
2448
24491993-11-21 Richard Stallman <rms@gnu.org>
2450
2451 * doc/bison.texinfo: entered into RCS
2452
2453 * doc/bison.texinfo: *** empty log message ***
2454
24551993-11-21 Richard Stallman <rms@gnu.org>
2456
2457 * bison.simple: *** empty log message ***
2458
24591993-10-25 David J. MacKenzie <djm@gnu.org>
2460
2461 * doc/bison.texinfo: *** empty log message ***
2462
24631993-10-19 Richard Stallman <rms@gnu.org>
2464
2465 * src/bison.s1: *** empty log message ***
2466
24671993-10-19 Richard Stallman <rms@gnu.org>
2468
2469 * bison.simple: *** empty log message ***
2470
24711993-10-14 Richard Stallman <rms@gnu.org>
2472
2473 * src/bison.s1: *** empty log message ***
2474
24751993-10-14 Richard Stallman <rms@gnu.org>
2476
2477 * bison.simple: *** empty log message ***
2478
24791993-09-14 David J. MacKenzie <djm@gnu.org>
2480
2481 * doc/bison.texinfo: *** empty log message ***
2482
24831993-09-13 Noah Friedman <friedman@gnu.org>
2484
2485 * Makefile.in: *** empty log message ***
2486
24871993-09-10 Richard Stallman <rms@gnu.org>
2488
2489 * src/conflicts.c: *** empty log message ***
2490
2491 * src/system.h: entered into RCS
2492
24931993-09-10 Richard Stallman <rms@gnu.org>
2494
2495 * doc/bison.1: entered into RCS
2496
24971993-09-06 Noah Friedman <friedman@gnu.org>
2498
2499 * src/version.c: entered into RCS
2500
25011993-09-06 Noah Friedman <friedman@gnu.org>
2502
2503 * Makefile.in: *** empty log message ***
2504
25051993-07-30 David J. MacKenzie <djm@gnu.org>
2506
2507 * Makefile.in: *** empty log message ***
2508
25091993-07-24 Richard Stallman <rms@gnu.org>
2510
2511 * src/bison.s1: *** empty log message ***
2512
25131993-07-24 Richard Stallman <rms@gnu.org>
2514
2515 * bison.simple: *** empty log message ***
2516
25171993-07-08 David J. MacKenzie <djm@gnu.org>
2518
2519 * Makefile.in: *** empty log message ***
2520
25211993-07-04 Richard Stallman <rms@gnu.org>
2522
2523 * src/bison.s1: *** empty log message ***
2524
25251993-07-04 Richard Stallman <rms@gnu.org>
2526
2527 * bison.simple: *** empty log message ***
2528
25291993-06-26 David J. MacKenzie <djm@gnu.org>
2530
2531 * src/getargs.c: entered into RCS
2532
25331993-06-26 David J. MacKenzie <djm@gnu.org>
2534
2535 * doc/bison.texinfo: *** empty log message ***
2536
2537 * doc/bison.1: New file.
2538
25391993-06-25 Richard Stallman <rms@gnu.org>
2540
2541 * src/getargs.c: New file.
2542
25431993-06-16 Richard Stallman <rms@gnu.org>
2544
2545 * src/bison.s1: *** empty log message ***
2546
25471993-06-16 Richard Stallman <rms@gnu.org>
2548
2549 * bison.simple: *** empty log message ***
2550
25511993-06-03 Richard Stallman <rms@gnu.org>
2552
2553 * src/bison.s1: New file.
2554
25551993-06-03 Richard Stallman <rms@gnu.org>
2556
2557 * doc/bison.texinfo: *** empty log message ***
2558
25591993-06-03 Richard Stallman <rms@gnu.org>
2560
2561 * bison.simple: New file.
2562
25631993-05-19 Richard Stallman <rms@gnu.org>
2564
2565 * doc/bison.texinfo: New file.
2566
25671993-05-07 Noah Friedman <friedman@gnu.org>
2568
2569 * Makefile.in: *** empty log message ***
2570
25711993-04-28 Noah Friedman <friedman@gnu.org>
2572
2573 * src/reader.c: *** empty log message ***
2574
25751993-04-23 Noah Friedman <friedman@gnu.org>
2576
2577 * src/alloc.h: entered into RCS
2578
25791993-04-20 David J. MacKenzie <djm@gnu.org>
2580
2581 * src/version.c: *** empty log message ***
2582
2583 * src/files.c, src/allocate.c:
2584 entered into RCS
2585
2586 * src/reader.c: *** empty log message ***
2587
2588 * src/lex.c: entered into RCS
2589
2590 * src/conflicts.c: New file.
2591
2592 * src/symtab.c: entered into RCS
2593
2594 * src/alloc.h: New file.
2595
2596 * src/LR0.c: entered into RCS
2597
25981993-04-18 Noah Friedman <friedman@gnu.org>
2599
2600 * src/reader.c: New file.
2601
2602 * src/version.c: *** empty log message ***
2603
26041993-04-18 Noah Friedman <friedman@gnu.org>
2605
2606 * Makefile.in: *** empty log message ***
2607
26081993-04-17 Noah Friedman <friedman@gnu.org>
2609
2610 * Makefile.in: *** empty log message ***
2611
26121993-04-15 Richard Stallman <rms@gnu.org>
2613
2614 * src/main.c, src/files.c:
2615 New file.
2616
26171993-04-15 Noah Friedman <friedman@gnu.org>
2618
2619 * configure.in: entered into RCS
2620
2621 * configure.in: *** empty log message ***
2622
2623 * configure.in: New file.
2624
26251993-04-14 Richard Stallman <rms@gnu.org>
2626
2627 * Makefile.in: New file.
2628
26291993-04-13 Richard Stallman <rms@gnu.org>
2630
2631 * src/version.c: New file.
2632
26331993-03-25 Richard Stallman <rms@gnu.org>
2634
2635 * src/output.c: entered into RCS
2636
26371992-09-25 Richard Stallman <rms@gnu.org>
2638
2639 * configure.bat: entered into RCS
2640
26411992-06-22 Richard Stallman <rms@gnu.org>
2642
2643 * src/vmsgetargs.c: entered into RCS
2644
26451992-06-22 Richard Stallman <rms@gnu.org>
2646
2647 * doc/bison.rnh: entered into RCS
2648
26491992-04-20 David J. MacKenzie <djm@gnu.org>
2650
2651 * README: entered into RCS
2652
26531992-01-22 Richard Stallman <rms@gnu.org>
2654
2655 * src/machine.h: entered into RCS
2656
26571991-12-21 Richard Stallman <rms@gnu.org>
2658
2659 * src/lalr.c, src/closure.c:
2660 entered into RCS
2661
26621991-12-20 Richard Stallman <rms@gnu.org>
2663
2664 * src/state.h: entered into RCS
2665
26661991-12-18 Richard Stallman <rms@gnu.org>
2667
2668 * src/print.c, src/nullable.c, src/derives.c:
2669 entered into RCS
2670
26711991-11-03 David J. MacKenzie <djm@gnu.org>
2672
2673 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
2674 entered into RCS
2675
26761988-09-09 Richard Stallman <rms@gnu.org>
2677
2678 * src/bison.hairy: entered into RCS
2679
26801987-12-16 Richard Stallman <rms@gnu.org>
2681
2682 * REFERENCES: entered into RCS