]> git.saurik.com Git - bison.git/blame - ChangeLog
* configure.in: Try using -Wformat when compiling.
[bison.git] / ChangeLog
CommitLineData
1e3e4bc1
AD
12001-08-03 Akim Demaille <akim@epita.fr>
2
3 * configure.in: Try using -Wformat when compiling.
4
42b45b7f
AD
52001-08-03 Akim Demaille <akim@epita.fr>
6
7 * configure.in: Bump to 1.28b.
8
8f13fe33
AD
92001-08-03 Akim Demaille <akim@epita.fr>
10
11 * src/complain.c: Adjust strerror_r portability issues.
12
b37ba92c
AD
132001-08-03 Akim Demaille <akim@epita.fr>
14
15 Version 1.28a.
16
b0ce6046
AD
172001-08-03 Akim Demaille <akim@epita.fr>
18
19 * src/getargs.c, src/getarg.h (skeleton)): Constify.
20 * src/lex.c (literalchar): Avoid name clashes on `buf'.
21 * src/getargs.c: Include complain.h.
22 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
23 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
24
d01c415b
AD
252001-08-03 Akim Demaille <akim@epita.fr>
26
27 * src/reader.c (readgram): Display hidden chars in error messages.
28
459dd1a6
AD
292001-08-03 Akim Demaille <akim@epita.fr>
30
31 Update to gettext 0.10.39.
32
53b74c0c
AD
332001-08-03 Akim Demaille <akim@epita.fr>
34
35 * lib/strspn.c: New.
36
234a3be3
AD
372001-08-01 Marc Autret <autret_m@epita.fr>
38
39 * doc/bison.texinfo: Update.
40 * doc/bison.1 (mandoc): Update.
41 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
42 * src/files.c: Support output files extensions computing.
43 (src_extension): New static variable.
44 (header_extension): New static variable.
45 (tr): New function.
46 (get_extension_index): New function, gets the index of an extension
47 filename in a string.
48 (compute_exts_from_gf): New function, computes extensions from the
49 grammar file extension.
50 (compute_exts_from_src): New functions, computes extensions from the
51 C source file extension, file given by ``-o'' option.
52 (compute_base_names): Update.
53 (output_files): Update.
54
847bf1f5
AD
552001-08-01 Robert Anisko <anisko_r@epita.fr>
56
d995fee7 57 * doc/bison.texi: Document @$.
847bf1f5
AD
58 (Locations): New section.
59
d074a105
AD
602001-07-18 Akim Demaille <akim@epita.fr>
61
62 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
63 * config/prev-version.txt, config/move-if-change: New.
64 * Makefile.am: Adjust.
65
3419715d
AD
662001-07-08 Pascal Bart <pascal.bart@epita.fr>
67
68 * src/bison.simple (yyparse): Suppress warning `comparaison
69 between signed and unsigned'.
70
62ab6972
AD
712001-07-05 Pascal Bart <pascal.bart@epita.fr>
72
73 * src/getargs.h (raw_flag): Remove.
74 * src/getargs.c: Die on `-r'/`--raw'.
75 * src/lex.c (parse_percent_token): Die on `%raw'.
76 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
77 * tests/calc.at: Suppress test with option `--raw'.
78
1e24cc5b
AD
792001-07-14 Akim Demaille <akim@epita.fr>
80
81 * config/: New.
82 * configure.in: Require Autoconf 2.50.
83 Update to gettext 0.10.38.
84
32dfccf8
AD
852001-03-16 Akim Demaille <akim@epita.fr>
86
87 * doc/bison.texinfo: ANSIfy the examples.
88
cd5bd6ac
AD
892001-03-16 Akim Demaille <akim@epita.fr>
90
91 * getargs.c (skeleton): New variable.
92 (longopts): --skeleton is a new option.
93 (shortopts, getargs): -S is a new option.
94 * getargs.h: Declare skeleton.
95 * output.c (output_parser): Use it.
96
5141b016
AD
972001-03-16 Akim Demaille <akim@epita.fr>
98
99 * m4/strerror_r.m4: New.
100 * m4/error.m4: Run AC_FUNC_STRERROR_R.
101 * lib/error.h, lib/error.c: Update.
102
447992b9
AD
1032001-03-16 Akim Demaille <akim@epita.fr>
104
105 * src/getargs.c (longopts): Clean up.
106
274d42ce
AD
1072001-02-21 Akim Demaille <akim@epita.fr>
108
109 * src/reader.c (gensym): `gensym_count' is your own.
110 Use a static buf to create the symbol name, as token_buffer is no
111 longer a buffer.
112
22c821f3
AD
1132001-02-08 Akim Demaille <akim@epita.fr>
114
115 * src/conflicts.c (conflict_report): Be sure not to append to res
116 between two calls, which could happen if both first sprintf were
117 skipped, but not the first cp += strlen.
118
18569462
AD
1192001-02-08 Akim Demaille <akim@epita.fr>
120
121 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
122 New, from fileutils 4.0.37.
123 * configure.in: Require Autoconf 2.49c. I took some time before
124 making this decision. This is the only way out for portability
125 issues in Bison, it would mean way too much duplicate effort to
126 import in Bison features implemented in 2.49c since 2.13.
127 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
128
0d8f3c8a
AD
1292001-02-02 Akim Demaille <akim@epita.fr>
130
131 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
66075dcf 132 * lib/xalloc.h, lib/xmalloc.c: Update.
0d8f3c8a 133
f17bcd1f
AD
1342001-01-19 Akim Demaille <akim@epita.fr>
135
136 Get rid of the ad hoc handling of token_buffer in the scanner: use
137 the obstacks.
138
139 * src/lex.c (token_obstack): New.
140 (init_lex): Initialize it. No longer call...
141 (grow_token_buffer): this. Remove it.
142 Adjust all the places which used it to use the obstack.
143
511e79b3
AD
1442001-01-19 Akim Demaille <akim@epita.fr>
145
146 * src/lex.h: Rename all the tokens:
147 s/\bENDFILE\b/tok_eof/g;
148 s/\bIDENTIFIER\b/tok_identifier/g;
149 etc.
150 Let them be enums, not #define, to ease debugging.
151 Adjust all the code.
152
0d6508ef
AD
1532001-01-18 Akim Demaille <akim@epita.fr>
154
155 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
156 * src/lex.c (maxtoken, grow_token_buffer): Static.
157
6deb4447
AD
1582001-01-18 Akim Demaille <akim@epita.fr>
159
160 Since we now use obstacks, more % directives can be enabled.
161
162 * src/lex.c (percent_table): Also accept `%yacc',
163 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
164 `%debug'.
165 Handle the actions for `%semantic_parser' and `%pure_parser' here,
166 instead of returning a token.
167 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
168 * src/reader.c (read_declarations): Adjust.
169 * src/files.c (open_files): Don't call `compute_base_names', don't
170 compute `attrsfile' since they depend upon data which might be
171 *in* the input file now.
172 (output_files): Do it here.
173 * src/output.c (output_headers): Document the fact that this patch
174 introduces a guaranteed SEGV for semantic parsers.
175 * doc/bison.texinfo: Document them.
176 * tests/suite.at: Exercise these %options.
177
ff4423cc
AD
1782000-12-20 Akim Demaille <akim@epita.fr>
179
180 Also handle the output file (--verbose) with obstacks.
181
182 * files.c (foutput): Remove.
183 (output_obstack): New.
184 Adjust all dependencies.
185 * src/conflicts.c: Return a string.
186 * src/system.h (obstack_grow_string): Rename as...
187 (obstack_sgrow): this. Be ready to work with non literals.
188 (obstack_fgrow4): New.
189
956dba3a
AD
1902000-12-20 Akim Demaille <akim@epita.fr>
191
192 * src/files.c (open_files): Fix the computation of short_base_name
193 in the case of `-o foo.tab.c'.
194
337bab46
AD
1952000-12-20 Akim Demaille <akim@epita.fr>
196
197 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
198 (copy_dollar): Now that everything uses obstacks, get rid of the
199 FILE * parameters.
200
5d3214b8
AD
2012000-12-20 Akim Demaille <akim@epita.fr>
202
203 * src/files.c (open_files): Actually the `.output' file is based
204 on the short_base_name, not base_name.
205 * tests/suite.at (Checking output file names): Adjust.
206
29092a57
AD
2072000-12-20 Akim Demaille <akim@epita.fr>
208
209 * src/bison.s1: Remove, we now use directly...
210 * src/bison.simple: this.
211 * src/Makefile.am: Use pkgdata instead of data.
212
ea5607fd
AD
2132000-12-20 Akim Demaille <akim@epita.fr>
214
215 * src/files.c (guard_obstack): New.
216 (open_files): Initialize it.
217 (output_files): Dump it...
218 * src/files.h: Export it.
219 * src/reader.c (copy_guard): Use it.
220
27110317
AD
2212000-12-19 Akim Demaille <akim@epita.fr>
222
223 * src/files.c (outfile, defsfile, actfile): Removed as global
224 vars.
225 (open_files): Don't compute them.
226 (output_files): Adjust.
227 (base_name, short_base_name): Be global.
228 Adjust dependencies.
229
19c50364
AD
2302000-12-19 Akim Demaille <akim@epita.fr>
231
232 * src/files.c (strsuffix): New.
233 (stringappend): Be just like strcat but allocate.
234 (base_names): Eve out from open_files.
235 Try to simplify the rather hairy computation of base_name and
236 short_base_name.
237 (open_files): Use it.
238 * tests/suite.at (Checking output file names): New test.
239
573c1d9f
AD
2402000-12-19 Akim Demaille <akim@epita.fr>
241
242 * src/system.h (obstack_grow_literal_string): Rename as...
243 (obstack_grow_string): this.
244 * src/output.c (output_parser): Recognize `%% actions' instead of
245 `$'.
246 * src/bison.s1: s/$/%% actions/.
247 * src/bison.hairy: Likewise.
248
ef7ddedd
AD
2492000-12-19 Akim Demaille <akim@epita.fr>
250
251 * src/output.c (output_parser): Compute the `#line' lines when
252 there are.
253 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
254 Suggested by Hans Aberg.
255
ff61dabd
AD
2562000-12-19 Akim Demaille <akim@epita.fr>
257
258 Let the handling of the skeleton files be local to the procedures
259 that use it.
260
261 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
262 longer static.
263 (fparser, open_extra_files): Remove.
264 (open_files, output_files): Don't take care of fparser.
265 * src/files.h: Adjust.
266 * src/output.c (output_parser): Open and close the file to the
267 skeleton.
268 * src/reader.c (read_declarations): When %semantic_parser, open
269 fguard.
270
55b96341
AD
2712000-12-19 Akim Demaille <akim@epita.fr>
272
273 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
274 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
275
358c15b7
AD
2762000-12-19 Akim Demaille <akim@epita.fr>
277
278 * src/files.c (open_files): Yipee! We no longer need all the code
279 looking for `/tmp' since we have no tmp file.
280
7de3329e
AD
2812000-12-19 Akim Demaille <akim@epita.fr>
282
283 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
284 New macros.
285 * src/files.c (open_files): Less dependency on MSDOS etc.
286
3abcd459
AD
2872000-12-14 Akim Demaille <akim@epita.fr>
288
289 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
290 Provide a default definition.
291 Use it when executing the default @ action.
292 * src/reader.c (reader_output_yylsp): No longer include
293 `timestamp' and `text' in the default YYLTYPE.
294
2a91a95e
AD
2952000-12-12 Akim Demaille <akim@epita.fr>
296
297 * src/reader.c (copy_definition, parse_union_decl, copy_action)
298 (copy_guard): Quote the file names.
299 Reported by Laurent Mascherpa.
300
14d3eb9b
AD
3012000-12-12 Akim Demaille <akim@epita.fr>
302
303 * src/output.c (output_headers, output_program, output): Be sure
304 to escape special characters when outputting filenames.
305 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
306 (output_headers): Don't depend on them, Use ACTSTR.
307
d7045ec6
AD
3082000-11-17 Akim Demaille <akim@epita.fr>
309
310 * lib/obstack.h: Formatting changes.
311 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
312 prevents type checking.
313 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
314 cast the value to (void *): assigning a `foo *' to a `void *'
315 variable is valid.
316 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
317 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
318 append characters.
319
6fd54b73
AD
3202000-11-17 Akim Demaille <akim@epita.fr>
321
322 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
323 as...
324 (suite.m4, regression.m4, calc.m4): these.
325 * tests/atgeneral.m4: Update from CVS Autoconf.
326
4c50eae6
AD
3272000-11-17 Akim Demaille <akim@epita.fr>
328
329 * tests/regression.m4 (%union and --defines): New test,
330 demonstrating a current bug in the obstack implementation.
331
a35f64ea
AD
3322000-11-17 Akim Demaille <akim@epita.fr>
333
334 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
335 macros.
336 Use them to declare the variables which are global or local to
337 `yyparse'.
338
7de23534
AD
3392000-11-17 Akim Demaille <akim@epita.fr>
340
341 * acconfig.h: Remove, no longer used.
342
aa7815f5
AD
3432000-11-07 Akim Demaille <akim@epita.fr>
344
345 * src: s/Copyright (C)/Copyright/g.
346
5af1f549
AD
3472000-11-07 Akim Demaille <akim@epita.fr>
348
349 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
350 defining.
351 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
352
553e2b22
AD
3532000-11-07 Akim Demaille <akim@epita.fr>
354
355 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
356 Merge in a single CPP if/else.
357
8a4f41d6
AD
3582000-11-07 Akim Demaille <akim@epita.fr>
359
360 * src/output.c (output): Remove useless variables.
361 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
362 argument `data' for consistency with the prototypes.
363 Qualify it `const'.
364 (obstack_copy, obstack_copy0): Rename the second argument as
365 `address' for consistency. Qualify it `const'.
366 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
367 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
368 `const' their input argument (`data' or `address').
369 Adjust the corresponding macros to include `const' in casts.
370
095a3fb5
AD
3712000-11-03 Akim Demaille <akim@epita.fr>
372
373 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
374 s/PFILE1/BISON_HAIRY/.
375 Adjust dependencies.
376
d1cdce7c
AD
3772000-11-03 Akim Demaille <akim@epita.fr>
378
090c5ebf 379 For some reason, this was not applied.
d1cdce7c
AD
380
381 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
382 `unlink': it's no longer used.
383
9311529b
AD
3842000-11-03 Akim Demaille <akim@epita.fr>
385
386 * src/files.c (skeleton_find): New function, eved out of...
387 (open_files, open_extra_files): here.
388
d8880f69
AD
3892000-11-03 Akim Demaille <akim@epita.fr>
390
391 Don't use `atexit'.
392
393 * src/files.c (obstack_save): New function.
394 (done): Rename as...
395 (output_files): this.
396 Use `obstack_save'.
397 * src/main.c (main): Don't use `atexit' to register `done', since
398 it no longer has to remove tmp files, just call `output_files'
399 when there are no errors.
400
0dbb648e
AD
4012000-11-02 Akim Demaille <akim@epita.fr>
402
403 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
404 `unlink': it's no longer used.
405 * src/files.h: Formatting changes.
406
896fe5c1
AD
4072000-11-02 Akim Demaille <akim@epita.fr>
408
409 Remove the last uses of mktemp and unlink/delete.
410
411 * src/files.c (fdefines, ftable): Removed.
412 (defines_ostack, table_obstack): New.
413 Adjust dependencies of the former into uses of the latter.
414 * src/output.c (output_short_or_char_table, output_short_table):
415 Convert to using obstacks.
416 * src/reader.c (copy_comment2): Accept one FILE * and two
417 obstacks.
418 (output_token_defines, reader_output_yylsp): Use obstacks.
419 * src/system.h (obstack_fgrow3): New.
420
dd60faec
AD
4212000-11-01 Akim Demaille <akim@epita.fr>
422
423 Change each use of `fattrs' into a use of `attrs_obstack'.
424
425 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
426 * src/files.c (fattrs): Remove.
427 (attrs_obstack): New.
428 Adjust all dependencies.
429 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
430
8c7ebe49
AD
4312000-11-01 Akim Demaille <akim@epita.fr>
432
433 Introduce obstacks.
434 Change each use of `faction' into a use of `action_obstack'.
435
436 * lib/obstack.h, lib/obstack.c: New files.
437 * src/files.c (faction): Remove.
438 (action_obstack): New.
439 Adjust all dependencies.
440
77aee789
AD
4412000-10-20 Akim Demaille <akim@epita.fr>
442
443 * lib/quote.h (PARAMS): New macro. Use it.
444
43591cec
AD
4452000-10-16 Akim Demaille <akim@epita.fr>
446
447 * src/output.c (output_short_or_char_table): New function.
448 (output_short_table, output_token_translations): Use it.
449 (goto_actions): Use output_short_table.
450
1e9798d5
AD
4512000-10-16 Akim Demaille <akim@epita.fr>
452
453 * src/symtab.c (bucket_new): New function.
454 (getsym): Use it.
455
456 * src/output.c (output_short_table): New argument to display the
457 comment associated with the table.
458 Adjust dependencies.
459 (output_gram): Use it.
460 (output_rule_data): Nicer output layout for YYTNAME.
461
f282676b
AD
4622000-10-16 Akim Demaille <akim@epita.fr>
463
464 * src/lex.c (read_typename): New function.
465 (lex): Use it.
466 * src/reader.c (copy_dollar): Likewise.
467
550a72a3
AD
4682000-10-16 Akim Demaille <akim@epita.fr>
469
470 * src/reader.c (copy_comment2): Expect the input stream to be on
471 the `/' which is suspected to open a comment, instead of being
472 called after `//' or `/*' was read.
473 (copy_comment, copy_definition, parse_union_decl, copy_action)
474 (copy_guard): Adjust.
475
131e2fef
AD
4762000-10-16 Akim Demaille <akim@epita.fr>
477
478 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
479 `read_signed_integer'.
480
79282c5a
AD
4812000-10-16 Akim Demaille <akim@epita.fr>
482
483 * src/reader.c (copy_dollar): New function.
484 (copy_guard, copy_action): Use it.
485
ff4a34be
AD
4862000-10-16 Akim Demaille <akim@epita.fr>
487
488 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
489 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
490 New files, from Fileutils 4.0.27.
491 * src/main.c (printable_version): Remove.
492 * src/lex.c, src/reader.c: Use `quote'.
493
4942000-10-04 Akim Demaille <akim@epita.fr>
495
496 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
497
14ded682
AD
4982000-10-04 Akim Demaille <akim@epita.fr>
499
500 * doc/bison.texinfo: Various typos spotted by Neil Booth.
501
8e03724b
AD
5022000-10-04 Akim Demaille <akim@epita.fr>
503
504 When a literal string is used to define two different tokens,
505 `bison -v' segfaults.
506 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
507
508 * tests/regression.m4: New file.
509 Include the core of the sample provided by Piotr Gackiewicz.
510 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
511 properly.
512
a9e64249
AD
5132000-10-04 Akim Demaille <akim@epita.fr>
514
515 * src/reader.c (parse_expect_decl): Keep `count' within the size
516 of `buffer'.
517 From Neil Booth.
518
da9abf43
AD
5192000-10-02 Paul Eggert <eggert@twinsun.com>
520
521 * bison.s1 (yyparse): Assign the default value
522 unconditionally, to avoid a GCC warning and make the parser a
523 tad smaller.
524
c33638bb
AD
5252000-10-02 Akim Demaille <akim@epita.fr>
526
527 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
528 options.
529
444c570a
AD
5302000-10-02 Akim Demaille <akim@epita.fr>
531
532 * src/derives.c, src/print.c, src/reduce.c: To ease the
533 translation, move some `\n' out of the translated strings.
534
89cab50d
AD
5352000-10-02 Akim Demaille <akim@epita.fr>
536
537 The location tracking mechanism is precious for parse error
538 messages. Nevertheless, it is enabled only when `@n' is used in
539 the grammar, which is a different issue (you can use it in error
540 message, but not in the grammar per se). Therefore, there should
541 be another means to enable it.
542
543 * src/getargs.c (getargs): Support `--locations'.
544 (usage): Report it.
545 * src/getargs.h (locationsflag): Export it.
546 * src/lex.c (percent_table): Support `%locations'.
547 * src/reader.c (yylsp_needed): Remove this variable, now replaced
548 with `locationsflag'.
549 * doc/bison.texinfo: Document `--locations' and `%locations'.
550 Sort the options.
551 * tests/calc.m4: Test it.
552
553 For regularity of the names, replace each
554 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
555 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
556 In addition replace each `flag' with `_flag'.
557
d6c2cba0
AD
5582000-10-02 Akim Demaille <akim@epita.fr>
559
560 Also test parse error messages, including with YYERROR_VERBOSE.
561
562 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
563 associative).
564 Use it to check the computations.
565 Use it to check `nonassoc' is honored.
566 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
567 `--yyerror-verbose'.
568 (_AT_CHECK_CALC): Adjust to this option.
569 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
570
5a35a6cb
AD
5712000-10-02 Akim Demaille <akim@epita.fr>
572
573 Test also `--verbose', `--defines' and `--name-prefix'. Testing
574 the latter demonstrates a flaw in the handling of non debugging
575 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
576 was used in order to simplify:
577
578 #if YYDEBUG
579 if (yydebug)
580 {
581 ...
582 }
583 #endif
584
585 into
586
587 if (yydebug)
588 {
589 ...
590 }
591
592 unfortunately this leads to a CPP conflict when
593 `--name-prefix=foo' is used since it produces `#define yydebug
594 foodebug'.
595
596 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
597 (YYDPRINTF): New macro.
598 Spread its use.
599 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
600 the bison options.
601 Also test `--verbose', `--defines' and `--name-prefix'.
602
71da9eea
AD
6032000-10-02 Akim Demaille <akim@epita.fr>
604
605 Improve the readability of the produced parsers.
606
607 * src/bison.s1: Formatting changes.
608 Improve the comment related to the `$' mark.
609 (yydefault): Don't fall through to `yyresume': `goto' there.
610 * src/output.c (output_parser): When the `$' is met, skip the end
611 of its line.
612 New variable, `number_of_dollar_signs', to check there's exactly
613 one `$' in the parser skeleton.
614
95e36146
AD
6152000-10-02 Akim Demaille <akim@epita.fr>
616
617 * lib/xstrdup.c: New file, from the fileutils.
618 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
619 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
620 instead of strlen + xmalloc + strcpy.
621 * src/symtab.c (copys): Remove, use xstrdup instead.
622
d7020c20
AD
6232000-10-02 Akim Demaille <akim@epita.fr>
624
625 * src/gram.h (associativity): New enum type which replaces the
626 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
627 `right_assoc', `left_assoc' and `non_assoc'.
628 Adjust all dependencies.
629 * src/reader.c: Formatting changes.
630 (LTYPESTR): Don't define it, use it as a literal in
631 `reader_output_yylsp'.
632 * src/symtab.h (symbol_class): New enum type which replaces the
633 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
634 `sunknown', `stoken and `snterm'.
635
1916f98e
AD
6362000-10-02 Akim Demaille <akim@epita.fr>
637
638 * src/getargs.c (fixed_outfiles): Rename as...
639 (yaccflag): for consistency and accuracy.
640 Adjust dependencies.
641
d7913476
AD
6422000-10-02 Akim Demaille <akim@epita.fr>
643
644 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
645 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
646 difficult and introduced a lot of core dump. It turns out that
647 Bison used an implementation of `xmalloc' based on `calloc', and
648 at various places it does depend upon the initialization to 0. I
649 have not tried to isolate the pertinent places, and all the former
650 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
651 someone should address this issue.
652
653 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
654 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
655 files.
656 Adjust dependencies.
657 * src/warshall.h: New file.
658 Propagate.
659
340ef489
AD
6602000-10-02 Akim Demaille <akim@epita.fr>
661
662 Various anti-`extern in *.c' changes.
663
664 * src/system.h: Include `assert.h'.
665
b2ca4022
AD
6662000-10-02 Akim Demaille <akim@epita.fr>
667
668 * src/state.h (nstates, final_state, first_state, first_shift)
669 (first_reduction): Move their exportation from here...
670 * src/LR0.h: to here.
671 Adjust dependencies.
672 * src/getargs.c (statisticsflag): New variable.
673 Add support for `--statistics'.
674 Adjust dependencies.
675
676 Remove a lot of now useless `extern' statements in most files.
677
403b315b
AD
6782000-10-02 Akim Demaille <akim@epita.fr>
679
680 * src/LR0.h: New file.
681 Propagate its use.
682
07a58c13
AD
6832000-10-02 Akim Demaille <akim@epita.fr>
684
685 * src/print.h: New file.
686 Propagate its use.
687 * src/print.c: Formatting and ordering changes.
688 (verbose, terse): Replace with...
689 (print_results): this new function.
690 Adjust dependencies.
691
0619caf0
AD
6922000-10-02 Akim Demaille <akim@epita.fr>
693
694 * src/conflicts.c (conflict_report): New function.
695 (conflict_log, verbose_conflict_log): Replace with...
696 (print_conflicts): this function.
697 Adjust dependencies.
698 * src/conflicts.h: New file.
699 Propagate its inclusion.
700
3519ec76
AD
7012000-10-02 Akim Demaille <akim@epita.fr>
702
703 * src/nullable.h: New file.
704 Propagate its inclusion.
705 * src/nullable.c: Formatting changes.
706
015acc48
AD
7072000-10-02 Akim Demaille <akim@epita.fr>
708
709 * src/reduce.h: New file.
710 Propagate its inclusion.
711 * src/reduce.c: Topological sort and other formatting changes.
712 (bool, TRUE, FALSE): Move their definition to...
713 * src/system.h: here.
714
8963a27b
AD
7152000-10-02 Akim Demaille <akim@epita.fr>
716
717 * src/files.c: Formatting changes.
718 (tryopen, tryclose, openfiles): Rename as...
719 (xfopen, xfclose, open_files): this.
720 (stringappend): static.
721 * src/files.h: Complete the list of exported symbols.
722 Propagate its use.
723
a70083a3
AD
7242000-10-02 Akim Demaille <akim@epita.fr>
725
726 * src/reader.h: New file.
727 Propagate its use instead of tedious list of `extern' and
728 prototypes.
729 * src/reader.c: Formatting changes, topological sort,
730 s/register//.
731
abadc117
AD
7322000-10-02 Akim Demaille <akim@epita.fr>
733
734 * src/lex.h: Prototype `lex.c' exported functions.
735 * src/reader.c: Adjust.
736 * src/lex.c: Formatting changes.
737 (safegetc): Rename as...
738 (xgetc): this.
739
720d742f
AD
7402000-10-02 Akim Demaille <akim@epita.fr>
741
742 * src/lalr.h: New file.
743 Propagate its inclusion instead of prototypes and `extern'.
744 * src/lalr.c: Formatting changes, topological sorting etc.
745
f2acea59
AD
7462000-10-02 Akim Demaille <akim@epita.fr>
747
748 * src/output.c (token_actions): Introduce a temporary array,
749 YYDEFACT, that makes it possible for this function to use
750 output_short_table.
751
d019d655
AD
7522000-10-02 Akim Demaille <akim@epita.fr>
753
754 `user_toknums' is output as a `short[]' in `output.c', while it is
755 defined as a `int[]' in `reader.c'. For consistency with the
756 other output tables, `user_toknums' is now defined as a table of
757 shorts.
758
759 * src/reader.c (user_toknums): Be a short table instead of an int
760 table.
761 Adjust dependencies.
762
763 Factor the short table outputs.
764
765 * src/output.c (output_short_table): New function.
766 * src/output.c (output_gram, output_stos, output_rule_data)
767 (output_base, output_table, output_check): Use it.
768
6c89f1c1
AD
7692000-10-02 Akim Demaille <akim@epita.fr>
770
771 * src/output.c (output): Topological sort of the functions, in
772 order to get rid of the `static' prototypes.
773 No longer use `register'.
774 * src/output.h: New file.
775 Propagate its inclusion in files explicitly prototyping functions
776 from output.c.
777
d9efd181
AD
7782000-09-21 Akim Demaille <akim@epita.fr>
779
780 * src/atgeneral.m4: Update from Autoconf.
781
c29240e7 7822000-09-21 Akim Demaille <akim@epita.fr>
2fa6973e
AD
783
784 * src/closure.h: New file.
785 * src/closure.c: Formatting changes, topological sort over the
786 functions, use of closure.h.
787 (initialize_closure, finalize_closure): Rename as...
788 (new_closure, free_closure): these. Adjust dependencies.
789 * src/LR0.c: Formatting changes, topological sort, use of
790 cloture.h.
791 (initialize_states): Rename as...
792 (new_states): this.
793 * src/Makefile.am (noinst_HEADERS): Adjust.
794
499daa50
AD
7952000-09-20 Akim Demaille <akim@epita.fr>
796
797 * src/acconfig.h: Don't protect config.h against multiple
798 inclusion.
799 Don't define PARAMS.
800 * src/system.h: Define PARAMS.
801 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
802 purpose of config.h. system.h must not try to fix wrong
803 definitions in config.h.
804
cc84fd5d
AD
8052000-09-20 Akim Demaille <akim@epita.fr>
806
807 * src/derives.h: New file.
808 * src/main.c, src/derives.h: Use it.
809 Formatting changes.
810 * src/Makefile.am (noinst_HEADERS): Adjust.
811
db5b3a89
AD
8122000-09-20 Akim Demaille <akim@epita.fr>
813
814 * tests/atgeneral.m4: Update from Autoconf.
815 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
816 (AT_CHECK_CALC): New macros.
817 Use these macros to test bison with options `', `--raw',
818 `--debug', `--yacc', `--yacc --debug'.
819
ceed8467
AD
8202000-09-19 Akim Demaille <akim@epita.fr>
821
822 * src/output.c: Formatting changes.
823 * src/machine.h: Remove, leaving its contents in...
824 * src/system.h: here.
825 Include stdio.h.
826 Adjust all dependencies on stdio.h and machine.h.
827 * src/getargs.h: New file.
828 Let all `extern' declarations about getargs.c be replaced with
829 inclusion of `getargs.h'.
830 * src/Makefile.am (noinst_HEADERS): Adjust.
831
832 * tests/calc.m4 (yyin): Be initialized in main, not on the global
833 scope.
834 (yyerror): Returns void, not int.
835 * doc/bison.texinfo: Formatting changes.
836
05a1d24b
AD
8372000-09-19 Akim Demaille <akim@epita.fr>
838
839 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
840 portable.
841
cbd25751
AD
8422000-09-18 Akim Demaille <akim@epita.fr>
843
844 * configure.in: Append WARNING_CFLAGS to CFLAGS.
845 * src/Makefile.am (INCLUDES): Don't.
846 Be ready to fetch headers in lib/.
847
13863333
AD
8482000-09-18 Akim Demaille <akim@epita.fr>
849
850 * doc/bison.texinfo: Update the copyright.
851 ANSIfy and GNUify the examples.
852 Remove the old menu.
853
0d533154
AD
8542000-09-18 Akim Demaille <akim@epita.fr>
855
856 First set of tests: use the `calc' example from the documentation.
857
858 * src/bison.s1 (yyparse): Condition the code using `yytname' which
859 is defined only when YYDEBUG is.
860 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
861 * src/files.c (tryopen, tryclose): Formatting changes.
862 Move to the top and be static.
863 * src/reader.c (read_signed_integer): Likewise.
864 * tests/calc.m4: New file.
865 * Makefile.am, suite.m4: Adjust.
866 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
867
e79137ac
AD
8682000-09-18 Akim Demaille <akim@epita.fr>
869
870 Add support for an Autotest test suite for Bison.
871
872 * m4/m4.m4, m4/atconfig.m4: New files.
873 * m4/Makefile.am (EXTRA_DIST): Adjust.
874 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
875 files.
876 * src/getargs.c: Display a more standard --version message.
877 * src/reader.c (reader): Formatting changes.
878 No longer depend upon VERSION_STRING.
879 * configure.in: No longer use `dnl'.
880 Set up the test suite and the new directory `tests/.
881 (VERSION_STRING): Remove.
882
27821bff
AD
8832000-04-14 Akim Demaille <akim@epita.fr>
884
885 * src/reader.c (copy_comment2): New function, same as former
886 `copy_comment', but outputs into two FILE *.
887 (copy_comment): Use it.
888 (parse_union_decl): Use it.
889 (get_type, parse_start_decl): Use the same `invalid' message.
890 (parse_start_decl, parse_union_decl): Use the same `multiple'
891 message.
892 (parse_union_decl, copy_guard, copy_action): Use the same
893 `unmatched' message.
894 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
895
cfe5fbc0
AD
8962000-03-31 Akim Demaille <akim@epita.fr>
897
898 * src/files.c (tryopen, tryclose): Move to the top.
899 Be static.
900
cb7db13e
AD
9012000-03-31 Akim Demaille <akim@epita.fr>
902
903 * src/main.c (main): Don't call `done', exit does it.
904
a0f6b076
AD
9052000-03-31 Akim Demaille <akim@epita.fr>
906
36281465
AD
907 * allocate.c: s/return (foo)/return foo/.
908 * lalr.c: Likewise.
909 * LR0.c: Likewise.
910 * output.c: Likewise.
911 * reader.c: Likewise.
912 * symtab.c: Likewise.
913 * vmsgetargs.c: Likewise.
914
9152000-03-31 Akim Demaille <akim@epita.fr>
916
917 Clean up the error reporting functions.
a0f6b076
AD
918
919 * src/report.c: New file.
920 * src/report.h: Likewise.
921 * src/Makefile.am: Adjust.
922 * m4/error.m4: New file.
923 * m4/Makefile.am: Adjust.
924 * configure.in (jm_PREREQ_ERROR): Call it.
925 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
926 Remove.
927 (fatal, fatals): Remove. All callers use complain.c::fatal.
928 (warn, warni, warns, warnss, warnss): Remove. All callers use
929 complain.c::complain.
930 (toomany): Remove, use fatal instead.
931 * src/files.c (done): No argument, use complain_message_count.
932 * src/main.c (main): Register `done' to `atexit'.
933
934 * src/getargs.c (usage): More `fputs', less `fprintf'.
935
18539825
AD
9362000-03-28 Akim Demaille <akim@epita.fr>
937
938 * lib/: New directory.
939 * Makefile.am (SUBDIRS): Adjust.
940 * configure.in: Adjust.
941 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
942 useless.
943 * src/alloca.c: Moved to lib/.
944 * src/getopt.c: Likewise.
945 * src/getopt1.c: Likewise.
946 * src/getopt.h: Likewise.
947 * src/ansi2knr.c: Likewise.
948 * src/ansi2knr.1: Likewise.
949 * src/Makefile.am: Adjust.
950 * lib/Makefile.am: New file.
951
9f306f2a
AD
9522000-03-28 Akim Demaille <akim@epita.fr>
953
954 * src/getargs.c (usage): Refresh the help message.
955
0ba347b6
AD
9562000-03-17 Akim Demaille <akim@epita.fr>
957
958 * src/getopt1.c: Updated from textutils 2.0e
959 * src/getopt.c: Likewise.
960 * src/getopt.h: Likewise.
961
dbe7f271
AD
9622000-03-17 Akim Demaille <akim@epita.fr>
963
964 * src/Makefile.am (bison.simple): Fix the awk program: quote only
965 the file name, not the whole `#line LINE FILE'.
966
75bbe78d
AD
9672000-03-17 Akim Demaille <akim@epita.fr>
968
969 On syntax errors, report the token on which we choked.
970
aa5fd0ee
AD
971 * src/bison.s1 (yyparse): In the label yyerrlab, when
972 YYERROR_VERBOSE, add yychar in msg.
75bbe78d 973
7b306f52
AD
9742000-03-17 Akim Demaille <akim@epita.fr>
975
aa5fd0ee 976 * src/reader.c (copy_at): New function.
7b306f52
AD
977 (copy_guard): Use it.
978 (copy_action): Use it.
979
e87b5700
AD
9802000-03-17 Akim Demaille <akim@epita.fr>
981
982 Be kind to translators, save some useless translations.
983
aa5fd0ee 984 * src/main.c (banner): New function.
e87b5700
AD
985 (fatal_banner): Use it.
986 (warn_banner): Use it.
987
ae3c3164
AD
9882000-03-17 Akim Demaille <akim@epita.fr>
989
aa5fd0ee
AD
990 * src/reader.c (copy_definition): Use copy_string and
991 copy_comment. Removed now unused `match', `ended',
992 `cplus_comment'.
ae3c3164
AD
993 (copy_comment, copy_string): Moved, to be visible from
994 copy_definition.
995
4dc58e7c
AD
9962000-03-17 Akim Demaille <akim@epita.fr>
997
aa5fd0ee
AD
998 * src/reader.c (copy_string): Declare `static inline'. No
999 problems with inline, since it is checked by configure.
4dc58e7c
AD
1000 (copy_comment): Likewise.
1001
0a6384c4
AD
10022000-03-17 Akim Demaille <akim@epita.fr>
1003
aa5fd0ee 1004 * src/reader.c (packsymbols): Formatting changes.
0a6384c4 1005
3cef001a
AD
10062000-03-17 Akim Demaille <akim@epita.fr>
1007
aa5fd0ee 1008 * src/reader.c (copy_comment): New function, factored out from:
3cef001a
AD
1009 (copy_action): Use it. Removed now unused `match', `ended',
1010 `cplus_comment'.
1011 (copy_guard): Likewise.
1012
ca36d2ef
AD
10132000-03-17 Akim Demaille <akim@epita.fr>
1014
aa5fd0ee 1015 * src/reader.c (copy_string): New function, factored out from:
ca36d2ef
AD
1016 (copy_action): Use it.
1017 (copy_guard): Likewise.
1018
6666f98f
AD
10192000-03-17 Akim Demaille <akim@epita.fr>
1020
1021 Change the handling of @s so that they behave exactly like $s.
1022 There is now a pseudo variable @$ (readble and writable), location
1023 of the lhs of the rule (by default ranging from the location of
1024 the first symbol of the rhs, to the location of the last symbol,
1025 or, if the rhs is empty, YYLLOC).
1026
1027 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
1028 yyval.
1029 (yyparse): When providing a default semantic action, provide a
1030 default location action.
1031 (after the $): No longer change `*YYLSP', just stack YYLOC the
1032 same way you stack YYVAL.
1033 * src/reader.c (read_declarations): Use warns.
1034 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
1035 (copy_action, case '@'): Likewise.
1036 Use a standard error message, to save useless work from
1037 translators.
1038
41aca2e0
AD
10392000-03-17 Akim Demaille <akim@epita.fr>
1040
aa5fd0ee
AD
1041 * src/bison.s1: Formatting and cosmetics changes.
1042 * src/reader.c: Likewise.
41aca2e0
AD
1043 Update the Copyright notice.
1044
dc08c1d5
AD
10452000-03-17 Akim Demaille <akim@epita.fr>
1046
aa5fd0ee
AD
1047 * src/bison.s1 (#line): All set to `#line' only, since the
1048 Makefile now handles them.
dc08c1d5 1049
9ee3c97b
AD
10502000-03-16 Akim Demaille <akim@epita.fr>
1051
1052 * src/output.c (output_rule_data): Output the documentation of
1053 some of the tables.
1054 (Copyright notice): Update.
1055 Formatting changes.
1056
0de741ca
AD
10572000-03-16 Akim Demaille <akim@epita.fr>
1058
1059 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
1060 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
1061 One `#if YYDEBUG' remains, since it uses variables which are
1062 defined only if `YYDEBUG != 0'.
1063
bb10be54
AD
10642000-03-16 Akim Demaille <akim@epita.fr>
1065
1066 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
1067 and related variables so that the similarities are highlighted.
1068
b07b484a
AD
10692000-03-16 Akim Demaille <akim@epita.fr>
1070
1071 * src/bison.s1: Properly indent CPP directives.
1072
361f60b3
AD
10732000-03-16 Akim Demaille <akim@epita.fr>
1074
1075 * src/bison.s1: Properly indent the `alloca' CPP section.
1076
8c44d3ec
AD
10772000-03-16 Akim Demaille <akim@epita.fr>
1078
1079 Do not hard code values of directories in `configure.in'.
1080 Update the `configure' tool chain.
1081
1082 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
1083 src/makefile.am.
1084 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
1085 (AC_OUTPUT): Add m4/Makefile.
1086 Bump to bison 1.28a, 1.29 has never been released.
1087 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
1088 handled via src/Makefile.am.
1089 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
1090 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
1091 autoheader.
1092 * Makefile.am (SUBDIRS): Add m4.
1093 (ACLOCAL_AM_FLAGS): New variable.
1094 (AUTOMAKE_OPTIONS): Add check-news.
1095 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
1096 the proper line number and file name.
1097 (DEFS): Propagate the location of bison library files and of the
1098 locale files.
1099 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
1100 builddir.
1101 * acinclude.m4: Remove, replaced by the directory m4.
1102 * m4/Makefile.am (EXTRA_DIST): New variable.
1103 * m4/gettext.m4: New file, from the fileutils.
1104 * m4/lcmessage.m4: Likewise
1105 * m4/progtest.m4: Likewise.
1106 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
1107
f95997e7
AD
11082000-03-10 Akim Demaille <akim@epita.fr>
1109
1110 * src/closure.c:
1111 Formatting changes of various comments.
1112 Respect the GNU coding standards at various places.
1113 Don't use `_()' when no translation is needed.
1114
11151999-12-13 Jesse Thilo <jthilo@gnu.org>
1116
1117 * src/files.c:
1118 OS/2 honors TMPDIR environment variable.
1119
11201999-12-13 Jesse Thilo <jthilo@gnu.org>
1121
1122 * doc/bison.texinfo: Tweaked spelling and grammar.
1123 Updated ISBN.
1124 Removed reference to price of printed copy.
1125 Mention BISON_SIMPLE and BISON_HAIRY.
1126
11271999-12-13 Jesse Thilo <jthilo@gnu.org>
1128
1129 * configure.in, NEWS:
1130 Bison 1.29 released.
1131
11321999-10-27 Jesse Thilo <jthilo@gnu.org>
1133
1134 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
1135 Added reference card.
1136
11371999-07-26 Jesse Thilo <jthilo@gnu.org>
1138
1139 * po/ru.po: Added Russian translation.
1140
11411999-07-26 Jesse Thilo <jthilo@gnu.org>
1142
1143 * configure.in: Added Russian translation.
1144
11451999-07-06 Jesse Thilo <jthilo@gnu.org>
1146
1147 * configure.in, NEWS, README:
1148 Released version 1.28.
1149
11501999-06-14 Jesse Thilo <jthilo@gnu.org>
1151
1152 * src/system.h:
1153 Squashed redefinition warning on some systems.
1154
1155 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
1156 Have configure build version string instead of relying on ANSI string
1157 concatentation.
1158
11591999-06-14 Jesse Thilo <jthilo@gnu.org>
1160
1161 * po/POTFILES.in: Got rid of version.c.
1162
11631999-06-14 Jesse Thilo <jthilo@gnu.org>
1164
1165 * acconfig.h, configure.in:
1166 Have configure build version string instead of relying on ANSI string
1167 concatentation.
1168
11691999-06-08 Jesse Thilo <jthilo@gnu.org>
1170
1171 * doc/bison.1:
1172 Dropped mention of `+' for long-named options.
1173
11741999-05-30 Jesse Thilo <jthilo@gnu.org>
1175
1176 * src/files.c: Added <unistd.h> for unlink().
1177
1178 * src/Makefile.am, src/system.h:
1179 I18n fixes.
1180
11811999-05-30 Jesse Thilo <jthilo@gnu.org>
1182
1183 * README: Added a FAQ list.
1184
1185 * configure.in, acconfig.h:
1186 I18n fixes.
1187
11881999-05-30 Jesse Thilo <jthilo@gnu.org>
1189
1190 * doc/FAQ, doc/Makefile.am:
1191 Added a FAQ list.
1192
11931999-05-19 Jesse Thilo <jthilo@gnu.org>
1194
1195 * src/alloc.h, src/symtab.h, src/version.c:
1196 Protected inclusion of "config.h" with HAVE_CONFIG_H.
1197
11981999-04-18 Jesse Thilo <jthilo@gnu.org>
1199
1200 * src/.cvsignore, src/Makefile.am:
1201 Reorganized: sources in `src', documentation in `doc'.
1202
1203 * src/lex.c (literalchar):
1204 fixed the code for escaping double quotes (thanks
1205 Jonathan Czisny.)
1206
12071999-04-18 Jesse Thilo <jthilo@gnu.org>
1208
1209 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
1210 Adjusted paths to reflect directory reorganization.
1211
12121999-04-18 Jesse Thilo <jthilo@gnu.org>
1213
1214 * doc/.cvsignore, doc/Makefile.am:
1215 Reorganized: sources in `src', documentation in `doc'.
1216
12171999-04-18 Jesse Thilo <jthilo@gnu.org>
1218
1219 * configure.in:
1220 Updated AC_INIT file to reflect directory reorganization.
1221
1222 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
1223 Reorganized: sources in `src', documentation in `doc'.
1224
12251999-04-13 Jesse Thilo <jthilo@gnu.org>
1226
1227 * src/allocate.c:
1228 Don't declare calloc() and realloc() if not necessary.
1229
12301999-04-13 Jesse Thilo <jthilo@gnu.org>
1231
1232 * configure.in, acconfig.h, acinclude.m4:
1233 Don't declare calloc() and realloc() if not necessary.
1234
12351999-03-23 Jesse Thilo <jthilo@gnu.org>
1236
1237 * po/.cvsignore: Added i18n support.
1238
12391999-03-23 Jesse Thilo <jthilo@gnu.org>
1240
1241 * acconfig.h, configure.in, Makefile.am:
1242 Added i18n support.
1243
12441999-03-22 Jesse Thilo <jthilo@gnu.org>
1245
1246 * src/bison.s1: Fixed #line numbers.
1247
12481999-03-15 Jesse Thilo <jthilo@gnu.org>
1249
1250 * po/es.po, po/fr.po, po/nl.po, po/de.po:
1251 Added PO files from Translation Project.
1252
12531999-03-03 Jesse Thilo <jthilo@gnu.org>
1254
1255 * Makefile.am:
1256 Added support for non-ANSI compilers (ansi2knr).
1257
12581999-02-16 Jesse Thilo <jthilo@gnu.org>
1259
1260 * configure.in: Bumped version number to 1.27.
1261
1262 * Makefile.am:
1263 Added `bison.simple' to list of files removed by `make distclean'.
1264
12651999-02-12 Jesse Thilo <jthilo@gnu.org>
1266
1267 * src/files.c, src/files.h:
1268 Defined locations of parser files in config.h instead of Makefile.
1269
12701999-02-12 Jesse Thilo <jthilo@gnu.org>
1271
1272 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
1273 Defined locations of parser files in config.h instead of Makefile.
1274
12751999-02-09 Jesse Thilo <jthilo@gnu.org>
1276
1277 * Makefile.am:
1278 Removed inappropriate use of $< macro.
1279
12801999-02-05 Jesse Thilo <jthilo@gnu.org>
1281
1282 * po/Makefile.in.in, po/POTFILES.in:
1283 Add `po' directory skeleton.
1284
12851999-01-27 Jesse Thilo <jthilo@gnu.org>
1286
1287 * README: Document help-bison list.
1288
1289 * configure.in: Add check for mkstemp().
1290
12911999-01-20 Jesse Thilo <jthilo@gnu.org>
1292
1293 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
1294 Hush a few compiler warnings.
1295
1296 * src/files.c:
1297 Add tryclose(), which verifies that fclose was successful.
1298 Hush a couple of compiler warnings.
1299
13001999-01-20 Jesse Thilo <jthilo@gnu.org>
1301
1302 * Makefile.am, OChangeLog:
1303 ChangeLog is now automatically generated. Include the old version as
1304 OChangeLog.
1305
13061999-01-14 Jesse Thilo <jthilo@gnu.org>
1307
1308 * 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:
1309 Update FSF address.
1310
13111999-01-14 Jesse Thilo <jthilo@gnu.org>
1312
1313 * doc/bison.texinfo: Fix formatting glitch.
1314
1315 * doc/bison.texinfo: Update FSF address.
1316
13171999-01-14 Jesse Thilo <jthilo@gnu.org>
1318
1319 * acconfig.h: Update FSF address.
1320
13211999-01-08 Jesse Thilo <jthilo@gnu.org>
1322
1323 * src/system.h:
1324 Don't define PACKAGE here, since config.h defines it.
1325
13261998-12-30 Jesse Thilo <jthilo@gnu.org>
1327
1328 * src/reader.c: Update copyright date.
1329
1330 * src/main.c:
1331 Ditch sprintf to statically-sized buffers in fatal/warn functions in
1332 favor of output directly to stderr (avoids buffer overruns).
1333
1334 * src/reader.c: Some checks for premature EOF.
1335
1336 * 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:
1337 Use prototypes if the compiler understands them.
1338
1339 * src/files.c: Honor TMPDIR on Unix hosts.
1340 Use prototypes if the compiler understands them.
1341
1342 * src/reader.c:
1343 Fix a couple of buffer overrun bugs.
1344 Use prototypes if the compiler understands them.
1345
1346 * src/system.h: Include unistd.h and ctype.h.
1347 Use #ifdef instead of #if for NLS symbols.
1348
13491998-12-30 Jesse Thilo <jthilo@gnu.org>
1350
1351 * doc/bison.texinfo:
1352 Delete comment "consider using @set for edition number, etc..." since
1353 we now are doing so.
1354
13551998-12-30 Jesse Thilo <jthilo@gnu.org>
1356
1357 * configure.in:
1358 Use prototypes if the compiler understands them.
1359
1360 * NEWS: Document 1.26 highlights.
1361
1362 * Makefile.am: Require Automake 1.3 or later.
1363
1364 * acconfig.h:
1365 Use prototypes if the compiler understands them.
1366
13671998-12-29 Jesse Thilo <jthilo@gnu.org>
1368
1369 * src/version.c:
1370 Use VERSION symbol from automake for version number.
1371
13721998-12-29 Jesse Thilo <jthilo@gnu.org>
1373
1374 * acconfig.h, configure.in, version.cin:
1375 Use VERSION symbol from automake for version number.
1376
13771998-11-28 Jesse Thilo <jthilo@gnu.org>
1378
1379 * Makefile.am:
1380 Distribute original version of simple parser (bison.s1), not built
1381 version (bison.simple).
1382
13831998-11-28 Jesse Thilo <jthilo@gnu.org>
1384
1385 * doc/bison.texinfo: Add info dir entry.
1386
1387 * doc/bison.texinfo:
1388 Let automake put version number into documentation.
1389
13901998-11-26 Jesse Thilo <jthilo@gnu.org>
1391
1392 * src/bison.cld, src/build.com, src/vmshlp.mar:
1393 Add non-RCS files from /gd/gnu/bison.
1394
13951998-11-26 Jesse Thilo <jthilo@gnu.org>
1396
1397 * doc/bison.1:
1398 Document the BISON_HAIRY and BISON_SIMPLE variables.
1399
14001998-11-25 Jesse Thilo <jthilo@gnu.org>
1401
1402 * src/version.c: Build version.c automatically.
1403
1404 * src/reader.c:
1405 Fix token numbering (used to start at 258, not 257).
1406
1407 * src/system.h: Include config.h.
1408
1409 * src/getargs.c: Update bug report address.
1410
1411 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
1412 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
1413
14141998-11-25 Jesse Thilo <jthilo@gnu.org>
1415
1416 * Makefile.am:
1417 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1418
1419 * configure.in, version.cin:
1420 Build version.c automatically.
1421
1422 * AUTHORS: Add AUTHORS file.
1423
1424 * README: Update bug report address.
1425
1426 * bison.simple:
1427 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1428
1429 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
1430 Add automake stuff.
1431
14321998-11-25 Jesse Thilo <jthilo@gnu.org>
1433
1434 * doc/bison.texinfo: Clean up some formatting.
1435
14361998-05-05 Richard Stallman <rms@gnu.org>
1437
1438 * doc/bison.texinfo:
1439 Explain better why to make a pure parser.
1440
14411998-01-05 Richard Stallman <rms@gnu.org>
1442
1443 * src/files.c (openfiles):
1444 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
1445 find a temporary directory, if possible. Do not unlink files while
1446 they are open.
1447
14481997-08-25 Richard Stallman <rms@gnu.org>
1449
1450 * src/reader.c (stack_offset;):
1451 Change some warni to warns.
1452
1453 * src/lex.c (literalchar): Use warns, not warni.
1454
14551997-06-28 Richard Stallman <rms@gnu.org>
1456
1457 * src/bison.s1: Add a Bison version comment.
1458
1459 * src/main.c (fatal, warn, berror):
1460 Use program_name.
1461
14621997-06-28 Richard Stallman <rms@gnu.org>
1463
1464 * Makefile.in (bison_version): New variable.
1465 (dist): Use that variable.
1466 (bison.s1): Substitute the Bison version into bison.simple.
1467
1468 * bison.simple: Add a Bison version comment.
1469
14701997-06-18 Richard Stallman <rms@gnu.org>
1471
1472 * src/main.c (fatal, warn, berror):
1473 Make error messages standard.
1474 (toomany): Improve error message text.
1475
1476 * 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:
1477 new.h renamed to alloc.h.
1478
14791997-06-18 Richard Stallman <rms@gnu.org>
1480
1481 * Makefile.in: new.h renamed to alloc.h.
1482
14831997-05-24 Richard Stallman <rms@gnu.org>
1484
1485 * src/lex.c (literalchar):
1486 Fix the code for escaping \, " and '.
1487
1488 (lex): Avoid trouble when there are many chars
1489 to discard in a char literal with just several chars in it.
1490
14911997-05-17 Richard Stallman <rms@gnu.org>
1492
1493 * src/bison.s1:
1494 Use malloc, if using alloca is troublesome.
1495 (YYSTACK_USE_ALLOCA): New flag macro.
1496 Define it for some systems and compilers.
1497 (YYSTACK_ALLOC): New macro.
1498 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1499 If it was malloc'd, free it.
1500
15011997-05-17 Richard Stallman <rms@gnu.org>
1502
1503 * bison.simple:
1504 Use malloc, if using alloca is troublesome.
1505 (YYSTACK_USE_ALLOCA): New flag macro.
1506 Define it for some systems and compilers.
1507 (YYSTACK_ALLOC): New macro.
1508 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1509 If it was malloc'd, free it.
1510
15111997-04-23 Richard Stallman <rms@gnu.org>
1512
1513 * src/bison.s1:
1514 (alloca) [__hpux]: Always define as __builtin_alloca.
1515
15161997-04-23 Richard Stallman <rms@gnu.org>
1517
1518 * bison.simple:
1519 (alloca) [__hpux]: Always define as __builtin_alloca.
1520
15211997-04-22 Richard Stallman <rms@gnu.org>
1522
1523 * src/bison.s1:
1524 [__hpux]: Include alloca.h (right for HPUX 10)
1525 instead of declaring alloca (right for HPUX 9).
1526
1527 * src/bison.s1 (__yy_memcpy):
1528 Declare arg `count' as unsigned int.
1529 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1530
15311997-04-22 Richard Stallman <rms@gnu.org>
1532
1533 * bison.simple:
1534 [__hpux]: Include alloca.h (right for HPUX 10)
1535 instead of declaring alloca (right for HPUX 9).
1536
1537 * bison.simple (__yy_memcpy):
1538 Declare arg `count' as unsigned int.
1539 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1540
15411997-01-03 Richard Stallman <rms@gnu.org>
1542
1543 * src/allocate.c: [__STDC__ or _MSC_VER]:
1544 Declare calloc and realloc to return void *.
1545
15461997-01-02 Richard Stallman <rms@gnu.org>
1547
1548 * src/system.h:
1549 [_MSC_VER]: Include stdlib.h and process.h.
1550 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
1551
1552 * src/main.c (main): Return FAILURE as a value.
1553 (printable_version): Declare arg as int, not char.
1554
15551997-01-02 Richard Stallman <rms@gnu.org>
1556
1557 * Makefile.in (dist):
1558 Explicitly check for symlinks, and copy them.
1559
15601996-12-19 Richard Stallman <rms@gnu.org>
1561
1562 * src/files.c:
1563 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
1564
15651996-12-18 Paul Eggert <eggert@gnu.org>
1566
1567 * src/bison.s1 (yyparse):
1568 If __GNUC__ and YYPARSE_PARAM are both defined,
1569 declare yyparse to have a void * argument.
1570
15711996-12-18 Paul Eggert <eggert@gnu.org>
1572
1573 * bison.simple (yyparse):
1574 If __GNUC__ and YYPARSE_PARAM are both defined,
1575 declare yyparse to have a void * argument.
1576
15771996-12-17 Richard Stallman <rms@gnu.org>
1578
1579 * src/reduce.c (nbits): Add some casts.
1580
15811996-08-12 Richard Stallman <rms@gnu.org>
1582
1583 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
1584
15851996-08-12 Richard Stallman <rms@gnu.org>
1586
1587 * bison.simple: Test _MSDOS as well as _MSDOS_.
1588
15891996-07-31 Richard Stallman <rms@gnu.org>
1590
1591 * src/bison.s1:
1592 [__sun && __i386]: Include alloca.h.
1593
15941996-07-31 Richard Stallman <rms@gnu.org>
1595
1596 * bison.simple:
1597 [__sun && __i386]: Include alloca.h.
1598
15991996-07-30 Richard Stallman <rms@gnu.org>
1600
1601 * src/bison.s1: Comment change.
1602
1603 * src/bison.s1: Test _MSDOS_, not MSDOS.
1604
16051996-07-30 Richard Stallman <rms@gnu.org>
1606
1607 * bison.simple: Comment change.
1608
1609 * bison.simple: Test _MSDOS_, not MSDOS.
1610
16111996-06-01 Richard Stallman <rms@gnu.org>
1612
1613 * 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:
1614 Insert `_' macro around many string constants.
1615
1616 * src/main.c:
1617 Insert `_' macro around many string constants.
1618
1619 (main): Call setlocale, bindtextdomain and textdomain.
1620
1621 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
1622 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
1623 [ENABLE_NLS]: Include libintl.h.
1624 [ENABLE_NLS] (gettext): Define.
1625 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
1626 (N_, PACKAGE, LOCALEDIR): New macros.
1627
16281996-06-01 Richard Stallman <rms@gnu.org>
1629
1630 * POTFILES.in: New file.
1631
1632 * Makefile.in (allocate.o):
1633 Define target explicitly.
1634
1635 * Makefile.in (CFLAGS): Set to @CFLAGS@.
1636 (LDFLAGS): Set to @LDFLAGS@.
1637 (configure): Run autoconf only if preceding `cd' succeeds.
1638 (bison.s1): Redirect output to temporary file then move the
1639 temporary to the target, rather than redirecting directly to bison.s1.
1640 (clean): Remove config.status and config.log.
1641 (distclean): Don't remove config.status here.
1642
16431996-05-12 Richard Stallman <rms@gnu.org>
1644
1645 * src/bison.s1:
1646 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1647
16481996-05-12 Richard Stallman <rms@gnu.org>
1649
1650 * bison.simple:
1651 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1652
16531996-05-11 Richard Stallman <rms@gnu.org>
1654
1655 * src/bison.s1 (__yy_memcpy):
1656 Really reorder the args, as was supposedly done on Feb 14 1995.
1657 (yyparse): Calls changed accordingly.
1658
16591996-05-11 Richard Stallman <rms@gnu.org>
1660
1661 * Makefile.in (dist): Don't use $(srcdir).
1662
1663 * bison.simple (__yy_memcpy):
1664 Really reorder the args, as was supposedly done on Feb 14 1995.
1665 (yyparse): Calls changed accordingly.
1666
16671996-01-27 Richard Stallman <rms@gnu.org>
1668
1669 * src/output.c (output_rule_data):
1670 Test YYERROR_VERBOSE in the conditional
1671 around the definition of ttyname.
1672
16731995-12-29 Richard Stallman <rms@gnu.org>
1674
1675 * src/bison.s1:
1676 Fix line numbers in #line commands.
1677
16781995-12-29 Richard Stallman <rms@gnu.org>
1679
1680 * bison.simple:
1681 Fix line numbers in #line commands.
1682
16831995-12-27 Richard Stallman <rms@gnu.org>
1684
1685 * src/bison.s1 (YYPARSE_PARAM_DECL):
1686 In C++, make it always null.
1687 (YYPARSE_PARAM_ARG): New macro.
1688 (yyparse): Use YYPARSE_PARAM_ARG.
1689
16901995-12-27 Richard Stallman <rms@gnu.org>
1691
1692 * bison.simple (YYPARSE_PARAM_DECL):
1693 In C++, make it always null.
1694 (YYPARSE_PARAM_ARG): New macro.
1695 (yyparse): Use YYPARSE_PARAM_ARG.
1696
16971995-11-29 Richard Stallman <rms@gnu.org>
1698
1699 * doc/bison.texinfo:
1700 Describe literal string tokens, %raw, %no_lines, %token_table.
1701
17021995-11-29 Daniel Hagerty <hag@gnu.org>
1703
1704 * doc/bison.texinfo: Fixed update date
1705
17061995-10-16 Richard Stallman <rms@gnu.org>
1707
1708 * src/version.c: Version 1.25.
1709
17101995-10-16 Richard Stallman <rms@gnu.org>
1711
1712 * NEWS: *** empty log message ***
1713
17141995-10-16 Richard Stallman <rms@gnu.org>
1715
1716 * doc/bison.1, doc/bison.rnh:
1717 Add new options.
1718
17191995-10-15 Richard Stallman <rms@gnu.org>
1720
1721 * src/vmsgetargs.c, src/getargs.c:
1722 Added -n, -k, and -raw switches.
1723 (noparserflag, toknumflag, rawtoknumflag): New variables.
1724
1725 * src/symtab.h (SALIAS):
1726 New #define for adding aliases to %token.
1727 (struct bucket): Added `alias' field.
1728
1729 * src/reduce.c (reduce_grammar):
1730 Revise error message.
1731 (print_notices): Remove final `.' from error message.
1732
1733 * src/reader.c (reader_output_yylsp):
1734 New function.
1735 (readgram): Use `#if 0' around code that accepted %command
1736 inside grammar rules: The documentation doesn't allow it,
1737 and it will fail since the %command processors scan for the next %.
1738 (parse_token_decl): Extended the %token
1739 declaration to allow a multi-character symbol as an alias.
1740 (parse_thong_decl): New function.
1741 (read_declarations): Added %thong declarations.
1742 (read_declarations): Handle NOOP to deal with allowing
1743 % declarations as another means to specify the flags.
1744 (readgram): Allow %prec prior to semantics embedded in a rule.
1745 (skip_to_char, read_declarations, copy_definition)
1746 (parse_token_decl, parse_start_decl, parse_type_decl)
1747 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1748 (get_type_name, copy_guard, copy_action, readgram)
1749 (get_type, packsymbols): Revised most error messages.
1750 Changed `fatal' to `warnxxx' to avoid aborting for error.
1751 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1752 (read_declarations): Improve the error message for
1753 an invalid character. Do not abort.
1754 (read_declarations, copy_guard, copy_action): Use
1755 printable_version to avoid unprintable characters in printed output.
1756 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1757 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1758 Allow the type of a non-terminal can be given
1759 more than once, as long as all specifications give the same type.
1760
1761 * src/output.c:
1762 (output_headers, output_trailers, output, output_gram)
1763 (output_rule_data): Implement noparserflag variable.
1764 Implement toknumflag variable.
1765 (output): Call reader_output_yylsp to output LTYPESTR.
1766
1767 * src/main.c (main):
1768 If reader sees an error, don't process the grammar.
1769 (fatals): Updated to not use VARARGS1.
1770 (printable_version, int_to_string, warn, warni, warns, warnss)
1771 (warnsss): New error reporting functions. Avoid abort for error.
1772
1773 * src/lex.h:
1774 Added THONG and NOOP for alias processing.
1775 Added SETOPT for the new code that allows setting options with %flags.
1776
1777 * src/lex.c:
1778 Include getopt.h. Add some extern decls.
1779 (safegetc): New function to deal with EOF gracefully.
1780 (literalchar); new function to deal with reading \ escapes.
1781 (lex): Use literalchar.
1782 (lex): Implemented "..." tokens.
1783 (literalchar, lex, parse_percent_token): Made tokenbuffer
1784 always contain the token. This includes growing the token
1785 buffer while reading an integer.
1786 (parse_percent_token): Replaced if-else statement with percent_table.
1787 (parse_percent_token): Added % declarations as another
1788 way to specify the flags -n, -l, and -r. Also added hooks for
1789 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1790 major changes to files.c.
1791 (lex) Retain in the incoming stream a character following
1792 an incorrect '/'.
1793 (skip_white_space, lex): Revised most error messages
1794 and changed fatal to warn to avoid aborting.
1795 (percent_table): Added %thong declarations.
1796
1797 * src/gram.h: Comment changes.
1798
1799 * src/files.c (openfiles, open_extra_files, done):
1800 Add faction flag
1801 and actfile file. Handle noparserflag. Both for -n switch.
1802
1803 * src/conflicts.c (resolve_sr_conflict):
1804 Remove use of alloca.
1805
18061995-06-01 Jim Meyering <meyering@gnu.org>
1807
1808 * doc/bison.texinfo: *** empty log message ***
1809
18101995-05-06 Richard Stallman <rms@gnu.org>
1811
1812 * src/bison.s1: Comment change.
1813
18141995-05-06 Richard Stallman <rms@gnu.org>
1815
1816 * bison.simple: Comment change.
1817
18181995-05-03 Richard Stallman <rms@gnu.org>
1819
1820 * src/version.c: Version now 1.24.
1821
1822 * src/bison.s1: Change distribution terms.
1823
1824 * src/version.c: Version now 1.23.
1825
18261995-05-03 Richard Stallman <rms@gnu.org>
1827
1828 * doc/bison.texinfo:
1829 Rewrite "Conditions for Using Bison".
1830 Update version to 1.24.
1831
18321995-05-03 Richard Stallman <rms@gnu.org>
1833
1834 * bison.simple: Change distribution terms.
1835
18361995-02-23 Richard Stallman <rms@gnu.org>
1837
1838 * src/files.c: Test __VMS_POSIX as well as VMS.
1839
18401995-02-14 Jim Meyering <meyering@gnu.org>
1841
1842 * src/bison.s1 (__yy_memcpy):
1843 Renamed from __yy_bcopy to avoid
1844 confusion. Reverse FROM and TO arguments to be consistent with
1845 those of memcpy.
1846
18471995-02-14 Jim Meyering <meyering@gnu.org>
1848
1849 * bison.simple (__yy_memcpy):
1850 Renamed from __yy_bcopy to avoid
1851 confusion. Reverse FROM and TO arguments to be consistent with
1852 those of memcpy.
1853
18541994-11-10 David J. MacKenzie <djm@gnu.org>
1855
1856 * NEWS: reformat
1857
1858 * NEWS: New file.
1859
1860 * Makefile.in (DISTFILES): Include NEWS.
1861
1862 * Makefile.in (DISTFILES):
1863 Include install-sh, not install.sh.
1864
1865 * configure.in: Update to Autoconf v2 macro names.
1866
18671994-10-05 David J. MacKenzie <djm@gnu.org>
1868
1869 * Makefile.in: fix typo
1870
1871 * Makefile.in (prefix, exec_prefix):
1872 Let configure set them.
1873
18741994-09-28 David J. MacKenzie <djm@gnu.org>
1875
1876 * Makefile.in: Set datadir to $(prefix)/share.
1877
18781994-09-15 Richard Stallman <rms@gnu.org>
1879
1880 * src/bison.s1:
1881 Update copyright notice and GPL version.
1882
18831994-09-15 Richard Stallman <rms@gnu.org>
1884
1885 * bison.simple:
1886 Update copyright notice and GPL version.
1887
18881994-07-12 Richard Stallman <rms@gnu.org>
1889
1890 * src/reduce.c, src/reader.c:
1891 entered into RCS
1892
18931994-05-05 David J. MacKenzie <djm@gnu.org>
1894
1895 * Makefile.in: entered into RCS
1896
18971994-03-26 Richard Stallman <rms@gnu.org>
1898
1899 * src/bison.s1: entered into RCS
1900
19011994-03-26 Richard Stallman <rms@gnu.org>
1902
1903 * bison.simple: entered into RCS
1904
19051994-03-25 Richard Stallman <rms@gnu.org>
1906
1907 * src/main.c: entered into RCS
1908
19091994-03-24 Richard Stallman <rms@gnu.org>
1910
1911 * src/conflicts.c: entered into RCS
1912
19131994-01-02 Richard Stallman <rms@gnu.org>
1914
1915 * Makefile.in: *** empty log message ***
1916
19171993-11-21 Richard Stallman <rms@gnu.org>
1918
1919 * src/bison.s1: *** empty log message ***
1920
19211993-11-21 Richard Stallman <rms@gnu.org>
1922
1923 * doc/bison.texinfo: entered into RCS
1924
1925 * doc/bison.texinfo: *** empty log message ***
1926
19271993-11-21 Richard Stallman <rms@gnu.org>
1928
1929 * bison.simple: *** empty log message ***
1930
19311993-10-25 David J. MacKenzie <djm@gnu.org>
1932
1933 * doc/bison.texinfo: *** empty log message ***
1934
19351993-10-19 Richard Stallman <rms@gnu.org>
1936
1937 * src/bison.s1: *** empty log message ***
1938
19391993-10-19 Richard Stallman <rms@gnu.org>
1940
1941 * bison.simple: *** empty log message ***
1942
19431993-10-14 Richard Stallman <rms@gnu.org>
1944
1945 * src/bison.s1: *** empty log message ***
1946
19471993-10-14 Richard Stallman <rms@gnu.org>
1948
1949 * bison.simple: *** empty log message ***
1950
19511993-09-14 David J. MacKenzie <djm@gnu.org>
1952
1953 * doc/bison.texinfo: *** empty log message ***
1954
19551993-09-13 Noah Friedman <friedman@gnu.org>
1956
1957 * Makefile.in: *** empty log message ***
1958
19591993-09-10 Richard Stallman <rms@gnu.org>
1960
1961 * src/conflicts.c: *** empty log message ***
1962
1963 * src/system.h: entered into RCS
1964
19651993-09-10 Richard Stallman <rms@gnu.org>
1966
1967 * doc/bison.1: entered into RCS
1968
19691993-09-06 Noah Friedman <friedman@gnu.org>
1970
1971 * src/version.c: entered into RCS
1972
19731993-09-06 Noah Friedman <friedman@gnu.org>
1974
1975 * Makefile.in: *** empty log message ***
1976
19771993-07-30 David J. MacKenzie <djm@gnu.org>
1978
1979 * Makefile.in: *** empty log message ***
1980
19811993-07-24 Richard Stallman <rms@gnu.org>
1982
1983 * src/bison.s1: *** empty log message ***
1984
19851993-07-24 Richard Stallman <rms@gnu.org>
1986
1987 * bison.simple: *** empty log message ***
1988
19891993-07-08 David J. MacKenzie <djm@gnu.org>
1990
1991 * Makefile.in: *** empty log message ***
1992
19931993-07-04 Richard Stallman <rms@gnu.org>
1994
1995 * src/bison.s1: *** empty log message ***
1996
19971993-07-04 Richard Stallman <rms@gnu.org>
1998
1999 * bison.simple: *** empty log message ***
2000
20011993-06-26 David J. MacKenzie <djm@gnu.org>
2002
2003 * src/getargs.c: entered into RCS
2004
20051993-06-26 David J. MacKenzie <djm@gnu.org>
2006
2007 * doc/bison.texinfo: *** empty log message ***
2008
2009 * doc/bison.1: New file.
2010
20111993-06-25 Richard Stallman <rms@gnu.org>
2012
2013 * src/getargs.c: New file.
2014
20151993-06-16 Richard Stallman <rms@gnu.org>
2016
2017 * src/bison.s1: *** empty log message ***
2018
20191993-06-16 Richard Stallman <rms@gnu.org>
2020
2021 * bison.simple: *** empty log message ***
2022
20231993-06-03 Richard Stallman <rms@gnu.org>
2024
2025 * src/bison.s1: New file.
2026
20271993-06-03 Richard Stallman <rms@gnu.org>
2028
2029 * doc/bison.texinfo: *** empty log message ***
2030
20311993-06-03 Richard Stallman <rms@gnu.org>
2032
2033 * bison.simple: New file.
2034
20351993-05-19 Richard Stallman <rms@gnu.org>
2036
2037 * doc/bison.texinfo: New file.
2038
20391993-05-07 Noah Friedman <friedman@gnu.org>
2040
2041 * Makefile.in: *** empty log message ***
2042
20431993-04-28 Noah Friedman <friedman@gnu.org>
2044
2045 * src/reader.c: *** empty log message ***
2046
20471993-04-23 Noah Friedman <friedman@gnu.org>
2048
2049 * src/alloc.h: entered into RCS
2050
20511993-04-20 David J. MacKenzie <djm@gnu.org>
2052
2053 * src/version.c: *** empty log message ***
2054
2055 * src/files.c, src/allocate.c:
2056 entered into RCS
2057
2058 * src/reader.c: *** empty log message ***
2059
2060 * src/lex.c: entered into RCS
2061
2062 * src/conflicts.c: New file.
2063
2064 * src/symtab.c: entered into RCS
2065
2066 * src/alloc.h: New file.
2067
2068 * src/LR0.c: entered into RCS
2069
20701993-04-18 Noah Friedman <friedman@gnu.org>
2071
2072 * src/reader.c: New file.
2073
2074 * src/version.c: *** empty log message ***
2075
20761993-04-18 Noah Friedman <friedman@gnu.org>
2077
2078 * Makefile.in: *** empty log message ***
2079
20801993-04-17 Noah Friedman <friedman@gnu.org>
2081
2082 * Makefile.in: *** empty log message ***
2083
20841993-04-15 Richard Stallman <rms@gnu.org>
2085
2086 * src/main.c, src/files.c:
2087 New file.
2088
20891993-04-15 Noah Friedman <friedman@gnu.org>
2090
2091 * configure.in: entered into RCS
2092
2093 * configure.in: *** empty log message ***
2094
2095 * configure.in: New file.
2096
20971993-04-14 Richard Stallman <rms@gnu.org>
2098
2099 * Makefile.in: New file.
2100
21011993-04-13 Richard Stallman <rms@gnu.org>
2102
2103 * src/version.c: New file.
2104
21051993-03-25 Richard Stallman <rms@gnu.org>
2106
2107 * src/output.c: entered into RCS
2108
21091992-09-25 Richard Stallman <rms@gnu.org>
2110
2111 * configure.bat: entered into RCS
2112
21131992-06-22 Richard Stallman <rms@gnu.org>
2114
2115 * src/vmsgetargs.c: entered into RCS
2116
21171992-06-22 Richard Stallman <rms@gnu.org>
2118
2119 * doc/bison.rnh: entered into RCS
2120
21211992-04-20 David J. MacKenzie <djm@gnu.org>
2122
2123 * README: entered into RCS
2124
21251992-01-22 Richard Stallman <rms@gnu.org>
2126
2127 * src/machine.h: entered into RCS
2128
21291991-12-21 Richard Stallman <rms@gnu.org>
2130
2131 * src/lalr.c, src/closure.c:
2132 entered into RCS
2133
21341991-12-20 Richard Stallman <rms@gnu.org>
2135
2136 * src/state.h: entered into RCS
2137
21381991-12-18 Richard Stallman <rms@gnu.org>
2139
2140 * src/print.c, src/nullable.c, src/derives.c:
2141 entered into RCS
2142
21431991-11-03 David J. MacKenzie <djm@gnu.org>
2144
2145 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
2146 entered into RCS
2147
21481988-09-09 Richard Stallman <rms@gnu.org>
2149
2150 * src/bison.hairy: entered into RCS
2151
21521987-12-16 Richard Stallman <rms@gnu.org>
2153
2154 * REFERENCES: entered into RCS