]> git.saurik.com Git - bison.git/blame - ChangeLog
* src/print_graph.c, src/print_graph.h (graph): New.
[bison.git] / ChangeLog
CommitLineData
ce4d5ce0
AD
12001-08-06 Marc Autret <autret_@epita.fr>
2
3 * src/print_graph.c, src/print_graph.h (graph): New.
4 * src/vcg.h: New file.
5 * src/vcg.c: New file, VCG graph handling.
6
7333d403
AD
72001-08-06 Marc Autret <autret_m@epita.fr>
8
9 Add of %source_extension and %header_extension which specify
10 the source or/and the header output file extension.
11
12 * src/files.c (compute_base_names): Remove initialisation of
13 src_extension and header_extension.
14 (compute_exts_from_gf): Update.
15 (compute_exts_from_src): Update.
16 (output_files): Update.
17 * src/reader.c (parse_header_extension_decl): New.
18 (parse_source_extension_decl): New.
19 (read_declarations): New case statements for the new tokens.
20 * src/lex.c (percent_table): Add entries for %source_extension
21 and %header_extension.
22 * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext.
23
84163231
AD
242001-08-06 Marc Autret <autret_m@epita.fr>
25
26 * configure.in: Bump to 1.28c.
27 * doc/bison.texinfo: Texinfo thingies.
28
8303fc42
AD
292001-08-04 Pascal Bart <pascal.bart@epita.fr>
30
31 * tests/atconfig.in (CPPFLAGS): Add.
32 * tests/calc.at (AT_CHECK): Use CPPFLAGS.
33
70a84437
AD
342001-08-03 Akim Demaille <akim@epita.fr>
35
36 Version 1.28b.
37
2ce10144
AD
382001-08-03 Akim Demaille <akim@epita.fr>
39
40 * tests/Makefile.am (check-local): Ship testsuite.
41 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
42 Include `string.h'.
43
1e3e4bc1
AD
442001-08-03 Akim Demaille <akim@epita.fr>
45
46 * configure.in: Try using -Wformat when compiling.
47
42b45b7f
AD
482001-08-03 Akim Demaille <akim@epita.fr>
49
50 * configure.in: Bump to 1.28b.
51
8f13fe33
AD
522001-08-03 Akim Demaille <akim@epita.fr>
53
54 * src/complain.c: Adjust strerror_r portability issues.
55
b37ba92c
AD
562001-08-03 Akim Demaille <akim@epita.fr>
57
58 Version 1.28a.
59
b0ce6046
AD
602001-08-03 Akim Demaille <akim@epita.fr>
61
62 * src/getargs.c, src/getarg.h (skeleton)): Constify.
63 * src/lex.c (literalchar): Avoid name clashes on `buf'.
64 * src/getargs.c: Include complain.h.
65 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
66 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
67
d01c415b
AD
682001-08-03 Akim Demaille <akim@epita.fr>
69
70 * src/reader.c (readgram): Display hidden chars in error messages.
71
459dd1a6
AD
722001-08-03 Akim Demaille <akim@epita.fr>
73
74 Update to gettext 0.10.39.
75
53b74c0c
AD
762001-08-03 Akim Demaille <akim@epita.fr>
77
78 * lib/strspn.c: New.
79
234a3be3
AD
802001-08-01 Marc Autret <autret_m@epita.fr>
81
82 * doc/bison.texinfo: Update.
83 * doc/bison.1 (mandoc): Update.
84 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
85 * src/files.c: Support output files extensions computing.
86 (src_extension): New static variable.
87 (header_extension): New static variable.
88 (tr): New function.
89 (get_extension_index): New function, gets the index of an extension
90 filename in a string.
91 (compute_exts_from_gf): New function, computes extensions from the
92 grammar file extension.
93 (compute_exts_from_src): New functions, computes extensions from the
94 C source file extension, file given by ``-o'' option.
95 (compute_base_names): Update.
96 (output_files): Update.
97
847bf1f5
AD
982001-08-01 Robert Anisko <anisko_r@epita.fr>
99
d995fee7 100 * doc/bison.texi: Document @$.
847bf1f5
AD
101 (Locations): New section.
102
d074a105
AD
1032001-07-18 Akim Demaille <akim@epita.fr>
104
105 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
106 * config/prev-version.txt, config/move-if-change: New.
107 * Makefile.am: Adjust.
108
3419715d
AD
1092001-07-08 Pascal Bart <pascal.bart@epita.fr>
110
111 * src/bison.simple (yyparse): Suppress warning `comparaison
112 between signed and unsigned'.
113
62ab6972
AD
1142001-07-05 Pascal Bart <pascal.bart@epita.fr>
115
116 * src/getargs.h (raw_flag): Remove.
117 * src/getargs.c: Die on `-r'/`--raw'.
118 * src/lex.c (parse_percent_token): Die on `%raw'.
119 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
120 * tests/calc.at: Suppress test with option `--raw'.
121
1e24cc5b
AD
1222001-07-14 Akim Demaille <akim@epita.fr>
123
124 * config/: New.
125 * configure.in: Require Autoconf 2.50.
126 Update to gettext 0.10.38.
127
32dfccf8
AD
1282001-03-16 Akim Demaille <akim@epita.fr>
129
130 * doc/bison.texinfo: ANSIfy the examples.
131
cd5bd6ac
AD
1322001-03-16 Akim Demaille <akim@epita.fr>
133
134 * getargs.c (skeleton): New variable.
135 (longopts): --skeleton is a new option.
136 (shortopts, getargs): -S is a new option.
137 * getargs.h: Declare skeleton.
138 * output.c (output_parser): Use it.
139
5141b016
AD
1402001-03-16 Akim Demaille <akim@epita.fr>
141
142 * m4/strerror_r.m4: New.
143 * m4/error.m4: Run AC_FUNC_STRERROR_R.
144 * lib/error.h, lib/error.c: Update.
145
447992b9
AD
1462001-03-16 Akim Demaille <akim@epita.fr>
147
148 * src/getargs.c (longopts): Clean up.
149
274d42ce
AD
1502001-02-21 Akim Demaille <akim@epita.fr>
151
152 * src/reader.c (gensym): `gensym_count' is your own.
153 Use a static buf to create the symbol name, as token_buffer is no
154 longer a buffer.
155
22c821f3
AD
1562001-02-08 Akim Demaille <akim@epita.fr>
157
158 * src/conflicts.c (conflict_report): Be sure not to append to res
159 between two calls, which could happen if both first sprintf were
160 skipped, but not the first cp += strlen.
161
18569462
AD
1622001-02-08 Akim Demaille <akim@epita.fr>
163
164 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
165 New, from fileutils 4.0.37.
166 * configure.in: Require Autoconf 2.49c. I took some time before
167 making this decision. This is the only way out for portability
168 issues in Bison, it would mean way too much duplicate effort to
169 import in Bison features implemented in 2.49c since 2.13.
170 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
171
0d8f3c8a
AD
1722001-02-02 Akim Demaille <akim@epita.fr>
173
174 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
66075dcf 175 * lib/xalloc.h, lib/xmalloc.c: Update.
0d8f3c8a 176
f17bcd1f
AD
1772001-01-19 Akim Demaille <akim@epita.fr>
178
179 Get rid of the ad hoc handling of token_buffer in the scanner: use
180 the obstacks.
181
182 * src/lex.c (token_obstack): New.
183 (init_lex): Initialize it. No longer call...
184 (grow_token_buffer): this. Remove it.
185 Adjust all the places which used it to use the obstack.
186
511e79b3
AD
1872001-01-19 Akim Demaille <akim@epita.fr>
188
189 * src/lex.h: Rename all the tokens:
190 s/\bENDFILE\b/tok_eof/g;
191 s/\bIDENTIFIER\b/tok_identifier/g;
192 etc.
193 Let them be enums, not #define, to ease debugging.
194 Adjust all the code.
195
0d6508ef
AD
1962001-01-18 Akim Demaille <akim@epita.fr>
197
198 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
199 * src/lex.c (maxtoken, grow_token_buffer): Static.
200
6deb4447
AD
2012001-01-18 Akim Demaille <akim@epita.fr>
202
203 Since we now use obstacks, more % directives can be enabled.
204
205 * src/lex.c (percent_table): Also accept `%yacc',
206 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
207 `%debug'.
208 Handle the actions for `%semantic_parser' and `%pure_parser' here,
209 instead of returning a token.
210 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
211 * src/reader.c (read_declarations): Adjust.
212 * src/files.c (open_files): Don't call `compute_base_names', don't
213 compute `attrsfile' since they depend upon data which might be
214 *in* the input file now.
215 (output_files): Do it here.
216 * src/output.c (output_headers): Document the fact that this patch
217 introduces a guaranteed SEGV for semantic parsers.
218 * doc/bison.texinfo: Document them.
219 * tests/suite.at: Exercise these %options.
220
ff4423cc
AD
2212000-12-20 Akim Demaille <akim@epita.fr>
222
223 Also handle the output file (--verbose) with obstacks.
224
225 * files.c (foutput): Remove.
226 (output_obstack): New.
227 Adjust all dependencies.
228 * src/conflicts.c: Return a string.
229 * src/system.h (obstack_grow_string): Rename as...
230 (obstack_sgrow): this. Be ready to work with non literals.
231 (obstack_fgrow4): New.
232
956dba3a
AD
2332000-12-20 Akim Demaille <akim@epita.fr>
234
235 * src/files.c (open_files): Fix the computation of short_base_name
236 in the case of `-o foo.tab.c'.
237
337bab46
AD
2382000-12-20 Akim Demaille <akim@epita.fr>
239
240 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
241 (copy_dollar): Now that everything uses obstacks, get rid of the
242 FILE * parameters.
243
5d3214b8
AD
2442000-12-20 Akim Demaille <akim@epita.fr>
245
246 * src/files.c (open_files): Actually the `.output' file is based
247 on the short_base_name, not base_name.
248 * tests/suite.at (Checking output file names): Adjust.
249
29092a57
AD
2502000-12-20 Akim Demaille <akim@epita.fr>
251
252 * src/bison.s1: Remove, we now use directly...
253 * src/bison.simple: this.
254 * src/Makefile.am: Use pkgdata instead of data.
255
ea5607fd
AD
2562000-12-20 Akim Demaille <akim@epita.fr>
257
258 * src/files.c (guard_obstack): New.
259 (open_files): Initialize it.
260 (output_files): Dump it...
261 * src/files.h: Export it.
262 * src/reader.c (copy_guard): Use it.
263
27110317
AD
2642000-12-19 Akim Demaille <akim@epita.fr>
265
266 * src/files.c (outfile, defsfile, actfile): Removed as global
267 vars.
268 (open_files): Don't compute them.
269 (output_files): Adjust.
270 (base_name, short_base_name): Be global.
271 Adjust dependencies.
272
19c50364
AD
2732000-12-19 Akim Demaille <akim@epita.fr>
274
275 * src/files.c (strsuffix): New.
276 (stringappend): Be just like strcat but allocate.
277 (base_names): Eve out from open_files.
278 Try to simplify the rather hairy computation of base_name and
279 short_base_name.
280 (open_files): Use it.
281 * tests/suite.at (Checking output file names): New test.
282
573c1d9f
AD
2832000-12-19 Akim Demaille <akim@epita.fr>
284
285 * src/system.h (obstack_grow_literal_string): Rename as...
286 (obstack_grow_string): this.
287 * src/output.c (output_parser): Recognize `%% actions' instead of
288 `$'.
289 * src/bison.s1: s/$/%% actions/.
290 * src/bison.hairy: Likewise.
291
ef7ddedd
AD
2922000-12-19 Akim Demaille <akim@epita.fr>
293
294 * src/output.c (output_parser): Compute the `#line' lines when
295 there are.
296 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
297 Suggested by Hans Aberg.
298
ff61dabd
AD
2992000-12-19 Akim Demaille <akim@epita.fr>
300
301 Let the handling of the skeleton files be local to the procedures
302 that use it.
303
304 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
305 longer static.
306 (fparser, open_extra_files): Remove.
307 (open_files, output_files): Don't take care of fparser.
308 * src/files.h: Adjust.
309 * src/output.c (output_parser): Open and close the file to the
310 skeleton.
311 * src/reader.c (read_declarations): When %semantic_parser, open
312 fguard.
313
55b96341
AD
3142000-12-19 Akim Demaille <akim@epita.fr>
315
316 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
317 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
318
358c15b7
AD
3192000-12-19 Akim Demaille <akim@epita.fr>
320
321 * src/files.c (open_files): Yipee! We no longer need all the code
322 looking for `/tmp' since we have no tmp file.
323
7de3329e
AD
3242000-12-19 Akim Demaille <akim@epita.fr>
325
326 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
327 New macros.
328 * src/files.c (open_files): Less dependency on MSDOS etc.
329
3abcd459
AD
3302000-12-14 Akim Demaille <akim@epita.fr>
331
332 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
333 Provide a default definition.
334 Use it when executing the default @ action.
335 * src/reader.c (reader_output_yylsp): No longer include
336 `timestamp' and `text' in the default YYLTYPE.
337
2a91a95e
AD
3382000-12-12 Akim Demaille <akim@epita.fr>
339
340 * src/reader.c (copy_definition, parse_union_decl, copy_action)
341 (copy_guard): Quote the file names.
342 Reported by Laurent Mascherpa.
343
14d3eb9b
AD
3442000-12-12 Akim Demaille <akim@epita.fr>
345
346 * src/output.c (output_headers, output_program, output): Be sure
347 to escape special characters when outputting filenames.
348 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
349 (output_headers): Don't depend on them, Use ACTSTR.
350
d7045ec6
AD
3512000-11-17 Akim Demaille <akim@epita.fr>
352
353 * lib/obstack.h: Formatting changes.
354 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
355 prevents type checking.
356 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
357 cast the value to (void *): assigning a `foo *' to a `void *'
358 variable is valid.
359 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
360 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
361 append characters.
362
6fd54b73
AD
3632000-11-17 Akim Demaille <akim@epita.fr>
364
365 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
366 as...
367 (suite.m4, regression.m4, calc.m4): these.
368 * tests/atgeneral.m4: Update from CVS Autoconf.
369
4c50eae6
AD
3702000-11-17 Akim Demaille <akim@epita.fr>
371
372 * tests/regression.m4 (%union and --defines): New test,
373 demonstrating a current bug in the obstack implementation.
374
a35f64ea
AD
3752000-11-17 Akim Demaille <akim@epita.fr>
376
377 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
378 macros.
379 Use them to declare the variables which are global or local to
380 `yyparse'.
381
7de23534
AD
3822000-11-17 Akim Demaille <akim@epita.fr>
383
384 * acconfig.h: Remove, no longer used.
385
aa7815f5
AD
3862000-11-07 Akim Demaille <akim@epita.fr>
387
388 * src: s/Copyright (C)/Copyright/g.
389
5af1f549
AD
3902000-11-07 Akim Demaille <akim@epita.fr>
391
392 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
393 defining.
394 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
395
553e2b22
AD
3962000-11-07 Akim Demaille <akim@epita.fr>
397
398 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
399 Merge in a single CPP if/else.
400
8a4f41d6
AD
4012000-11-07 Akim Demaille <akim@epita.fr>
402
403 * src/output.c (output): Remove useless variables.
404 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
405 argument `data' for consistency with the prototypes.
406 Qualify it `const'.
407 (obstack_copy, obstack_copy0): Rename the second argument as
408 `address' for consistency. Qualify it `const'.
409 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
410 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
411 `const' their input argument (`data' or `address').
412 Adjust the corresponding macros to include `const' in casts.
413
095a3fb5
AD
4142000-11-03 Akim Demaille <akim@epita.fr>
415
416 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
417 s/PFILE1/BISON_HAIRY/.
418 Adjust dependencies.
419
d1cdce7c
AD
4202000-11-03 Akim Demaille <akim@epita.fr>
421
090c5ebf 422 For some reason, this was not applied.
d1cdce7c
AD
423
424 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
425 `unlink': it's no longer used.
426
9311529b
AD
4272000-11-03 Akim Demaille <akim@epita.fr>
428
429 * src/files.c (skeleton_find): New function, eved out of...
430 (open_files, open_extra_files): here.
431
d8880f69
AD
4322000-11-03 Akim Demaille <akim@epita.fr>
433
434 Don't use `atexit'.
435
436 * src/files.c (obstack_save): New function.
437 (done): Rename as...
438 (output_files): this.
439 Use `obstack_save'.
440 * src/main.c (main): Don't use `atexit' to register `done', since
441 it no longer has to remove tmp files, just call `output_files'
442 when there are no errors.
443
0dbb648e
AD
4442000-11-02 Akim Demaille <akim@epita.fr>
445
446 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
447 `unlink': it's no longer used.
448 * src/files.h: Formatting changes.
449
896fe5c1
AD
4502000-11-02 Akim Demaille <akim@epita.fr>
451
452 Remove the last uses of mktemp and unlink/delete.
453
454 * src/files.c (fdefines, ftable): Removed.
455 (defines_ostack, table_obstack): New.
456 Adjust dependencies of the former into uses of the latter.
457 * src/output.c (output_short_or_char_table, output_short_table):
458 Convert to using obstacks.
459 * src/reader.c (copy_comment2): Accept one FILE * and two
460 obstacks.
461 (output_token_defines, reader_output_yylsp): Use obstacks.
462 * src/system.h (obstack_fgrow3): New.
463
dd60faec
AD
4642000-11-01 Akim Demaille <akim@epita.fr>
465
466 Change each use of `fattrs' into a use of `attrs_obstack'.
467
468 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
469 * src/files.c (fattrs): Remove.
470 (attrs_obstack): New.
471 Adjust all dependencies.
472 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
473
8c7ebe49
AD
4742000-11-01 Akim Demaille <akim@epita.fr>
475
476 Introduce obstacks.
477 Change each use of `faction' into a use of `action_obstack'.
478
479 * lib/obstack.h, lib/obstack.c: New files.
480 * src/files.c (faction): Remove.
481 (action_obstack): New.
482 Adjust all dependencies.
483
77aee789
AD
4842000-10-20 Akim Demaille <akim@epita.fr>
485
486 * lib/quote.h (PARAMS): New macro. Use it.
487
43591cec
AD
4882000-10-16 Akim Demaille <akim@epita.fr>
489
490 * src/output.c (output_short_or_char_table): New function.
491 (output_short_table, output_token_translations): Use it.
492 (goto_actions): Use output_short_table.
493
1e9798d5
AD
4942000-10-16 Akim Demaille <akim@epita.fr>
495
496 * src/symtab.c (bucket_new): New function.
497 (getsym): Use it.
498
499 * src/output.c (output_short_table): New argument to display the
500 comment associated with the table.
501 Adjust dependencies.
502 (output_gram): Use it.
503 (output_rule_data): Nicer output layout for YYTNAME.
504
f282676b
AD
5052000-10-16 Akim Demaille <akim@epita.fr>
506
507 * src/lex.c (read_typename): New function.
508 (lex): Use it.
509 * src/reader.c (copy_dollar): Likewise.
510
550a72a3
AD
5112000-10-16 Akim Demaille <akim@epita.fr>
512
513 * src/reader.c (copy_comment2): Expect the input stream to be on
514 the `/' which is suspected to open a comment, instead of being
515 called after `//' or `/*' was read.
516 (copy_comment, copy_definition, parse_union_decl, copy_action)
517 (copy_guard): Adjust.
518
131e2fef
AD
5192000-10-16 Akim Demaille <akim@epita.fr>
520
521 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
522 `read_signed_integer'.
523
79282c5a
AD
5242000-10-16 Akim Demaille <akim@epita.fr>
525
526 * src/reader.c (copy_dollar): New function.
527 (copy_guard, copy_action): Use it.
528
ff4a34be
AD
5292000-10-16 Akim Demaille <akim@epita.fr>
530
531 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
532 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
533 New files, from Fileutils 4.0.27.
534 * src/main.c (printable_version): Remove.
535 * src/lex.c, src/reader.c: Use `quote'.
536
5372000-10-04 Akim Demaille <akim@epita.fr>
538
539 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
540
14ded682
AD
5412000-10-04 Akim Demaille <akim@epita.fr>
542
543 * doc/bison.texinfo: Various typos spotted by Neil Booth.
544
8e03724b
AD
5452000-10-04 Akim Demaille <akim@epita.fr>
546
547 When a literal string is used to define two different tokens,
548 `bison -v' segfaults.
549 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
550
551 * tests/regression.m4: New file.
552 Include the core of the sample provided by Piotr Gackiewicz.
553 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
554 properly.
555
a9e64249
AD
5562000-10-04 Akim Demaille <akim@epita.fr>
557
558 * src/reader.c (parse_expect_decl): Keep `count' within the size
559 of `buffer'.
560 From Neil Booth.
561
da9abf43
AD
5622000-10-02 Paul Eggert <eggert@twinsun.com>
563
564 * bison.s1 (yyparse): Assign the default value
565 unconditionally, to avoid a GCC warning and make the parser a
566 tad smaller.
567
c33638bb
AD
5682000-10-02 Akim Demaille <akim@epita.fr>
569
570 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
571 options.
572
444c570a
AD
5732000-10-02 Akim Demaille <akim@epita.fr>
574
575 * src/derives.c, src/print.c, src/reduce.c: To ease the
576 translation, move some `\n' out of the translated strings.
577
89cab50d
AD
5782000-10-02 Akim Demaille <akim@epita.fr>
579
580 The location tracking mechanism is precious for parse error
581 messages. Nevertheless, it is enabled only when `@n' is used in
582 the grammar, which is a different issue (you can use it in error
583 message, but not in the grammar per se). Therefore, there should
584 be another means to enable it.
585
586 * src/getargs.c (getargs): Support `--locations'.
587 (usage): Report it.
588 * src/getargs.h (locationsflag): Export it.
589 * src/lex.c (percent_table): Support `%locations'.
590 * src/reader.c (yylsp_needed): Remove this variable, now replaced
591 with `locationsflag'.
592 * doc/bison.texinfo: Document `--locations' and `%locations'.
593 Sort the options.
594 * tests/calc.m4: Test it.
595
596 For regularity of the names, replace each
597 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
598 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
599 In addition replace each `flag' with `_flag'.
600
d6c2cba0
AD
6012000-10-02 Akim Demaille <akim@epita.fr>
602
603 Also test parse error messages, including with YYERROR_VERBOSE.
604
605 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
606 associative).
607 Use it to check the computations.
608 Use it to check `nonassoc' is honored.
609 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
610 `--yyerror-verbose'.
611 (_AT_CHECK_CALC): Adjust to this option.
612 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
613
5a35a6cb
AD
6142000-10-02 Akim Demaille <akim@epita.fr>
615
616 Test also `--verbose', `--defines' and `--name-prefix'. Testing
617 the latter demonstrates a flaw in the handling of non debugging
618 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
619 was used in order to simplify:
620
621 #if YYDEBUG
622 if (yydebug)
623 {
624 ...
625 }
626 #endif
627
628 into
629
630 if (yydebug)
631 {
632 ...
633 }
634
635 unfortunately this leads to a CPP conflict when
636 `--name-prefix=foo' is used since it produces `#define yydebug
637 foodebug'.
638
639 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
640 (YYDPRINTF): New macro.
641 Spread its use.
642 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
643 the bison options.
644 Also test `--verbose', `--defines' and `--name-prefix'.
645
71da9eea
AD
6462000-10-02 Akim Demaille <akim@epita.fr>
647
648 Improve the readability of the produced parsers.
649
650 * src/bison.s1: Formatting changes.
651 Improve the comment related to the `$' mark.
652 (yydefault): Don't fall through to `yyresume': `goto' there.
653 * src/output.c (output_parser): When the `$' is met, skip the end
654 of its line.
655 New variable, `number_of_dollar_signs', to check there's exactly
656 one `$' in the parser skeleton.
657
95e36146
AD
6582000-10-02 Akim Demaille <akim@epita.fr>
659
660 * lib/xstrdup.c: New file, from the fileutils.
661 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
662 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
663 instead of strlen + xmalloc + strcpy.
664 * src/symtab.c (copys): Remove, use xstrdup instead.
665
d7020c20
AD
6662000-10-02 Akim Demaille <akim@epita.fr>
667
668 * src/gram.h (associativity): New enum type which replaces the
669 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
670 `right_assoc', `left_assoc' and `non_assoc'.
671 Adjust all dependencies.
672 * src/reader.c: Formatting changes.
673 (LTYPESTR): Don't define it, use it as a literal in
674 `reader_output_yylsp'.
675 * src/symtab.h (symbol_class): New enum type which replaces the
676 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
677 `sunknown', `stoken and `snterm'.
678
1916f98e
AD
6792000-10-02 Akim Demaille <akim@epita.fr>
680
681 * src/getargs.c (fixed_outfiles): Rename as...
682 (yaccflag): for consistency and accuracy.
683 Adjust dependencies.
684
d7913476
AD
6852000-10-02 Akim Demaille <akim@epita.fr>
686
687 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
688 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
689 difficult and introduced a lot of core dump. It turns out that
690 Bison used an implementation of `xmalloc' based on `calloc', and
691 at various places it does depend upon the initialization to 0. I
692 have not tried to isolate the pertinent places, and all the former
693 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
694 someone should address this issue.
695
696 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
697 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
698 files.
699 Adjust dependencies.
700 * src/warshall.h: New file.
701 Propagate.
702
340ef489
AD
7032000-10-02 Akim Demaille <akim@epita.fr>
704
705 Various anti-`extern in *.c' changes.
706
707 * src/system.h: Include `assert.h'.
708
b2ca4022
AD
7092000-10-02 Akim Demaille <akim@epita.fr>
710
711 * src/state.h (nstates, final_state, first_state, first_shift)
712 (first_reduction): Move their exportation from here...
713 * src/LR0.h: to here.
714 Adjust dependencies.
715 * src/getargs.c (statisticsflag): New variable.
716 Add support for `--statistics'.
717 Adjust dependencies.
718
719 Remove a lot of now useless `extern' statements in most files.
720
403b315b
AD
7212000-10-02 Akim Demaille <akim@epita.fr>
722
723 * src/LR0.h: New file.
724 Propagate its use.
725
07a58c13
AD
7262000-10-02 Akim Demaille <akim@epita.fr>
727
728 * src/print.h: New file.
729 Propagate its use.
730 * src/print.c: Formatting and ordering changes.
731 (verbose, terse): Replace with...
732 (print_results): this new function.
733 Adjust dependencies.
734
0619caf0
AD
7352000-10-02 Akim Demaille <akim@epita.fr>
736
737 * src/conflicts.c (conflict_report): New function.
738 (conflict_log, verbose_conflict_log): Replace with...
739 (print_conflicts): this function.
740 Adjust dependencies.
741 * src/conflicts.h: New file.
742 Propagate its inclusion.
743
3519ec76
AD
7442000-10-02 Akim Demaille <akim@epita.fr>
745
746 * src/nullable.h: New file.
747 Propagate its inclusion.
748 * src/nullable.c: Formatting changes.
749
015acc48
AD
7502000-10-02 Akim Demaille <akim@epita.fr>
751
752 * src/reduce.h: New file.
753 Propagate its inclusion.
754 * src/reduce.c: Topological sort and other formatting changes.
755 (bool, TRUE, FALSE): Move their definition to...
756 * src/system.h: here.
757
8963a27b
AD
7582000-10-02 Akim Demaille <akim@epita.fr>
759
760 * src/files.c: Formatting changes.
761 (tryopen, tryclose, openfiles): Rename as...
762 (xfopen, xfclose, open_files): this.
763 (stringappend): static.
764 * src/files.h: Complete the list of exported symbols.
765 Propagate its use.
766
a70083a3
AD
7672000-10-02 Akim Demaille <akim@epita.fr>
768
769 * src/reader.h: New file.
770 Propagate its use instead of tedious list of `extern' and
771 prototypes.
772 * src/reader.c: Formatting changes, topological sort,
773 s/register//.
774
abadc117
AD
7752000-10-02 Akim Demaille <akim@epita.fr>
776
777 * src/lex.h: Prototype `lex.c' exported functions.
778 * src/reader.c: Adjust.
779 * src/lex.c: Formatting changes.
780 (safegetc): Rename as...
781 (xgetc): this.
782
720d742f
AD
7832000-10-02 Akim Demaille <akim@epita.fr>
784
785 * src/lalr.h: New file.
786 Propagate its inclusion instead of prototypes and `extern'.
787 * src/lalr.c: Formatting changes, topological sorting etc.
788
f2acea59
AD
7892000-10-02 Akim Demaille <akim@epita.fr>
790
791 * src/output.c (token_actions): Introduce a temporary array,
792 YYDEFACT, that makes it possible for this function to use
793 output_short_table.
794
d019d655
AD
7952000-10-02 Akim Demaille <akim@epita.fr>
796
797 `user_toknums' is output as a `short[]' in `output.c', while it is
798 defined as a `int[]' in `reader.c'. For consistency with the
799 other output tables, `user_toknums' is now defined as a table of
800 shorts.
801
802 * src/reader.c (user_toknums): Be a short table instead of an int
803 table.
804 Adjust dependencies.
805
806 Factor the short table outputs.
807
808 * src/output.c (output_short_table): New function.
809 * src/output.c (output_gram, output_stos, output_rule_data)
810 (output_base, output_table, output_check): Use it.
811
6c89f1c1
AD
8122000-10-02 Akim Demaille <akim@epita.fr>
813
814 * src/output.c (output): Topological sort of the functions, in
815 order to get rid of the `static' prototypes.
816 No longer use `register'.
817 * src/output.h: New file.
818 Propagate its inclusion in files explicitly prototyping functions
819 from output.c.
820
d9efd181
AD
8212000-09-21 Akim Demaille <akim@epita.fr>
822
823 * src/atgeneral.m4: Update from Autoconf.
824
c29240e7 8252000-09-21 Akim Demaille <akim@epita.fr>
2fa6973e
AD
826
827 * src/closure.h: New file.
828 * src/closure.c: Formatting changes, topological sort over the
829 functions, use of closure.h.
830 (initialize_closure, finalize_closure): Rename as...
831 (new_closure, free_closure): these. Adjust dependencies.
832 * src/LR0.c: Formatting changes, topological sort, use of
833 cloture.h.
834 (initialize_states): Rename as...
835 (new_states): this.
836 * src/Makefile.am (noinst_HEADERS): Adjust.
837
499daa50
AD
8382000-09-20 Akim Demaille <akim@epita.fr>
839
840 * src/acconfig.h: Don't protect config.h against multiple
841 inclusion.
842 Don't define PARAMS.
843 * src/system.h: Define PARAMS.
844 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
845 purpose of config.h. system.h must not try to fix wrong
846 definitions in config.h.
847
cc84fd5d
AD
8482000-09-20 Akim Demaille <akim@epita.fr>
849
850 * src/derives.h: New file.
851 * src/main.c, src/derives.h: Use it.
852 Formatting changes.
853 * src/Makefile.am (noinst_HEADERS): Adjust.
854
db5b3a89
AD
8552000-09-20 Akim Demaille <akim@epita.fr>
856
857 * tests/atgeneral.m4: Update from Autoconf.
858 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
859 (AT_CHECK_CALC): New macros.
860 Use these macros to test bison with options `', `--raw',
861 `--debug', `--yacc', `--yacc --debug'.
862
ceed8467
AD
8632000-09-19 Akim Demaille <akim@epita.fr>
864
865 * src/output.c: Formatting changes.
866 * src/machine.h: Remove, leaving its contents in...
867 * src/system.h: here.
868 Include stdio.h.
869 Adjust all dependencies on stdio.h and machine.h.
870 * src/getargs.h: New file.
871 Let all `extern' declarations about getargs.c be replaced with
872 inclusion of `getargs.h'.
873 * src/Makefile.am (noinst_HEADERS): Adjust.
874
875 * tests/calc.m4 (yyin): Be initialized in main, not on the global
876 scope.
877 (yyerror): Returns void, not int.
878 * doc/bison.texinfo: Formatting changes.
879
05a1d24b
AD
8802000-09-19 Akim Demaille <akim@epita.fr>
881
882 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
883 portable.
884
cbd25751
AD
8852000-09-18 Akim Demaille <akim@epita.fr>
886
887 * configure.in: Append WARNING_CFLAGS to CFLAGS.
888 * src/Makefile.am (INCLUDES): Don't.
889 Be ready to fetch headers in lib/.
890
13863333
AD
8912000-09-18 Akim Demaille <akim@epita.fr>
892
893 * doc/bison.texinfo: Update the copyright.
894 ANSIfy and GNUify the examples.
895 Remove the old menu.
896
0d533154
AD
8972000-09-18 Akim Demaille <akim@epita.fr>
898
899 First set of tests: use the `calc' example from the documentation.
900
901 * src/bison.s1 (yyparse): Condition the code using `yytname' which
902 is defined only when YYDEBUG is.
903 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
904 * src/files.c (tryopen, tryclose): Formatting changes.
905 Move to the top and be static.
906 * src/reader.c (read_signed_integer): Likewise.
907 * tests/calc.m4: New file.
908 * Makefile.am, suite.m4: Adjust.
909 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
910
e79137ac
AD
9112000-09-18 Akim Demaille <akim@epita.fr>
912
913 Add support for an Autotest test suite for Bison.
914
915 * m4/m4.m4, m4/atconfig.m4: New files.
916 * m4/Makefile.am (EXTRA_DIST): Adjust.
917 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
918 files.
919 * src/getargs.c: Display a more standard --version message.
920 * src/reader.c (reader): Formatting changes.
921 No longer depend upon VERSION_STRING.
922 * configure.in: No longer use `dnl'.
923 Set up the test suite and the new directory `tests/.
924 (VERSION_STRING): Remove.
925
27821bff
AD
9262000-04-14 Akim Demaille <akim@epita.fr>
927
928 * src/reader.c (copy_comment2): New function, same as former
929 `copy_comment', but outputs into two FILE *.
930 (copy_comment): Use it.
931 (parse_union_decl): Use it.
932 (get_type, parse_start_decl): Use the same `invalid' message.
933 (parse_start_decl, parse_union_decl): Use the same `multiple'
934 message.
935 (parse_union_decl, copy_guard, copy_action): Use the same
936 `unmatched' message.
937 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
938
cfe5fbc0
AD
9392000-03-31 Akim Demaille <akim@epita.fr>
940
941 * src/files.c (tryopen, tryclose): Move to the top.
942 Be static.
943
cb7db13e
AD
9442000-03-31 Akim Demaille <akim@epita.fr>
945
946 * src/main.c (main): Don't call `done', exit does it.
947
a0f6b076
AD
9482000-03-31 Akim Demaille <akim@epita.fr>
949
36281465
AD
950 * allocate.c: s/return (foo)/return foo/.
951 * lalr.c: Likewise.
952 * LR0.c: Likewise.
953 * output.c: Likewise.
954 * reader.c: Likewise.
955 * symtab.c: Likewise.
956 * vmsgetargs.c: Likewise.
957
9582000-03-31 Akim Demaille <akim@epita.fr>
959
960 Clean up the error reporting functions.
a0f6b076
AD
961
962 * src/report.c: New file.
963 * src/report.h: Likewise.
964 * src/Makefile.am: Adjust.
965 * m4/error.m4: New file.
966 * m4/Makefile.am: Adjust.
967 * configure.in (jm_PREREQ_ERROR): Call it.
968 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
969 Remove.
970 (fatal, fatals): Remove. All callers use complain.c::fatal.
971 (warn, warni, warns, warnss, warnss): Remove. All callers use
972 complain.c::complain.
973 (toomany): Remove, use fatal instead.
974 * src/files.c (done): No argument, use complain_message_count.
975 * src/main.c (main): Register `done' to `atexit'.
976
977 * src/getargs.c (usage): More `fputs', less `fprintf'.
978
18539825
AD
9792000-03-28 Akim Demaille <akim@epita.fr>
980
981 * lib/: New directory.
982 * Makefile.am (SUBDIRS): Adjust.
983 * configure.in: Adjust.
984 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
985 useless.
986 * src/alloca.c: Moved to lib/.
987 * src/getopt.c: Likewise.
988 * src/getopt1.c: Likewise.
989 * src/getopt.h: Likewise.
990 * src/ansi2knr.c: Likewise.
991 * src/ansi2knr.1: Likewise.
992 * src/Makefile.am: Adjust.
993 * lib/Makefile.am: New file.
994
9f306f2a
AD
9952000-03-28 Akim Demaille <akim@epita.fr>
996
997 * src/getargs.c (usage): Refresh the help message.
998
0ba347b6
AD
9992000-03-17 Akim Demaille <akim@epita.fr>
1000
1001 * src/getopt1.c: Updated from textutils 2.0e
1002 * src/getopt.c: Likewise.
1003 * src/getopt.h: Likewise.
1004
dbe7f271
AD
10052000-03-17 Akim Demaille <akim@epita.fr>
1006
1007 * src/Makefile.am (bison.simple): Fix the awk program: quote only
1008 the file name, not the whole `#line LINE FILE'.
1009
75bbe78d
AD
10102000-03-17 Akim Demaille <akim@epita.fr>
1011
1012 On syntax errors, report the token on which we choked.
1013
aa5fd0ee
AD
1014 * src/bison.s1 (yyparse): In the label yyerrlab, when
1015 YYERROR_VERBOSE, add yychar in msg.
75bbe78d 1016
7b306f52
AD
10172000-03-17 Akim Demaille <akim@epita.fr>
1018
aa5fd0ee 1019 * src/reader.c (copy_at): New function.
7b306f52
AD
1020 (copy_guard): Use it.
1021 (copy_action): Use it.
1022
e87b5700
AD
10232000-03-17 Akim Demaille <akim@epita.fr>
1024
1025 Be kind to translators, save some useless translations.
1026
aa5fd0ee 1027 * src/main.c (banner): New function.
e87b5700
AD
1028 (fatal_banner): Use it.
1029 (warn_banner): Use it.
1030
ae3c3164
AD
10312000-03-17 Akim Demaille <akim@epita.fr>
1032
aa5fd0ee
AD
1033 * src/reader.c (copy_definition): Use copy_string and
1034 copy_comment. Removed now unused `match', `ended',
1035 `cplus_comment'.
ae3c3164
AD
1036 (copy_comment, copy_string): Moved, to be visible from
1037 copy_definition.
1038
4dc58e7c
AD
10392000-03-17 Akim Demaille <akim@epita.fr>
1040
aa5fd0ee
AD
1041 * src/reader.c (copy_string): Declare `static inline'. No
1042 problems with inline, since it is checked by configure.
4dc58e7c
AD
1043 (copy_comment): Likewise.
1044
0a6384c4
AD
10452000-03-17 Akim Demaille <akim@epita.fr>
1046
aa5fd0ee 1047 * src/reader.c (packsymbols): Formatting changes.
0a6384c4 1048
3cef001a
AD
10492000-03-17 Akim Demaille <akim@epita.fr>
1050
aa5fd0ee 1051 * src/reader.c (copy_comment): New function, factored out from:
3cef001a
AD
1052 (copy_action): Use it. Removed now unused `match', `ended',
1053 `cplus_comment'.
1054 (copy_guard): Likewise.
1055
ca36d2ef
AD
10562000-03-17 Akim Demaille <akim@epita.fr>
1057
aa5fd0ee 1058 * src/reader.c (copy_string): New function, factored out from:
ca36d2ef
AD
1059 (copy_action): Use it.
1060 (copy_guard): Likewise.
1061
6666f98f
AD
10622000-03-17 Akim Demaille <akim@epita.fr>
1063
1064 Change the handling of @s so that they behave exactly like $s.
1065 There is now a pseudo variable @$ (readble and writable), location
1066 of the lhs of the rule (by default ranging from the location of
1067 the first symbol of the rhs, to the location of the last symbol,
1068 or, if the rhs is empty, YYLLOC).
1069
1070 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
1071 yyval.
1072 (yyparse): When providing a default semantic action, provide a
1073 default location action.
1074 (after the $): No longer change `*YYLSP', just stack YYLOC the
1075 same way you stack YYVAL.
1076 * src/reader.c (read_declarations): Use warns.
1077 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
1078 (copy_action, case '@'): Likewise.
1079 Use a standard error message, to save useless work from
1080 translators.
1081
41aca2e0
AD
10822000-03-17 Akim Demaille <akim@epita.fr>
1083
aa5fd0ee
AD
1084 * src/bison.s1: Formatting and cosmetics changes.
1085 * src/reader.c: Likewise.
41aca2e0
AD
1086 Update the Copyright notice.
1087
dc08c1d5
AD
10882000-03-17 Akim Demaille <akim@epita.fr>
1089
aa5fd0ee
AD
1090 * src/bison.s1 (#line): All set to `#line' only, since the
1091 Makefile now handles them.
dc08c1d5 1092
9ee3c97b
AD
10932000-03-16 Akim Demaille <akim@epita.fr>
1094
1095 * src/output.c (output_rule_data): Output the documentation of
1096 some of the tables.
1097 (Copyright notice): Update.
1098 Formatting changes.
1099
0de741ca
AD
11002000-03-16 Akim Demaille <akim@epita.fr>
1101
1102 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
1103 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
1104 One `#if YYDEBUG' remains, since it uses variables which are
1105 defined only if `YYDEBUG != 0'.
1106
bb10be54
AD
11072000-03-16 Akim Demaille <akim@epita.fr>
1108
1109 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
1110 and related variables so that the similarities are highlighted.
1111
b07b484a
AD
11122000-03-16 Akim Demaille <akim@epita.fr>
1113
1114 * src/bison.s1: Properly indent CPP directives.
1115
361f60b3
AD
11162000-03-16 Akim Demaille <akim@epita.fr>
1117
1118 * src/bison.s1: Properly indent the `alloca' CPP section.
1119
8c44d3ec
AD
11202000-03-16 Akim Demaille <akim@epita.fr>
1121
1122 Do not hard code values of directories in `configure.in'.
1123 Update the `configure' tool chain.
1124
1125 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
1126 src/makefile.am.
1127 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
1128 (AC_OUTPUT): Add m4/Makefile.
1129 Bump to bison 1.28a, 1.29 has never been released.
1130 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
1131 handled via src/Makefile.am.
1132 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
1133 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
1134 autoheader.
1135 * Makefile.am (SUBDIRS): Add m4.
1136 (ACLOCAL_AM_FLAGS): New variable.
1137 (AUTOMAKE_OPTIONS): Add check-news.
1138 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
1139 the proper line number and file name.
1140 (DEFS): Propagate the location of bison library files and of the
1141 locale files.
1142 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
1143 builddir.
1144 * acinclude.m4: Remove, replaced by the directory m4.
1145 * m4/Makefile.am (EXTRA_DIST): New variable.
1146 * m4/gettext.m4: New file, from the fileutils.
1147 * m4/lcmessage.m4: Likewise
1148 * m4/progtest.m4: Likewise.
1149 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
1150
f95997e7
AD
11512000-03-10 Akim Demaille <akim@epita.fr>
1152
1153 * src/closure.c:
1154 Formatting changes of various comments.
1155 Respect the GNU coding standards at various places.
1156 Don't use `_()' when no translation is needed.
1157
11581999-12-13 Jesse Thilo <jthilo@gnu.org>
1159
1160 * src/files.c:
1161 OS/2 honors TMPDIR environment variable.
1162
11631999-12-13 Jesse Thilo <jthilo@gnu.org>
1164
1165 * doc/bison.texinfo: Tweaked spelling and grammar.
1166 Updated ISBN.
1167 Removed reference to price of printed copy.
1168 Mention BISON_SIMPLE and BISON_HAIRY.
1169
11701999-12-13 Jesse Thilo <jthilo@gnu.org>
1171
1172 * configure.in, NEWS:
1173 Bison 1.29 released.
1174
11751999-10-27 Jesse Thilo <jthilo@gnu.org>
1176
1177 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
1178 Added reference card.
1179
11801999-07-26 Jesse Thilo <jthilo@gnu.org>
1181
1182 * po/ru.po: Added Russian translation.
1183
11841999-07-26 Jesse Thilo <jthilo@gnu.org>
1185
1186 * configure.in: Added Russian translation.
1187
11881999-07-06 Jesse Thilo <jthilo@gnu.org>
1189
1190 * configure.in, NEWS, README:
1191 Released version 1.28.
1192
11931999-06-14 Jesse Thilo <jthilo@gnu.org>
1194
1195 * src/system.h:
1196 Squashed redefinition warning on some systems.
1197
1198 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
1199 Have configure build version string instead of relying on ANSI string
1200 concatentation.
1201
12021999-06-14 Jesse Thilo <jthilo@gnu.org>
1203
1204 * po/POTFILES.in: Got rid of version.c.
1205
12061999-06-14 Jesse Thilo <jthilo@gnu.org>
1207
1208 * acconfig.h, configure.in:
1209 Have configure build version string instead of relying on ANSI string
1210 concatentation.
1211
12121999-06-08 Jesse Thilo <jthilo@gnu.org>
1213
1214 * doc/bison.1:
1215 Dropped mention of `+' for long-named options.
1216
12171999-05-30 Jesse Thilo <jthilo@gnu.org>
1218
1219 * src/files.c: Added <unistd.h> for unlink().
1220
1221 * src/Makefile.am, src/system.h:
1222 I18n fixes.
1223
12241999-05-30 Jesse Thilo <jthilo@gnu.org>
1225
1226 * README: Added a FAQ list.
1227
1228 * configure.in, acconfig.h:
1229 I18n fixes.
1230
12311999-05-30 Jesse Thilo <jthilo@gnu.org>
1232
1233 * doc/FAQ, doc/Makefile.am:
1234 Added a FAQ list.
1235
12361999-05-19 Jesse Thilo <jthilo@gnu.org>
1237
1238 * src/alloc.h, src/symtab.h, src/version.c:
1239 Protected inclusion of "config.h" with HAVE_CONFIG_H.
1240
12411999-04-18 Jesse Thilo <jthilo@gnu.org>
1242
1243 * src/.cvsignore, src/Makefile.am:
1244 Reorganized: sources in `src', documentation in `doc'.
1245
1246 * src/lex.c (literalchar):
1247 fixed the code for escaping double quotes (thanks
1248 Jonathan Czisny.)
1249
12501999-04-18 Jesse Thilo <jthilo@gnu.org>
1251
1252 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
1253 Adjusted paths to reflect directory reorganization.
1254
12551999-04-18 Jesse Thilo <jthilo@gnu.org>
1256
1257 * doc/.cvsignore, doc/Makefile.am:
1258 Reorganized: sources in `src', documentation in `doc'.
1259
12601999-04-18 Jesse Thilo <jthilo@gnu.org>
1261
1262 * configure.in:
1263 Updated AC_INIT file to reflect directory reorganization.
1264
1265 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
1266 Reorganized: sources in `src', documentation in `doc'.
1267
12681999-04-13 Jesse Thilo <jthilo@gnu.org>
1269
1270 * src/allocate.c:
1271 Don't declare calloc() and realloc() if not necessary.
1272
12731999-04-13 Jesse Thilo <jthilo@gnu.org>
1274
1275 * configure.in, acconfig.h, acinclude.m4:
1276 Don't declare calloc() and realloc() if not necessary.
1277
12781999-03-23 Jesse Thilo <jthilo@gnu.org>
1279
1280 * po/.cvsignore: Added i18n support.
1281
12821999-03-23 Jesse Thilo <jthilo@gnu.org>
1283
1284 * acconfig.h, configure.in, Makefile.am:
1285 Added i18n support.
1286
12871999-03-22 Jesse Thilo <jthilo@gnu.org>
1288
1289 * src/bison.s1: Fixed #line numbers.
1290
12911999-03-15 Jesse Thilo <jthilo@gnu.org>
1292
1293 * po/es.po, po/fr.po, po/nl.po, po/de.po:
1294 Added PO files from Translation Project.
1295
12961999-03-03 Jesse Thilo <jthilo@gnu.org>
1297
1298 * Makefile.am:
1299 Added support for non-ANSI compilers (ansi2knr).
1300
13011999-02-16 Jesse Thilo <jthilo@gnu.org>
1302
1303 * configure.in: Bumped version number to 1.27.
1304
1305 * Makefile.am:
1306 Added `bison.simple' to list of files removed by `make distclean'.
1307
13081999-02-12 Jesse Thilo <jthilo@gnu.org>
1309
1310 * src/files.c, src/files.h:
1311 Defined locations of parser files in config.h instead of Makefile.
1312
13131999-02-12 Jesse Thilo <jthilo@gnu.org>
1314
1315 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
1316 Defined locations of parser files in config.h instead of Makefile.
1317
13181999-02-09 Jesse Thilo <jthilo@gnu.org>
1319
1320 * Makefile.am:
1321 Removed inappropriate use of $< macro.
1322
13231999-02-05 Jesse Thilo <jthilo@gnu.org>
1324
1325 * po/Makefile.in.in, po/POTFILES.in:
1326 Add `po' directory skeleton.
1327
13281999-01-27 Jesse Thilo <jthilo@gnu.org>
1329
1330 * README: Document help-bison list.
1331
1332 * configure.in: Add check for mkstemp().
1333
13341999-01-20 Jesse Thilo <jthilo@gnu.org>
1335
1336 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
1337 Hush a few compiler warnings.
1338
1339 * src/files.c:
1340 Add tryclose(), which verifies that fclose was successful.
1341 Hush a couple of compiler warnings.
1342
13431999-01-20 Jesse Thilo <jthilo@gnu.org>
1344
1345 * Makefile.am, OChangeLog:
1346 ChangeLog is now automatically generated. Include the old version as
1347 OChangeLog.
1348
13491999-01-14 Jesse Thilo <jthilo@gnu.org>
1350
1351 * 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:
1352 Update FSF address.
1353
13541999-01-14 Jesse Thilo <jthilo@gnu.org>
1355
1356 * doc/bison.texinfo: Fix formatting glitch.
1357
1358 * doc/bison.texinfo: Update FSF address.
1359
13601999-01-14 Jesse Thilo <jthilo@gnu.org>
1361
1362 * acconfig.h: Update FSF address.
1363
13641999-01-08 Jesse Thilo <jthilo@gnu.org>
1365
1366 * src/system.h:
1367 Don't define PACKAGE here, since config.h defines it.
1368
13691998-12-30 Jesse Thilo <jthilo@gnu.org>
1370
1371 * src/reader.c: Update copyright date.
1372
1373 * src/main.c:
1374 Ditch sprintf to statically-sized buffers in fatal/warn functions in
1375 favor of output directly to stderr (avoids buffer overruns).
1376
1377 * src/reader.c: Some checks for premature EOF.
1378
1379 * 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:
1380 Use prototypes if the compiler understands them.
1381
1382 * src/files.c: Honor TMPDIR on Unix hosts.
1383 Use prototypes if the compiler understands them.
1384
1385 * src/reader.c:
1386 Fix a couple of buffer overrun bugs.
1387 Use prototypes if the compiler understands them.
1388
1389 * src/system.h: Include unistd.h and ctype.h.
1390 Use #ifdef instead of #if for NLS symbols.
1391
13921998-12-30 Jesse Thilo <jthilo@gnu.org>
1393
1394 * doc/bison.texinfo:
1395 Delete comment "consider using @set for edition number, etc..." since
1396 we now are doing so.
1397
13981998-12-30 Jesse Thilo <jthilo@gnu.org>
1399
1400 * configure.in:
1401 Use prototypes if the compiler understands them.
1402
1403 * NEWS: Document 1.26 highlights.
1404
1405 * Makefile.am: Require Automake 1.3 or later.
1406
1407 * acconfig.h:
1408 Use prototypes if the compiler understands them.
1409
14101998-12-29 Jesse Thilo <jthilo@gnu.org>
1411
1412 * src/version.c:
1413 Use VERSION symbol from automake for version number.
1414
14151998-12-29 Jesse Thilo <jthilo@gnu.org>
1416
1417 * acconfig.h, configure.in, version.cin:
1418 Use VERSION symbol from automake for version number.
1419
14201998-11-28 Jesse Thilo <jthilo@gnu.org>
1421
1422 * Makefile.am:
1423 Distribute original version of simple parser (bison.s1), not built
1424 version (bison.simple).
1425
14261998-11-28 Jesse Thilo <jthilo@gnu.org>
1427
1428 * doc/bison.texinfo: Add info dir entry.
1429
1430 * doc/bison.texinfo:
1431 Let automake put version number into documentation.
1432
14331998-11-26 Jesse Thilo <jthilo@gnu.org>
1434
1435 * src/bison.cld, src/build.com, src/vmshlp.mar:
1436 Add non-RCS files from /gd/gnu/bison.
1437
14381998-11-26 Jesse Thilo <jthilo@gnu.org>
1439
1440 * doc/bison.1:
1441 Document the BISON_HAIRY and BISON_SIMPLE variables.
1442
14431998-11-25 Jesse Thilo <jthilo@gnu.org>
1444
1445 * src/version.c: Build version.c automatically.
1446
1447 * src/reader.c:
1448 Fix token numbering (used to start at 258, not 257).
1449
1450 * src/system.h: Include config.h.
1451
1452 * src/getargs.c: Update bug report address.
1453
1454 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
1455 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
1456
14571998-11-25 Jesse Thilo <jthilo@gnu.org>
1458
1459 * Makefile.am:
1460 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1461
1462 * configure.in, version.cin:
1463 Build version.c automatically.
1464
1465 * AUTHORS: Add AUTHORS file.
1466
1467 * README: Update bug report address.
1468
1469 * bison.simple:
1470 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1471
1472 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
1473 Add automake stuff.
1474
14751998-11-25 Jesse Thilo <jthilo@gnu.org>
1476
1477 * doc/bison.texinfo: Clean up some formatting.
1478
14791998-05-05 Richard Stallman <rms@gnu.org>
1480
1481 * doc/bison.texinfo:
1482 Explain better why to make a pure parser.
1483
14841998-01-05 Richard Stallman <rms@gnu.org>
1485
1486 * src/files.c (openfiles):
1487 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
1488 find a temporary directory, if possible. Do not unlink files while
1489 they are open.
1490
14911997-08-25 Richard Stallman <rms@gnu.org>
1492
1493 * src/reader.c (stack_offset;):
1494 Change some warni to warns.
1495
1496 * src/lex.c (literalchar): Use warns, not warni.
1497
14981997-06-28 Richard Stallman <rms@gnu.org>
1499
1500 * src/bison.s1: Add a Bison version comment.
1501
1502 * src/main.c (fatal, warn, berror):
1503 Use program_name.
1504
15051997-06-28 Richard Stallman <rms@gnu.org>
1506
1507 * Makefile.in (bison_version): New variable.
1508 (dist): Use that variable.
1509 (bison.s1): Substitute the Bison version into bison.simple.
1510
1511 * bison.simple: Add a Bison version comment.
1512
15131997-06-18 Richard Stallman <rms@gnu.org>
1514
1515 * src/main.c (fatal, warn, berror):
1516 Make error messages standard.
1517 (toomany): Improve error message text.
1518
1519 * 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:
1520 new.h renamed to alloc.h.
1521
15221997-06-18 Richard Stallman <rms@gnu.org>
1523
1524 * Makefile.in: new.h renamed to alloc.h.
1525
15261997-05-24 Richard Stallman <rms@gnu.org>
1527
1528 * src/lex.c (literalchar):
1529 Fix the code for escaping \, " and '.
1530
1531 (lex): Avoid trouble when there are many chars
1532 to discard in a char literal with just several chars in it.
1533
15341997-05-17 Richard Stallman <rms@gnu.org>
1535
1536 * src/bison.s1:
1537 Use malloc, if using alloca is troublesome.
1538 (YYSTACK_USE_ALLOCA): New flag macro.
1539 Define it for some systems and compilers.
1540 (YYSTACK_ALLOC): New macro.
1541 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1542 If it was malloc'd, free it.
1543
15441997-05-17 Richard Stallman <rms@gnu.org>
1545
1546 * bison.simple:
1547 Use malloc, if using alloca is troublesome.
1548 (YYSTACK_USE_ALLOCA): New flag macro.
1549 Define it for some systems and compilers.
1550 (YYSTACK_ALLOC): New macro.
1551 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1552 If it was malloc'd, free it.
1553
15541997-04-23 Richard Stallman <rms@gnu.org>
1555
1556 * src/bison.s1:
1557 (alloca) [__hpux]: Always define as __builtin_alloca.
1558
15591997-04-23 Richard Stallman <rms@gnu.org>
1560
1561 * bison.simple:
1562 (alloca) [__hpux]: Always define as __builtin_alloca.
1563
15641997-04-22 Richard Stallman <rms@gnu.org>
1565
1566 * src/bison.s1:
1567 [__hpux]: Include alloca.h (right for HPUX 10)
1568 instead of declaring alloca (right for HPUX 9).
1569
1570 * src/bison.s1 (__yy_memcpy):
1571 Declare arg `count' as unsigned int.
1572 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1573
15741997-04-22 Richard Stallman <rms@gnu.org>
1575
1576 * bison.simple:
1577 [__hpux]: Include alloca.h (right for HPUX 10)
1578 instead of declaring alloca (right for HPUX 9).
1579
1580 * bison.simple (__yy_memcpy):
1581 Declare arg `count' as unsigned int.
1582 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1583
15841997-01-03 Richard Stallman <rms@gnu.org>
1585
1586 * src/allocate.c: [__STDC__ or _MSC_VER]:
1587 Declare calloc and realloc to return void *.
1588
15891997-01-02 Richard Stallman <rms@gnu.org>
1590
1591 * src/system.h:
1592 [_MSC_VER]: Include stdlib.h and process.h.
1593 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
1594
1595 * src/main.c (main): Return FAILURE as a value.
1596 (printable_version): Declare arg as int, not char.
1597
15981997-01-02 Richard Stallman <rms@gnu.org>
1599
1600 * Makefile.in (dist):
1601 Explicitly check for symlinks, and copy them.
1602
16031996-12-19 Richard Stallman <rms@gnu.org>
1604
1605 * src/files.c:
1606 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
1607
16081996-12-18 Paul Eggert <eggert@gnu.org>
1609
1610 * src/bison.s1 (yyparse):
1611 If __GNUC__ and YYPARSE_PARAM are both defined,
1612 declare yyparse to have a void * argument.
1613
16141996-12-18 Paul Eggert <eggert@gnu.org>
1615
1616 * bison.simple (yyparse):
1617 If __GNUC__ and YYPARSE_PARAM are both defined,
1618 declare yyparse to have a void * argument.
1619
16201996-12-17 Richard Stallman <rms@gnu.org>
1621
1622 * src/reduce.c (nbits): Add some casts.
1623
16241996-08-12 Richard Stallman <rms@gnu.org>
1625
1626 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
1627
16281996-08-12 Richard Stallman <rms@gnu.org>
1629
1630 * bison.simple: Test _MSDOS as well as _MSDOS_.
1631
16321996-07-31 Richard Stallman <rms@gnu.org>
1633
1634 * src/bison.s1:
1635 [__sun && __i386]: Include alloca.h.
1636
16371996-07-31 Richard Stallman <rms@gnu.org>
1638
1639 * bison.simple:
1640 [__sun && __i386]: Include alloca.h.
1641
16421996-07-30 Richard Stallman <rms@gnu.org>
1643
1644 * src/bison.s1: Comment change.
1645
1646 * src/bison.s1: Test _MSDOS_, not MSDOS.
1647
16481996-07-30 Richard Stallman <rms@gnu.org>
1649
1650 * bison.simple: Comment change.
1651
1652 * bison.simple: Test _MSDOS_, not MSDOS.
1653
16541996-06-01 Richard Stallman <rms@gnu.org>
1655
1656 * 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:
1657 Insert `_' macro around many string constants.
1658
1659 * src/main.c:
1660 Insert `_' macro around many string constants.
1661
1662 (main): Call setlocale, bindtextdomain and textdomain.
1663
1664 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
1665 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
1666 [ENABLE_NLS]: Include libintl.h.
1667 [ENABLE_NLS] (gettext): Define.
1668 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
1669 (N_, PACKAGE, LOCALEDIR): New macros.
1670
16711996-06-01 Richard Stallman <rms@gnu.org>
1672
1673 * POTFILES.in: New file.
1674
1675 * Makefile.in (allocate.o):
1676 Define target explicitly.
1677
1678 * Makefile.in (CFLAGS): Set to @CFLAGS@.
1679 (LDFLAGS): Set to @LDFLAGS@.
1680 (configure): Run autoconf only if preceding `cd' succeeds.
1681 (bison.s1): Redirect output to temporary file then move the
1682 temporary to the target, rather than redirecting directly to bison.s1.
1683 (clean): Remove config.status and config.log.
1684 (distclean): Don't remove config.status here.
1685
16861996-05-12 Richard Stallman <rms@gnu.org>
1687
1688 * src/bison.s1:
1689 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1690
16911996-05-12 Richard Stallman <rms@gnu.org>
1692
1693 * bison.simple:
1694 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1695
16961996-05-11 Richard Stallman <rms@gnu.org>
1697
1698 * src/bison.s1 (__yy_memcpy):
1699 Really reorder the args, as was supposedly done on Feb 14 1995.
1700 (yyparse): Calls changed accordingly.
1701
17021996-05-11 Richard Stallman <rms@gnu.org>
1703
1704 * Makefile.in (dist): Don't use $(srcdir).
1705
1706 * bison.simple (__yy_memcpy):
1707 Really reorder the args, as was supposedly done on Feb 14 1995.
1708 (yyparse): Calls changed accordingly.
1709
17101996-01-27 Richard Stallman <rms@gnu.org>
1711
1712 * src/output.c (output_rule_data):
1713 Test YYERROR_VERBOSE in the conditional
1714 around the definition of ttyname.
1715
17161995-12-29 Richard Stallman <rms@gnu.org>
1717
1718 * src/bison.s1:
1719 Fix line numbers in #line commands.
1720
17211995-12-29 Richard Stallman <rms@gnu.org>
1722
1723 * bison.simple:
1724 Fix line numbers in #line commands.
1725
17261995-12-27 Richard Stallman <rms@gnu.org>
1727
1728 * src/bison.s1 (YYPARSE_PARAM_DECL):
1729 In C++, make it always null.
1730 (YYPARSE_PARAM_ARG): New macro.
1731 (yyparse): Use YYPARSE_PARAM_ARG.
1732
17331995-12-27 Richard Stallman <rms@gnu.org>
1734
1735 * bison.simple (YYPARSE_PARAM_DECL):
1736 In C++, make it always null.
1737 (YYPARSE_PARAM_ARG): New macro.
1738 (yyparse): Use YYPARSE_PARAM_ARG.
1739
17401995-11-29 Richard Stallman <rms@gnu.org>
1741
1742 * doc/bison.texinfo:
1743 Describe literal string tokens, %raw, %no_lines, %token_table.
1744
17451995-11-29 Daniel Hagerty <hag@gnu.org>
1746
1747 * doc/bison.texinfo: Fixed update date
1748
17491995-10-16 Richard Stallman <rms@gnu.org>
1750
1751 * src/version.c: Version 1.25.
1752
17531995-10-16 Richard Stallman <rms@gnu.org>
1754
1755 * NEWS: *** empty log message ***
1756
17571995-10-16 Richard Stallman <rms@gnu.org>
1758
1759 * doc/bison.1, doc/bison.rnh:
1760 Add new options.
1761
17621995-10-15 Richard Stallman <rms@gnu.org>
1763
1764 * src/vmsgetargs.c, src/getargs.c:
1765 Added -n, -k, and -raw switches.
1766 (noparserflag, toknumflag, rawtoknumflag): New variables.
1767
1768 * src/symtab.h (SALIAS):
1769 New #define for adding aliases to %token.
1770 (struct bucket): Added `alias' field.
1771
1772 * src/reduce.c (reduce_grammar):
1773 Revise error message.
1774 (print_notices): Remove final `.' from error message.
1775
1776 * src/reader.c (reader_output_yylsp):
1777 New function.
1778 (readgram): Use `#if 0' around code that accepted %command
1779 inside grammar rules: The documentation doesn't allow it,
1780 and it will fail since the %command processors scan for the next %.
1781 (parse_token_decl): Extended the %token
1782 declaration to allow a multi-character symbol as an alias.
1783 (parse_thong_decl): New function.
1784 (read_declarations): Added %thong declarations.
1785 (read_declarations): Handle NOOP to deal with allowing
1786 % declarations as another means to specify the flags.
1787 (readgram): Allow %prec prior to semantics embedded in a rule.
1788 (skip_to_char, read_declarations, copy_definition)
1789 (parse_token_decl, parse_start_decl, parse_type_decl)
1790 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1791 (get_type_name, copy_guard, copy_action, readgram)
1792 (get_type, packsymbols): Revised most error messages.
1793 Changed `fatal' to `warnxxx' to avoid aborting for error.
1794 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1795 (read_declarations): Improve the error message for
1796 an invalid character. Do not abort.
1797 (read_declarations, copy_guard, copy_action): Use
1798 printable_version to avoid unprintable characters in printed output.
1799 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1800 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1801 Allow the type of a non-terminal can be given
1802 more than once, as long as all specifications give the same type.
1803
1804 * src/output.c:
1805 (output_headers, output_trailers, output, output_gram)
1806 (output_rule_data): Implement noparserflag variable.
1807 Implement toknumflag variable.
1808 (output): Call reader_output_yylsp to output LTYPESTR.
1809
1810 * src/main.c (main):
1811 If reader sees an error, don't process the grammar.
1812 (fatals): Updated to not use VARARGS1.
1813 (printable_version, int_to_string, warn, warni, warns, warnss)
1814 (warnsss): New error reporting functions. Avoid abort for error.
1815
1816 * src/lex.h:
1817 Added THONG and NOOP for alias processing.
1818 Added SETOPT for the new code that allows setting options with %flags.
1819
1820 * src/lex.c:
1821 Include getopt.h. Add some extern decls.
1822 (safegetc): New function to deal with EOF gracefully.
1823 (literalchar); new function to deal with reading \ escapes.
1824 (lex): Use literalchar.
1825 (lex): Implemented "..." tokens.
1826 (literalchar, lex, parse_percent_token): Made tokenbuffer
1827 always contain the token. This includes growing the token
1828 buffer while reading an integer.
1829 (parse_percent_token): Replaced if-else statement with percent_table.
1830 (parse_percent_token): Added % declarations as another
1831 way to specify the flags -n, -l, and -r. Also added hooks for
1832 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1833 major changes to files.c.
1834 (lex) Retain in the incoming stream a character following
1835 an incorrect '/'.
1836 (skip_white_space, lex): Revised most error messages
1837 and changed fatal to warn to avoid aborting.
1838 (percent_table): Added %thong declarations.
1839
1840 * src/gram.h: Comment changes.
1841
1842 * src/files.c (openfiles, open_extra_files, done):
1843 Add faction flag
1844 and actfile file. Handle noparserflag. Both for -n switch.
1845
1846 * src/conflicts.c (resolve_sr_conflict):
1847 Remove use of alloca.
1848
18491995-06-01 Jim Meyering <meyering@gnu.org>
1850
1851 * doc/bison.texinfo: *** empty log message ***
1852
18531995-05-06 Richard Stallman <rms@gnu.org>
1854
1855 * src/bison.s1: Comment change.
1856
18571995-05-06 Richard Stallman <rms@gnu.org>
1858
1859 * bison.simple: Comment change.
1860
18611995-05-03 Richard Stallman <rms@gnu.org>
1862
1863 * src/version.c: Version now 1.24.
1864
1865 * src/bison.s1: Change distribution terms.
1866
1867 * src/version.c: Version now 1.23.
1868
18691995-05-03 Richard Stallman <rms@gnu.org>
1870
1871 * doc/bison.texinfo:
1872 Rewrite "Conditions for Using Bison".
1873 Update version to 1.24.
1874
18751995-05-03 Richard Stallman <rms@gnu.org>
1876
1877 * bison.simple: Change distribution terms.
1878
18791995-02-23 Richard Stallman <rms@gnu.org>
1880
1881 * src/files.c: Test __VMS_POSIX as well as VMS.
1882
18831995-02-14 Jim Meyering <meyering@gnu.org>
1884
1885 * src/bison.s1 (__yy_memcpy):
1886 Renamed from __yy_bcopy to avoid
1887 confusion. Reverse FROM and TO arguments to be consistent with
1888 those of memcpy.
1889
18901995-02-14 Jim Meyering <meyering@gnu.org>
1891
1892 * bison.simple (__yy_memcpy):
1893 Renamed from __yy_bcopy to avoid
1894 confusion. Reverse FROM and TO arguments to be consistent with
1895 those of memcpy.
1896
18971994-11-10 David J. MacKenzie <djm@gnu.org>
1898
1899 * NEWS: reformat
1900
1901 * NEWS: New file.
1902
1903 * Makefile.in (DISTFILES): Include NEWS.
1904
1905 * Makefile.in (DISTFILES):
1906 Include install-sh, not install.sh.
1907
1908 * configure.in: Update to Autoconf v2 macro names.
1909
19101994-10-05 David J. MacKenzie <djm@gnu.org>
1911
1912 * Makefile.in: fix typo
1913
1914 * Makefile.in (prefix, exec_prefix):
1915 Let configure set them.
1916
19171994-09-28 David J. MacKenzie <djm@gnu.org>
1918
1919 * Makefile.in: Set datadir to $(prefix)/share.
1920
19211994-09-15 Richard Stallman <rms@gnu.org>
1922
1923 * src/bison.s1:
1924 Update copyright notice and GPL version.
1925
19261994-09-15 Richard Stallman <rms@gnu.org>
1927
1928 * bison.simple:
1929 Update copyright notice and GPL version.
1930
19311994-07-12 Richard Stallman <rms@gnu.org>
1932
1933 * src/reduce.c, src/reader.c:
1934 entered into RCS
1935
19361994-05-05 David J. MacKenzie <djm@gnu.org>
1937
1938 * Makefile.in: entered into RCS
1939
19401994-03-26 Richard Stallman <rms@gnu.org>
1941
1942 * src/bison.s1: entered into RCS
1943
19441994-03-26 Richard Stallman <rms@gnu.org>
1945
1946 * bison.simple: entered into RCS
1947
19481994-03-25 Richard Stallman <rms@gnu.org>
1949
1950 * src/main.c: entered into RCS
1951
19521994-03-24 Richard Stallman <rms@gnu.org>
1953
1954 * src/conflicts.c: entered into RCS
1955
19561994-01-02 Richard Stallman <rms@gnu.org>
1957
1958 * Makefile.in: *** empty log message ***
1959
19601993-11-21 Richard Stallman <rms@gnu.org>
1961
1962 * src/bison.s1: *** empty log message ***
1963
19641993-11-21 Richard Stallman <rms@gnu.org>
1965
1966 * doc/bison.texinfo: entered into RCS
1967
1968 * doc/bison.texinfo: *** empty log message ***
1969
19701993-11-21 Richard Stallman <rms@gnu.org>
1971
1972 * bison.simple: *** empty log message ***
1973
19741993-10-25 David J. MacKenzie <djm@gnu.org>
1975
1976 * doc/bison.texinfo: *** empty log message ***
1977
19781993-10-19 Richard Stallman <rms@gnu.org>
1979
1980 * src/bison.s1: *** empty log message ***
1981
19821993-10-19 Richard Stallman <rms@gnu.org>
1983
1984 * bison.simple: *** empty log message ***
1985
19861993-10-14 Richard Stallman <rms@gnu.org>
1987
1988 * src/bison.s1: *** empty log message ***
1989
19901993-10-14 Richard Stallman <rms@gnu.org>
1991
1992 * bison.simple: *** empty log message ***
1993
19941993-09-14 David J. MacKenzie <djm@gnu.org>
1995
1996 * doc/bison.texinfo: *** empty log message ***
1997
19981993-09-13 Noah Friedman <friedman@gnu.org>
1999
2000 * Makefile.in: *** empty log message ***
2001
20021993-09-10 Richard Stallman <rms@gnu.org>
2003
2004 * src/conflicts.c: *** empty log message ***
2005
2006 * src/system.h: entered into RCS
2007
20081993-09-10 Richard Stallman <rms@gnu.org>
2009
2010 * doc/bison.1: entered into RCS
2011
20121993-09-06 Noah Friedman <friedman@gnu.org>
2013
2014 * src/version.c: entered into RCS
2015
20161993-09-06 Noah Friedman <friedman@gnu.org>
2017
2018 * Makefile.in: *** empty log message ***
2019
20201993-07-30 David J. MacKenzie <djm@gnu.org>
2021
2022 * Makefile.in: *** empty log message ***
2023
20241993-07-24 Richard Stallman <rms@gnu.org>
2025
2026 * src/bison.s1: *** empty log message ***
2027
20281993-07-24 Richard Stallman <rms@gnu.org>
2029
2030 * bison.simple: *** empty log message ***
2031
20321993-07-08 David J. MacKenzie <djm@gnu.org>
2033
2034 * Makefile.in: *** empty log message ***
2035
20361993-07-04 Richard Stallman <rms@gnu.org>
2037
2038 * src/bison.s1: *** empty log message ***
2039
20401993-07-04 Richard Stallman <rms@gnu.org>
2041
2042 * bison.simple: *** empty log message ***
2043
20441993-06-26 David J. MacKenzie <djm@gnu.org>
2045
2046 * src/getargs.c: entered into RCS
2047
20481993-06-26 David J. MacKenzie <djm@gnu.org>
2049
2050 * doc/bison.texinfo: *** empty log message ***
2051
2052 * doc/bison.1: New file.
2053
20541993-06-25 Richard Stallman <rms@gnu.org>
2055
2056 * src/getargs.c: New file.
2057
20581993-06-16 Richard Stallman <rms@gnu.org>
2059
2060 * src/bison.s1: *** empty log message ***
2061
20621993-06-16 Richard Stallman <rms@gnu.org>
2063
2064 * bison.simple: *** empty log message ***
2065
20661993-06-03 Richard Stallman <rms@gnu.org>
2067
2068 * src/bison.s1: New file.
2069
20701993-06-03 Richard Stallman <rms@gnu.org>
2071
2072 * doc/bison.texinfo: *** empty log message ***
2073
20741993-06-03 Richard Stallman <rms@gnu.org>
2075
2076 * bison.simple: New file.
2077
20781993-05-19 Richard Stallman <rms@gnu.org>
2079
2080 * doc/bison.texinfo: New file.
2081
20821993-05-07 Noah Friedman <friedman@gnu.org>
2083
2084 * Makefile.in: *** empty log message ***
2085
20861993-04-28 Noah Friedman <friedman@gnu.org>
2087
2088 * src/reader.c: *** empty log message ***
2089
20901993-04-23 Noah Friedman <friedman@gnu.org>
2091
2092 * src/alloc.h: entered into RCS
2093
20941993-04-20 David J. MacKenzie <djm@gnu.org>
2095
2096 * src/version.c: *** empty log message ***
2097
2098 * src/files.c, src/allocate.c:
2099 entered into RCS
2100
2101 * src/reader.c: *** empty log message ***
2102
2103 * src/lex.c: entered into RCS
2104
2105 * src/conflicts.c: New file.
2106
2107 * src/symtab.c: entered into RCS
2108
2109 * src/alloc.h: New file.
2110
2111 * src/LR0.c: entered into RCS
2112
21131993-04-18 Noah Friedman <friedman@gnu.org>
2114
2115 * src/reader.c: New file.
2116
2117 * src/version.c: *** empty log message ***
2118
21191993-04-18 Noah Friedman <friedman@gnu.org>
2120
2121 * Makefile.in: *** empty log message ***
2122
21231993-04-17 Noah Friedman <friedman@gnu.org>
2124
2125 * Makefile.in: *** empty log message ***
2126
21271993-04-15 Richard Stallman <rms@gnu.org>
2128
2129 * src/main.c, src/files.c:
2130 New file.
2131
21321993-04-15 Noah Friedman <friedman@gnu.org>
2133
2134 * configure.in: entered into RCS
2135
2136 * configure.in: *** empty log message ***
2137
2138 * configure.in: New file.
2139
21401993-04-14 Richard Stallman <rms@gnu.org>
2141
2142 * Makefile.in: New file.
2143
21441993-04-13 Richard Stallman <rms@gnu.org>
2145
2146 * src/version.c: New file.
2147
21481993-03-25 Richard Stallman <rms@gnu.org>
2149
2150 * src/output.c: entered into RCS
2151
21521992-09-25 Richard Stallman <rms@gnu.org>
2153
2154 * configure.bat: entered into RCS
2155
21561992-06-22 Richard Stallman <rms@gnu.org>
2157
2158 * src/vmsgetargs.c: entered into RCS
2159
21601992-06-22 Richard Stallman <rms@gnu.org>
2161
2162 * doc/bison.rnh: entered into RCS
2163
21641992-04-20 David J. MacKenzie <djm@gnu.org>
2165
2166 * README: entered into RCS
2167
21681992-01-22 Richard Stallman <rms@gnu.org>
2169
2170 * src/machine.h: entered into RCS
2171
21721991-12-21 Richard Stallman <rms@gnu.org>
2173
2174 * src/lalr.c, src/closure.c:
2175 entered into RCS
2176
21771991-12-20 Richard Stallman <rms@gnu.org>
2178
2179 * src/state.h: entered into RCS
2180
21811991-12-18 Richard Stallman <rms@gnu.org>
2182
2183 * src/print.c, src/nullable.c, src/derives.c:
2184 entered into RCS
2185
21861991-11-03 David J. MacKenzie <djm@gnu.org>
2187
2188 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
2189 entered into RCS
2190
21911988-09-09 Richard Stallman <rms@gnu.org>
2192
2193 * src/bison.hairy: entered into RCS
2194
21951987-12-16 Richard Stallman <rms@gnu.org>
2196
2197 * REFERENCES: entered into RCS