]> git.saurik.com Git - bison.git/blob - ChangeLog
* doc/bison.texinfo (Locations): Update @$ stuff.
[bison.git] / ChangeLog
1 2001-08-10 Robert Anisko <anisko_r@epita.fr>
2
3 * doc/bison.texinfo (Locations): Update @$ stuff.
4
5 2001-08-09 Robert Anisko <anisko_r@epita.fr>
6
7 * src/bison.simple (YYLLOC_DEFAULT): Update.
8 (yyparse): Adjust.
9
10 2001-08-08 Marc Autret <autret_m@epita.fr>
11
12 * doc/bison.texinfo: Change @samp{$<@dots{}>} to
13 @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule.
14 Reported by Fabrice Bauzac.
15
16 2001-08-08 Marc Autret <autret_m@epita.fr>
17
18 * src/vcg_default.h: Use NULL instead of 0 to initialize pointers.
19 * src/vcg.c (output_node): Fix.
20 * src/vcg.h: Cleanup.
21 * src/print_graph.c: Add comments.
22 (node_output_size): New global variable. Simplify the formatting of
23 the VCG graph output.
24 (print_actions): Unused code is now used. It notifies the final state
25 and no action states in the VCG graph. It also give the reduce actions.
26 The `shift and goto' edges are red and the `go to state' edges are
27 blue.
28 Get the current node name and node_obstack by argument.
29 (node_obstack): New variable.
30 (print_state): Manage node_obstack.
31 (print_core): Use node_obstack given by argument.
32 A node is not only computed here but in print_actions also.
33 (print_graph): CPP out useless code instead of commenting it.
34
35 2001-08-07 Pascal Bart <pascal.bart@epita.fr>
36
37 * tests/atconfig.in (CPPFLAGS): Fix.
38
39 2001-08-07 Akim Demaille <akim@epita.fr>
40
41 * src/print_graph.c (quote): New.
42 (print_core): Use it.
43
44 2001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr>
45
46 * src/vcg.c (complain.h): Include it.
47 Unepitaize `return' invocations.
48 [NDEBUG] (main): Remove.
49 * src/vcg.h (node_t, edge_t, graph_t): Constify the char * memebers.
50 * src/files.c (open_files): Initialize graph_obstack.
51 * src/print_graph.c (print_actions): CPP out useless code.
52 (print_core): Don't output the last `\n' in labels.
53 Use `quote'.
54 * src/files.c (output_files): Output the VCG file.
55 * src/main.c (main): Invoke print_graph ();
56
57 2001-08-06 Marc Autret <autret_m@epita.fr>
58
59 Automaton VCG graph output.
60 Using option ``-g'' or long option ``--graph'', you can generate
61 a gram_filename.vcg file containing a VCG description of the LALR (1)
62 automaton of your grammar.
63
64 * src/main.c: Call to print_graph() function.
65 * src/getargs.h: Update.
66 * src/getargs.c (options): Update to catch `-g' and `--graph' options.
67 (graph_flag): New flag.
68 (longopts): Update.
69 (getargs): Add case `g'.
70 * src/files.c (graph_obstack): New obstack struct.
71 (open_files): Initialize new obstack.
72 (output_files): Saves graph_obstack if required.
73 * src/files.h (graph_obstack): New extern declaration.
74 * src/Makefile.am: Add new source files.
75
76 2001-08-06 Marc Autret <autret_m@epita.fr>
77
78 * src/print_graph.c, src/print_graph.h (graph): New.
79 * src/vcg.h: New file.
80 * src/vcg.c: New file, VCG graph handling.
81
82 2001-08-06 Marc Autret <autret_m@epita.fr>
83
84 Add of %source_extension and %header_extension which specify
85 the source or/and the header output file extension.
86
87 * src/files.c (compute_base_names): Remove initialisation of
88 src_extension and header_extension.
89 (compute_exts_from_gf): Update.
90 (compute_exts_from_src): Update.
91 (output_files): Update.
92 * src/reader.c (parse_header_extension_decl): New.
93 (parse_source_extension_decl): New.
94 (read_declarations): New case statements for the new tokens.
95 * src/lex.c (percent_table): Add entries for %source_extension
96 and %header_extension.
97 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
98
99 2001-08-06 Marc Autret <autret_m@epita.fr>
100
101 * configure.in: Bump to 1.28c.
102 * doc/bison.texinfo: Texinfo thingies.
103
104 2001-08-04 Pascal Bart <pascal.bart@epita.fr>
105
106 * tests/atconfig.in (CPPFLAGS): Add.
107 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
108
109 2001-08-03 Akim Demaille <akim@epita.fr>
110
111 Version 1.28b.
112
113 2001-08-03 Akim Demaille <akim@epita.fr>
114
115 * tests/Makefile.am (check-local): Ship testsuite.
116 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
117 Include `string.h'.
118
119 2001-08-03 Akim Demaille <akim@epita.fr>
120
121 * configure.in: Try using -Wformat when compiling.
122
123 2001-08-03 Akim Demaille <akim@epita.fr>
124
125 * configure.in: Bump to 1.28b.
126
127 2001-08-03 Akim Demaille <akim@epita.fr>
128
129 * src/complain.c: Adjust strerror_r portability issues.
130
131 2001-08-03 Akim Demaille <akim@epita.fr>
132
133 Version 1.28a.
134
135 2001-08-03 Akim Demaille <akim@epita.fr>
136
137 * src/getargs.c, src/getarg.h (skeleton)): Constify.
138 * src/lex.c (literalchar): Avoid name clashes on `buf'.
139 * src/getargs.c: Include complain.h.
140 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
141 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
142
143 2001-08-03 Akim Demaille <akim@epita.fr>
144
145 * src/reader.c (readgram): Display hidden chars in error messages.
146
147 2001-08-03 Akim Demaille <akim@epita.fr>
148
149 Update to gettext 0.10.39.
150
151 2001-08-03 Akim Demaille <akim@epita.fr>
152
153 * lib/strspn.c: New.
154
155 2001-08-01 Marc Autret <autret_m@epita.fr>
156
157 * doc/bison.texinfo: Update.
158 * doc/bison.1 (mandoc): Update.
159 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
160 * src/files.c: Support output files extensions computing.
161 (src_extension): New static variable.
162 (header_extension): New static variable.
163 (tr): New function.
164 (get_extension_index): New function, gets the index of an extension
165 filename in a string.
166 (compute_exts_from_gf): New function, computes extensions from the
167 grammar file extension.
168 (compute_exts_from_src): New functions, computes extensions from the
169 C source file extension, file given by ``-o'' option.
170 (compute_base_names): Update.
171 (output_files): Update.
172
173 2001-08-01 Robert Anisko <anisko_r@epita.fr>
174
175 * doc/bison.texi: Document @$.
176 (Locations): New section.
177
178 2001-07-18 Akim Demaille <akim@epita.fr>
179
180 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
181 * config/prev-version.txt, config/move-if-change: New.
182 * Makefile.am: Adjust.
183
184 2001-07-08 Pascal Bart <pascal.bart@epita.fr>
185
186 * src/bison.simple (yyparse): Suppress warning `comparaison
187 between signed and unsigned'.
188
189 2001-07-05 Pascal Bart <pascal.bart@epita.fr>
190
191 * src/getargs.h (raw_flag): Remove.
192 * src/getargs.c: Die on `-r'/`--raw'.
193 * src/lex.c (parse_percent_token): Die on `%raw'.
194 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
195 * tests/calc.at: Suppress test with option `--raw'.
196
197 2001-07-14 Akim Demaille <akim@epita.fr>
198
199 * config/: New.
200 * configure.in: Require Autoconf 2.50.
201 Update to gettext 0.10.38.
202
203 2001-03-16 Akim Demaille <akim@epita.fr>
204
205 * doc/bison.texinfo: ANSIfy the examples.
206
207 2001-03-16 Akim Demaille <akim@epita.fr>
208
209 * getargs.c (skeleton): New variable.
210 (longopts): --skeleton is a new option.
211 (shortopts, getargs): -S is a new option.
212 * getargs.h: Declare skeleton.
213 * output.c (output_parser): Use it.
214
215 2001-03-16 Akim Demaille <akim@epita.fr>
216
217 * m4/strerror_r.m4: New.
218 * m4/error.m4: Run AC_FUNC_STRERROR_R.
219 * lib/error.h, lib/error.c: Update.
220
221 2001-03-16 Akim Demaille <akim@epita.fr>
222
223 * src/getargs.c (longopts): Clean up.
224
225 2001-02-21 Akim Demaille <akim@epita.fr>
226
227 * src/reader.c (gensym): `gensym_count' is your own.
228 Use a static buf to create the symbol name, as token_buffer is no
229 longer a buffer.
230
231 2001-02-08 Akim Demaille <akim@epita.fr>
232
233 * src/conflicts.c (conflict_report): Be sure not to append to res
234 between two calls, which could happen if both first sprintf were
235 skipped, but not the first cp += strlen.
236
237 2001-02-08 Akim Demaille <akim@epita.fr>
238
239 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
240 New, from fileutils 4.0.37.
241 * configure.in: Require Autoconf 2.49c. I took some time before
242 making this decision. This is the only way out for portability
243 issues in Bison, it would mean way too much duplicate effort to
244 import in Bison features implemented in 2.49c since 2.13.
245 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
246
247 2001-02-02 Akim Demaille <akim@epita.fr>
248
249 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
250 * lib/xalloc.h, lib/xmalloc.c: Update.
251
252 2001-01-19 Akim Demaille <akim@epita.fr>
253
254 Get rid of the ad hoc handling of token_buffer in the scanner: use
255 the obstacks.
256
257 * src/lex.c (token_obstack): New.
258 (init_lex): Initialize it. No longer call...
259 (grow_token_buffer): this. Remove it.
260 Adjust all the places which used it to use the obstack.
261
262 2001-01-19 Akim Demaille <akim@epita.fr>
263
264 * src/lex.h: Rename all the tokens:
265 s/\bENDFILE\b/tok_eof/g;
266 s/\bIDENTIFIER\b/tok_identifier/g;
267 etc.
268 Let them be enums, not #define, to ease debugging.
269 Adjust all the code.
270
271 2001-01-18 Akim Demaille <akim@epita.fr>
272
273 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
274 * src/lex.c (maxtoken, grow_token_buffer): Static.
275
276 2001-01-18 Akim Demaille <akim@epita.fr>
277
278 Since we now use obstacks, more % directives can be enabled.
279
280 * src/lex.c (percent_table): Also accept `%yacc',
281 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
282 `%debug'.
283 Handle the actions for `%semantic_parser' and `%pure_parser' here,
284 instead of returning a token.
285 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
286 * src/reader.c (read_declarations): Adjust.
287 * src/files.c (open_files): Don't call `compute_base_names', don't
288 compute `attrsfile' since they depend upon data which might be
289 *in* the input file now.
290 (output_files): Do it here.
291 * src/output.c (output_headers): Document the fact that this patch
292 introduces a guaranteed SEGV for semantic parsers.
293 * doc/bison.texinfo: Document them.
294 * tests/suite.at: Exercise these %options.
295
296 2000-12-20 Akim Demaille <akim@epita.fr>
297
298 Also handle the output file (--verbose) with obstacks.
299
300 * files.c (foutput): Remove.
301 (output_obstack): New.
302 Adjust all dependencies.
303 * src/conflicts.c: Return a string.
304 * src/system.h (obstack_grow_string): Rename as...
305 (obstack_sgrow): this. Be ready to work with non literals.
306 (obstack_fgrow4): New.
307
308 2000-12-20 Akim Demaille <akim@epita.fr>
309
310 * src/files.c (open_files): Fix the computation of short_base_name
311 in the case of `-o foo.tab.c'.
312
313 2000-12-20 Akim Demaille <akim@epita.fr>
314
315 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
316 (copy_dollar): Now that everything uses obstacks, get rid of the
317 FILE * parameters.
318
319 2000-12-20 Akim Demaille <akim@epita.fr>
320
321 * src/files.c (open_files): Actually the `.output' file is based
322 on the short_base_name, not base_name.
323 * tests/suite.at (Checking output file names): Adjust.
324
325 2000-12-20 Akim Demaille <akim@epita.fr>
326
327 * src/bison.s1: Remove, we now use directly...
328 * src/bison.simple: this.
329 * src/Makefile.am: Use pkgdata instead of data.
330
331 2000-12-20 Akim Demaille <akim@epita.fr>
332
333 * src/files.c (guard_obstack): New.
334 (open_files): Initialize it.
335 (output_files): Dump it...
336 * src/files.h: Export it.
337 * src/reader.c (copy_guard): Use it.
338
339 2000-12-19 Akim Demaille <akim@epita.fr>
340
341 * src/files.c (outfile, defsfile, actfile): Removed as global
342 vars.
343 (open_files): Don't compute them.
344 (output_files): Adjust.
345 (base_name, short_base_name): Be global.
346 Adjust dependencies.
347
348 2000-12-19 Akim Demaille <akim@epita.fr>
349
350 * src/files.c (strsuffix): New.
351 (stringappend): Be just like strcat but allocate.
352 (base_names): Eve out from open_files.
353 Try to simplify the rather hairy computation of base_name and
354 short_base_name.
355 (open_files): Use it.
356 * tests/suite.at (Checking output file names): New test.
357
358 2000-12-19 Akim Demaille <akim@epita.fr>
359
360 * src/system.h (obstack_grow_literal_string): Rename as...
361 (obstack_grow_string): this.
362 * src/output.c (output_parser): Recognize `%% actions' instead of
363 `$'.
364 * src/bison.s1: s/$/%% actions/.
365 * src/bison.hairy: Likewise.
366
367 2000-12-19 Akim Demaille <akim@epita.fr>
368
369 * src/output.c (output_parser): Compute the `#line' lines when
370 there are.
371 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
372 Suggested by Hans Aberg.
373
374 2000-12-19 Akim Demaille <akim@epita.fr>
375
376 Let the handling of the skeleton files be local to the procedures
377 that use it.
378
379 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
380 longer static.
381 (fparser, open_extra_files): Remove.
382 (open_files, output_files): Don't take care of fparser.
383 * src/files.h: Adjust.
384 * src/output.c (output_parser): Open and close the file to the
385 skeleton.
386 * src/reader.c (read_declarations): When %semantic_parser, open
387 fguard.
388
389 2000-12-19 Akim Demaille <akim@epita.fr>
390
391 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
392 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
393
394 2000-12-19 Akim Demaille <akim@epita.fr>
395
396 * src/files.c (open_files): Yipee! We no longer need all the code
397 looking for `/tmp' since we have no tmp file.
398
399 2000-12-19 Akim Demaille <akim@epita.fr>
400
401 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
402 New macros.
403 * src/files.c (open_files): Less dependency on MSDOS etc.
404
405 2000-12-14 Akim Demaille <akim@epita.fr>
406
407 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
408 Provide a default definition.
409 Use it when executing the default @ action.
410 * src/reader.c (reader_output_yylsp): No longer include
411 `timestamp' and `text' in the default YYLTYPE.
412
413 2000-12-12 Akim Demaille <akim@epita.fr>
414
415 * src/reader.c (copy_definition, parse_union_decl, copy_action)
416 (copy_guard): Quote the file names.
417 Reported by Laurent Mascherpa.
418
419 2000-12-12 Akim Demaille <akim@epita.fr>
420
421 * src/output.c (output_headers, output_program, output): Be sure
422 to escape special characters when outputting filenames.
423 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
424 (output_headers): Don't depend on them, Use ACTSTR.
425
426 2000-11-17 Akim Demaille <akim@epita.fr>
427
428 * lib/obstack.h: Formatting changes.
429 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
430 prevents type checking.
431 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
432 cast the value to (void *): assigning a `foo *' to a `void *'
433 variable is valid.
434 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
435 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
436 append characters.
437
438 2000-11-17 Akim Demaille <akim@epita.fr>
439
440 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
441 as...
442 (suite.m4, regression.m4, calc.m4): these.
443 * tests/atgeneral.m4: Update from CVS Autoconf.
444
445 2000-11-17 Akim Demaille <akim@epita.fr>
446
447 * tests/regression.m4 (%union and --defines): New test,
448 demonstrating a current bug in the obstack implementation.
449
450 2000-11-17 Akim Demaille <akim@epita.fr>
451
452 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
453 macros.
454 Use them to declare the variables which are global or local to
455 `yyparse'.
456
457 2000-11-17 Akim Demaille <akim@epita.fr>
458
459 * acconfig.h: Remove, no longer used.
460
461 2000-11-07 Akim Demaille <akim@epita.fr>
462
463 * src: s/Copyright (C)/Copyright/g.
464
465 2000-11-07 Akim Demaille <akim@epita.fr>
466
467 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
468 defining.
469 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
470
471 2000-11-07 Akim Demaille <akim@epita.fr>
472
473 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
474 Merge in a single CPP if/else.
475
476 2000-11-07 Akim Demaille <akim@epita.fr>
477
478 * src/output.c (output): Remove useless variables.
479 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
480 argument `data' for consistency with the prototypes.
481 Qualify it `const'.
482 (obstack_copy, obstack_copy0): Rename the second argument as
483 `address' for consistency. Qualify it `const'.
484 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
485 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
486 `const' their input argument (`data' or `address').
487 Adjust the corresponding macros to include `const' in casts.
488
489 2000-11-03 Akim Demaille <akim@epita.fr>
490
491 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
492 s/PFILE1/BISON_HAIRY/.
493 Adjust dependencies.
494
495 2000-11-03 Akim Demaille <akim@epita.fr>
496
497 For some reason, this was not applied.
498
499 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
500 `unlink': it's no longer used.
501
502 2000-11-03 Akim Demaille <akim@epita.fr>
503
504 * src/files.c (skeleton_find): New function, eved out of...
505 (open_files, open_extra_files): here.
506
507 2000-11-03 Akim Demaille <akim@epita.fr>
508
509 Don't use `atexit'.
510
511 * src/files.c (obstack_save): New function.
512 (done): Rename as...
513 (output_files): this.
514 Use `obstack_save'.
515 * src/main.c (main): Don't use `atexit' to register `done', since
516 it no longer has to remove tmp files, just call `output_files'
517 when there are no errors.
518
519 2000-11-02 Akim Demaille <akim@epita.fr>
520
521 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
522 `unlink': it's no longer used.
523 * src/files.h: Formatting changes.
524
525 2000-11-02 Akim Demaille <akim@epita.fr>
526
527 Remove the last uses of mktemp and unlink/delete.
528
529 * src/files.c (fdefines, ftable): Removed.
530 (defines_ostack, table_obstack): New.
531 Adjust dependencies of the former into uses of the latter.
532 * src/output.c (output_short_or_char_table, output_short_table):
533 Convert to using obstacks.
534 * src/reader.c (copy_comment2): Accept one FILE * and two
535 obstacks.
536 (output_token_defines, reader_output_yylsp): Use obstacks.
537 * src/system.h (obstack_fgrow3): New.
538
539 2000-11-01 Akim Demaille <akim@epita.fr>
540
541 Change each use of `fattrs' into a use of `attrs_obstack'.
542
543 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
544 * src/files.c (fattrs): Remove.
545 (attrs_obstack): New.
546 Adjust all dependencies.
547 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
548
549 2000-11-01 Akim Demaille <akim@epita.fr>
550
551 Introduce obstacks.
552 Change each use of `faction' into a use of `action_obstack'.
553
554 * lib/obstack.h, lib/obstack.c: New files.
555 * src/files.c (faction): Remove.
556 (action_obstack): New.
557 Adjust all dependencies.
558
559 2000-10-20 Akim Demaille <akim@epita.fr>
560
561 * lib/quote.h (PARAMS): New macro. Use it.
562
563 2000-10-16 Akim Demaille <akim@epita.fr>
564
565 * src/output.c (output_short_or_char_table): New function.
566 (output_short_table, output_token_translations): Use it.
567 (goto_actions): Use output_short_table.
568
569 2000-10-16 Akim Demaille <akim@epita.fr>
570
571 * src/symtab.c (bucket_new): New function.
572 (getsym): Use it.
573
574 * src/output.c (output_short_table): New argument to display the
575 comment associated with the table.
576 Adjust dependencies.
577 (output_gram): Use it.
578 (output_rule_data): Nicer output layout for YYTNAME.
579
580 2000-10-16 Akim Demaille <akim@epita.fr>
581
582 * src/lex.c (read_typename): New function.
583 (lex): Use it.
584 * src/reader.c (copy_dollar): Likewise.
585
586 2000-10-16 Akim Demaille <akim@epita.fr>
587
588 * src/reader.c (copy_comment2): Expect the input stream to be on
589 the `/' which is suspected to open a comment, instead of being
590 called after `//' or `/*' was read.
591 (copy_comment, copy_definition, parse_union_decl, copy_action)
592 (copy_guard): Adjust.
593
594 2000-10-16 Akim Demaille <akim@epita.fr>
595
596 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
597 `read_signed_integer'.
598
599 2000-10-16 Akim Demaille <akim@epita.fr>
600
601 * src/reader.c (copy_dollar): New function.
602 (copy_guard, copy_action): Use it.
603
604 2000-10-16 Akim Demaille <akim@epita.fr>
605
606 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
607 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
608 New files, from Fileutils 4.0.27.
609 * src/main.c (printable_version): Remove.
610 * src/lex.c, src/reader.c: Use `quote'.
611
612 2000-10-04 Akim Demaille <akim@epita.fr>
613
614 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
615
616 2000-10-04 Akim Demaille <akim@epita.fr>
617
618 * doc/bison.texinfo: Various typos spotted by Neil Booth.
619
620 2000-10-04 Akim Demaille <akim@epita.fr>
621
622 When a literal string is used to define two different tokens,
623 `bison -v' segfaults.
624 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
625
626 * tests/regression.m4: New file.
627 Include the core of the sample provided by Piotr Gackiewicz.
628 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
629 properly.
630
631 2000-10-04 Akim Demaille <akim@epita.fr>
632
633 * src/reader.c (parse_expect_decl): Keep `count' within the size
634 of `buffer'.
635 From Neil Booth.
636
637 2000-10-02 Paul Eggert <eggert@twinsun.com>
638
639 * bison.s1 (yyparse): Assign the default value
640 unconditionally, to avoid a GCC warning and make the parser a
641 tad smaller.
642
643 2000-10-02 Akim Demaille <akim@epita.fr>
644
645 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
646 options.
647
648 2000-10-02 Akim Demaille <akim@epita.fr>
649
650 * src/derives.c, src/print.c, src/reduce.c: To ease the
651 translation, move some `\n' out of the translated strings.
652
653 2000-10-02 Akim Demaille <akim@epita.fr>
654
655 The location tracking mechanism is precious for parse error
656 messages. Nevertheless, it is enabled only when `@n' is used in
657 the grammar, which is a different issue (you can use it in error
658 message, but not in the grammar per se). Therefore, there should
659 be another means to enable it.
660
661 * src/getargs.c (getargs): Support `--locations'.
662 (usage): Report it.
663 * src/getargs.h (locationsflag): Export it.
664 * src/lex.c (percent_table): Support `%locations'.
665 * src/reader.c (yylsp_needed): Remove this variable, now replaced
666 with `locationsflag'.
667 * doc/bison.texinfo: Document `--locations' and `%locations'.
668 Sort the options.
669 * tests/calc.m4: Test it.
670
671 For regularity of the names, replace each
672 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
673 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
674 In addition replace each `flag' with `_flag'.
675
676 2000-10-02 Akim Demaille <akim@epita.fr>
677
678 Also test parse error messages, including with YYERROR_VERBOSE.
679
680 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
681 associative).
682 Use it to check the computations.
683 Use it to check `nonassoc' is honored.
684 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
685 `--yyerror-verbose'.
686 (_AT_CHECK_CALC): Adjust to this option.
687 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
688
689 2000-10-02 Akim Demaille <akim@epita.fr>
690
691 Test also `--verbose', `--defines' and `--name-prefix'. Testing
692 the latter demonstrates a flaw in the handling of non debugging
693 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
694 was used in order to simplify:
695
696 #if YYDEBUG
697 if (yydebug)
698 {
699 ...
700 }
701 #endif
702
703 into
704
705 if (yydebug)
706 {
707 ...
708 }
709
710 unfortunately this leads to a CPP conflict when
711 `--name-prefix=foo' is used since it produces `#define yydebug
712 foodebug'.
713
714 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
715 (YYDPRINTF): New macro.
716 Spread its use.
717 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
718 the bison options.
719 Also test `--verbose', `--defines' and `--name-prefix'.
720
721 2000-10-02 Akim Demaille <akim@epita.fr>
722
723 Improve the readability of the produced parsers.
724
725 * src/bison.s1: Formatting changes.
726 Improve the comment related to the `$' mark.
727 (yydefault): Don't fall through to `yyresume': `goto' there.
728 * src/output.c (output_parser): When the `$' is met, skip the end
729 of its line.
730 New variable, `number_of_dollar_signs', to check there's exactly
731 one `$' in the parser skeleton.
732
733 2000-10-02 Akim Demaille <akim@epita.fr>
734
735 * lib/xstrdup.c: New file, from the fileutils.
736 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
737 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
738 instead of strlen + xmalloc + strcpy.
739 * src/symtab.c (copys): Remove, use xstrdup instead.
740
741 2000-10-02 Akim Demaille <akim@epita.fr>
742
743 * src/gram.h (associativity): New enum type which replaces the
744 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
745 `right_assoc', `left_assoc' and `non_assoc'.
746 Adjust all dependencies.
747 * src/reader.c: Formatting changes.
748 (LTYPESTR): Don't define it, use it as a literal in
749 `reader_output_yylsp'.
750 * src/symtab.h (symbol_class): New enum type which replaces the
751 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
752 `sunknown', `stoken and `snterm'.
753
754 2000-10-02 Akim Demaille <akim@epita.fr>
755
756 * src/getargs.c (fixed_outfiles): Rename as...
757 (yaccflag): for consistency and accuracy.
758 Adjust dependencies.
759
760 2000-10-02 Akim Demaille <akim@epita.fr>
761
762 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
763 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
764 difficult and introduced a lot of core dump. It turns out that
765 Bison used an implementation of `xmalloc' based on `calloc', and
766 at various places it does depend upon the initialization to 0. I
767 have not tried to isolate the pertinent places, and all the former
768 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
769 someone should address this issue.
770
771 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
772 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
773 files.
774 Adjust dependencies.
775 * src/warshall.h: New file.
776 Propagate.
777
778 2000-10-02 Akim Demaille <akim@epita.fr>
779
780 Various anti-`extern in *.c' changes.
781
782 * src/system.h: Include `assert.h'.
783
784 2000-10-02 Akim Demaille <akim@epita.fr>
785
786 * src/state.h (nstates, final_state, first_state, first_shift)
787 (first_reduction): Move their exportation from here...
788 * src/LR0.h: to here.
789 Adjust dependencies.
790 * src/getargs.c (statisticsflag): New variable.
791 Add support for `--statistics'.
792 Adjust dependencies.
793
794 Remove a lot of now useless `extern' statements in most files.
795
796 2000-10-02 Akim Demaille <akim@epita.fr>
797
798 * src/LR0.h: New file.
799 Propagate its use.
800
801 2000-10-02 Akim Demaille <akim@epita.fr>
802
803 * src/print.h: New file.
804 Propagate its use.
805 * src/print.c: Formatting and ordering changes.
806 (verbose, terse): Replace with...
807 (print_results): this new function.
808 Adjust dependencies.
809
810 2000-10-02 Akim Demaille <akim@epita.fr>
811
812 * src/conflicts.c (conflict_report): New function.
813 (conflict_log, verbose_conflict_log): Replace with...
814 (print_conflicts): this function.
815 Adjust dependencies.
816 * src/conflicts.h: New file.
817 Propagate its inclusion.
818
819 2000-10-02 Akim Demaille <akim@epita.fr>
820
821 * src/nullable.h: New file.
822 Propagate its inclusion.
823 * src/nullable.c: Formatting changes.
824
825 2000-10-02 Akim Demaille <akim@epita.fr>
826
827 * src/reduce.h: New file.
828 Propagate its inclusion.
829 * src/reduce.c: Topological sort and other formatting changes.
830 (bool, TRUE, FALSE): Move their definition to...
831 * src/system.h: here.
832
833 2000-10-02 Akim Demaille <akim@epita.fr>
834
835 * src/files.c: Formatting changes.
836 (tryopen, tryclose, openfiles): Rename as...
837 (xfopen, xfclose, open_files): this.
838 (stringappend): static.
839 * src/files.h: Complete the list of exported symbols.
840 Propagate its use.
841
842 2000-10-02 Akim Demaille <akim@epita.fr>
843
844 * src/reader.h: New file.
845 Propagate its use instead of tedious list of `extern' and
846 prototypes.
847 * src/reader.c: Formatting changes, topological sort,
848 s/register//.
849
850 2000-10-02 Akim Demaille <akim@epita.fr>
851
852 * src/lex.h: Prototype `lex.c' exported functions.
853 * src/reader.c: Adjust.
854 * src/lex.c: Formatting changes.
855 (safegetc): Rename as...
856 (xgetc): this.
857
858 2000-10-02 Akim Demaille <akim@epita.fr>
859
860 * src/lalr.h: New file.
861 Propagate its inclusion instead of prototypes and `extern'.
862 * src/lalr.c: Formatting changes, topological sorting etc.
863
864 2000-10-02 Akim Demaille <akim@epita.fr>
865
866 * src/output.c (token_actions): Introduce a temporary array,
867 YYDEFACT, that makes it possible for this function to use
868 output_short_table.
869
870 2000-10-02 Akim Demaille <akim@epita.fr>
871
872 `user_toknums' is output as a `short[]' in `output.c', while it is
873 defined as a `int[]' in `reader.c'. For consistency with the
874 other output tables, `user_toknums' is now defined as a table of
875 shorts.
876
877 * src/reader.c (user_toknums): Be a short table instead of an int
878 table.
879 Adjust dependencies.
880
881 Factor the short table outputs.
882
883 * src/output.c (output_short_table): New function.
884 * src/output.c (output_gram, output_stos, output_rule_data)
885 (output_base, output_table, output_check): Use it.
886
887 2000-10-02 Akim Demaille <akim@epita.fr>
888
889 * src/output.c (output): Topological sort of the functions, in
890 order to get rid of the `static' prototypes.
891 No longer use `register'.
892 * src/output.h: New file.
893 Propagate its inclusion in files explicitly prototyping functions
894 from output.c.
895
896 2000-09-21 Akim Demaille <akim@epita.fr>
897
898 * src/atgeneral.m4: Update from Autoconf.
899
900 2000-09-21 Akim Demaille <akim@epita.fr>
901
902 * src/closure.h: New file.
903 * src/closure.c: Formatting changes, topological sort over the
904 functions, use of closure.h.
905 (initialize_closure, finalize_closure): Rename as...
906 (new_closure, free_closure): these. Adjust dependencies.
907 * src/LR0.c: Formatting changes, topological sort, use of
908 cloture.h.
909 (initialize_states): Rename as...
910 (new_states): this.
911 * src/Makefile.am (noinst_HEADERS): Adjust.
912
913 2000-09-20 Akim Demaille <akim@epita.fr>
914
915 * src/acconfig.h: Don't protect config.h against multiple
916 inclusion.
917 Don't define PARAMS.
918 * src/system.h: Define PARAMS.
919 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
920 purpose of config.h. system.h must not try to fix wrong
921 definitions in config.h.
922
923 2000-09-20 Akim Demaille <akim@epita.fr>
924
925 * src/derives.h: New file.
926 * src/main.c, src/derives.h: Use it.
927 Formatting changes.
928 * src/Makefile.am (noinst_HEADERS): Adjust.
929
930 2000-09-20 Akim Demaille <akim@epita.fr>
931
932 * tests/atgeneral.m4: Update from Autoconf.
933 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
934 (AT_CHECK_CALC): New macros.
935 Use these macros to test bison with options `', `--raw',
936 `--debug', `--yacc', `--yacc --debug'.
937
938 2000-09-19 Akim Demaille <akim@epita.fr>
939
940 * src/output.c: Formatting changes.
941 * src/machine.h: Remove, leaving its contents in...
942 * src/system.h: here.
943 Include stdio.h.
944 Adjust all dependencies on stdio.h and machine.h.
945 * src/getargs.h: New file.
946 Let all `extern' declarations about getargs.c be replaced with
947 inclusion of `getargs.h'.
948 * src/Makefile.am (noinst_HEADERS): Adjust.
949
950 * tests/calc.m4 (yyin): Be initialized in main, not on the global
951 scope.
952 (yyerror): Returns void, not int.
953 * doc/bison.texinfo: Formatting changes.
954
955 2000-09-19 Akim Demaille <akim@epita.fr>
956
957 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
958 portable.
959
960 2000-09-18 Akim Demaille <akim@epita.fr>
961
962 * configure.in: Append WARNING_CFLAGS to CFLAGS.
963 * src/Makefile.am (INCLUDES): Don't.
964 Be ready to fetch headers in lib/.
965
966 2000-09-18 Akim Demaille <akim@epita.fr>
967
968 * doc/bison.texinfo: Update the copyright.
969 ANSIfy and GNUify the examples.
970 Remove the old menu.
971
972 2000-09-18 Akim Demaille <akim@epita.fr>
973
974 First set of tests: use the `calc' example from the documentation.
975
976 * src/bison.s1 (yyparse): Condition the code using `yytname' which
977 is defined only when YYDEBUG is.
978 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
979 * src/files.c (tryopen, tryclose): Formatting changes.
980 Move to the top and be static.
981 * src/reader.c (read_signed_integer): Likewise.
982 * tests/calc.m4: New file.
983 * Makefile.am, suite.m4: Adjust.
984 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
985
986 2000-09-18 Akim Demaille <akim@epita.fr>
987
988 Add support for an Autotest test suite for Bison.
989
990 * m4/m4.m4, m4/atconfig.m4: New files.
991 * m4/Makefile.am (EXTRA_DIST): Adjust.
992 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
993 files.
994 * src/getargs.c: Display a more standard --version message.
995 * src/reader.c (reader): Formatting changes.
996 No longer depend upon VERSION_STRING.
997 * configure.in: No longer use `dnl'.
998 Set up the test suite and the new directory `tests/.
999 (VERSION_STRING): Remove.
1000
1001 2000-04-14 Akim Demaille <akim@epita.fr>
1002
1003 * src/reader.c (copy_comment2): New function, same as former
1004 `copy_comment', but outputs into two FILE *.
1005 (copy_comment): Use it.
1006 (parse_union_decl): Use it.
1007 (get_type, parse_start_decl): Use the same `invalid' message.
1008 (parse_start_decl, parse_union_decl): Use the same `multiple'
1009 message.
1010 (parse_union_decl, copy_guard, copy_action): Use the same
1011 `unmatched' message.
1012 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
1013
1014 2000-03-31 Akim Demaille <akim@epita.fr>
1015
1016 * src/files.c (tryopen, tryclose): Move to the top.
1017 Be static.
1018
1019 2000-03-31 Akim Demaille <akim@epita.fr>
1020
1021 * src/main.c (main): Don't call `done', exit does it.
1022
1023 2000-03-31 Akim Demaille <akim@epita.fr>
1024
1025 * allocate.c: s/return (foo)/return foo/.
1026 * lalr.c: Likewise.
1027 * LR0.c: Likewise.
1028 * output.c: Likewise.
1029 * reader.c: Likewise.
1030 * symtab.c: Likewise.
1031 * vmsgetargs.c: Likewise.
1032
1033 2000-03-31 Akim Demaille <akim@epita.fr>
1034
1035 Clean up the error reporting functions.
1036
1037 * src/report.c: New file.
1038 * src/report.h: Likewise.
1039 * src/Makefile.am: Adjust.
1040 * m4/error.m4: New file.
1041 * m4/Makefile.am: Adjust.
1042 * configure.in (jm_PREREQ_ERROR): Call it.
1043 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
1044 Remove.
1045 (fatal, fatals): Remove. All callers use complain.c::fatal.
1046 (warn, warni, warns, warnss, warnss): Remove. All callers use
1047 complain.c::complain.
1048 (toomany): Remove, use fatal instead.
1049 * src/files.c (done): No argument, use complain_message_count.
1050 * src/main.c (main): Register `done' to `atexit'.
1051
1052 * src/getargs.c (usage): More `fputs', less `fprintf'.
1053
1054 2000-03-28 Akim Demaille <akim@epita.fr>
1055
1056 * lib/: New directory.
1057 * Makefile.am (SUBDIRS): Adjust.
1058 * configure.in: Adjust.
1059 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
1060 useless.
1061 * src/alloca.c: Moved to lib/.
1062 * src/getopt.c: Likewise.
1063 * src/getopt1.c: Likewise.
1064 * src/getopt.h: Likewise.
1065 * src/ansi2knr.c: Likewise.
1066 * src/ansi2knr.1: Likewise.
1067 * src/Makefile.am: Adjust.
1068 * lib/Makefile.am: New file.
1069
1070 2000-03-28 Akim Demaille <akim@epita.fr>
1071
1072 * src/getargs.c (usage): Refresh the help message.
1073
1074 2000-03-17 Akim Demaille <akim@epita.fr>
1075
1076 * src/getopt1.c: Updated from textutils 2.0e
1077 * src/getopt.c: Likewise.
1078 * src/getopt.h: Likewise.
1079
1080 2000-03-17 Akim Demaille <akim@epita.fr>
1081
1082 * src/Makefile.am (bison.simple): Fix the awk program: quote only
1083 the file name, not the whole `#line LINE FILE'.
1084
1085 2000-03-17 Akim Demaille <akim@epita.fr>
1086
1087 On syntax errors, report the token on which we choked.
1088
1089 * src/bison.s1 (yyparse): In the label yyerrlab, when
1090 YYERROR_VERBOSE, add yychar in msg.
1091
1092 2000-03-17 Akim Demaille <akim@epita.fr>
1093
1094 * src/reader.c (copy_at): New function.
1095 (copy_guard): Use it.
1096 (copy_action): Use it.
1097
1098 2000-03-17 Akim Demaille <akim@epita.fr>
1099
1100 Be kind to translators, save some useless translations.
1101
1102 * src/main.c (banner): New function.
1103 (fatal_banner): Use it.
1104 (warn_banner): Use it.
1105
1106 2000-03-17 Akim Demaille <akim@epita.fr>
1107
1108 * src/reader.c (copy_definition): Use copy_string and
1109 copy_comment. Removed now unused `match', `ended',
1110 `cplus_comment'.
1111 (copy_comment, copy_string): Moved, to be visible from
1112 copy_definition.
1113
1114 2000-03-17 Akim Demaille <akim@epita.fr>
1115
1116 * src/reader.c (copy_string): Declare `static inline'. No
1117 problems with inline, since it is checked by configure.
1118 (copy_comment): Likewise.
1119
1120 2000-03-17 Akim Demaille <akim@epita.fr>
1121
1122 * src/reader.c (packsymbols): Formatting changes.
1123
1124 2000-03-17 Akim Demaille <akim@epita.fr>
1125
1126 * src/reader.c (copy_comment): New function, factored out from:
1127 (copy_action): Use it. Removed now unused `match', `ended',
1128 `cplus_comment'.
1129 (copy_guard): Likewise.
1130
1131 2000-03-17 Akim Demaille <akim@epita.fr>
1132
1133 * src/reader.c (copy_string): New function, factored out from:
1134 (copy_action): Use it.
1135 (copy_guard): Likewise.
1136
1137 2000-03-17 Akim Demaille <akim@epita.fr>
1138
1139 Change the handling of @s so that they behave exactly like $s.
1140 There is now a pseudo variable @$ (readble and writable), location
1141 of the lhs of the rule (by default ranging from the location of
1142 the first symbol of the rhs, to the location of the last symbol,
1143 or, if the rhs is empty, YYLLOC).
1144
1145 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
1146 yyval.
1147 (yyparse): When providing a default semantic action, provide a
1148 default location action.
1149 (after the $): No longer change `*YYLSP', just stack YYLOC the
1150 same way you stack YYVAL.
1151 * src/reader.c (read_declarations): Use warns.
1152 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
1153 (copy_action, case '@'): Likewise.
1154 Use a standard error message, to save useless work from
1155 translators.
1156
1157 2000-03-17 Akim Demaille <akim@epita.fr>
1158
1159 * src/bison.s1: Formatting and cosmetics changes.
1160 * src/reader.c: Likewise.
1161 Update the Copyright notice.
1162
1163 2000-03-17 Akim Demaille <akim@epita.fr>
1164
1165 * src/bison.s1 (#line): All set to `#line' only, since the
1166 Makefile now handles them.
1167
1168 2000-03-16 Akim Demaille <akim@epita.fr>
1169
1170 * src/output.c (output_rule_data): Output the documentation of
1171 some of the tables.
1172 (Copyright notice): Update.
1173 Formatting changes.
1174
1175 2000-03-16 Akim Demaille <akim@epita.fr>
1176
1177 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
1178 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
1179 One `#if YYDEBUG' remains, since it uses variables which are
1180 defined only if `YYDEBUG != 0'.
1181
1182 2000-03-16 Akim Demaille <akim@epita.fr>
1183
1184 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
1185 and related variables so that the similarities are highlighted.
1186
1187 2000-03-16 Akim Demaille <akim@epita.fr>
1188
1189 * src/bison.s1: Properly indent CPP directives.
1190
1191 2000-03-16 Akim Demaille <akim@epita.fr>
1192
1193 * src/bison.s1: Properly indent the `alloca' CPP section.
1194
1195 2000-03-16 Akim Demaille <akim@epita.fr>
1196
1197 Do not hard code values of directories in `configure.in'.
1198 Update the `configure' tool chain.
1199
1200 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
1201 src/makefile.am.
1202 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
1203 (AC_OUTPUT): Add m4/Makefile.
1204 Bump to bison 1.28a, 1.29 has never been released.
1205 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
1206 handled via src/Makefile.am.
1207 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
1208 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
1209 autoheader.
1210 * Makefile.am (SUBDIRS): Add m4.
1211 (ACLOCAL_AM_FLAGS): New variable.
1212 (AUTOMAKE_OPTIONS): Add check-news.
1213 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
1214 the proper line number and file name.
1215 (DEFS): Propagate the location of bison library files and of the
1216 locale files.
1217 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
1218 builddir.
1219 * acinclude.m4: Remove, replaced by the directory m4.
1220 * m4/Makefile.am (EXTRA_DIST): New variable.
1221 * m4/gettext.m4: New file, from the fileutils.
1222 * m4/lcmessage.m4: Likewise
1223 * m4/progtest.m4: Likewise.
1224 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
1225
1226 2000-03-10 Akim Demaille <akim@epita.fr>
1227
1228 * src/closure.c:
1229 Formatting changes of various comments.
1230 Respect the GNU coding standards at various places.
1231 Don't use `_()' when no translation is needed.
1232
1233 1999-12-13 Jesse Thilo <jthilo@gnu.org>
1234
1235 * src/files.c:
1236 OS/2 honors TMPDIR environment variable.
1237
1238 1999-12-13 Jesse Thilo <jthilo@gnu.org>
1239
1240 * doc/bison.texinfo: Tweaked spelling and grammar.
1241 Updated ISBN.
1242 Removed reference to price of printed copy.
1243 Mention BISON_SIMPLE and BISON_HAIRY.
1244
1245 1999-12-13 Jesse Thilo <jthilo@gnu.org>
1246
1247 * configure.in, NEWS:
1248 Bison 1.29 released.
1249
1250 1999-10-27 Jesse Thilo <jthilo@gnu.org>
1251
1252 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
1253 Added reference card.
1254
1255 1999-07-26 Jesse Thilo <jthilo@gnu.org>
1256
1257 * po/ru.po: Added Russian translation.
1258
1259 1999-07-26 Jesse Thilo <jthilo@gnu.org>
1260
1261 * configure.in: Added Russian translation.
1262
1263 1999-07-06 Jesse Thilo <jthilo@gnu.org>
1264
1265 * configure.in, NEWS, README:
1266 Released version 1.28.
1267
1268 1999-06-14 Jesse Thilo <jthilo@gnu.org>
1269
1270 * src/system.h:
1271 Squashed redefinition warning on some systems.
1272
1273 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
1274 Have configure build version string instead of relying on ANSI string
1275 concatentation.
1276
1277 1999-06-14 Jesse Thilo <jthilo@gnu.org>
1278
1279 * po/POTFILES.in: Got rid of version.c.
1280
1281 1999-06-14 Jesse Thilo <jthilo@gnu.org>
1282
1283 * acconfig.h, configure.in:
1284 Have configure build version string instead of relying on ANSI string
1285 concatentation.
1286
1287 1999-06-08 Jesse Thilo <jthilo@gnu.org>
1288
1289 * doc/bison.1:
1290 Dropped mention of `+' for long-named options.
1291
1292 1999-05-30 Jesse Thilo <jthilo@gnu.org>
1293
1294 * src/files.c: Added <unistd.h> for unlink().
1295
1296 * src/Makefile.am, src/system.h:
1297 I18n fixes.
1298
1299 1999-05-30 Jesse Thilo <jthilo@gnu.org>
1300
1301 * README: Added a FAQ list.
1302
1303 * configure.in, acconfig.h:
1304 I18n fixes.
1305
1306 1999-05-30 Jesse Thilo <jthilo@gnu.org>
1307
1308 * doc/FAQ, doc/Makefile.am:
1309 Added a FAQ list.
1310
1311 1999-05-19 Jesse Thilo <jthilo@gnu.org>
1312
1313 * src/alloc.h, src/symtab.h, src/version.c:
1314 Protected inclusion of "config.h" with HAVE_CONFIG_H.
1315
1316 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1317
1318 * src/.cvsignore, src/Makefile.am:
1319 Reorganized: sources in `src', documentation in `doc'.
1320
1321 * src/lex.c (literalchar):
1322 fixed the code for escaping double quotes (thanks
1323 Jonathan Czisny.)
1324
1325 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1326
1327 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
1328 Adjusted paths to reflect directory reorganization.
1329
1330 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1331
1332 * doc/.cvsignore, doc/Makefile.am:
1333 Reorganized: sources in `src', documentation in `doc'.
1334
1335 1999-04-18 Jesse Thilo <jthilo@gnu.org>
1336
1337 * configure.in:
1338 Updated AC_INIT file to reflect directory reorganization.
1339
1340 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
1341 Reorganized: sources in `src', documentation in `doc'.
1342
1343 1999-04-13 Jesse Thilo <jthilo@gnu.org>
1344
1345 * src/allocate.c:
1346 Don't declare calloc() and realloc() if not necessary.
1347
1348 1999-04-13 Jesse Thilo <jthilo@gnu.org>
1349
1350 * configure.in, acconfig.h, acinclude.m4:
1351 Don't declare calloc() and realloc() if not necessary.
1352
1353 1999-03-23 Jesse Thilo <jthilo@gnu.org>
1354
1355 * po/.cvsignore: Added i18n support.
1356
1357 1999-03-23 Jesse Thilo <jthilo@gnu.org>
1358
1359 * acconfig.h, configure.in, Makefile.am:
1360 Added i18n support.
1361
1362 1999-03-22 Jesse Thilo <jthilo@gnu.org>
1363
1364 * src/bison.s1: Fixed #line numbers.
1365
1366 1999-03-15 Jesse Thilo <jthilo@gnu.org>
1367
1368 * po/es.po, po/fr.po, po/nl.po, po/de.po:
1369 Added PO files from Translation Project.
1370
1371 1999-03-03 Jesse Thilo <jthilo@gnu.org>
1372
1373 * Makefile.am:
1374 Added support for non-ANSI compilers (ansi2knr).
1375
1376 1999-02-16 Jesse Thilo <jthilo@gnu.org>
1377
1378 * configure.in: Bumped version number to 1.27.
1379
1380 * Makefile.am:
1381 Added `bison.simple' to list of files removed by `make distclean'.
1382
1383 1999-02-12 Jesse Thilo <jthilo@gnu.org>
1384
1385 * src/files.c, src/files.h:
1386 Defined locations of parser files in config.h instead of Makefile.
1387
1388 1999-02-12 Jesse Thilo <jthilo@gnu.org>
1389
1390 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
1391 Defined locations of parser files in config.h instead of Makefile.
1392
1393 1999-02-09 Jesse Thilo <jthilo@gnu.org>
1394
1395 * Makefile.am:
1396 Removed inappropriate use of $< macro.
1397
1398 1999-02-05 Jesse Thilo <jthilo@gnu.org>
1399
1400 * po/Makefile.in.in, po/POTFILES.in:
1401 Add `po' directory skeleton.
1402
1403 1999-01-27 Jesse Thilo <jthilo@gnu.org>
1404
1405 * README: Document help-bison list.
1406
1407 * configure.in: Add check for mkstemp().
1408
1409 1999-01-20 Jesse Thilo <jthilo@gnu.org>
1410
1411 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
1412 Hush a few compiler warnings.
1413
1414 * src/files.c:
1415 Add tryclose(), which verifies that fclose was successful.
1416 Hush a couple of compiler warnings.
1417
1418 1999-01-20 Jesse Thilo <jthilo@gnu.org>
1419
1420 * Makefile.am, OChangeLog:
1421 ChangeLog is now automatically generated. Include the old version as
1422 OChangeLog.
1423
1424 1999-01-14 Jesse Thilo <jthilo@gnu.org>
1425
1426 * 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:
1427 Update FSF address.
1428
1429 1999-01-14 Jesse Thilo <jthilo@gnu.org>
1430
1431 * doc/bison.texinfo: Fix formatting glitch.
1432
1433 * doc/bison.texinfo: Update FSF address.
1434
1435 1999-01-14 Jesse Thilo <jthilo@gnu.org>
1436
1437 * acconfig.h: Update FSF address.
1438
1439 1999-01-08 Jesse Thilo <jthilo@gnu.org>
1440
1441 * src/system.h:
1442 Don't define PACKAGE here, since config.h defines it.
1443
1444 1998-12-30 Jesse Thilo <jthilo@gnu.org>
1445
1446 * src/reader.c: Update copyright date.
1447
1448 * src/main.c:
1449 Ditch sprintf to statically-sized buffers in fatal/warn functions in
1450 favor of output directly to stderr (avoids buffer overruns).
1451
1452 * src/reader.c: Some checks for premature EOF.
1453
1454 * 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:
1455 Use prototypes if the compiler understands them.
1456
1457 * src/files.c: Honor TMPDIR on Unix hosts.
1458 Use prototypes if the compiler understands them.
1459
1460 * src/reader.c:
1461 Fix a couple of buffer overrun bugs.
1462 Use prototypes if the compiler understands them.
1463
1464 * src/system.h: Include unistd.h and ctype.h.
1465 Use #ifdef instead of #if for NLS symbols.
1466
1467 1998-12-30 Jesse Thilo <jthilo@gnu.org>
1468
1469 * doc/bison.texinfo:
1470 Delete comment "consider using @set for edition number, etc..." since
1471 we now are doing so.
1472
1473 1998-12-30 Jesse Thilo <jthilo@gnu.org>
1474
1475 * configure.in:
1476 Use prototypes if the compiler understands them.
1477
1478 * NEWS: Document 1.26 highlights.
1479
1480 * Makefile.am: Require Automake 1.3 or later.
1481
1482 * acconfig.h:
1483 Use prototypes if the compiler understands them.
1484
1485 1998-12-29 Jesse Thilo <jthilo@gnu.org>
1486
1487 * src/version.c:
1488 Use VERSION symbol from automake for version number.
1489
1490 1998-12-29 Jesse Thilo <jthilo@gnu.org>
1491
1492 * acconfig.h, configure.in, version.cin:
1493 Use VERSION symbol from automake for version number.
1494
1495 1998-11-28 Jesse Thilo <jthilo@gnu.org>
1496
1497 * Makefile.am:
1498 Distribute original version of simple parser (bison.s1), not built
1499 version (bison.simple).
1500
1501 1998-11-28 Jesse Thilo <jthilo@gnu.org>
1502
1503 * doc/bison.texinfo: Add info dir entry.
1504
1505 * doc/bison.texinfo:
1506 Let automake put version number into documentation.
1507
1508 1998-11-26 Jesse Thilo <jthilo@gnu.org>
1509
1510 * src/bison.cld, src/build.com, src/vmshlp.mar:
1511 Add non-RCS files from /gd/gnu/bison.
1512
1513 1998-11-26 Jesse Thilo <jthilo@gnu.org>
1514
1515 * doc/bison.1:
1516 Document the BISON_HAIRY and BISON_SIMPLE variables.
1517
1518 1998-11-25 Jesse Thilo <jthilo@gnu.org>
1519
1520 * src/version.c: Build version.c automatically.
1521
1522 * src/reader.c:
1523 Fix token numbering (used to start at 258, not 257).
1524
1525 * src/system.h: Include config.h.
1526
1527 * src/getargs.c: Update bug report address.
1528
1529 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
1530 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
1531
1532 1998-11-25 Jesse Thilo <jthilo@gnu.org>
1533
1534 * Makefile.am:
1535 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1536
1537 * configure.in, version.cin:
1538 Build version.c automatically.
1539
1540 * AUTHORS: Add AUTHORS file.
1541
1542 * README: Update bug report address.
1543
1544 * bison.simple:
1545 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1546
1547 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
1548 Add automake stuff.
1549
1550 1998-11-25 Jesse Thilo <jthilo@gnu.org>
1551
1552 * doc/bison.texinfo: Clean up some formatting.
1553
1554 1998-05-05 Richard Stallman <rms@gnu.org>
1555
1556 * doc/bison.texinfo:
1557 Explain better why to make a pure parser.
1558
1559 1998-01-05 Richard Stallman <rms@gnu.org>
1560
1561 * src/files.c (openfiles):
1562 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
1563 find a temporary directory, if possible. Do not unlink files while
1564 they are open.
1565
1566 1997-08-25 Richard Stallman <rms@gnu.org>
1567
1568 * src/reader.c (stack_offset;):
1569 Change some warni to warns.
1570
1571 * src/lex.c (literalchar): Use warns, not warni.
1572
1573 1997-06-28 Richard Stallman <rms@gnu.org>
1574
1575 * src/bison.s1: Add a Bison version comment.
1576
1577 * src/main.c (fatal, warn, berror):
1578 Use program_name.
1579
1580 1997-06-28 Richard Stallman <rms@gnu.org>
1581
1582 * Makefile.in (bison_version): New variable.
1583 (dist): Use that variable.
1584 (bison.s1): Substitute the Bison version into bison.simple.
1585
1586 * bison.simple: Add a Bison version comment.
1587
1588 1997-06-18 Richard Stallman <rms@gnu.org>
1589
1590 * src/main.c (fatal, warn, berror):
1591 Make error messages standard.
1592 (toomany): Improve error message text.
1593
1594 * 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:
1595 new.h renamed to alloc.h.
1596
1597 1997-06-18 Richard Stallman <rms@gnu.org>
1598
1599 * Makefile.in: new.h renamed to alloc.h.
1600
1601 1997-05-24 Richard Stallman <rms@gnu.org>
1602
1603 * src/lex.c (literalchar):
1604 Fix the code for escaping \, " and '.
1605
1606 (lex): Avoid trouble when there are many chars
1607 to discard in a char literal with just several chars in it.
1608
1609 1997-05-17 Richard Stallman <rms@gnu.org>
1610
1611 * src/bison.s1:
1612 Use malloc, if using alloca is troublesome.
1613 (YYSTACK_USE_ALLOCA): New flag macro.
1614 Define it for some systems and compilers.
1615 (YYSTACK_ALLOC): New macro.
1616 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1617 If it was malloc'd, free it.
1618
1619 1997-05-17 Richard Stallman <rms@gnu.org>
1620
1621 * bison.simple:
1622 Use malloc, if using alloca is troublesome.
1623 (YYSTACK_USE_ALLOCA): New flag macro.
1624 Define it for some systems and compilers.
1625 (YYSTACK_ALLOC): New macro.
1626 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1627 If it was malloc'd, free it.
1628
1629 1997-04-23 Richard Stallman <rms@gnu.org>
1630
1631 * src/bison.s1:
1632 (alloca) [__hpux]: Always define as __builtin_alloca.
1633
1634 1997-04-23 Richard Stallman <rms@gnu.org>
1635
1636 * bison.simple:
1637 (alloca) [__hpux]: Always define as __builtin_alloca.
1638
1639 1997-04-22 Richard Stallman <rms@gnu.org>
1640
1641 * src/bison.s1:
1642 [__hpux]: Include alloca.h (right for HPUX 10)
1643 instead of declaring alloca (right for HPUX 9).
1644
1645 * src/bison.s1 (__yy_memcpy):
1646 Declare arg `count' as unsigned int.
1647 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1648
1649 1997-04-22 Richard Stallman <rms@gnu.org>
1650
1651 * bison.simple:
1652 [__hpux]: Include alloca.h (right for HPUX 10)
1653 instead of declaring alloca (right for HPUX 9).
1654
1655 * bison.simple (__yy_memcpy):
1656 Declare arg `count' as unsigned int.
1657 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1658
1659 1997-01-03 Richard Stallman <rms@gnu.org>
1660
1661 * src/allocate.c: [__STDC__ or _MSC_VER]:
1662 Declare calloc and realloc to return void *.
1663
1664 1997-01-02 Richard Stallman <rms@gnu.org>
1665
1666 * src/system.h:
1667 [_MSC_VER]: Include stdlib.h and process.h.
1668 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
1669
1670 * src/main.c (main): Return FAILURE as a value.
1671 (printable_version): Declare arg as int, not char.
1672
1673 1997-01-02 Richard Stallman <rms@gnu.org>
1674
1675 * Makefile.in (dist):
1676 Explicitly check for symlinks, and copy them.
1677
1678 1996-12-19 Richard Stallman <rms@gnu.org>
1679
1680 * src/files.c:
1681 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
1682
1683 1996-12-18 Paul Eggert <eggert@gnu.org>
1684
1685 * src/bison.s1 (yyparse):
1686 If __GNUC__ and YYPARSE_PARAM are both defined,
1687 declare yyparse to have a void * argument.
1688
1689 1996-12-18 Paul Eggert <eggert@gnu.org>
1690
1691 * bison.simple (yyparse):
1692 If __GNUC__ and YYPARSE_PARAM are both defined,
1693 declare yyparse to have a void * argument.
1694
1695 1996-12-17 Richard Stallman <rms@gnu.org>
1696
1697 * src/reduce.c (nbits): Add some casts.
1698
1699 1996-08-12 Richard Stallman <rms@gnu.org>
1700
1701 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
1702
1703 1996-08-12 Richard Stallman <rms@gnu.org>
1704
1705 * bison.simple: Test _MSDOS as well as _MSDOS_.
1706
1707 1996-07-31 Richard Stallman <rms@gnu.org>
1708
1709 * src/bison.s1:
1710 [__sun && __i386]: Include alloca.h.
1711
1712 1996-07-31 Richard Stallman <rms@gnu.org>
1713
1714 * bison.simple:
1715 [__sun && __i386]: Include alloca.h.
1716
1717 1996-07-30 Richard Stallman <rms@gnu.org>
1718
1719 * src/bison.s1: Comment change.
1720
1721 * src/bison.s1: Test _MSDOS_, not MSDOS.
1722
1723 1996-07-30 Richard Stallman <rms@gnu.org>
1724
1725 * bison.simple: Comment change.
1726
1727 * bison.simple: Test _MSDOS_, not MSDOS.
1728
1729 1996-06-01 Richard Stallman <rms@gnu.org>
1730
1731 * 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:
1732 Insert `_' macro around many string constants.
1733
1734 * src/main.c:
1735 Insert `_' macro around many string constants.
1736
1737 (main): Call setlocale, bindtextdomain and textdomain.
1738
1739 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
1740 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
1741 [ENABLE_NLS]: Include libintl.h.
1742 [ENABLE_NLS] (gettext): Define.
1743 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
1744 (N_, PACKAGE, LOCALEDIR): New macros.
1745
1746 1996-06-01 Richard Stallman <rms@gnu.org>
1747
1748 * POTFILES.in: New file.
1749
1750 * Makefile.in (allocate.o):
1751 Define target explicitly.
1752
1753 * Makefile.in (CFLAGS): Set to @CFLAGS@.
1754 (LDFLAGS): Set to @LDFLAGS@.
1755 (configure): Run autoconf only if preceding `cd' succeeds.
1756 (bison.s1): Redirect output to temporary file then move the
1757 temporary to the target, rather than redirecting directly to bison.s1.
1758 (clean): Remove config.status and config.log.
1759 (distclean): Don't remove config.status here.
1760
1761 1996-05-12 Richard Stallman <rms@gnu.org>
1762
1763 * src/bison.s1:
1764 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1765
1766 1996-05-12 Richard Stallman <rms@gnu.org>
1767
1768 * bison.simple:
1769 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1770
1771 1996-05-11 Richard Stallman <rms@gnu.org>
1772
1773 * src/bison.s1 (__yy_memcpy):
1774 Really reorder the args, as was supposedly done on Feb 14 1995.
1775 (yyparse): Calls changed accordingly.
1776
1777 1996-05-11 Richard Stallman <rms@gnu.org>
1778
1779 * Makefile.in (dist): Don't use $(srcdir).
1780
1781 * bison.simple (__yy_memcpy):
1782 Really reorder the args, as was supposedly done on Feb 14 1995.
1783 (yyparse): Calls changed accordingly.
1784
1785 1996-01-27 Richard Stallman <rms@gnu.org>
1786
1787 * src/output.c (output_rule_data):
1788 Test YYERROR_VERBOSE in the conditional
1789 around the definition of ttyname.
1790
1791 1995-12-29 Richard Stallman <rms@gnu.org>
1792
1793 * src/bison.s1:
1794 Fix line numbers in #line commands.
1795
1796 1995-12-29 Richard Stallman <rms@gnu.org>
1797
1798 * bison.simple:
1799 Fix line numbers in #line commands.
1800
1801 1995-12-27 Richard Stallman <rms@gnu.org>
1802
1803 * src/bison.s1 (YYPARSE_PARAM_DECL):
1804 In C++, make it always null.
1805 (YYPARSE_PARAM_ARG): New macro.
1806 (yyparse): Use YYPARSE_PARAM_ARG.
1807
1808 1995-12-27 Richard Stallman <rms@gnu.org>
1809
1810 * bison.simple (YYPARSE_PARAM_DECL):
1811 In C++, make it always null.
1812 (YYPARSE_PARAM_ARG): New macro.
1813 (yyparse): Use YYPARSE_PARAM_ARG.
1814
1815 1995-11-29 Richard Stallman <rms@gnu.org>
1816
1817 * doc/bison.texinfo:
1818 Describe literal string tokens, %raw, %no_lines, %token_table.
1819
1820 1995-11-29 Daniel Hagerty <hag@gnu.org>
1821
1822 * doc/bison.texinfo: Fixed update date
1823
1824 1995-10-16 Richard Stallman <rms@gnu.org>
1825
1826 * src/version.c: Version 1.25.
1827
1828 1995-10-16 Richard Stallman <rms@gnu.org>
1829
1830 * NEWS: *** empty log message ***
1831
1832 1995-10-16 Richard Stallman <rms@gnu.org>
1833
1834 * doc/bison.1, doc/bison.rnh:
1835 Add new options.
1836
1837 1995-10-15 Richard Stallman <rms@gnu.org>
1838
1839 * src/vmsgetargs.c, src/getargs.c:
1840 Added -n, -k, and -raw switches.
1841 (noparserflag, toknumflag, rawtoknumflag): New variables.
1842
1843 * src/symtab.h (SALIAS):
1844 New #define for adding aliases to %token.
1845 (struct bucket): Added `alias' field.
1846
1847 * src/reduce.c (reduce_grammar):
1848 Revise error message.
1849 (print_notices): Remove final `.' from error message.
1850
1851 * src/reader.c (reader_output_yylsp):
1852 New function.
1853 (readgram): Use `#if 0' around code that accepted %command
1854 inside grammar rules: The documentation doesn't allow it,
1855 and it will fail since the %command processors scan for the next %.
1856 (parse_token_decl): Extended the %token
1857 declaration to allow a multi-character symbol as an alias.
1858 (parse_thong_decl): New function.
1859 (read_declarations): Added %thong declarations.
1860 (read_declarations): Handle NOOP to deal with allowing
1861 % declarations as another means to specify the flags.
1862 (readgram): Allow %prec prior to semantics embedded in a rule.
1863 (skip_to_char, read_declarations, copy_definition)
1864 (parse_token_decl, parse_start_decl, parse_type_decl)
1865 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1866 (get_type_name, copy_guard, copy_action, readgram)
1867 (get_type, packsymbols): Revised most error messages.
1868 Changed `fatal' to `warnxxx' to avoid aborting for error.
1869 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1870 (read_declarations): Improve the error message for
1871 an invalid character. Do not abort.
1872 (read_declarations, copy_guard, copy_action): Use
1873 printable_version to avoid unprintable characters in printed output.
1874 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1875 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1876 Allow the type of a non-terminal can be given
1877 more than once, as long as all specifications give the same type.
1878
1879 * src/output.c:
1880 (output_headers, output_trailers, output, output_gram)
1881 (output_rule_data): Implement noparserflag variable.
1882 Implement toknumflag variable.
1883 (output): Call reader_output_yylsp to output LTYPESTR.
1884
1885 * src/main.c (main):
1886 If reader sees an error, don't process the grammar.
1887 (fatals): Updated to not use VARARGS1.
1888 (printable_version, int_to_string, warn, warni, warns, warnss)
1889 (warnsss): New error reporting functions. Avoid abort for error.
1890
1891 * src/lex.h:
1892 Added THONG and NOOP for alias processing.
1893 Added SETOPT for the new code that allows setting options with %flags.
1894
1895 * src/lex.c:
1896 Include getopt.h. Add some extern decls.
1897 (safegetc): New function to deal with EOF gracefully.
1898 (literalchar); new function to deal with reading \ escapes.
1899 (lex): Use literalchar.
1900 (lex): Implemented "..." tokens.
1901 (literalchar, lex, parse_percent_token): Made tokenbuffer
1902 always contain the token. This includes growing the token
1903 buffer while reading an integer.
1904 (parse_percent_token): Replaced if-else statement with percent_table.
1905 (parse_percent_token): Added % declarations as another
1906 way to specify the flags -n, -l, and -r. Also added hooks for
1907 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1908 major changes to files.c.
1909 (lex) Retain in the incoming stream a character following
1910 an incorrect '/'.
1911 (skip_white_space, lex): Revised most error messages
1912 and changed fatal to warn to avoid aborting.
1913 (percent_table): Added %thong declarations.
1914
1915 * src/gram.h: Comment changes.
1916
1917 * src/files.c (openfiles, open_extra_files, done):
1918 Add faction flag
1919 and actfile file. Handle noparserflag. Both for -n switch.
1920
1921 * src/conflicts.c (resolve_sr_conflict):
1922 Remove use of alloca.
1923
1924 1995-06-01 Jim Meyering <meyering@gnu.org>
1925
1926 * doc/bison.texinfo: *** empty log message ***
1927
1928 1995-05-06 Richard Stallman <rms@gnu.org>
1929
1930 * src/bison.s1: Comment change.
1931
1932 1995-05-06 Richard Stallman <rms@gnu.org>
1933
1934 * bison.simple: Comment change.
1935
1936 1995-05-03 Richard Stallman <rms@gnu.org>
1937
1938 * src/version.c: Version now 1.24.
1939
1940 * src/bison.s1: Change distribution terms.
1941
1942 * src/version.c: Version now 1.23.
1943
1944 1995-05-03 Richard Stallman <rms@gnu.org>
1945
1946 * doc/bison.texinfo:
1947 Rewrite "Conditions for Using Bison".
1948 Update version to 1.24.
1949
1950 1995-05-03 Richard Stallman <rms@gnu.org>
1951
1952 * bison.simple: Change distribution terms.
1953
1954 1995-02-23 Richard Stallman <rms@gnu.org>
1955
1956 * src/files.c: Test __VMS_POSIX as well as VMS.
1957
1958 1995-02-14 Jim Meyering <meyering@gnu.org>
1959
1960 * src/bison.s1 (__yy_memcpy):
1961 Renamed from __yy_bcopy to avoid
1962 confusion. Reverse FROM and TO arguments to be consistent with
1963 those of memcpy.
1964
1965 1995-02-14 Jim Meyering <meyering@gnu.org>
1966
1967 * bison.simple (__yy_memcpy):
1968 Renamed from __yy_bcopy to avoid
1969 confusion. Reverse FROM and TO arguments to be consistent with
1970 those of memcpy.
1971
1972 1994-11-10 David J. MacKenzie <djm@gnu.org>
1973
1974 * NEWS: reformat
1975
1976 * NEWS: New file.
1977
1978 * Makefile.in (DISTFILES): Include NEWS.
1979
1980 * Makefile.in (DISTFILES):
1981 Include install-sh, not install.sh.
1982
1983 * configure.in: Update to Autoconf v2 macro names.
1984
1985 1994-10-05 David J. MacKenzie <djm@gnu.org>
1986
1987 * Makefile.in: fix typo
1988
1989 * Makefile.in (prefix, exec_prefix):
1990 Let configure set them.
1991
1992 1994-09-28 David J. MacKenzie <djm@gnu.org>
1993
1994 * Makefile.in: Set datadir to $(prefix)/share.
1995
1996 1994-09-15 Richard Stallman <rms@gnu.org>
1997
1998 * src/bison.s1:
1999 Update copyright notice and GPL version.
2000
2001 1994-09-15 Richard Stallman <rms@gnu.org>
2002
2003 * bison.simple:
2004 Update copyright notice and GPL version.
2005
2006 1994-07-12 Richard Stallman <rms@gnu.org>
2007
2008 * src/reduce.c, src/reader.c:
2009 entered into RCS
2010
2011 1994-05-05 David J. MacKenzie <djm@gnu.org>
2012
2013 * Makefile.in: entered into RCS
2014
2015 1994-03-26 Richard Stallman <rms@gnu.org>
2016
2017 * src/bison.s1: entered into RCS
2018
2019 1994-03-26 Richard Stallman <rms@gnu.org>
2020
2021 * bison.simple: entered into RCS
2022
2023 1994-03-25 Richard Stallman <rms@gnu.org>
2024
2025 * src/main.c: entered into RCS
2026
2027 1994-03-24 Richard Stallman <rms@gnu.org>
2028
2029 * src/conflicts.c: entered into RCS
2030
2031 1994-01-02 Richard Stallman <rms@gnu.org>
2032
2033 * Makefile.in: *** empty log message ***
2034
2035 1993-11-21 Richard Stallman <rms@gnu.org>
2036
2037 * src/bison.s1: *** empty log message ***
2038
2039 1993-11-21 Richard Stallman <rms@gnu.org>
2040
2041 * doc/bison.texinfo: entered into RCS
2042
2043 * doc/bison.texinfo: *** empty log message ***
2044
2045 1993-11-21 Richard Stallman <rms@gnu.org>
2046
2047 * bison.simple: *** empty log message ***
2048
2049 1993-10-25 David J. MacKenzie <djm@gnu.org>
2050
2051 * doc/bison.texinfo: *** empty log message ***
2052
2053 1993-10-19 Richard Stallman <rms@gnu.org>
2054
2055 * src/bison.s1: *** empty log message ***
2056
2057 1993-10-19 Richard Stallman <rms@gnu.org>
2058
2059 * bison.simple: *** empty log message ***
2060
2061 1993-10-14 Richard Stallman <rms@gnu.org>
2062
2063 * src/bison.s1: *** empty log message ***
2064
2065 1993-10-14 Richard Stallman <rms@gnu.org>
2066
2067 * bison.simple: *** empty log message ***
2068
2069 1993-09-14 David J. MacKenzie <djm@gnu.org>
2070
2071 * doc/bison.texinfo: *** empty log message ***
2072
2073 1993-09-13 Noah Friedman <friedman@gnu.org>
2074
2075 * Makefile.in: *** empty log message ***
2076
2077 1993-09-10 Richard Stallman <rms@gnu.org>
2078
2079 * src/conflicts.c: *** empty log message ***
2080
2081 * src/system.h: entered into RCS
2082
2083 1993-09-10 Richard Stallman <rms@gnu.org>
2084
2085 * doc/bison.1: entered into RCS
2086
2087 1993-09-06 Noah Friedman <friedman@gnu.org>
2088
2089 * src/version.c: entered into RCS
2090
2091 1993-09-06 Noah Friedman <friedman@gnu.org>
2092
2093 * Makefile.in: *** empty log message ***
2094
2095 1993-07-30 David J. MacKenzie <djm@gnu.org>
2096
2097 * Makefile.in: *** empty log message ***
2098
2099 1993-07-24 Richard Stallman <rms@gnu.org>
2100
2101 * src/bison.s1: *** empty log message ***
2102
2103 1993-07-24 Richard Stallman <rms@gnu.org>
2104
2105 * bison.simple: *** empty log message ***
2106
2107 1993-07-08 David J. MacKenzie <djm@gnu.org>
2108
2109 * Makefile.in: *** empty log message ***
2110
2111 1993-07-04 Richard Stallman <rms@gnu.org>
2112
2113 * src/bison.s1: *** empty log message ***
2114
2115 1993-07-04 Richard Stallman <rms@gnu.org>
2116
2117 * bison.simple: *** empty log message ***
2118
2119 1993-06-26 David J. MacKenzie <djm@gnu.org>
2120
2121 * src/getargs.c: entered into RCS
2122
2123 1993-06-26 David J. MacKenzie <djm@gnu.org>
2124
2125 * doc/bison.texinfo: *** empty log message ***
2126
2127 * doc/bison.1: New file.
2128
2129 1993-06-25 Richard Stallman <rms@gnu.org>
2130
2131 * src/getargs.c: New file.
2132
2133 1993-06-16 Richard Stallman <rms@gnu.org>
2134
2135 * src/bison.s1: *** empty log message ***
2136
2137 1993-06-16 Richard Stallman <rms@gnu.org>
2138
2139 * bison.simple: *** empty log message ***
2140
2141 1993-06-03 Richard Stallman <rms@gnu.org>
2142
2143 * src/bison.s1: New file.
2144
2145 1993-06-03 Richard Stallman <rms@gnu.org>
2146
2147 * doc/bison.texinfo: *** empty log message ***
2148
2149 1993-06-03 Richard Stallman <rms@gnu.org>
2150
2151 * bison.simple: New file.
2152
2153 1993-05-19 Richard Stallman <rms@gnu.org>
2154
2155 * doc/bison.texinfo: New file.
2156
2157 1993-05-07 Noah Friedman <friedman@gnu.org>
2158
2159 * Makefile.in: *** empty log message ***
2160
2161 1993-04-28 Noah Friedman <friedman@gnu.org>
2162
2163 * src/reader.c: *** empty log message ***
2164
2165 1993-04-23 Noah Friedman <friedman@gnu.org>
2166
2167 * src/alloc.h: entered into RCS
2168
2169 1993-04-20 David J. MacKenzie <djm@gnu.org>
2170
2171 * src/version.c: *** empty log message ***
2172
2173 * src/files.c, src/allocate.c:
2174 entered into RCS
2175
2176 * src/reader.c: *** empty log message ***
2177
2178 * src/lex.c: entered into RCS
2179
2180 * src/conflicts.c: New file.
2181
2182 * src/symtab.c: entered into RCS
2183
2184 * src/alloc.h: New file.
2185
2186 * src/LR0.c: entered into RCS
2187
2188 1993-04-18 Noah Friedman <friedman@gnu.org>
2189
2190 * src/reader.c: New file.
2191
2192 * src/version.c: *** empty log message ***
2193
2194 1993-04-18 Noah Friedman <friedman@gnu.org>
2195
2196 * Makefile.in: *** empty log message ***
2197
2198 1993-04-17 Noah Friedman <friedman@gnu.org>
2199
2200 * Makefile.in: *** empty log message ***
2201
2202 1993-04-15 Richard Stallman <rms@gnu.org>
2203
2204 * src/main.c, src/files.c:
2205 New file.
2206
2207 1993-04-15 Noah Friedman <friedman@gnu.org>
2208
2209 * configure.in: entered into RCS
2210
2211 * configure.in: *** empty log message ***
2212
2213 * configure.in: New file.
2214
2215 1993-04-14 Richard Stallman <rms@gnu.org>
2216
2217 * Makefile.in: New file.
2218
2219 1993-04-13 Richard Stallman <rms@gnu.org>
2220
2221 * src/version.c: New file.
2222
2223 1993-03-25 Richard Stallman <rms@gnu.org>
2224
2225 * src/output.c: entered into RCS
2226
2227 1992-09-25 Richard Stallman <rms@gnu.org>
2228
2229 * configure.bat: entered into RCS
2230
2231 1992-06-22 Richard Stallman <rms@gnu.org>
2232
2233 * src/vmsgetargs.c: entered into RCS
2234
2235 1992-06-22 Richard Stallman <rms@gnu.org>
2236
2237 * doc/bison.rnh: entered into RCS
2238
2239 1992-04-20 David J. MacKenzie <djm@gnu.org>
2240
2241 * README: entered into RCS
2242
2243 1992-01-22 Richard Stallman <rms@gnu.org>
2244
2245 * src/machine.h: entered into RCS
2246
2247 1991-12-21 Richard Stallman <rms@gnu.org>
2248
2249 * src/lalr.c, src/closure.c:
2250 entered into RCS
2251
2252 1991-12-20 Richard Stallman <rms@gnu.org>
2253
2254 * src/state.h: entered into RCS
2255
2256 1991-12-18 Richard Stallman <rms@gnu.org>
2257
2258 * src/print.c, src/nullable.c, src/derives.c:
2259 entered into RCS
2260
2261 1991-11-03 David J. MacKenzie <djm@gnu.org>
2262
2263 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
2264 entered into RCS
2265
2266 1988-09-09 Richard Stallman <rms@gnu.org>
2267
2268 * src/bison.hairy: entered into RCS
2269
2270 1987-12-16 Richard Stallman <rms@gnu.org>
2271
2272 * REFERENCES: entered into RCS