]> git.saurik.com Git - bison.git/blame - ChangeLog
Version 1.28b.
[bison.git] / ChangeLog
CommitLineData
70a84437
AD
12001-08-03 Akim Demaille <akim@epita.fr>
2
3 Version 1.28b.
4
2ce10144
AD
52001-08-03 Akim Demaille <akim@epita.fr>
6
7 * tests/Makefile.am (check-local): Ship testsuite.
8 * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions.
9 Include `string.h'.
10
1e3e4bc1
AD
112001-08-03 Akim Demaille <akim@epita.fr>
12
13 * configure.in: Try using -Wformat when compiling.
14
42b45b7f
AD
152001-08-03 Akim Demaille <akim@epita.fr>
16
17 * configure.in: Bump to 1.28b.
18
8f13fe33
AD
192001-08-03 Akim Demaille <akim@epita.fr>
20
21 * src/complain.c: Adjust strerror_r portability issues.
22
b37ba92c
AD
232001-08-03 Akim Demaille <akim@epita.fr>
24
25 Version 1.28a.
26
b0ce6046
AD
272001-08-03 Akim Demaille <akim@epita.fr>
28
29 * src/getargs.c, src/getarg.h (skeleton)): Constify.
30 * src/lex.c (literalchar): Avoid name clashes on `buf'.
31 * src/getargs.c: Include complain.h.
32 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
33 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
34
d01c415b
AD
352001-08-03 Akim Demaille <akim@epita.fr>
36
37 * src/reader.c (readgram): Display hidden chars in error messages.
38
459dd1a6
AD
392001-08-03 Akim Demaille <akim@epita.fr>
40
41 Update to gettext 0.10.39.
42
53b74c0c
AD
432001-08-03 Akim Demaille <akim@epita.fr>
44
45 * lib/strspn.c: New.
46
234a3be3
AD
472001-08-01 Marc Autret <autret_m@epita.fr>
48
49 * doc/bison.texinfo: Update.
50 * doc/bison.1 (mandoc): Update.
51 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
52 * src/files.c: Support output files extensions computing.
53 (src_extension): New static variable.
54 (header_extension): New static variable.
55 (tr): New function.
56 (get_extension_index): New function, gets the index of an extension
57 filename in a string.
58 (compute_exts_from_gf): New function, computes extensions from the
59 grammar file extension.
60 (compute_exts_from_src): New functions, computes extensions from the
61 C source file extension, file given by ``-o'' option.
62 (compute_base_names): Update.
63 (output_files): Update.
64
847bf1f5
AD
652001-08-01 Robert Anisko <anisko_r@epita.fr>
66
d995fee7 67 * doc/bison.texi: Document @$.
847bf1f5
AD
68 (Locations): New section.
69
d074a105
AD
702001-07-18 Akim Demaille <akim@epita.fr>
71
72 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
73 * config/prev-version.txt, config/move-if-change: New.
74 * Makefile.am: Adjust.
75
3419715d
AD
762001-07-08 Pascal Bart <pascal.bart@epita.fr>
77
78 * src/bison.simple (yyparse): Suppress warning `comparaison
79 between signed and unsigned'.
80
62ab6972
AD
812001-07-05 Pascal Bart <pascal.bart@epita.fr>
82
83 * src/getargs.h (raw_flag): Remove.
84 * src/getargs.c: Die on `-r'/`--raw'.
85 * src/lex.c (parse_percent_token): Die on `%raw'.
86 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
87 * tests/calc.at: Suppress test with option `--raw'.
88
1e24cc5b
AD
892001-07-14 Akim Demaille <akim@epita.fr>
90
91 * config/: New.
92 * configure.in: Require Autoconf 2.50.
93 Update to gettext 0.10.38.
94
32dfccf8
AD
952001-03-16 Akim Demaille <akim@epita.fr>
96
97 * doc/bison.texinfo: ANSIfy the examples.
98
cd5bd6ac
AD
992001-03-16 Akim Demaille <akim@epita.fr>
100
101 * getargs.c (skeleton): New variable.
102 (longopts): --skeleton is a new option.
103 (shortopts, getargs): -S is a new option.
104 * getargs.h: Declare skeleton.
105 * output.c (output_parser): Use it.
106
5141b016
AD
1072001-03-16 Akim Demaille <akim@epita.fr>
108
109 * m4/strerror_r.m4: New.
110 * m4/error.m4: Run AC_FUNC_STRERROR_R.
111 * lib/error.h, lib/error.c: Update.
112
447992b9
AD
1132001-03-16 Akim Demaille <akim@epita.fr>
114
115 * src/getargs.c (longopts): Clean up.
116
274d42ce
AD
1172001-02-21 Akim Demaille <akim@epita.fr>
118
119 * src/reader.c (gensym): `gensym_count' is your own.
120 Use a static buf to create the symbol name, as token_buffer is no
121 longer a buffer.
122
22c821f3
AD
1232001-02-08 Akim Demaille <akim@epita.fr>
124
125 * src/conflicts.c (conflict_report): Be sure not to append to res
126 between two calls, which could happen if both first sprintf were
127 skipped, but not the first cp += strlen.
128
18569462
AD
1292001-02-08 Akim Demaille <akim@epita.fr>
130
131 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
132 New, from fileutils 4.0.37.
133 * configure.in: Require Autoconf 2.49c. I took some time before
134 making this decision. This is the only way out for portability
135 issues in Bison, it would mean way too much duplicate effort to
136 import in Bison features implemented in 2.49c since 2.13.
137 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
138
0d8f3c8a
AD
1392001-02-02 Akim Demaille <akim@epita.fr>
140
141 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
66075dcf 142 * lib/xalloc.h, lib/xmalloc.c: Update.
0d8f3c8a 143
f17bcd1f
AD
1442001-01-19 Akim Demaille <akim@epita.fr>
145
146 Get rid of the ad hoc handling of token_buffer in the scanner: use
147 the obstacks.
148
149 * src/lex.c (token_obstack): New.
150 (init_lex): Initialize it. No longer call...
151 (grow_token_buffer): this. Remove it.
152 Adjust all the places which used it to use the obstack.
153
511e79b3
AD
1542001-01-19 Akim Demaille <akim@epita.fr>
155
156 * src/lex.h: Rename all the tokens:
157 s/\bENDFILE\b/tok_eof/g;
158 s/\bIDENTIFIER\b/tok_identifier/g;
159 etc.
160 Let them be enums, not #define, to ease debugging.
161 Adjust all the code.
162
0d6508ef
AD
1632001-01-18 Akim Demaille <akim@epita.fr>
164
165 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
166 * src/lex.c (maxtoken, grow_token_buffer): Static.
167
6deb4447
AD
1682001-01-18 Akim Demaille <akim@epita.fr>
169
170 Since we now use obstacks, more % directives can be enabled.
171
172 * src/lex.c (percent_table): Also accept `%yacc',
173 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
174 `%debug'.
175 Handle the actions for `%semantic_parser' and `%pure_parser' here,
176 instead of returning a token.
177 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
178 * src/reader.c (read_declarations): Adjust.
179 * src/files.c (open_files): Don't call `compute_base_names', don't
180 compute `attrsfile' since they depend upon data which might be
181 *in* the input file now.
182 (output_files): Do it here.
183 * src/output.c (output_headers): Document the fact that this patch
184 introduces a guaranteed SEGV for semantic parsers.
185 * doc/bison.texinfo: Document them.
186 * tests/suite.at: Exercise these %options.
187
ff4423cc
AD
1882000-12-20 Akim Demaille <akim@epita.fr>
189
190 Also handle the output file (--verbose) with obstacks.
191
192 * files.c (foutput): Remove.
193 (output_obstack): New.
194 Adjust all dependencies.
195 * src/conflicts.c: Return a string.
196 * src/system.h (obstack_grow_string): Rename as...
197 (obstack_sgrow): this. Be ready to work with non literals.
198 (obstack_fgrow4): New.
199
956dba3a
AD
2002000-12-20 Akim Demaille <akim@epita.fr>
201
202 * src/files.c (open_files): Fix the computation of short_base_name
203 in the case of `-o foo.tab.c'.
204
337bab46
AD
2052000-12-20 Akim Demaille <akim@epita.fr>
206
207 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
208 (copy_dollar): Now that everything uses obstacks, get rid of the
209 FILE * parameters.
210
5d3214b8
AD
2112000-12-20 Akim Demaille <akim@epita.fr>
212
213 * src/files.c (open_files): Actually the `.output' file is based
214 on the short_base_name, not base_name.
215 * tests/suite.at (Checking output file names): Adjust.
216
29092a57
AD
2172000-12-20 Akim Demaille <akim@epita.fr>
218
219 * src/bison.s1: Remove, we now use directly...
220 * src/bison.simple: this.
221 * src/Makefile.am: Use pkgdata instead of data.
222
ea5607fd
AD
2232000-12-20 Akim Demaille <akim@epita.fr>
224
225 * src/files.c (guard_obstack): New.
226 (open_files): Initialize it.
227 (output_files): Dump it...
228 * src/files.h: Export it.
229 * src/reader.c (copy_guard): Use it.
230
27110317
AD
2312000-12-19 Akim Demaille <akim@epita.fr>
232
233 * src/files.c (outfile, defsfile, actfile): Removed as global
234 vars.
235 (open_files): Don't compute them.
236 (output_files): Adjust.
237 (base_name, short_base_name): Be global.
238 Adjust dependencies.
239
19c50364
AD
2402000-12-19 Akim Demaille <akim@epita.fr>
241
242 * src/files.c (strsuffix): New.
243 (stringappend): Be just like strcat but allocate.
244 (base_names): Eve out from open_files.
245 Try to simplify the rather hairy computation of base_name and
246 short_base_name.
247 (open_files): Use it.
248 * tests/suite.at (Checking output file names): New test.
249
573c1d9f
AD
2502000-12-19 Akim Demaille <akim@epita.fr>
251
252 * src/system.h (obstack_grow_literal_string): Rename as...
253 (obstack_grow_string): this.
254 * src/output.c (output_parser): Recognize `%% actions' instead of
255 `$'.
256 * src/bison.s1: s/$/%% actions/.
257 * src/bison.hairy: Likewise.
258
ef7ddedd
AD
2592000-12-19 Akim Demaille <akim@epita.fr>
260
261 * src/output.c (output_parser): Compute the `#line' lines when
262 there are.
263 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
264 Suggested by Hans Aberg.
265
ff61dabd
AD
2662000-12-19 Akim Demaille <akim@epita.fr>
267
268 Let the handling of the skeleton files be local to the procedures
269 that use it.
270
271 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
272 longer static.
273 (fparser, open_extra_files): Remove.
274 (open_files, output_files): Don't take care of fparser.
275 * src/files.h: Adjust.
276 * src/output.c (output_parser): Open and close the file to the
277 skeleton.
278 * src/reader.c (read_declarations): When %semantic_parser, open
279 fguard.
280
55b96341
AD
2812000-12-19 Akim Demaille <akim@epita.fr>
282
283 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
284 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
285
358c15b7
AD
2862000-12-19 Akim Demaille <akim@epita.fr>
287
288 * src/files.c (open_files): Yipee! We no longer need all the code
289 looking for `/tmp' since we have no tmp file.
290
7de3329e
AD
2912000-12-19 Akim Demaille <akim@epita.fr>
292
293 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
294 New macros.
295 * src/files.c (open_files): Less dependency on MSDOS etc.
296
3abcd459
AD
2972000-12-14 Akim Demaille <akim@epita.fr>
298
299 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
300 Provide a default definition.
301 Use it when executing the default @ action.
302 * src/reader.c (reader_output_yylsp): No longer include
303 `timestamp' and `text' in the default YYLTYPE.
304
2a91a95e
AD
3052000-12-12 Akim Demaille <akim@epita.fr>
306
307 * src/reader.c (copy_definition, parse_union_decl, copy_action)
308 (copy_guard): Quote the file names.
309 Reported by Laurent Mascherpa.
310
14d3eb9b
AD
3112000-12-12 Akim Demaille <akim@epita.fr>
312
313 * src/output.c (output_headers, output_program, output): Be sure
314 to escape special characters when outputting filenames.
315 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
316 (output_headers): Don't depend on them, Use ACTSTR.
317
d7045ec6
AD
3182000-11-17 Akim Demaille <akim@epita.fr>
319
320 * lib/obstack.h: Formatting changes.
321 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
322 prevents type checking.
323 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
324 cast the value to (void *): assigning a `foo *' to a `void *'
325 variable is valid.
326 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
327 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
328 append characters.
329
6fd54b73
AD
3302000-11-17 Akim Demaille <akim@epita.fr>
331
332 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
333 as...
334 (suite.m4, regression.m4, calc.m4): these.
335 * tests/atgeneral.m4: Update from CVS Autoconf.
336
4c50eae6
AD
3372000-11-17 Akim Demaille <akim@epita.fr>
338
339 * tests/regression.m4 (%union and --defines): New test,
340 demonstrating a current bug in the obstack implementation.
341
a35f64ea
AD
3422000-11-17 Akim Demaille <akim@epita.fr>
343
344 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
345 macros.
346 Use them to declare the variables which are global or local to
347 `yyparse'.
348
7de23534
AD
3492000-11-17 Akim Demaille <akim@epita.fr>
350
351 * acconfig.h: Remove, no longer used.
352
aa7815f5
AD
3532000-11-07 Akim Demaille <akim@epita.fr>
354
355 * src: s/Copyright (C)/Copyright/g.
356
5af1f549
AD
3572000-11-07 Akim Demaille <akim@epita.fr>
358
359 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
360 defining.
361 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
362
553e2b22
AD
3632000-11-07 Akim Demaille <akim@epita.fr>
364
365 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
366 Merge in a single CPP if/else.
367
8a4f41d6
AD
3682000-11-07 Akim Demaille <akim@epita.fr>
369
370 * src/output.c (output): Remove useless variables.
371 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
372 argument `data' for consistency with the prototypes.
373 Qualify it `const'.
374 (obstack_copy, obstack_copy0): Rename the second argument as
375 `address' for consistency. Qualify it `const'.
376 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
377 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
378 `const' their input argument (`data' or `address').
379 Adjust the corresponding macros to include `const' in casts.
380
095a3fb5
AD
3812000-11-03 Akim Demaille <akim@epita.fr>
382
383 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
384 s/PFILE1/BISON_HAIRY/.
385 Adjust dependencies.
386
d1cdce7c
AD
3872000-11-03 Akim Demaille <akim@epita.fr>
388
090c5ebf 389 For some reason, this was not applied.
d1cdce7c
AD
390
391 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
392 `unlink': it's no longer used.
393
9311529b
AD
3942000-11-03 Akim Demaille <akim@epita.fr>
395
396 * src/files.c (skeleton_find): New function, eved out of...
397 (open_files, open_extra_files): here.
398
d8880f69
AD
3992000-11-03 Akim Demaille <akim@epita.fr>
400
401 Don't use `atexit'.
402
403 * src/files.c (obstack_save): New function.
404 (done): Rename as...
405 (output_files): this.
406 Use `obstack_save'.
407 * src/main.c (main): Don't use `atexit' to register `done', since
408 it no longer has to remove tmp files, just call `output_files'
409 when there are no errors.
410
0dbb648e
AD
4112000-11-02 Akim Demaille <akim@epita.fr>
412
413 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
414 `unlink': it's no longer used.
415 * src/files.h: Formatting changes.
416
896fe5c1
AD
4172000-11-02 Akim Demaille <akim@epita.fr>
418
419 Remove the last uses of mktemp and unlink/delete.
420
421 * src/files.c (fdefines, ftable): Removed.
422 (defines_ostack, table_obstack): New.
423 Adjust dependencies of the former into uses of the latter.
424 * src/output.c (output_short_or_char_table, output_short_table):
425 Convert to using obstacks.
426 * src/reader.c (copy_comment2): Accept one FILE * and two
427 obstacks.
428 (output_token_defines, reader_output_yylsp): Use obstacks.
429 * src/system.h (obstack_fgrow3): New.
430
dd60faec
AD
4312000-11-01 Akim Demaille <akim@epita.fr>
432
433 Change each use of `fattrs' into a use of `attrs_obstack'.
434
435 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
436 * src/files.c (fattrs): Remove.
437 (attrs_obstack): New.
438 Adjust all dependencies.
439 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
440
8c7ebe49
AD
4412000-11-01 Akim Demaille <akim@epita.fr>
442
443 Introduce obstacks.
444 Change each use of `faction' into a use of `action_obstack'.
445
446 * lib/obstack.h, lib/obstack.c: New files.
447 * src/files.c (faction): Remove.
448 (action_obstack): New.
449 Adjust all dependencies.
450
77aee789
AD
4512000-10-20 Akim Demaille <akim@epita.fr>
452
453 * lib/quote.h (PARAMS): New macro. Use it.
454
43591cec
AD
4552000-10-16 Akim Demaille <akim@epita.fr>
456
457 * src/output.c (output_short_or_char_table): New function.
458 (output_short_table, output_token_translations): Use it.
459 (goto_actions): Use output_short_table.
460
1e9798d5
AD
4612000-10-16 Akim Demaille <akim@epita.fr>
462
463 * src/symtab.c (bucket_new): New function.
464 (getsym): Use it.
465
466 * src/output.c (output_short_table): New argument to display the
467 comment associated with the table.
468 Adjust dependencies.
469 (output_gram): Use it.
470 (output_rule_data): Nicer output layout for YYTNAME.
471
f282676b
AD
4722000-10-16 Akim Demaille <akim@epita.fr>
473
474 * src/lex.c (read_typename): New function.
475 (lex): Use it.
476 * src/reader.c (copy_dollar): Likewise.
477
550a72a3
AD
4782000-10-16 Akim Demaille <akim@epita.fr>
479
480 * src/reader.c (copy_comment2): Expect the input stream to be on
481 the `/' which is suspected to open a comment, instead of being
482 called after `//' or `/*' was read.
483 (copy_comment, copy_definition, parse_union_decl, copy_action)
484 (copy_guard): Adjust.
485
131e2fef
AD
4862000-10-16 Akim Demaille <akim@epita.fr>
487
488 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
489 `read_signed_integer'.
490
79282c5a
AD
4912000-10-16 Akim Demaille <akim@epita.fr>
492
493 * src/reader.c (copy_dollar): New function.
494 (copy_guard, copy_action): Use it.
495
ff4a34be
AD
4962000-10-16 Akim Demaille <akim@epita.fr>
497
498 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
499 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
500 New files, from Fileutils 4.0.27.
501 * src/main.c (printable_version): Remove.
502 * src/lex.c, src/reader.c: Use `quote'.
503
5042000-10-04 Akim Demaille <akim@epita.fr>
505
506 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
507
14ded682
AD
5082000-10-04 Akim Demaille <akim@epita.fr>
509
510 * doc/bison.texinfo: Various typos spotted by Neil Booth.
511
8e03724b
AD
5122000-10-04 Akim Demaille <akim@epita.fr>
513
514 When a literal string is used to define two different tokens,
515 `bison -v' segfaults.
516 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
517
518 * tests/regression.m4: New file.
519 Include the core of the sample provided by Piotr Gackiewicz.
520 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
521 properly.
522
a9e64249
AD
5232000-10-04 Akim Demaille <akim@epita.fr>
524
525 * src/reader.c (parse_expect_decl): Keep `count' within the size
526 of `buffer'.
527 From Neil Booth.
528
da9abf43
AD
5292000-10-02 Paul Eggert <eggert@twinsun.com>
530
531 * bison.s1 (yyparse): Assign the default value
532 unconditionally, to avoid a GCC warning and make the parser a
533 tad smaller.
534
c33638bb
AD
5352000-10-02 Akim Demaille <akim@epita.fr>
536
537 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
538 options.
539
444c570a
AD
5402000-10-02 Akim Demaille <akim@epita.fr>
541
542 * src/derives.c, src/print.c, src/reduce.c: To ease the
543 translation, move some `\n' out of the translated strings.
544
89cab50d
AD
5452000-10-02 Akim Demaille <akim@epita.fr>
546
547 The location tracking mechanism is precious for parse error
548 messages. Nevertheless, it is enabled only when `@n' is used in
549 the grammar, which is a different issue (you can use it in error
550 message, but not in the grammar per se). Therefore, there should
551 be another means to enable it.
552
553 * src/getargs.c (getargs): Support `--locations'.
554 (usage): Report it.
555 * src/getargs.h (locationsflag): Export it.
556 * src/lex.c (percent_table): Support `%locations'.
557 * src/reader.c (yylsp_needed): Remove this variable, now replaced
558 with `locationsflag'.
559 * doc/bison.texinfo: Document `--locations' and `%locations'.
560 Sort the options.
561 * tests/calc.m4: Test it.
562
563 For regularity of the names, replace each
564 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
565 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
566 In addition replace each `flag' with `_flag'.
567
d6c2cba0
AD
5682000-10-02 Akim Demaille <akim@epita.fr>
569
570 Also test parse error messages, including with YYERROR_VERBOSE.
571
572 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
573 associative).
574 Use it to check the computations.
575 Use it to check `nonassoc' is honored.
576 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
577 `--yyerror-verbose'.
578 (_AT_CHECK_CALC): Adjust to this option.
579 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
580
5a35a6cb
AD
5812000-10-02 Akim Demaille <akim@epita.fr>
582
583 Test also `--verbose', `--defines' and `--name-prefix'. Testing
584 the latter demonstrates a flaw in the handling of non debugging
585 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
586 was used in order to simplify:
587
588 #if YYDEBUG
589 if (yydebug)
590 {
591 ...
592 }
593 #endif
594
595 into
596
597 if (yydebug)
598 {
599 ...
600 }
601
602 unfortunately this leads to a CPP conflict when
603 `--name-prefix=foo' is used since it produces `#define yydebug
604 foodebug'.
605
606 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
607 (YYDPRINTF): New macro.
608 Spread its use.
609 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
610 the bison options.
611 Also test `--verbose', `--defines' and `--name-prefix'.
612
71da9eea
AD
6132000-10-02 Akim Demaille <akim@epita.fr>
614
615 Improve the readability of the produced parsers.
616
617 * src/bison.s1: Formatting changes.
618 Improve the comment related to the `$' mark.
619 (yydefault): Don't fall through to `yyresume': `goto' there.
620 * src/output.c (output_parser): When the `$' is met, skip the end
621 of its line.
622 New variable, `number_of_dollar_signs', to check there's exactly
623 one `$' in the parser skeleton.
624
95e36146
AD
6252000-10-02 Akim Demaille <akim@epita.fr>
626
627 * lib/xstrdup.c: New file, from the fileutils.
628 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
629 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
630 instead of strlen + xmalloc + strcpy.
631 * src/symtab.c (copys): Remove, use xstrdup instead.
632
d7020c20
AD
6332000-10-02 Akim Demaille <akim@epita.fr>
634
635 * src/gram.h (associativity): New enum type which replaces the
636 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
637 `right_assoc', `left_assoc' and `non_assoc'.
638 Adjust all dependencies.
639 * src/reader.c: Formatting changes.
640 (LTYPESTR): Don't define it, use it as a literal in
641 `reader_output_yylsp'.
642 * src/symtab.h (symbol_class): New enum type which replaces the
643 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
644 `sunknown', `stoken and `snterm'.
645
1916f98e
AD
6462000-10-02 Akim Demaille <akim@epita.fr>
647
648 * src/getargs.c (fixed_outfiles): Rename as...
649 (yaccflag): for consistency and accuracy.
650 Adjust dependencies.
651
d7913476
AD
6522000-10-02 Akim Demaille <akim@epita.fr>
653
654 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
655 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
656 difficult and introduced a lot of core dump. It turns out that
657 Bison used an implementation of `xmalloc' based on `calloc', and
658 at various places it does depend upon the initialization to 0. I
659 have not tried to isolate the pertinent places, and all the former
660 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
661 someone should address this issue.
662
663 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
664 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
665 files.
666 Adjust dependencies.
667 * src/warshall.h: New file.
668 Propagate.
669
340ef489
AD
6702000-10-02 Akim Demaille <akim@epita.fr>
671
672 Various anti-`extern in *.c' changes.
673
674 * src/system.h: Include `assert.h'.
675
b2ca4022
AD
6762000-10-02 Akim Demaille <akim@epita.fr>
677
678 * src/state.h (nstates, final_state, first_state, first_shift)
679 (first_reduction): Move their exportation from here...
680 * src/LR0.h: to here.
681 Adjust dependencies.
682 * src/getargs.c (statisticsflag): New variable.
683 Add support for `--statistics'.
684 Adjust dependencies.
685
686 Remove a lot of now useless `extern' statements in most files.
687
403b315b
AD
6882000-10-02 Akim Demaille <akim@epita.fr>
689
690 * src/LR0.h: New file.
691 Propagate its use.
692
07a58c13
AD
6932000-10-02 Akim Demaille <akim@epita.fr>
694
695 * src/print.h: New file.
696 Propagate its use.
697 * src/print.c: Formatting and ordering changes.
698 (verbose, terse): Replace with...
699 (print_results): this new function.
700 Adjust dependencies.
701
0619caf0
AD
7022000-10-02 Akim Demaille <akim@epita.fr>
703
704 * src/conflicts.c (conflict_report): New function.
705 (conflict_log, verbose_conflict_log): Replace with...
706 (print_conflicts): this function.
707 Adjust dependencies.
708 * src/conflicts.h: New file.
709 Propagate its inclusion.
710
3519ec76
AD
7112000-10-02 Akim Demaille <akim@epita.fr>
712
713 * src/nullable.h: New file.
714 Propagate its inclusion.
715 * src/nullable.c: Formatting changes.
716
015acc48
AD
7172000-10-02 Akim Demaille <akim@epita.fr>
718
719 * src/reduce.h: New file.
720 Propagate its inclusion.
721 * src/reduce.c: Topological sort and other formatting changes.
722 (bool, TRUE, FALSE): Move their definition to...
723 * src/system.h: here.
724
8963a27b
AD
7252000-10-02 Akim Demaille <akim@epita.fr>
726
727 * src/files.c: Formatting changes.
728 (tryopen, tryclose, openfiles): Rename as...
729 (xfopen, xfclose, open_files): this.
730 (stringappend): static.
731 * src/files.h: Complete the list of exported symbols.
732 Propagate its use.
733
a70083a3
AD
7342000-10-02 Akim Demaille <akim@epita.fr>
735
736 * src/reader.h: New file.
737 Propagate its use instead of tedious list of `extern' and
738 prototypes.
739 * src/reader.c: Formatting changes, topological sort,
740 s/register//.
741
abadc117
AD
7422000-10-02 Akim Demaille <akim@epita.fr>
743
744 * src/lex.h: Prototype `lex.c' exported functions.
745 * src/reader.c: Adjust.
746 * src/lex.c: Formatting changes.
747 (safegetc): Rename as...
748 (xgetc): this.
749
720d742f
AD
7502000-10-02 Akim Demaille <akim@epita.fr>
751
752 * src/lalr.h: New file.
753 Propagate its inclusion instead of prototypes and `extern'.
754 * src/lalr.c: Formatting changes, topological sorting etc.
755
f2acea59
AD
7562000-10-02 Akim Demaille <akim@epita.fr>
757
758 * src/output.c (token_actions): Introduce a temporary array,
759 YYDEFACT, that makes it possible for this function to use
760 output_short_table.
761
d019d655
AD
7622000-10-02 Akim Demaille <akim@epita.fr>
763
764 `user_toknums' is output as a `short[]' in `output.c', while it is
765 defined as a `int[]' in `reader.c'. For consistency with the
766 other output tables, `user_toknums' is now defined as a table of
767 shorts.
768
769 * src/reader.c (user_toknums): Be a short table instead of an int
770 table.
771 Adjust dependencies.
772
773 Factor the short table outputs.
774
775 * src/output.c (output_short_table): New function.
776 * src/output.c (output_gram, output_stos, output_rule_data)
777 (output_base, output_table, output_check): Use it.
778
6c89f1c1
AD
7792000-10-02 Akim Demaille <akim@epita.fr>
780
781 * src/output.c (output): Topological sort of the functions, in
782 order to get rid of the `static' prototypes.
783 No longer use `register'.
784 * src/output.h: New file.
785 Propagate its inclusion in files explicitly prototyping functions
786 from output.c.
787
d9efd181
AD
7882000-09-21 Akim Demaille <akim@epita.fr>
789
790 * src/atgeneral.m4: Update from Autoconf.
791
c29240e7 7922000-09-21 Akim Demaille <akim@epita.fr>
2fa6973e
AD
793
794 * src/closure.h: New file.
795 * src/closure.c: Formatting changes, topological sort over the
796 functions, use of closure.h.
797 (initialize_closure, finalize_closure): Rename as...
798 (new_closure, free_closure): these. Adjust dependencies.
799 * src/LR0.c: Formatting changes, topological sort, use of
800 cloture.h.
801 (initialize_states): Rename as...
802 (new_states): this.
803 * src/Makefile.am (noinst_HEADERS): Adjust.
804
499daa50
AD
8052000-09-20 Akim Demaille <akim@epita.fr>
806
807 * src/acconfig.h: Don't protect config.h against multiple
808 inclusion.
809 Don't define PARAMS.
810 * src/system.h: Define PARAMS.
811 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
812 purpose of config.h. system.h must not try to fix wrong
813 definitions in config.h.
814
cc84fd5d
AD
8152000-09-20 Akim Demaille <akim@epita.fr>
816
817 * src/derives.h: New file.
818 * src/main.c, src/derives.h: Use it.
819 Formatting changes.
820 * src/Makefile.am (noinst_HEADERS): Adjust.
821
db5b3a89
AD
8222000-09-20 Akim Demaille <akim@epita.fr>
823
824 * tests/atgeneral.m4: Update from Autoconf.
825 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
826 (AT_CHECK_CALC): New macros.
827 Use these macros to test bison with options `', `--raw',
828 `--debug', `--yacc', `--yacc --debug'.
829
ceed8467
AD
8302000-09-19 Akim Demaille <akim@epita.fr>
831
832 * src/output.c: Formatting changes.
833 * src/machine.h: Remove, leaving its contents in...
834 * src/system.h: here.
835 Include stdio.h.
836 Adjust all dependencies on stdio.h and machine.h.
837 * src/getargs.h: New file.
838 Let all `extern' declarations about getargs.c be replaced with
839 inclusion of `getargs.h'.
840 * src/Makefile.am (noinst_HEADERS): Adjust.
841
842 * tests/calc.m4 (yyin): Be initialized in main, not on the global
843 scope.
844 (yyerror): Returns void, not int.
845 * doc/bison.texinfo: Formatting changes.
846
05a1d24b
AD
8472000-09-19 Akim Demaille <akim@epita.fr>
848
849 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
850 portable.
851
cbd25751
AD
8522000-09-18 Akim Demaille <akim@epita.fr>
853
854 * configure.in: Append WARNING_CFLAGS to CFLAGS.
855 * src/Makefile.am (INCLUDES): Don't.
856 Be ready to fetch headers in lib/.
857
13863333
AD
8582000-09-18 Akim Demaille <akim@epita.fr>
859
860 * doc/bison.texinfo: Update the copyright.
861 ANSIfy and GNUify the examples.
862 Remove the old menu.
863
0d533154
AD
8642000-09-18 Akim Demaille <akim@epita.fr>
865
866 First set of tests: use the `calc' example from the documentation.
867
868 * src/bison.s1 (yyparse): Condition the code using `yytname' which
869 is defined only when YYDEBUG is.
870 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
871 * src/files.c (tryopen, tryclose): Formatting changes.
872 Move to the top and be static.
873 * src/reader.c (read_signed_integer): Likewise.
874 * tests/calc.m4: New file.
875 * Makefile.am, suite.m4: Adjust.
876 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
877
e79137ac
AD
8782000-09-18 Akim Demaille <akim@epita.fr>
879
880 Add support for an Autotest test suite for Bison.
881
882 * m4/m4.m4, m4/atconfig.m4: New files.
883 * m4/Makefile.am (EXTRA_DIST): Adjust.
884 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
885 files.
886 * src/getargs.c: Display a more standard --version message.
887 * src/reader.c (reader): Formatting changes.
888 No longer depend upon VERSION_STRING.
889 * configure.in: No longer use `dnl'.
890 Set up the test suite and the new directory `tests/.
891 (VERSION_STRING): Remove.
892
27821bff
AD
8932000-04-14 Akim Demaille <akim@epita.fr>
894
895 * src/reader.c (copy_comment2): New function, same as former
896 `copy_comment', but outputs into two FILE *.
897 (copy_comment): Use it.
898 (parse_union_decl): Use it.
899 (get_type, parse_start_decl): Use the same `invalid' message.
900 (parse_start_decl, parse_union_decl): Use the same `multiple'
901 message.
902 (parse_union_decl, copy_guard, copy_action): Use the same
903 `unmatched' message.
904 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
905
cfe5fbc0
AD
9062000-03-31 Akim Demaille <akim@epita.fr>
907
908 * src/files.c (tryopen, tryclose): Move to the top.
909 Be static.
910
cb7db13e
AD
9112000-03-31 Akim Demaille <akim@epita.fr>
912
913 * src/main.c (main): Don't call `done', exit does it.
914
a0f6b076
AD
9152000-03-31 Akim Demaille <akim@epita.fr>
916
36281465
AD
917 * allocate.c: s/return (foo)/return foo/.
918 * lalr.c: Likewise.
919 * LR0.c: Likewise.
920 * output.c: Likewise.
921 * reader.c: Likewise.
922 * symtab.c: Likewise.
923 * vmsgetargs.c: Likewise.
924
9252000-03-31 Akim Demaille <akim@epita.fr>
926
927 Clean up the error reporting functions.
a0f6b076
AD
928
929 * src/report.c: New file.
930 * src/report.h: Likewise.
931 * src/Makefile.am: Adjust.
932 * m4/error.m4: New file.
933 * m4/Makefile.am: Adjust.
934 * configure.in (jm_PREREQ_ERROR): Call it.
935 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
936 Remove.
937 (fatal, fatals): Remove. All callers use complain.c::fatal.
938 (warn, warni, warns, warnss, warnss): Remove. All callers use
939 complain.c::complain.
940 (toomany): Remove, use fatal instead.
941 * src/files.c (done): No argument, use complain_message_count.
942 * src/main.c (main): Register `done' to `atexit'.
943
944 * src/getargs.c (usage): More `fputs', less `fprintf'.
945
18539825
AD
9462000-03-28 Akim Demaille <akim@epita.fr>
947
948 * lib/: New directory.
949 * Makefile.am (SUBDIRS): Adjust.
950 * configure.in: Adjust.
951 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
952 useless.
953 * src/alloca.c: Moved to lib/.
954 * src/getopt.c: Likewise.
955 * src/getopt1.c: Likewise.
956 * src/getopt.h: Likewise.
957 * src/ansi2knr.c: Likewise.
958 * src/ansi2knr.1: Likewise.
959 * src/Makefile.am: Adjust.
960 * lib/Makefile.am: New file.
961
9f306f2a
AD
9622000-03-28 Akim Demaille <akim@epita.fr>
963
964 * src/getargs.c (usage): Refresh the help message.
965
0ba347b6
AD
9662000-03-17 Akim Demaille <akim@epita.fr>
967
968 * src/getopt1.c: Updated from textutils 2.0e
969 * src/getopt.c: Likewise.
970 * src/getopt.h: Likewise.
971
dbe7f271
AD
9722000-03-17 Akim Demaille <akim@epita.fr>
973
974 * src/Makefile.am (bison.simple): Fix the awk program: quote only
975 the file name, not the whole `#line LINE FILE'.
976
75bbe78d
AD
9772000-03-17 Akim Demaille <akim@epita.fr>
978
979 On syntax errors, report the token on which we choked.
980
aa5fd0ee
AD
981 * src/bison.s1 (yyparse): In the label yyerrlab, when
982 YYERROR_VERBOSE, add yychar in msg.
75bbe78d 983
7b306f52
AD
9842000-03-17 Akim Demaille <akim@epita.fr>
985
aa5fd0ee 986 * src/reader.c (copy_at): New function.
7b306f52
AD
987 (copy_guard): Use it.
988 (copy_action): Use it.
989
e87b5700
AD
9902000-03-17 Akim Demaille <akim@epita.fr>
991
992 Be kind to translators, save some useless translations.
993
aa5fd0ee 994 * src/main.c (banner): New function.
e87b5700
AD
995 (fatal_banner): Use it.
996 (warn_banner): Use it.
997
ae3c3164
AD
9982000-03-17 Akim Demaille <akim@epita.fr>
999
aa5fd0ee
AD
1000 * src/reader.c (copy_definition): Use copy_string and
1001 copy_comment. Removed now unused `match', `ended',
1002 `cplus_comment'.
ae3c3164
AD
1003 (copy_comment, copy_string): Moved, to be visible from
1004 copy_definition.
1005
4dc58e7c
AD
10062000-03-17 Akim Demaille <akim@epita.fr>
1007
aa5fd0ee
AD
1008 * src/reader.c (copy_string): Declare `static inline'. No
1009 problems with inline, since it is checked by configure.
4dc58e7c
AD
1010 (copy_comment): Likewise.
1011
0a6384c4
AD
10122000-03-17 Akim Demaille <akim@epita.fr>
1013
aa5fd0ee 1014 * src/reader.c (packsymbols): Formatting changes.
0a6384c4 1015
3cef001a
AD
10162000-03-17 Akim Demaille <akim@epita.fr>
1017
aa5fd0ee 1018 * src/reader.c (copy_comment): New function, factored out from:
3cef001a
AD
1019 (copy_action): Use it. Removed now unused `match', `ended',
1020 `cplus_comment'.
1021 (copy_guard): Likewise.
1022
ca36d2ef
AD
10232000-03-17 Akim Demaille <akim@epita.fr>
1024
aa5fd0ee 1025 * src/reader.c (copy_string): New function, factored out from:
ca36d2ef
AD
1026 (copy_action): Use it.
1027 (copy_guard): Likewise.
1028
6666f98f
AD
10292000-03-17 Akim Demaille <akim@epita.fr>
1030
1031 Change the handling of @s so that they behave exactly like $s.
1032 There is now a pseudo variable @$ (readble and writable), location
1033 of the lhs of the rule (by default ranging from the location of
1034 the first symbol of the rhs, to the location of the last symbol,
1035 or, if the rhs is empty, YYLLOC).
1036
1037 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
1038 yyval.
1039 (yyparse): When providing a default semantic action, provide a
1040 default location action.
1041 (after the $): No longer change `*YYLSP', just stack YYLOC the
1042 same way you stack YYVAL.
1043 * src/reader.c (read_declarations): Use warns.
1044 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
1045 (copy_action, case '@'): Likewise.
1046 Use a standard error message, to save useless work from
1047 translators.
1048
41aca2e0
AD
10492000-03-17 Akim Demaille <akim@epita.fr>
1050
aa5fd0ee
AD
1051 * src/bison.s1: Formatting and cosmetics changes.
1052 * src/reader.c: Likewise.
41aca2e0
AD
1053 Update the Copyright notice.
1054
dc08c1d5
AD
10552000-03-17 Akim Demaille <akim@epita.fr>
1056
aa5fd0ee
AD
1057 * src/bison.s1 (#line): All set to `#line' only, since the
1058 Makefile now handles them.
dc08c1d5 1059
9ee3c97b
AD
10602000-03-16 Akim Demaille <akim@epita.fr>
1061
1062 * src/output.c (output_rule_data): Output the documentation of
1063 some of the tables.
1064 (Copyright notice): Update.
1065 Formatting changes.
1066
0de741ca
AD
10672000-03-16 Akim Demaille <akim@epita.fr>
1068
1069 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
1070 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
1071 One `#if YYDEBUG' remains, since it uses variables which are
1072 defined only if `YYDEBUG != 0'.
1073
bb10be54
AD
10742000-03-16 Akim Demaille <akim@epita.fr>
1075
1076 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
1077 and related variables so that the similarities are highlighted.
1078
b07b484a
AD
10792000-03-16 Akim Demaille <akim@epita.fr>
1080
1081 * src/bison.s1: Properly indent CPP directives.
1082
361f60b3
AD
10832000-03-16 Akim Demaille <akim@epita.fr>
1084
1085 * src/bison.s1: Properly indent the `alloca' CPP section.
1086
8c44d3ec
AD
10872000-03-16 Akim Demaille <akim@epita.fr>
1088
1089 Do not hard code values of directories in `configure.in'.
1090 Update the `configure' tool chain.
1091
1092 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
1093 src/makefile.am.
1094 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
1095 (AC_OUTPUT): Add m4/Makefile.
1096 Bump to bison 1.28a, 1.29 has never been released.
1097 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
1098 handled via src/Makefile.am.
1099 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
1100 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
1101 autoheader.
1102 * Makefile.am (SUBDIRS): Add m4.
1103 (ACLOCAL_AM_FLAGS): New variable.
1104 (AUTOMAKE_OPTIONS): Add check-news.
1105 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
1106 the proper line number and file name.
1107 (DEFS): Propagate the location of bison library files and of the
1108 locale files.
1109 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
1110 builddir.
1111 * acinclude.m4: Remove, replaced by the directory m4.
1112 * m4/Makefile.am (EXTRA_DIST): New variable.
1113 * m4/gettext.m4: New file, from the fileutils.
1114 * m4/lcmessage.m4: Likewise
1115 * m4/progtest.m4: Likewise.
1116 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
1117
f95997e7
AD
11182000-03-10 Akim Demaille <akim@epita.fr>
1119
1120 * src/closure.c:
1121 Formatting changes of various comments.
1122 Respect the GNU coding standards at various places.
1123 Don't use `_()' when no translation is needed.
1124
11251999-12-13 Jesse Thilo <jthilo@gnu.org>
1126
1127 * src/files.c:
1128 OS/2 honors TMPDIR environment variable.
1129
11301999-12-13 Jesse Thilo <jthilo@gnu.org>
1131
1132 * doc/bison.texinfo: Tweaked spelling and grammar.
1133 Updated ISBN.
1134 Removed reference to price of printed copy.
1135 Mention BISON_SIMPLE and BISON_HAIRY.
1136
11371999-12-13 Jesse Thilo <jthilo@gnu.org>
1138
1139 * configure.in, NEWS:
1140 Bison 1.29 released.
1141
11421999-10-27 Jesse Thilo <jthilo@gnu.org>
1143
1144 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
1145 Added reference card.
1146
11471999-07-26 Jesse Thilo <jthilo@gnu.org>
1148
1149 * po/ru.po: Added Russian translation.
1150
11511999-07-26 Jesse Thilo <jthilo@gnu.org>
1152
1153 * configure.in: Added Russian translation.
1154
11551999-07-06 Jesse Thilo <jthilo@gnu.org>
1156
1157 * configure.in, NEWS, README:
1158 Released version 1.28.
1159
11601999-06-14 Jesse Thilo <jthilo@gnu.org>
1161
1162 * src/system.h:
1163 Squashed redefinition warning on some systems.
1164
1165 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
1166 Have configure build version string instead of relying on ANSI string
1167 concatentation.
1168
11691999-06-14 Jesse Thilo <jthilo@gnu.org>
1170
1171 * po/POTFILES.in: Got rid of version.c.
1172
11731999-06-14 Jesse Thilo <jthilo@gnu.org>
1174
1175 * acconfig.h, configure.in:
1176 Have configure build version string instead of relying on ANSI string
1177 concatentation.
1178
11791999-06-08 Jesse Thilo <jthilo@gnu.org>
1180
1181 * doc/bison.1:
1182 Dropped mention of `+' for long-named options.
1183
11841999-05-30 Jesse Thilo <jthilo@gnu.org>
1185
1186 * src/files.c: Added <unistd.h> for unlink().
1187
1188 * src/Makefile.am, src/system.h:
1189 I18n fixes.
1190
11911999-05-30 Jesse Thilo <jthilo@gnu.org>
1192
1193 * README: Added a FAQ list.
1194
1195 * configure.in, acconfig.h:
1196 I18n fixes.
1197
11981999-05-30 Jesse Thilo <jthilo@gnu.org>
1199
1200 * doc/FAQ, doc/Makefile.am:
1201 Added a FAQ list.
1202
12031999-05-19 Jesse Thilo <jthilo@gnu.org>
1204
1205 * src/alloc.h, src/symtab.h, src/version.c:
1206 Protected inclusion of "config.h" with HAVE_CONFIG_H.
1207
12081999-04-18 Jesse Thilo <jthilo@gnu.org>
1209
1210 * src/.cvsignore, src/Makefile.am:
1211 Reorganized: sources in `src', documentation in `doc'.
1212
1213 * src/lex.c (literalchar):
1214 fixed the code for escaping double quotes (thanks
1215 Jonathan Czisny.)
1216
12171999-04-18 Jesse Thilo <jthilo@gnu.org>
1218
1219 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
1220 Adjusted paths to reflect directory reorganization.
1221
12221999-04-18 Jesse Thilo <jthilo@gnu.org>
1223
1224 * doc/.cvsignore, doc/Makefile.am:
1225 Reorganized: sources in `src', documentation in `doc'.
1226
12271999-04-18 Jesse Thilo <jthilo@gnu.org>
1228
1229 * configure.in:
1230 Updated AC_INIT file to reflect directory reorganization.
1231
1232 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
1233 Reorganized: sources in `src', documentation in `doc'.
1234
12351999-04-13 Jesse Thilo <jthilo@gnu.org>
1236
1237 * src/allocate.c:
1238 Don't declare calloc() and realloc() if not necessary.
1239
12401999-04-13 Jesse Thilo <jthilo@gnu.org>
1241
1242 * configure.in, acconfig.h, acinclude.m4:
1243 Don't declare calloc() and realloc() if not necessary.
1244
12451999-03-23 Jesse Thilo <jthilo@gnu.org>
1246
1247 * po/.cvsignore: Added i18n support.
1248
12491999-03-23 Jesse Thilo <jthilo@gnu.org>
1250
1251 * acconfig.h, configure.in, Makefile.am:
1252 Added i18n support.
1253
12541999-03-22 Jesse Thilo <jthilo@gnu.org>
1255
1256 * src/bison.s1: Fixed #line numbers.
1257
12581999-03-15 Jesse Thilo <jthilo@gnu.org>
1259
1260 * po/es.po, po/fr.po, po/nl.po, po/de.po:
1261 Added PO files from Translation Project.
1262
12631999-03-03 Jesse Thilo <jthilo@gnu.org>
1264
1265 * Makefile.am:
1266 Added support for non-ANSI compilers (ansi2knr).
1267
12681999-02-16 Jesse Thilo <jthilo@gnu.org>
1269
1270 * configure.in: Bumped version number to 1.27.
1271
1272 * Makefile.am:
1273 Added `bison.simple' to list of files removed by `make distclean'.
1274
12751999-02-12 Jesse Thilo <jthilo@gnu.org>
1276
1277 * src/files.c, src/files.h:
1278 Defined locations of parser files in config.h instead of Makefile.
1279
12801999-02-12 Jesse Thilo <jthilo@gnu.org>
1281
1282 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
1283 Defined locations of parser files in config.h instead of Makefile.
1284
12851999-02-09 Jesse Thilo <jthilo@gnu.org>
1286
1287 * Makefile.am:
1288 Removed inappropriate use of $< macro.
1289
12901999-02-05 Jesse Thilo <jthilo@gnu.org>
1291
1292 * po/Makefile.in.in, po/POTFILES.in:
1293 Add `po' directory skeleton.
1294
12951999-01-27 Jesse Thilo <jthilo@gnu.org>
1296
1297 * README: Document help-bison list.
1298
1299 * configure.in: Add check for mkstemp().
1300
13011999-01-20 Jesse Thilo <jthilo@gnu.org>
1302
1303 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
1304 Hush a few compiler warnings.
1305
1306 * src/files.c:
1307 Add tryclose(), which verifies that fclose was successful.
1308 Hush a couple of compiler warnings.
1309
13101999-01-20 Jesse Thilo <jthilo@gnu.org>
1311
1312 * Makefile.am, OChangeLog:
1313 ChangeLog is now automatically generated. Include the old version as
1314 OChangeLog.
1315
13161999-01-14 Jesse Thilo <jthilo@gnu.org>
1317
1318 * 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:
1319 Update FSF address.
1320
13211999-01-14 Jesse Thilo <jthilo@gnu.org>
1322
1323 * doc/bison.texinfo: Fix formatting glitch.
1324
1325 * doc/bison.texinfo: Update FSF address.
1326
13271999-01-14 Jesse Thilo <jthilo@gnu.org>
1328
1329 * acconfig.h: Update FSF address.
1330
13311999-01-08 Jesse Thilo <jthilo@gnu.org>
1332
1333 * src/system.h:
1334 Don't define PACKAGE here, since config.h defines it.
1335
13361998-12-30 Jesse Thilo <jthilo@gnu.org>
1337
1338 * src/reader.c: Update copyright date.
1339
1340 * src/main.c:
1341 Ditch sprintf to statically-sized buffers in fatal/warn functions in
1342 favor of output directly to stderr (avoids buffer overruns).
1343
1344 * src/reader.c: Some checks for premature EOF.
1345
1346 * 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:
1347 Use prototypes if the compiler understands them.
1348
1349 * src/files.c: Honor TMPDIR on Unix hosts.
1350 Use prototypes if the compiler understands them.
1351
1352 * src/reader.c:
1353 Fix a couple of buffer overrun bugs.
1354 Use prototypes if the compiler understands them.
1355
1356 * src/system.h: Include unistd.h and ctype.h.
1357 Use #ifdef instead of #if for NLS symbols.
1358
13591998-12-30 Jesse Thilo <jthilo@gnu.org>
1360
1361 * doc/bison.texinfo:
1362 Delete comment "consider using @set for edition number, etc..." since
1363 we now are doing so.
1364
13651998-12-30 Jesse Thilo <jthilo@gnu.org>
1366
1367 * configure.in:
1368 Use prototypes if the compiler understands them.
1369
1370 * NEWS: Document 1.26 highlights.
1371
1372 * Makefile.am: Require Automake 1.3 or later.
1373
1374 * acconfig.h:
1375 Use prototypes if the compiler understands them.
1376
13771998-12-29 Jesse Thilo <jthilo@gnu.org>
1378
1379 * src/version.c:
1380 Use VERSION symbol from automake for version number.
1381
13821998-12-29 Jesse Thilo <jthilo@gnu.org>
1383
1384 * acconfig.h, configure.in, version.cin:
1385 Use VERSION symbol from automake for version number.
1386
13871998-11-28 Jesse Thilo <jthilo@gnu.org>
1388
1389 * Makefile.am:
1390 Distribute original version of simple parser (bison.s1), not built
1391 version (bison.simple).
1392
13931998-11-28 Jesse Thilo <jthilo@gnu.org>
1394
1395 * doc/bison.texinfo: Add info dir entry.
1396
1397 * doc/bison.texinfo:
1398 Let automake put version number into documentation.
1399
14001998-11-26 Jesse Thilo <jthilo@gnu.org>
1401
1402 * src/bison.cld, src/build.com, src/vmshlp.mar:
1403 Add non-RCS files from /gd/gnu/bison.
1404
14051998-11-26 Jesse Thilo <jthilo@gnu.org>
1406
1407 * doc/bison.1:
1408 Document the BISON_HAIRY and BISON_SIMPLE variables.
1409
14101998-11-25 Jesse Thilo <jthilo@gnu.org>
1411
1412 * src/version.c: Build version.c automatically.
1413
1414 * src/reader.c:
1415 Fix token numbering (used to start at 258, not 257).
1416
1417 * src/system.h: Include config.h.
1418
1419 * src/getargs.c: Update bug report address.
1420
1421 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
1422 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
1423
14241998-11-25 Jesse Thilo <jthilo@gnu.org>
1425
1426 * Makefile.am:
1427 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1428
1429 * configure.in, version.cin:
1430 Build version.c automatically.
1431
1432 * AUTHORS: Add AUTHORS file.
1433
1434 * README: Update bug report address.
1435
1436 * bison.simple:
1437 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1438
1439 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
1440 Add automake stuff.
1441
14421998-11-25 Jesse Thilo <jthilo@gnu.org>
1443
1444 * doc/bison.texinfo: Clean up some formatting.
1445
14461998-05-05 Richard Stallman <rms@gnu.org>
1447
1448 * doc/bison.texinfo:
1449 Explain better why to make a pure parser.
1450
14511998-01-05 Richard Stallman <rms@gnu.org>
1452
1453 * src/files.c (openfiles):
1454 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
1455 find a temporary directory, if possible. Do not unlink files while
1456 they are open.
1457
14581997-08-25 Richard Stallman <rms@gnu.org>
1459
1460 * src/reader.c (stack_offset;):
1461 Change some warni to warns.
1462
1463 * src/lex.c (literalchar): Use warns, not warni.
1464
14651997-06-28 Richard Stallman <rms@gnu.org>
1466
1467 * src/bison.s1: Add a Bison version comment.
1468
1469 * src/main.c (fatal, warn, berror):
1470 Use program_name.
1471
14721997-06-28 Richard Stallman <rms@gnu.org>
1473
1474 * Makefile.in (bison_version): New variable.
1475 (dist): Use that variable.
1476 (bison.s1): Substitute the Bison version into bison.simple.
1477
1478 * bison.simple: Add a Bison version comment.
1479
14801997-06-18 Richard Stallman <rms@gnu.org>
1481
1482 * src/main.c (fatal, warn, berror):
1483 Make error messages standard.
1484 (toomany): Improve error message text.
1485
1486 * 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:
1487 new.h renamed to alloc.h.
1488
14891997-06-18 Richard Stallman <rms@gnu.org>
1490
1491 * Makefile.in: new.h renamed to alloc.h.
1492
14931997-05-24 Richard Stallman <rms@gnu.org>
1494
1495 * src/lex.c (literalchar):
1496 Fix the code for escaping \, " and '.
1497
1498 (lex): Avoid trouble when there are many chars
1499 to discard in a char literal with just several chars in it.
1500
15011997-05-17 Richard Stallman <rms@gnu.org>
1502
1503 * src/bison.s1:
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-05-17 Richard Stallman <rms@gnu.org>
1512
1513 * bison.simple:
1514 Use malloc, if using alloca is troublesome.
1515 (YYSTACK_USE_ALLOCA): New flag macro.
1516 Define it for some systems and compilers.
1517 (YYSTACK_ALLOC): New macro.
1518 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1519 If it was malloc'd, free it.
1520
15211997-04-23 Richard Stallman <rms@gnu.org>
1522
1523 * src/bison.s1:
1524 (alloca) [__hpux]: Always define as __builtin_alloca.
1525
15261997-04-23 Richard Stallman <rms@gnu.org>
1527
1528 * bison.simple:
1529 (alloca) [__hpux]: Always define as __builtin_alloca.
1530
15311997-04-22 Richard Stallman <rms@gnu.org>
1532
1533 * src/bison.s1:
1534 [__hpux]: Include alloca.h (right for HPUX 10)
1535 instead of declaring alloca (right for HPUX 9).
1536
1537 * src/bison.s1 (__yy_memcpy):
1538 Declare arg `count' as unsigned int.
1539 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1540
15411997-04-22 Richard Stallman <rms@gnu.org>
1542
1543 * bison.simple:
1544 [__hpux]: Include alloca.h (right for HPUX 10)
1545 instead of declaring alloca (right for HPUX 9).
1546
1547 * bison.simple (__yy_memcpy):
1548 Declare arg `count' as unsigned int.
1549 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1550
15511997-01-03 Richard Stallman <rms@gnu.org>
1552
1553 * src/allocate.c: [__STDC__ or _MSC_VER]:
1554 Declare calloc and realloc to return void *.
1555
15561997-01-02 Richard Stallman <rms@gnu.org>
1557
1558 * src/system.h:
1559 [_MSC_VER]: Include stdlib.h and process.h.
1560 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
1561
1562 * src/main.c (main): Return FAILURE as a value.
1563 (printable_version): Declare arg as int, not char.
1564
15651997-01-02 Richard Stallman <rms@gnu.org>
1566
1567 * Makefile.in (dist):
1568 Explicitly check for symlinks, and copy them.
1569
15701996-12-19 Richard Stallman <rms@gnu.org>
1571
1572 * src/files.c:
1573 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
1574
15751996-12-18 Paul Eggert <eggert@gnu.org>
1576
1577 * src/bison.s1 (yyparse):
1578 If __GNUC__ and YYPARSE_PARAM are both defined,
1579 declare yyparse to have a void * argument.
1580
15811996-12-18 Paul Eggert <eggert@gnu.org>
1582
1583 * bison.simple (yyparse):
1584 If __GNUC__ and YYPARSE_PARAM are both defined,
1585 declare yyparse to have a void * argument.
1586
15871996-12-17 Richard Stallman <rms@gnu.org>
1588
1589 * src/reduce.c (nbits): Add some casts.
1590
15911996-08-12 Richard Stallman <rms@gnu.org>
1592
1593 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
1594
15951996-08-12 Richard Stallman <rms@gnu.org>
1596
1597 * bison.simple: Test _MSDOS as well as _MSDOS_.
1598
15991996-07-31 Richard Stallman <rms@gnu.org>
1600
1601 * src/bison.s1:
1602 [__sun && __i386]: Include alloca.h.
1603
16041996-07-31 Richard Stallman <rms@gnu.org>
1605
1606 * bison.simple:
1607 [__sun && __i386]: Include alloca.h.
1608
16091996-07-30 Richard Stallman <rms@gnu.org>
1610
1611 * src/bison.s1: Comment change.
1612
1613 * src/bison.s1: Test _MSDOS_, not MSDOS.
1614
16151996-07-30 Richard Stallman <rms@gnu.org>
1616
1617 * bison.simple: Comment change.
1618
1619 * bison.simple: Test _MSDOS_, not MSDOS.
1620
16211996-06-01 Richard Stallman <rms@gnu.org>
1622
1623 * 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:
1624 Insert `_' macro around many string constants.
1625
1626 * src/main.c:
1627 Insert `_' macro around many string constants.
1628
1629 (main): Call setlocale, bindtextdomain and textdomain.
1630
1631 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
1632 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
1633 [ENABLE_NLS]: Include libintl.h.
1634 [ENABLE_NLS] (gettext): Define.
1635 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
1636 (N_, PACKAGE, LOCALEDIR): New macros.
1637
16381996-06-01 Richard Stallman <rms@gnu.org>
1639
1640 * POTFILES.in: New file.
1641
1642 * Makefile.in (allocate.o):
1643 Define target explicitly.
1644
1645 * Makefile.in (CFLAGS): Set to @CFLAGS@.
1646 (LDFLAGS): Set to @LDFLAGS@.
1647 (configure): Run autoconf only if preceding `cd' succeeds.
1648 (bison.s1): Redirect output to temporary file then move the
1649 temporary to the target, rather than redirecting directly to bison.s1.
1650 (clean): Remove config.status and config.log.
1651 (distclean): Don't remove config.status here.
1652
16531996-05-12 Richard Stallman <rms@gnu.org>
1654
1655 * src/bison.s1:
1656 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1657
16581996-05-12 Richard Stallman <rms@gnu.org>
1659
1660 * bison.simple:
1661 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1662
16631996-05-11 Richard Stallman <rms@gnu.org>
1664
1665 * src/bison.s1 (__yy_memcpy):
1666 Really reorder the args, as was supposedly done on Feb 14 1995.
1667 (yyparse): Calls changed accordingly.
1668
16691996-05-11 Richard Stallman <rms@gnu.org>
1670
1671 * Makefile.in (dist): Don't use $(srcdir).
1672
1673 * bison.simple (__yy_memcpy):
1674 Really reorder the args, as was supposedly done on Feb 14 1995.
1675 (yyparse): Calls changed accordingly.
1676
16771996-01-27 Richard Stallman <rms@gnu.org>
1678
1679 * src/output.c (output_rule_data):
1680 Test YYERROR_VERBOSE in the conditional
1681 around the definition of ttyname.
1682
16831995-12-29 Richard Stallman <rms@gnu.org>
1684
1685 * src/bison.s1:
1686 Fix line numbers in #line commands.
1687
16881995-12-29 Richard Stallman <rms@gnu.org>
1689
1690 * bison.simple:
1691 Fix line numbers in #line commands.
1692
16931995-12-27 Richard Stallman <rms@gnu.org>
1694
1695 * src/bison.s1 (YYPARSE_PARAM_DECL):
1696 In C++, make it always null.
1697 (YYPARSE_PARAM_ARG): New macro.
1698 (yyparse): Use YYPARSE_PARAM_ARG.
1699
17001995-12-27 Richard Stallman <rms@gnu.org>
1701
1702 * bison.simple (YYPARSE_PARAM_DECL):
1703 In C++, make it always null.
1704 (YYPARSE_PARAM_ARG): New macro.
1705 (yyparse): Use YYPARSE_PARAM_ARG.
1706
17071995-11-29 Richard Stallman <rms@gnu.org>
1708
1709 * doc/bison.texinfo:
1710 Describe literal string tokens, %raw, %no_lines, %token_table.
1711
17121995-11-29 Daniel Hagerty <hag@gnu.org>
1713
1714 * doc/bison.texinfo: Fixed update date
1715
17161995-10-16 Richard Stallman <rms@gnu.org>
1717
1718 * src/version.c: Version 1.25.
1719
17201995-10-16 Richard Stallman <rms@gnu.org>
1721
1722 * NEWS: *** empty log message ***
1723
17241995-10-16 Richard Stallman <rms@gnu.org>
1725
1726 * doc/bison.1, doc/bison.rnh:
1727 Add new options.
1728
17291995-10-15 Richard Stallman <rms@gnu.org>
1730
1731 * src/vmsgetargs.c, src/getargs.c:
1732 Added -n, -k, and -raw switches.
1733 (noparserflag, toknumflag, rawtoknumflag): New variables.
1734
1735 * src/symtab.h (SALIAS):
1736 New #define for adding aliases to %token.
1737 (struct bucket): Added `alias' field.
1738
1739 * src/reduce.c (reduce_grammar):
1740 Revise error message.
1741 (print_notices): Remove final `.' from error message.
1742
1743 * src/reader.c (reader_output_yylsp):
1744 New function.
1745 (readgram): Use `#if 0' around code that accepted %command
1746 inside grammar rules: The documentation doesn't allow it,
1747 and it will fail since the %command processors scan for the next %.
1748 (parse_token_decl): Extended the %token
1749 declaration to allow a multi-character symbol as an alias.
1750 (parse_thong_decl): New function.
1751 (read_declarations): Added %thong declarations.
1752 (read_declarations): Handle NOOP to deal with allowing
1753 % declarations as another means to specify the flags.
1754 (readgram): Allow %prec prior to semantics embedded in a rule.
1755 (skip_to_char, read_declarations, copy_definition)
1756 (parse_token_decl, parse_start_decl, parse_type_decl)
1757 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1758 (get_type_name, copy_guard, copy_action, readgram)
1759 (get_type, packsymbols): Revised most error messages.
1760 Changed `fatal' to `warnxxx' to avoid aborting for error.
1761 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1762 (read_declarations): Improve the error message for
1763 an invalid character. Do not abort.
1764 (read_declarations, copy_guard, copy_action): Use
1765 printable_version to avoid unprintable characters in printed output.
1766 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1767 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1768 Allow the type of a non-terminal can be given
1769 more than once, as long as all specifications give the same type.
1770
1771 * src/output.c:
1772 (output_headers, output_trailers, output, output_gram)
1773 (output_rule_data): Implement noparserflag variable.
1774 Implement toknumflag variable.
1775 (output): Call reader_output_yylsp to output LTYPESTR.
1776
1777 * src/main.c (main):
1778 If reader sees an error, don't process the grammar.
1779 (fatals): Updated to not use VARARGS1.
1780 (printable_version, int_to_string, warn, warni, warns, warnss)
1781 (warnsss): New error reporting functions. Avoid abort for error.
1782
1783 * src/lex.h:
1784 Added THONG and NOOP for alias processing.
1785 Added SETOPT for the new code that allows setting options with %flags.
1786
1787 * src/lex.c:
1788 Include getopt.h. Add some extern decls.
1789 (safegetc): New function to deal with EOF gracefully.
1790 (literalchar); new function to deal with reading \ escapes.
1791 (lex): Use literalchar.
1792 (lex): Implemented "..." tokens.
1793 (literalchar, lex, parse_percent_token): Made tokenbuffer
1794 always contain the token. This includes growing the token
1795 buffer while reading an integer.
1796 (parse_percent_token): Replaced if-else statement with percent_table.
1797 (parse_percent_token): Added % declarations as another
1798 way to specify the flags -n, -l, and -r. Also added hooks for
1799 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1800 major changes to files.c.
1801 (lex) Retain in the incoming stream a character following
1802 an incorrect '/'.
1803 (skip_white_space, lex): Revised most error messages
1804 and changed fatal to warn to avoid aborting.
1805 (percent_table): Added %thong declarations.
1806
1807 * src/gram.h: Comment changes.
1808
1809 * src/files.c (openfiles, open_extra_files, done):
1810 Add faction flag
1811 and actfile file. Handle noparserflag. Both for -n switch.
1812
1813 * src/conflicts.c (resolve_sr_conflict):
1814 Remove use of alloca.
1815
18161995-06-01 Jim Meyering <meyering@gnu.org>
1817
1818 * doc/bison.texinfo: *** empty log message ***
1819
18201995-05-06 Richard Stallman <rms@gnu.org>
1821
1822 * src/bison.s1: Comment change.
1823
18241995-05-06 Richard Stallman <rms@gnu.org>
1825
1826 * bison.simple: Comment change.
1827
18281995-05-03 Richard Stallman <rms@gnu.org>
1829
1830 * src/version.c: Version now 1.24.
1831
1832 * src/bison.s1: Change distribution terms.
1833
1834 * src/version.c: Version now 1.23.
1835
18361995-05-03 Richard Stallman <rms@gnu.org>
1837
1838 * doc/bison.texinfo:
1839 Rewrite "Conditions for Using Bison".
1840 Update version to 1.24.
1841
18421995-05-03 Richard Stallman <rms@gnu.org>
1843
1844 * bison.simple: Change distribution terms.
1845
18461995-02-23 Richard Stallman <rms@gnu.org>
1847
1848 * src/files.c: Test __VMS_POSIX as well as VMS.
1849
18501995-02-14 Jim Meyering <meyering@gnu.org>
1851
1852 * src/bison.s1 (__yy_memcpy):
1853 Renamed from __yy_bcopy to avoid
1854 confusion. Reverse FROM and TO arguments to be consistent with
1855 those of memcpy.
1856
18571995-02-14 Jim Meyering <meyering@gnu.org>
1858
1859 * bison.simple (__yy_memcpy):
1860 Renamed from __yy_bcopy to avoid
1861 confusion. Reverse FROM and TO arguments to be consistent with
1862 those of memcpy.
1863
18641994-11-10 David J. MacKenzie <djm@gnu.org>
1865
1866 * NEWS: reformat
1867
1868 * NEWS: New file.
1869
1870 * Makefile.in (DISTFILES): Include NEWS.
1871
1872 * Makefile.in (DISTFILES):
1873 Include install-sh, not install.sh.
1874
1875 * configure.in: Update to Autoconf v2 macro names.
1876
18771994-10-05 David J. MacKenzie <djm@gnu.org>
1878
1879 * Makefile.in: fix typo
1880
1881 * Makefile.in (prefix, exec_prefix):
1882 Let configure set them.
1883
18841994-09-28 David J. MacKenzie <djm@gnu.org>
1885
1886 * Makefile.in: Set datadir to $(prefix)/share.
1887
18881994-09-15 Richard Stallman <rms@gnu.org>
1889
1890 * src/bison.s1:
1891 Update copyright notice and GPL version.
1892
18931994-09-15 Richard Stallman <rms@gnu.org>
1894
1895 * bison.simple:
1896 Update copyright notice and GPL version.
1897
18981994-07-12 Richard Stallman <rms@gnu.org>
1899
1900 * src/reduce.c, src/reader.c:
1901 entered into RCS
1902
19031994-05-05 David J. MacKenzie <djm@gnu.org>
1904
1905 * Makefile.in: entered into RCS
1906
19071994-03-26 Richard Stallman <rms@gnu.org>
1908
1909 * src/bison.s1: entered into RCS
1910
19111994-03-26 Richard Stallman <rms@gnu.org>
1912
1913 * bison.simple: entered into RCS
1914
19151994-03-25 Richard Stallman <rms@gnu.org>
1916
1917 * src/main.c: entered into RCS
1918
19191994-03-24 Richard Stallman <rms@gnu.org>
1920
1921 * src/conflicts.c: entered into RCS
1922
19231994-01-02 Richard Stallman <rms@gnu.org>
1924
1925 * Makefile.in: *** empty log message ***
1926
19271993-11-21 Richard Stallman <rms@gnu.org>
1928
1929 * src/bison.s1: *** empty log message ***
1930
19311993-11-21 Richard Stallman <rms@gnu.org>
1932
1933 * doc/bison.texinfo: entered into RCS
1934
1935 * doc/bison.texinfo: *** empty log message ***
1936
19371993-11-21 Richard Stallman <rms@gnu.org>
1938
1939 * bison.simple: *** empty log message ***
1940
19411993-10-25 David J. MacKenzie <djm@gnu.org>
1942
1943 * doc/bison.texinfo: *** empty log message ***
1944
19451993-10-19 Richard Stallman <rms@gnu.org>
1946
1947 * src/bison.s1: *** empty log message ***
1948
19491993-10-19 Richard Stallman <rms@gnu.org>
1950
1951 * bison.simple: *** empty log message ***
1952
19531993-10-14 Richard Stallman <rms@gnu.org>
1954
1955 * src/bison.s1: *** empty log message ***
1956
19571993-10-14 Richard Stallman <rms@gnu.org>
1958
1959 * bison.simple: *** empty log message ***
1960
19611993-09-14 David J. MacKenzie <djm@gnu.org>
1962
1963 * doc/bison.texinfo: *** empty log message ***
1964
19651993-09-13 Noah Friedman <friedman@gnu.org>
1966
1967 * Makefile.in: *** empty log message ***
1968
19691993-09-10 Richard Stallman <rms@gnu.org>
1970
1971 * src/conflicts.c: *** empty log message ***
1972
1973 * src/system.h: entered into RCS
1974
19751993-09-10 Richard Stallman <rms@gnu.org>
1976
1977 * doc/bison.1: entered into RCS
1978
19791993-09-06 Noah Friedman <friedman@gnu.org>
1980
1981 * src/version.c: entered into RCS
1982
19831993-09-06 Noah Friedman <friedman@gnu.org>
1984
1985 * Makefile.in: *** empty log message ***
1986
19871993-07-30 David J. MacKenzie <djm@gnu.org>
1988
1989 * Makefile.in: *** empty log message ***
1990
19911993-07-24 Richard Stallman <rms@gnu.org>
1992
1993 * src/bison.s1: *** empty log message ***
1994
19951993-07-24 Richard Stallman <rms@gnu.org>
1996
1997 * bison.simple: *** empty log message ***
1998
19991993-07-08 David J. MacKenzie <djm@gnu.org>
2000
2001 * Makefile.in: *** empty log message ***
2002
20031993-07-04 Richard Stallman <rms@gnu.org>
2004
2005 * src/bison.s1: *** empty log message ***
2006
20071993-07-04 Richard Stallman <rms@gnu.org>
2008
2009 * bison.simple: *** empty log message ***
2010
20111993-06-26 David J. MacKenzie <djm@gnu.org>
2012
2013 * src/getargs.c: entered into RCS
2014
20151993-06-26 David J. MacKenzie <djm@gnu.org>
2016
2017 * doc/bison.texinfo: *** empty log message ***
2018
2019 * doc/bison.1: New file.
2020
20211993-06-25 Richard Stallman <rms@gnu.org>
2022
2023 * src/getargs.c: New file.
2024
20251993-06-16 Richard Stallman <rms@gnu.org>
2026
2027 * src/bison.s1: *** empty log message ***
2028
20291993-06-16 Richard Stallman <rms@gnu.org>
2030
2031 * bison.simple: *** empty log message ***
2032
20331993-06-03 Richard Stallman <rms@gnu.org>
2034
2035 * src/bison.s1: New file.
2036
20371993-06-03 Richard Stallman <rms@gnu.org>
2038
2039 * doc/bison.texinfo: *** empty log message ***
2040
20411993-06-03 Richard Stallman <rms@gnu.org>
2042
2043 * bison.simple: New file.
2044
20451993-05-19 Richard Stallman <rms@gnu.org>
2046
2047 * doc/bison.texinfo: New file.
2048
20491993-05-07 Noah Friedman <friedman@gnu.org>
2050
2051 * Makefile.in: *** empty log message ***
2052
20531993-04-28 Noah Friedman <friedman@gnu.org>
2054
2055 * src/reader.c: *** empty log message ***
2056
20571993-04-23 Noah Friedman <friedman@gnu.org>
2058
2059 * src/alloc.h: entered into RCS
2060
20611993-04-20 David J. MacKenzie <djm@gnu.org>
2062
2063 * src/version.c: *** empty log message ***
2064
2065 * src/files.c, src/allocate.c:
2066 entered into RCS
2067
2068 * src/reader.c: *** empty log message ***
2069
2070 * src/lex.c: entered into RCS
2071
2072 * src/conflicts.c: New file.
2073
2074 * src/symtab.c: entered into RCS
2075
2076 * src/alloc.h: New file.
2077
2078 * src/LR0.c: entered into RCS
2079
20801993-04-18 Noah Friedman <friedman@gnu.org>
2081
2082 * src/reader.c: New file.
2083
2084 * src/version.c: *** empty log message ***
2085
20861993-04-18 Noah Friedman <friedman@gnu.org>
2087
2088 * Makefile.in: *** empty log message ***
2089
20901993-04-17 Noah Friedman <friedman@gnu.org>
2091
2092 * Makefile.in: *** empty log message ***
2093
20941993-04-15 Richard Stallman <rms@gnu.org>
2095
2096 * src/main.c, src/files.c:
2097 New file.
2098
20991993-04-15 Noah Friedman <friedman@gnu.org>
2100
2101 * configure.in: entered into RCS
2102
2103 * configure.in: *** empty log message ***
2104
2105 * configure.in: New file.
2106
21071993-04-14 Richard Stallman <rms@gnu.org>
2108
2109 * Makefile.in: New file.
2110
21111993-04-13 Richard Stallman <rms@gnu.org>
2112
2113 * src/version.c: New file.
2114
21151993-03-25 Richard Stallman <rms@gnu.org>
2116
2117 * src/output.c: entered into RCS
2118
21191992-09-25 Richard Stallman <rms@gnu.org>
2120
2121 * configure.bat: entered into RCS
2122
21231992-06-22 Richard Stallman <rms@gnu.org>
2124
2125 * src/vmsgetargs.c: entered into RCS
2126
21271992-06-22 Richard Stallman <rms@gnu.org>
2128
2129 * doc/bison.rnh: entered into RCS
2130
21311992-04-20 David J. MacKenzie <djm@gnu.org>
2132
2133 * README: entered into RCS
2134
21351992-01-22 Richard Stallman <rms@gnu.org>
2136
2137 * src/machine.h: entered into RCS
2138
21391991-12-21 Richard Stallman <rms@gnu.org>
2140
2141 * src/lalr.c, src/closure.c:
2142 entered into RCS
2143
21441991-12-20 Richard Stallman <rms@gnu.org>
2145
2146 * src/state.h: entered into RCS
2147
21481991-12-18 Richard Stallman <rms@gnu.org>
2149
2150 * src/print.c, src/nullable.c, src/derives.c:
2151 entered into RCS
2152
21531991-11-03 David J. MacKenzie <djm@gnu.org>
2154
2155 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
2156 entered into RCS
2157
21581988-09-09 Richard Stallman <rms@gnu.org>
2159
2160 * src/bison.hairy: entered into RCS
2161
21621987-12-16 Richard Stallman <rms@gnu.org>
2163
2164 * REFERENCES: entered into RCS