]> git.saurik.com Git - bison.git/blame - ChangeLog
* src/complain.c: Adjust strerror_r portability issues.
[bison.git] / ChangeLog
CommitLineData
8f13fe33
AD
12001-08-03 Akim Demaille <akim@epita.fr>
2
3 * src/complain.c: Adjust strerror_r portability issues.
4
b37ba92c
AD
52001-08-03 Akim Demaille <akim@epita.fr>
6
7 Version 1.28a.
8
b0ce6046
AD
92001-08-03 Akim Demaille <akim@epita.fr>
10
11 * src/getargs.c, src/getarg.h (skeleton)): Constify.
12 * src/lex.c (literalchar): Avoid name clashes on `buf'.
13 * src/getargs.c: Include complain.h.
14 * src/files.c, src/files.h (skeleton_find): Avoid name clashes.
15 * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1.
16
d01c415b
AD
172001-08-03 Akim Demaille <akim@epita.fr>
18
19 * src/reader.c (readgram): Display hidden chars in error messages.
20
459dd1a6
AD
212001-08-03 Akim Demaille <akim@epita.fr>
22
23 Update to gettext 0.10.39.
24
53b74c0c
AD
252001-08-03 Akim Demaille <akim@epita.fr>
26
27 * lib/strspn.c: New.
28
234a3be3
AD
292001-08-01 Marc Autret <autret_m@epita.fr>
30
31 * doc/bison.texinfo: Update.
32 * doc/bison.1 (mandoc): Update.
33 * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h.
34 * src/files.c: Support output files extensions computing.
35 (src_extension): New static variable.
36 (header_extension): New static variable.
37 (tr): New function.
38 (get_extension_index): New function, gets the index of an extension
39 filename in a string.
40 (compute_exts_from_gf): New function, computes extensions from the
41 grammar file extension.
42 (compute_exts_from_src): New functions, computes extensions from the
43 C source file extension, file given by ``-o'' option.
44 (compute_base_names): Update.
45 (output_files): Update.
46
847bf1f5
AD
472001-08-01 Robert Anisko <anisko_r@epita.fr>
48
d995fee7 49 * doc/bison.texi: Document @$.
847bf1f5
AD
50 (Locations): New section.
51
d074a105
AD
522001-07-18 Akim Demaille <akim@epita.fr>
53
54 * Makefile.maint, GNUmakefile: New, from Autoconf 2.52.
55 * config/prev-version.txt, config/move-if-change: New.
56 * Makefile.am: Adjust.
57
3419715d
AD
582001-07-08 Pascal Bart <pascal.bart@epita.fr>
59
60 * src/bison.simple (yyparse): Suppress warning `comparaison
61 between signed and unsigned'.
62
62ab6972
AD
632001-07-05 Pascal Bart <pascal.bart@epita.fr>
64
65 * src/getargs.h (raw_flag): Remove.
66 * src/getargs.c: Die on `-r'/`--raw'.
67 * src/lex.c (parse_percent_token): Die on `%raw'.
68 * src/reader.c (output_token_defines): Suppress call to `raw_flag'.
69 * tests/calc.at: Suppress test with option `--raw'.
70
1e24cc5b
AD
712001-07-14 Akim Demaille <akim@epita.fr>
72
73 * config/: New.
74 * configure.in: Require Autoconf 2.50.
75 Update to gettext 0.10.38.
76
32dfccf8
AD
772001-03-16 Akim Demaille <akim@epita.fr>
78
79 * doc/bison.texinfo: ANSIfy the examples.
80
cd5bd6ac
AD
812001-03-16 Akim Demaille <akim@epita.fr>
82
83 * getargs.c (skeleton): New variable.
84 (longopts): --skeleton is a new option.
85 (shortopts, getargs): -S is a new option.
86 * getargs.h: Declare skeleton.
87 * output.c (output_parser): Use it.
88
5141b016
AD
892001-03-16 Akim Demaille <akim@epita.fr>
90
91 * m4/strerror_r.m4: New.
92 * m4/error.m4: Run AC_FUNC_STRERROR_R.
93 * lib/error.h, lib/error.c: Update.
94
447992b9
AD
952001-03-16 Akim Demaille <akim@epita.fr>
96
97 * src/getargs.c (longopts): Clean up.
98
274d42ce
AD
992001-02-21 Akim Demaille <akim@epita.fr>
100
101 * src/reader.c (gensym): `gensym_count' is your own.
102 Use a static buf to create the symbol name, as token_buffer is no
103 longer a buffer.
104
22c821f3
AD
1052001-02-08 Akim Demaille <akim@epita.fr>
106
107 * src/conflicts.c (conflict_report): Be sure not to append to res
108 between two calls, which could happen if both first sprintf were
109 skipped, but not the first cp += strlen.
110
18569462
AD
1112001-02-08 Akim Demaille <akim@epita.fr>
112
113 * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c:
114 New, from fileutils 4.0.37.
115 * configure.in: Require Autoconf 2.49c. I took some time before
116 making this decision. This is the only way out for portability
117 issues in Bison, it would mean way too much duplicate effort to
118 import in Bison features implemented in 2.49c since 2.13.
119 AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above.
120
0d8f3c8a
AD
1212001-02-02 Akim Demaille <akim@epita.fr>
122
123 * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37.
66075dcf 124 * lib/xalloc.h, lib/xmalloc.c: Update.
0d8f3c8a 125
f17bcd1f
AD
1262001-01-19 Akim Demaille <akim@epita.fr>
127
128 Get rid of the ad hoc handling of token_buffer in the scanner: use
129 the obstacks.
130
131 * src/lex.c (token_obstack): New.
132 (init_lex): Initialize it. No longer call...
133 (grow_token_buffer): this. Remove it.
134 Adjust all the places which used it to use the obstack.
135
511e79b3
AD
1362001-01-19 Akim Demaille <akim@epita.fr>
137
138 * src/lex.h: Rename all the tokens:
139 s/\bENDFILE\b/tok_eof/g;
140 s/\bIDENTIFIER\b/tok_identifier/g;
141 etc.
142 Let them be enums, not #define, to ease debugging.
143 Adjust all the code.
144
0d6508ef
AD
1452001-01-18 Akim Demaille <akim@epita.fr>
146
147 * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private.
148 * src/lex.c (maxtoken, grow_token_buffer): Static.
149
6deb4447
AD
1502001-01-18 Akim Demaille <akim@epita.fr>
151
152 Since we now use obstacks, more % directives can be enabled.
153
154 * src/lex.c (percent_table): Also accept `%yacc',
155 `%fixed_output_files', `%defines', `%no_parser', `%verbose', and
156 `%debug'.
157 Handle the actions for `%semantic_parser' and `%pure_parser' here,
158 instead of returning a token.
159 * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused.
160 * src/reader.c (read_declarations): Adjust.
161 * src/files.c (open_files): Don't call `compute_base_names', don't
162 compute `attrsfile' since they depend upon data which might be
163 *in* the input file now.
164 (output_files): Do it here.
165 * src/output.c (output_headers): Document the fact that this patch
166 introduces a guaranteed SEGV for semantic parsers.
167 * doc/bison.texinfo: Document them.
168 * tests/suite.at: Exercise these %options.
169
ff4423cc
AD
1702000-12-20 Akim Demaille <akim@epita.fr>
171
172 Also handle the output file (--verbose) with obstacks.
173
174 * files.c (foutput): Remove.
175 (output_obstack): New.
176 Adjust all dependencies.
177 * src/conflicts.c: Return a string.
178 * src/system.h (obstack_grow_string): Rename as...
179 (obstack_sgrow): this. Be ready to work with non literals.
180 (obstack_fgrow4): New.
181
956dba3a
AD
1822000-12-20 Akim Demaille <akim@epita.fr>
183
184 * src/files.c (open_files): Fix the computation of short_base_name
185 in the case of `-o foo.tab.c'.
186
337bab46
AD
1872000-12-20 Akim Demaille <akim@epita.fr>
188
189 * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at)
190 (copy_dollar): Now that everything uses obstacks, get rid of the
191 FILE * parameters.
192
5d3214b8
AD
1932000-12-20 Akim Demaille <akim@epita.fr>
194
195 * src/files.c (open_files): Actually the `.output' file is based
196 on the short_base_name, not base_name.
197 * tests/suite.at (Checking output file names): Adjust.
198
29092a57
AD
1992000-12-20 Akim Demaille <akim@epita.fr>
200
201 * src/bison.s1: Remove, we now use directly...
202 * src/bison.simple: this.
203 * src/Makefile.am: Use pkgdata instead of data.
204
ea5607fd
AD
2052000-12-20 Akim Demaille <akim@epita.fr>
206
207 * src/files.c (guard_obstack): New.
208 (open_files): Initialize it.
209 (output_files): Dump it...
210 * src/files.h: Export it.
211 * src/reader.c (copy_guard): Use it.
212
27110317
AD
2132000-12-19 Akim Demaille <akim@epita.fr>
214
215 * src/files.c (outfile, defsfile, actfile): Removed as global
216 vars.
217 (open_files): Don't compute them.
218 (output_files): Adjust.
219 (base_name, short_base_name): Be global.
220 Adjust dependencies.
221
19c50364
AD
2222000-12-19 Akim Demaille <akim@epita.fr>
223
224 * src/files.c (strsuffix): New.
225 (stringappend): Be just like strcat but allocate.
226 (base_names): Eve out from open_files.
227 Try to simplify the rather hairy computation of base_name and
228 short_base_name.
229 (open_files): Use it.
230 * tests/suite.at (Checking output file names): New test.
231
573c1d9f
AD
2322000-12-19 Akim Demaille <akim@epita.fr>
233
234 * src/system.h (obstack_grow_literal_string): Rename as...
235 (obstack_grow_string): this.
236 * src/output.c (output_parser): Recognize `%% actions' instead of
237 `$'.
238 * src/bison.s1: s/$/%% actions/.
239 * src/bison.hairy: Likewise.
240
ef7ddedd
AD
2412000-12-19 Akim Demaille <akim@epita.fr>
242
243 * src/output.c (output_parser): Compute the `#line' lines when
244 there are.
245 * src/Makefile.am (bison.simple): Be a simple copy of bison.s1.
246 Suggested by Hans Aberg.
247
ff61dabd
AD
2482000-12-19 Akim Demaille <akim@epita.fr>
249
250 Let the handling of the skeleton files be local to the procedures
251 that use it.
252
253 * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No
254 longer static.
255 (fparser, open_extra_files): Remove.
256 (open_files, output_files): Don't take care of fparser.
257 * src/files.h: Adjust.
258 * src/output.c (output_parser): Open and close the file to the
259 skeleton.
260 * src/reader.c (read_declarations): When %semantic_parser, open
261 fguard.
262
55b96341
AD
2632000-12-19 Akim Demaille <akim@epita.fr>
264
265 * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here...
266 * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here.
267
358c15b7
AD
2682000-12-19 Akim Demaille <akim@epita.fr>
269
270 * src/files.c (open_files): Yipee! We no longer need all the code
271 looking for `/tmp' since we have no tmp file.
272
7de3329e
AD
2732000-12-19 Akim Demaille <akim@epita.fr>
274
275 * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C):
276 New macros.
277 * src/files.c (open_files): Less dependency on MSDOS etc.
278
3abcd459
AD
2792000-12-14 Akim Demaille <akim@epita.fr>
280
281 * src/bison.s1 (YYLLOC_DEFAULT): New macro.
282 Provide a default definition.
283 Use it when executing the default @ action.
284 * src/reader.c (reader_output_yylsp): No longer include
285 `timestamp' and `text' in the default YYLTYPE.
286
2a91a95e
AD
2872000-12-12 Akim Demaille <akim@epita.fr>
288
289 * src/reader.c (copy_definition, parse_union_decl, copy_action)
290 (copy_guard): Quote the file names.
291 Reported by Laurent Mascherpa.
292
14d3eb9b
AD
2932000-12-12 Akim Demaille <akim@epita.fr>
294
295 * src/output.c (output_headers, output_program, output): Be sure
296 to escape special characters when outputting filenames.
297 (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove.
298 (output_headers): Don't depend on them, Use ACTSTR.
299
d7045ec6
AD
3002000-11-17 Akim Demaille <akim@epita.fr>
301
302 * lib/obstack.h: Formatting changes.
303 (obstack_grow, obstack_grow0): Don't cast WHERE at all: it
304 prevents type checking.
305 (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
306 cast the value to (void *): assigning a `foo *' to a `void *'
307 variable is valid.
308 (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
309 * src/reader.c (parse_union_decl): Typo: use obstack_1grow to
310 append characters.
311
6fd54b73
AD
3122000-11-17 Akim Demaille <akim@epita.fr>
313
314 * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename
315 as...
316 (suite.m4, regression.m4, calc.m4): these.
317 * tests/atgeneral.m4: Update from CVS Autoconf.
318
4c50eae6
AD
3192000-11-17 Akim Demaille <akim@epita.fr>
320
321 * tests/regression.m4 (%union and --defines): New test,
322 demonstrating a current bug in the obstack implementation.
323
a35f64ea
AD
3242000-11-17 Akim Demaille <akim@epita.fr>
325
326 * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New
327 macros.
328 Use them to declare the variables which are global or local to
329 `yyparse'.
330
7de23534
AD
3312000-11-17 Akim Demaille <akim@epita.fr>
332
333 * acconfig.h: Remove, no longer used.
334
aa7815f5
AD
3352000-11-07 Akim Demaille <akim@epita.fr>
336
337 * src: s/Copyright (C)/Copyright/g.
338
5af1f549
AD
3392000-11-07 Akim Demaille <akim@epita.fr>
340
341 * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just
342 defining.
343 * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/.
344
553e2b22
AD
3452000-11-07 Akim Demaille <akim@epita.fr>
346
347 * src/bison.s1 (YYLEX): Use #if instead of #ifdef.
348 Merge in a single CPP if/else.
349
8a4f41d6
AD
3502000-11-07 Akim Demaille <akim@epita.fr>
351
352 * src/output.c (output): Remove useless variables.
353 * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second
354 argument `data' for consistency with the prototypes.
355 Qualify it `const'.
356 (obstack_copy, obstack_copy0): Rename the second argument as
357 `address' for consistency. Qualify it `const'.
358 * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow)
359 (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify
360 `const' their input argument (`data' or `address').
361 Adjust the corresponding macros to include `const' in casts.
362
095a3fb5
AD
3632000-11-03 Akim Demaille <akim@epita.fr>
364
365 * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/.
366 s/PFILE1/BISON_HAIRY/.
367 Adjust dependencies.
368
d1cdce7c
AD
3692000-11-03 Akim Demaille <akim@epita.fr>
370
090c5ebf 371 For some reason, this was not applied.
d1cdce7c
AD
372
373 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
374 `unlink': it's no longer used.
375
9311529b
AD
3762000-11-03 Akim Demaille <akim@epita.fr>
377
378 * src/files.c (skeleton_find): New function, eved out of...
379 (open_files, open_extra_files): here.
380
d8880f69
AD
3812000-11-03 Akim Demaille <akim@epita.fr>
382
383 Don't use `atexit'.
384
385 * src/files.c (obstack_save): New function.
386 (done): Rename as...
387 (output_files): this.
388 Use `obstack_save'.
389 * src/main.c (main): Don't use `atexit' to register `done', since
390 it no longer has to remove tmp files, just call `output_files'
391 when there are no errors.
392
0dbb648e
AD
3932000-11-02 Akim Demaille <akim@epita.fr>
394
395 * src/files.c [VMS]: No longer include `ssdef.h', no longer define
396 `unlink': it's no longer used.
397 * src/files.h: Formatting changes.
398
896fe5c1
AD
3992000-11-02 Akim Demaille <akim@epita.fr>
400
401 Remove the last uses of mktemp and unlink/delete.
402
403 * src/files.c (fdefines, ftable): Removed.
404 (defines_ostack, table_obstack): New.
405 Adjust dependencies of the former into uses of the latter.
406 * src/output.c (output_short_or_char_table, output_short_table):
407 Convert to using obstacks.
408 * src/reader.c (copy_comment2): Accept one FILE * and two
409 obstacks.
410 (output_token_defines, reader_output_yylsp): Use obstacks.
411 * src/system.h (obstack_fgrow3): New.
412
dd60faec
AD
4132000-11-01 Akim Demaille <akim@epita.fr>
414
415 Change each use of `fattrs' into a use of `attrs_obstack'.
416
417 * src/reader.c (copy_at): Typo: s/yylloc/yyloc/.
418 * src/files.c (fattrs): Remove.
419 (attrs_obstack): New.
420 Adjust all dependencies.
421 (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile.
422
8c7ebe49
AD
4232000-11-01 Akim Demaille <akim@epita.fr>
424
425 Introduce obstacks.
426 Change each use of `faction' into a use of `action_obstack'.
427
428 * lib/obstack.h, lib/obstack.c: New files.
429 * src/files.c (faction): Remove.
430 (action_obstack): New.
431 Adjust all dependencies.
432
77aee789
AD
4332000-10-20 Akim Demaille <akim@epita.fr>
434
435 * lib/quote.h (PARAMS): New macro. Use it.
436
43591cec
AD
4372000-10-16 Akim Demaille <akim@epita.fr>
438
439 * src/output.c (output_short_or_char_table): New function.
440 (output_short_table, output_token_translations): Use it.
441 (goto_actions): Use output_short_table.
442
1e9798d5
AD
4432000-10-16 Akim Demaille <akim@epita.fr>
444
445 * src/symtab.c (bucket_new): New function.
446 (getsym): Use it.
447
448 * src/output.c (output_short_table): New argument to display the
449 comment associated with the table.
450 Adjust dependencies.
451 (output_gram): Use it.
452 (output_rule_data): Nicer output layout for YYTNAME.
453
f282676b
AD
4542000-10-16 Akim Demaille <akim@epita.fr>
455
456 * src/lex.c (read_typename): New function.
457 (lex): Use it.
458 * src/reader.c (copy_dollar): Likewise.
459
550a72a3
AD
4602000-10-16 Akim Demaille <akim@epita.fr>
461
462 * src/reader.c (copy_comment2): Expect the input stream to be on
463 the `/' which is suspected to open a comment, instead of being
464 called after `//' or `/*' was read.
465 (copy_comment, copy_definition, parse_union_decl, copy_action)
466 (copy_guard): Adjust.
467
131e2fef
AD
4682000-10-16 Akim Demaille <akim@epita.fr>
469
470 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
471 `read_signed_integer'.
472
79282c5a
AD
4732000-10-16 Akim Demaille <akim@epita.fr>
474
475 * src/reader.c (copy_dollar): New function.
476 (copy_guard, copy_action): Use it.
477
ff4a34be
AD
4782000-10-16 Akim Demaille <akim@epita.fr>
479
480 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
481 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
482 New files, from Fileutils 4.0.27.
483 * src/main.c (printable_version): Remove.
484 * src/lex.c, src/reader.c: Use `quote'.
485
4862000-10-04 Akim Demaille <akim@epita.fr>
487
488 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
489
14ded682
AD
4902000-10-04 Akim Demaille <akim@epita.fr>
491
492 * doc/bison.texinfo: Various typos spotted by Neil Booth.
493
8e03724b
AD
4942000-10-04 Akim Demaille <akim@epita.fr>
495
496 When a literal string is used to define two different tokens,
497 `bison -v' segfaults.
498 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
499
500 * tests/regression.m4: New file.
501 Include the core of the sample provided by Piotr Gackiewicz.
502 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
503 properly.
504
a9e64249
AD
5052000-10-04 Akim Demaille <akim@epita.fr>
506
507 * src/reader.c (parse_expect_decl): Keep `count' within the size
508 of `buffer'.
509 From Neil Booth.
510
da9abf43
AD
5112000-10-02 Paul Eggert <eggert@twinsun.com>
512
513 * bison.s1 (yyparse): Assign the default value
514 unconditionally, to avoid a GCC warning and make the parser a
515 tad smaller.
516
c33638bb
AD
5172000-10-02 Akim Demaille <akim@epita.fr>
518
519 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
520 options.
521
444c570a
AD
5222000-10-02 Akim Demaille <akim@epita.fr>
523
524 * src/derives.c, src/print.c, src/reduce.c: To ease the
525 translation, move some `\n' out of the translated strings.
526
89cab50d
AD
5272000-10-02 Akim Demaille <akim@epita.fr>
528
529 The location tracking mechanism is precious for parse error
530 messages. Nevertheless, it is enabled only when `@n' is used in
531 the grammar, which is a different issue (you can use it in error
532 message, but not in the grammar per se). Therefore, there should
533 be another means to enable it.
534
535 * src/getargs.c (getargs): Support `--locations'.
536 (usage): Report it.
537 * src/getargs.h (locationsflag): Export it.
538 * src/lex.c (percent_table): Support `%locations'.
539 * src/reader.c (yylsp_needed): Remove this variable, now replaced
540 with `locationsflag'.
541 * doc/bison.texinfo: Document `--locations' and `%locations'.
542 Sort the options.
543 * tests/calc.m4: Test it.
544
545 For regularity of the names, replace each
546 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
547 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
548 In addition replace each `flag' with `_flag'.
549
d6c2cba0
AD
5502000-10-02 Akim Demaille <akim@epita.fr>
551
552 Also test parse error messages, including with YYERROR_VERBOSE.
553
554 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
555 associative).
556 Use it to check the computations.
557 Use it to check `nonassoc' is honored.
558 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
559 `--yyerror-verbose'.
560 (_AT_CHECK_CALC): Adjust to this option.
561 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
562
5a35a6cb
AD
5632000-10-02 Akim Demaille <akim@epita.fr>
564
565 Test also `--verbose', `--defines' and `--name-prefix'. Testing
566 the latter demonstrates a flaw in the handling of non debugging
567 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
568 was used in order to simplify:
569
570 #if YYDEBUG
571 if (yydebug)
572 {
573 ...
574 }
575 #endif
576
577 into
578
579 if (yydebug)
580 {
581 ...
582 }
583
584 unfortunately this leads to a CPP conflict when
585 `--name-prefix=foo' is used since it produces `#define yydebug
586 foodebug'.
587
588 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
589 (YYDPRINTF): New macro.
590 Spread its use.
591 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
592 the bison options.
593 Also test `--verbose', `--defines' and `--name-prefix'.
594
71da9eea
AD
5952000-10-02 Akim Demaille <akim@epita.fr>
596
597 Improve the readability of the produced parsers.
598
599 * src/bison.s1: Formatting changes.
600 Improve the comment related to the `$' mark.
601 (yydefault): Don't fall through to `yyresume': `goto' there.
602 * src/output.c (output_parser): When the `$' is met, skip the end
603 of its line.
604 New variable, `number_of_dollar_signs', to check there's exactly
605 one `$' in the parser skeleton.
606
95e36146
AD
6072000-10-02 Akim Demaille <akim@epita.fr>
608
609 * lib/xstrdup.c: New file, from the fileutils.
610 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
611 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
612 instead of strlen + xmalloc + strcpy.
613 * src/symtab.c (copys): Remove, use xstrdup instead.
614
d7020c20
AD
6152000-10-02 Akim Demaille <akim@epita.fr>
616
617 * src/gram.h (associativity): New enum type which replaces the
618 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
619 `right_assoc', `left_assoc' and `non_assoc'.
620 Adjust all dependencies.
621 * src/reader.c: Formatting changes.
622 (LTYPESTR): Don't define it, use it as a literal in
623 `reader_output_yylsp'.
624 * src/symtab.h (symbol_class): New enum type which replaces the
625 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
626 `sunknown', `stoken and `snterm'.
627
1916f98e
AD
6282000-10-02 Akim Demaille <akim@epita.fr>
629
630 * src/getargs.c (fixed_outfiles): Rename as...
631 (yaccflag): for consistency and accuracy.
632 Adjust dependencies.
633
d7913476
AD
6342000-10-02 Akim Demaille <akim@epita.fr>
635
636 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
637 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
638 difficult and introduced a lot of core dump. It turns out that
639 Bison used an implementation of `xmalloc' based on `calloc', and
640 at various places it does depend upon the initialization to 0. I
641 have not tried to isolate the pertinent places, and all the former
642 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
643 someone should address this issue.
644
645 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
646 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
647 files.
648 Adjust dependencies.
649 * src/warshall.h: New file.
650 Propagate.
651
340ef489
AD
6522000-10-02 Akim Demaille <akim@epita.fr>
653
654 Various anti-`extern in *.c' changes.
655
656 * src/system.h: Include `assert.h'.
657
b2ca4022
AD
6582000-10-02 Akim Demaille <akim@epita.fr>
659
660 * src/state.h (nstates, final_state, first_state, first_shift)
661 (first_reduction): Move their exportation from here...
662 * src/LR0.h: to here.
663 Adjust dependencies.
664 * src/getargs.c (statisticsflag): New variable.
665 Add support for `--statistics'.
666 Adjust dependencies.
667
668 Remove a lot of now useless `extern' statements in most files.
669
403b315b
AD
6702000-10-02 Akim Demaille <akim@epita.fr>
671
672 * src/LR0.h: New file.
673 Propagate its use.
674
07a58c13
AD
6752000-10-02 Akim Demaille <akim@epita.fr>
676
677 * src/print.h: New file.
678 Propagate its use.
679 * src/print.c: Formatting and ordering changes.
680 (verbose, terse): Replace with...
681 (print_results): this new function.
682 Adjust dependencies.
683
0619caf0
AD
6842000-10-02 Akim Demaille <akim@epita.fr>
685
686 * src/conflicts.c (conflict_report): New function.
687 (conflict_log, verbose_conflict_log): Replace with...
688 (print_conflicts): this function.
689 Adjust dependencies.
690 * src/conflicts.h: New file.
691 Propagate its inclusion.
692
3519ec76
AD
6932000-10-02 Akim Demaille <akim@epita.fr>
694
695 * src/nullable.h: New file.
696 Propagate its inclusion.
697 * src/nullable.c: Formatting changes.
698
015acc48
AD
6992000-10-02 Akim Demaille <akim@epita.fr>
700
701 * src/reduce.h: New file.
702 Propagate its inclusion.
703 * src/reduce.c: Topological sort and other formatting changes.
704 (bool, TRUE, FALSE): Move their definition to...
705 * src/system.h: here.
706
8963a27b
AD
7072000-10-02 Akim Demaille <akim@epita.fr>
708
709 * src/files.c: Formatting changes.
710 (tryopen, tryclose, openfiles): Rename as...
711 (xfopen, xfclose, open_files): this.
712 (stringappend): static.
713 * src/files.h: Complete the list of exported symbols.
714 Propagate its use.
715
a70083a3
AD
7162000-10-02 Akim Demaille <akim@epita.fr>
717
718 * src/reader.h: New file.
719 Propagate its use instead of tedious list of `extern' and
720 prototypes.
721 * src/reader.c: Formatting changes, topological sort,
722 s/register//.
723
abadc117
AD
7242000-10-02 Akim Demaille <akim@epita.fr>
725
726 * src/lex.h: Prototype `lex.c' exported functions.
727 * src/reader.c: Adjust.
728 * src/lex.c: Formatting changes.
729 (safegetc): Rename as...
730 (xgetc): this.
731
720d742f
AD
7322000-10-02 Akim Demaille <akim@epita.fr>
733
734 * src/lalr.h: New file.
735 Propagate its inclusion instead of prototypes and `extern'.
736 * src/lalr.c: Formatting changes, topological sorting etc.
737
f2acea59
AD
7382000-10-02 Akim Demaille <akim@epita.fr>
739
740 * src/output.c (token_actions): Introduce a temporary array,
741 YYDEFACT, that makes it possible for this function to use
742 output_short_table.
743
d019d655
AD
7442000-10-02 Akim Demaille <akim@epita.fr>
745
746 `user_toknums' is output as a `short[]' in `output.c', while it is
747 defined as a `int[]' in `reader.c'. For consistency with the
748 other output tables, `user_toknums' is now defined as a table of
749 shorts.
750
751 * src/reader.c (user_toknums): Be a short table instead of an int
752 table.
753 Adjust dependencies.
754
755 Factor the short table outputs.
756
757 * src/output.c (output_short_table): New function.
758 * src/output.c (output_gram, output_stos, output_rule_data)
759 (output_base, output_table, output_check): Use it.
760
6c89f1c1
AD
7612000-10-02 Akim Demaille <akim@epita.fr>
762
763 * src/output.c (output): Topological sort of the functions, in
764 order to get rid of the `static' prototypes.
765 No longer use `register'.
766 * src/output.h: New file.
767 Propagate its inclusion in files explicitly prototyping functions
768 from output.c.
769
d9efd181
AD
7702000-09-21 Akim Demaille <akim@epita.fr>
771
772 * src/atgeneral.m4: Update from Autoconf.
773
c29240e7 7742000-09-21 Akim Demaille <akim@epita.fr>
2fa6973e
AD
775
776 * src/closure.h: New file.
777 * src/closure.c: Formatting changes, topological sort over the
778 functions, use of closure.h.
779 (initialize_closure, finalize_closure): Rename as...
780 (new_closure, free_closure): these. Adjust dependencies.
781 * src/LR0.c: Formatting changes, topological sort, use of
782 cloture.h.
783 (initialize_states): Rename as...
784 (new_states): this.
785 * src/Makefile.am (noinst_HEADERS): Adjust.
786
499daa50
AD
7872000-09-20 Akim Demaille <akim@epita.fr>
788
789 * src/acconfig.h: Don't protect config.h against multiple
790 inclusion.
791 Don't define PARAMS.
792 * src/system.h: Define PARAMS.
793 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
794 purpose of config.h. system.h must not try to fix wrong
795 definitions in config.h.
796
cc84fd5d
AD
7972000-09-20 Akim Demaille <akim@epita.fr>
798
799 * src/derives.h: New file.
800 * src/main.c, src/derives.h: Use it.
801 Formatting changes.
802 * src/Makefile.am (noinst_HEADERS): Adjust.
803
db5b3a89
AD
8042000-09-20 Akim Demaille <akim@epita.fr>
805
806 * tests/atgeneral.m4: Update from Autoconf.
807 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
808 (AT_CHECK_CALC): New macros.
809 Use these macros to test bison with options `', `--raw',
810 `--debug', `--yacc', `--yacc --debug'.
811
ceed8467
AD
8122000-09-19 Akim Demaille <akim@epita.fr>
813
814 * src/output.c: Formatting changes.
815 * src/machine.h: Remove, leaving its contents in...
816 * src/system.h: here.
817 Include stdio.h.
818 Adjust all dependencies on stdio.h and machine.h.
819 * src/getargs.h: New file.
820 Let all `extern' declarations about getargs.c be replaced with
821 inclusion of `getargs.h'.
822 * src/Makefile.am (noinst_HEADERS): Adjust.
823
824 * tests/calc.m4 (yyin): Be initialized in main, not on the global
825 scope.
826 (yyerror): Returns void, not int.
827 * doc/bison.texinfo: Formatting changes.
828
05a1d24b
AD
8292000-09-19 Akim Demaille <akim@epita.fr>
830
831 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
832 portable.
833
cbd25751
AD
8342000-09-18 Akim Demaille <akim@epita.fr>
835
836 * configure.in: Append WARNING_CFLAGS to CFLAGS.
837 * src/Makefile.am (INCLUDES): Don't.
838 Be ready to fetch headers in lib/.
839
13863333
AD
8402000-09-18 Akim Demaille <akim@epita.fr>
841
842 * doc/bison.texinfo: Update the copyright.
843 ANSIfy and GNUify the examples.
844 Remove the old menu.
845
0d533154
AD
8462000-09-18 Akim Demaille <akim@epita.fr>
847
848 First set of tests: use the `calc' example from the documentation.
849
850 * src/bison.s1 (yyparse): Condition the code using `yytname' which
851 is defined only when YYDEBUG is.
852 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
853 * src/files.c (tryopen, tryclose): Formatting changes.
854 Move to the top and be static.
855 * src/reader.c (read_signed_integer): Likewise.
856 * tests/calc.m4: New file.
857 * Makefile.am, suite.m4: Adjust.
858 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
859
e79137ac
AD
8602000-09-18 Akim Demaille <akim@epita.fr>
861
862 Add support for an Autotest test suite for Bison.
863
864 * m4/m4.m4, m4/atconfig.m4: New files.
865 * m4/Makefile.am (EXTRA_DIST): Adjust.
866 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
867 files.
868 * src/getargs.c: Display a more standard --version message.
869 * src/reader.c (reader): Formatting changes.
870 No longer depend upon VERSION_STRING.
871 * configure.in: No longer use `dnl'.
872 Set up the test suite and the new directory `tests/.
873 (VERSION_STRING): Remove.
874
27821bff
AD
8752000-04-14 Akim Demaille <akim@epita.fr>
876
877 * src/reader.c (copy_comment2): New function, same as former
878 `copy_comment', but outputs into two FILE *.
879 (copy_comment): Use it.
880 (parse_union_decl): Use it.
881 (get_type, parse_start_decl): Use the same `invalid' message.
882 (parse_start_decl, parse_union_decl): Use the same `multiple'
883 message.
884 (parse_union_decl, copy_guard, copy_action): Use the same
885 `unmatched' message.
886 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
887
cfe5fbc0
AD
8882000-03-31 Akim Demaille <akim@epita.fr>
889
890 * src/files.c (tryopen, tryclose): Move to the top.
891 Be static.
892
cb7db13e
AD
8932000-03-31 Akim Demaille <akim@epita.fr>
894
895 * src/main.c (main): Don't call `done', exit does it.
896
a0f6b076
AD
8972000-03-31 Akim Demaille <akim@epita.fr>
898
36281465
AD
899 * allocate.c: s/return (foo)/return foo/.
900 * lalr.c: Likewise.
901 * LR0.c: Likewise.
902 * output.c: Likewise.
903 * reader.c: Likewise.
904 * symtab.c: Likewise.
905 * vmsgetargs.c: Likewise.
906
9072000-03-31 Akim Demaille <akim@epita.fr>
908
909 Clean up the error reporting functions.
a0f6b076
AD
910
911 * src/report.c: New file.
912 * src/report.h: Likewise.
913 * src/Makefile.am: Adjust.
914 * m4/error.m4: New file.
915 * m4/Makefile.am: Adjust.
916 * configure.in (jm_PREREQ_ERROR): Call it.
917 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
918 Remove.
919 (fatal, fatals): Remove. All callers use complain.c::fatal.
920 (warn, warni, warns, warnss, warnss): Remove. All callers use
921 complain.c::complain.
922 (toomany): Remove, use fatal instead.
923 * src/files.c (done): No argument, use complain_message_count.
924 * src/main.c (main): Register `done' to `atexit'.
925
926 * src/getargs.c (usage): More `fputs', less `fprintf'.
927
18539825
AD
9282000-03-28 Akim Demaille <akim@epita.fr>
929
930 * lib/: New directory.
931 * Makefile.am (SUBDIRS): Adjust.
932 * configure.in: Adjust.
933 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
934 useless.
935 * src/alloca.c: Moved to lib/.
936 * src/getopt.c: Likewise.
937 * src/getopt1.c: Likewise.
938 * src/getopt.h: Likewise.
939 * src/ansi2knr.c: Likewise.
940 * src/ansi2knr.1: Likewise.
941 * src/Makefile.am: Adjust.
942 * lib/Makefile.am: New file.
943
9f306f2a
AD
9442000-03-28 Akim Demaille <akim@epita.fr>
945
946 * src/getargs.c (usage): Refresh the help message.
947
0ba347b6
AD
9482000-03-17 Akim Demaille <akim@epita.fr>
949
950 * src/getopt1.c: Updated from textutils 2.0e
951 * src/getopt.c: Likewise.
952 * src/getopt.h: Likewise.
953
dbe7f271
AD
9542000-03-17 Akim Demaille <akim@epita.fr>
955
956 * src/Makefile.am (bison.simple): Fix the awk program: quote only
957 the file name, not the whole `#line LINE FILE'.
958
75bbe78d
AD
9592000-03-17 Akim Demaille <akim@epita.fr>
960
961 On syntax errors, report the token on which we choked.
962
aa5fd0ee
AD
963 * src/bison.s1 (yyparse): In the label yyerrlab, when
964 YYERROR_VERBOSE, add yychar in msg.
75bbe78d 965
7b306f52
AD
9662000-03-17 Akim Demaille <akim@epita.fr>
967
aa5fd0ee 968 * src/reader.c (copy_at): New function.
7b306f52
AD
969 (copy_guard): Use it.
970 (copy_action): Use it.
971
e87b5700
AD
9722000-03-17 Akim Demaille <akim@epita.fr>
973
974 Be kind to translators, save some useless translations.
975
aa5fd0ee 976 * src/main.c (banner): New function.
e87b5700
AD
977 (fatal_banner): Use it.
978 (warn_banner): Use it.
979
ae3c3164
AD
9802000-03-17 Akim Demaille <akim@epita.fr>
981
aa5fd0ee
AD
982 * src/reader.c (copy_definition): Use copy_string and
983 copy_comment. Removed now unused `match', `ended',
984 `cplus_comment'.
ae3c3164
AD
985 (copy_comment, copy_string): Moved, to be visible from
986 copy_definition.
987
4dc58e7c
AD
9882000-03-17 Akim Demaille <akim@epita.fr>
989
aa5fd0ee
AD
990 * src/reader.c (copy_string): Declare `static inline'. No
991 problems with inline, since it is checked by configure.
4dc58e7c
AD
992 (copy_comment): Likewise.
993
0a6384c4
AD
9942000-03-17 Akim Demaille <akim@epita.fr>
995
aa5fd0ee 996 * src/reader.c (packsymbols): Formatting changes.
0a6384c4 997
3cef001a
AD
9982000-03-17 Akim Demaille <akim@epita.fr>
999
aa5fd0ee 1000 * src/reader.c (copy_comment): New function, factored out from:
3cef001a
AD
1001 (copy_action): Use it. Removed now unused `match', `ended',
1002 `cplus_comment'.
1003 (copy_guard): Likewise.
1004
ca36d2ef
AD
10052000-03-17 Akim Demaille <akim@epita.fr>
1006
aa5fd0ee 1007 * src/reader.c (copy_string): New function, factored out from:
ca36d2ef
AD
1008 (copy_action): Use it.
1009 (copy_guard): Likewise.
1010
6666f98f
AD
10112000-03-17 Akim Demaille <akim@epita.fr>
1012
1013 Change the handling of @s so that they behave exactly like $s.
1014 There is now a pseudo variable @$ (readble and writable), location
1015 of the lhs of the rule (by default ranging from the location of
1016 the first symbol of the rhs, to the location of the last symbol,
1017 or, if the rhs is empty, YYLLOC).
1018
1019 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
1020 yyval.
1021 (yyparse): When providing a default semantic action, provide a
1022 default location action.
1023 (after the $): No longer change `*YYLSP', just stack YYLOC the
1024 same way you stack YYVAL.
1025 * src/reader.c (read_declarations): Use warns.
1026 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
1027 (copy_action, case '@'): Likewise.
1028 Use a standard error message, to save useless work from
1029 translators.
1030
41aca2e0
AD
10312000-03-17 Akim Demaille <akim@epita.fr>
1032
aa5fd0ee
AD
1033 * src/bison.s1: Formatting and cosmetics changes.
1034 * src/reader.c: Likewise.
41aca2e0
AD
1035 Update the Copyright notice.
1036
dc08c1d5
AD
10372000-03-17 Akim Demaille <akim@epita.fr>
1038
aa5fd0ee
AD
1039 * src/bison.s1 (#line): All set to `#line' only, since the
1040 Makefile now handles them.
dc08c1d5 1041
9ee3c97b
AD
10422000-03-16 Akim Demaille <akim@epita.fr>
1043
1044 * src/output.c (output_rule_data): Output the documentation of
1045 some of the tables.
1046 (Copyright notice): Update.
1047 Formatting changes.
1048
0de741ca
AD
10492000-03-16 Akim Demaille <akim@epita.fr>
1050
1051 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
1052 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
1053 One `#if YYDEBUG' remains, since it uses variables which are
1054 defined only if `YYDEBUG != 0'.
1055
bb10be54
AD
10562000-03-16 Akim Demaille <akim@epita.fr>
1057
1058 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
1059 and related variables so that the similarities are highlighted.
1060
b07b484a
AD
10612000-03-16 Akim Demaille <akim@epita.fr>
1062
1063 * src/bison.s1: Properly indent CPP directives.
1064
361f60b3
AD
10652000-03-16 Akim Demaille <akim@epita.fr>
1066
1067 * src/bison.s1: Properly indent the `alloca' CPP section.
1068
8c44d3ec
AD
10692000-03-16 Akim Demaille <akim@epita.fr>
1070
1071 Do not hard code values of directories in `configure.in'.
1072 Update the `configure' tool chain.
1073
1074 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
1075 src/makefile.am.
1076 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
1077 (AC_OUTPUT): Add m4/Makefile.
1078 Bump to bison 1.28a, 1.29 has never been released.
1079 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
1080 handled via src/Makefile.am.
1081 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
1082 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
1083 autoheader.
1084 * Makefile.am (SUBDIRS): Add m4.
1085 (ACLOCAL_AM_FLAGS): New variable.
1086 (AUTOMAKE_OPTIONS): Add check-news.
1087 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
1088 the proper line number and file name.
1089 (DEFS): Propagate the location of bison library files and of the
1090 locale files.
1091 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
1092 builddir.
1093 * acinclude.m4: Remove, replaced by the directory m4.
1094 * m4/Makefile.am (EXTRA_DIST): New variable.
1095 * m4/gettext.m4: New file, from the fileutils.
1096 * m4/lcmessage.m4: Likewise
1097 * m4/progtest.m4: Likewise.
1098 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
1099
f95997e7
AD
11002000-03-10 Akim Demaille <akim@epita.fr>
1101
1102 * src/closure.c:
1103 Formatting changes of various comments.
1104 Respect the GNU coding standards at various places.
1105 Don't use `_()' when no translation is needed.
1106
11071999-12-13 Jesse Thilo <jthilo@gnu.org>
1108
1109 * src/files.c:
1110 OS/2 honors TMPDIR environment variable.
1111
11121999-12-13 Jesse Thilo <jthilo@gnu.org>
1113
1114 * doc/bison.texinfo: Tweaked spelling and grammar.
1115 Updated ISBN.
1116 Removed reference to price of printed copy.
1117 Mention BISON_SIMPLE and BISON_HAIRY.
1118
11191999-12-13 Jesse Thilo <jthilo@gnu.org>
1120
1121 * configure.in, NEWS:
1122 Bison 1.29 released.
1123
11241999-10-27 Jesse Thilo <jthilo@gnu.org>
1125
1126 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
1127 Added reference card.
1128
11291999-07-26 Jesse Thilo <jthilo@gnu.org>
1130
1131 * po/ru.po: Added Russian translation.
1132
11331999-07-26 Jesse Thilo <jthilo@gnu.org>
1134
1135 * configure.in: Added Russian translation.
1136
11371999-07-06 Jesse Thilo <jthilo@gnu.org>
1138
1139 * configure.in, NEWS, README:
1140 Released version 1.28.
1141
11421999-06-14 Jesse Thilo <jthilo@gnu.org>
1143
1144 * src/system.h:
1145 Squashed redefinition warning on some systems.
1146
1147 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
1148 Have configure build version string instead of relying on ANSI string
1149 concatentation.
1150
11511999-06-14 Jesse Thilo <jthilo@gnu.org>
1152
1153 * po/POTFILES.in: Got rid of version.c.
1154
11551999-06-14 Jesse Thilo <jthilo@gnu.org>
1156
1157 * acconfig.h, configure.in:
1158 Have configure build version string instead of relying on ANSI string
1159 concatentation.
1160
11611999-06-08 Jesse Thilo <jthilo@gnu.org>
1162
1163 * doc/bison.1:
1164 Dropped mention of `+' for long-named options.
1165
11661999-05-30 Jesse Thilo <jthilo@gnu.org>
1167
1168 * src/files.c: Added <unistd.h> for unlink().
1169
1170 * src/Makefile.am, src/system.h:
1171 I18n fixes.
1172
11731999-05-30 Jesse Thilo <jthilo@gnu.org>
1174
1175 * README: Added a FAQ list.
1176
1177 * configure.in, acconfig.h:
1178 I18n fixes.
1179
11801999-05-30 Jesse Thilo <jthilo@gnu.org>
1181
1182 * doc/FAQ, doc/Makefile.am:
1183 Added a FAQ list.
1184
11851999-05-19 Jesse Thilo <jthilo@gnu.org>
1186
1187 * src/alloc.h, src/symtab.h, src/version.c:
1188 Protected inclusion of "config.h" with HAVE_CONFIG_H.
1189
11901999-04-18 Jesse Thilo <jthilo@gnu.org>
1191
1192 * src/.cvsignore, src/Makefile.am:
1193 Reorganized: sources in `src', documentation in `doc'.
1194
1195 * src/lex.c (literalchar):
1196 fixed the code for escaping double quotes (thanks
1197 Jonathan Czisny.)
1198
11991999-04-18 Jesse Thilo <jthilo@gnu.org>
1200
1201 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
1202 Adjusted paths to reflect directory reorganization.
1203
12041999-04-18 Jesse Thilo <jthilo@gnu.org>
1205
1206 * doc/.cvsignore, doc/Makefile.am:
1207 Reorganized: sources in `src', documentation in `doc'.
1208
12091999-04-18 Jesse Thilo <jthilo@gnu.org>
1210
1211 * configure.in:
1212 Updated AC_INIT file to reflect directory reorganization.
1213
1214 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
1215 Reorganized: sources in `src', documentation in `doc'.
1216
12171999-04-13 Jesse Thilo <jthilo@gnu.org>
1218
1219 * src/allocate.c:
1220 Don't declare calloc() and realloc() if not necessary.
1221
12221999-04-13 Jesse Thilo <jthilo@gnu.org>
1223
1224 * configure.in, acconfig.h, acinclude.m4:
1225 Don't declare calloc() and realloc() if not necessary.
1226
12271999-03-23 Jesse Thilo <jthilo@gnu.org>
1228
1229 * po/.cvsignore: Added i18n support.
1230
12311999-03-23 Jesse Thilo <jthilo@gnu.org>
1232
1233 * acconfig.h, configure.in, Makefile.am:
1234 Added i18n support.
1235
12361999-03-22 Jesse Thilo <jthilo@gnu.org>
1237
1238 * src/bison.s1: Fixed #line numbers.
1239
12401999-03-15 Jesse Thilo <jthilo@gnu.org>
1241
1242 * po/es.po, po/fr.po, po/nl.po, po/de.po:
1243 Added PO files from Translation Project.
1244
12451999-03-03 Jesse Thilo <jthilo@gnu.org>
1246
1247 * Makefile.am:
1248 Added support for non-ANSI compilers (ansi2knr).
1249
12501999-02-16 Jesse Thilo <jthilo@gnu.org>
1251
1252 * configure.in: Bumped version number to 1.27.
1253
1254 * Makefile.am:
1255 Added `bison.simple' to list of files removed by `make distclean'.
1256
12571999-02-12 Jesse Thilo <jthilo@gnu.org>
1258
1259 * src/files.c, src/files.h:
1260 Defined locations of parser files in config.h instead of Makefile.
1261
12621999-02-12 Jesse Thilo <jthilo@gnu.org>
1263
1264 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
1265 Defined locations of parser files in config.h instead of Makefile.
1266
12671999-02-09 Jesse Thilo <jthilo@gnu.org>
1268
1269 * Makefile.am:
1270 Removed inappropriate use of $< macro.
1271
12721999-02-05 Jesse Thilo <jthilo@gnu.org>
1273
1274 * po/Makefile.in.in, po/POTFILES.in:
1275 Add `po' directory skeleton.
1276
12771999-01-27 Jesse Thilo <jthilo@gnu.org>
1278
1279 * README: Document help-bison list.
1280
1281 * configure.in: Add check for mkstemp().
1282
12831999-01-20 Jesse Thilo <jthilo@gnu.org>
1284
1285 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
1286 Hush a few compiler warnings.
1287
1288 * src/files.c:
1289 Add tryclose(), which verifies that fclose was successful.
1290 Hush a couple of compiler warnings.
1291
12921999-01-20 Jesse Thilo <jthilo@gnu.org>
1293
1294 * Makefile.am, OChangeLog:
1295 ChangeLog is now automatically generated. Include the old version as
1296 OChangeLog.
1297
12981999-01-14 Jesse Thilo <jthilo@gnu.org>
1299
1300 * 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:
1301 Update FSF address.
1302
13031999-01-14 Jesse Thilo <jthilo@gnu.org>
1304
1305 * doc/bison.texinfo: Fix formatting glitch.
1306
1307 * doc/bison.texinfo: Update FSF address.
1308
13091999-01-14 Jesse Thilo <jthilo@gnu.org>
1310
1311 * acconfig.h: Update FSF address.
1312
13131999-01-08 Jesse Thilo <jthilo@gnu.org>
1314
1315 * src/system.h:
1316 Don't define PACKAGE here, since config.h defines it.
1317
13181998-12-30 Jesse Thilo <jthilo@gnu.org>
1319
1320 * src/reader.c: Update copyright date.
1321
1322 * src/main.c:
1323 Ditch sprintf to statically-sized buffers in fatal/warn functions in
1324 favor of output directly to stderr (avoids buffer overruns).
1325
1326 * src/reader.c: Some checks for premature EOF.
1327
1328 * 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:
1329 Use prototypes if the compiler understands them.
1330
1331 * src/files.c: Honor TMPDIR on Unix hosts.
1332 Use prototypes if the compiler understands them.
1333
1334 * src/reader.c:
1335 Fix a couple of buffer overrun bugs.
1336 Use prototypes if the compiler understands them.
1337
1338 * src/system.h: Include unistd.h and ctype.h.
1339 Use #ifdef instead of #if for NLS symbols.
1340
13411998-12-30 Jesse Thilo <jthilo@gnu.org>
1342
1343 * doc/bison.texinfo:
1344 Delete comment "consider using @set for edition number, etc..." since
1345 we now are doing so.
1346
13471998-12-30 Jesse Thilo <jthilo@gnu.org>
1348
1349 * configure.in:
1350 Use prototypes if the compiler understands them.
1351
1352 * NEWS: Document 1.26 highlights.
1353
1354 * Makefile.am: Require Automake 1.3 or later.
1355
1356 * acconfig.h:
1357 Use prototypes if the compiler understands them.
1358
13591998-12-29 Jesse Thilo <jthilo@gnu.org>
1360
1361 * src/version.c:
1362 Use VERSION symbol from automake for version number.
1363
13641998-12-29 Jesse Thilo <jthilo@gnu.org>
1365
1366 * acconfig.h, configure.in, version.cin:
1367 Use VERSION symbol from automake for version number.
1368
13691998-11-28 Jesse Thilo <jthilo@gnu.org>
1370
1371 * Makefile.am:
1372 Distribute original version of simple parser (bison.s1), not built
1373 version (bison.simple).
1374
13751998-11-28 Jesse Thilo <jthilo@gnu.org>
1376
1377 * doc/bison.texinfo: Add info dir entry.
1378
1379 * doc/bison.texinfo:
1380 Let automake put version number into documentation.
1381
13821998-11-26 Jesse Thilo <jthilo@gnu.org>
1383
1384 * src/bison.cld, src/build.com, src/vmshlp.mar:
1385 Add non-RCS files from /gd/gnu/bison.
1386
13871998-11-26 Jesse Thilo <jthilo@gnu.org>
1388
1389 * doc/bison.1:
1390 Document the BISON_HAIRY and BISON_SIMPLE variables.
1391
13921998-11-25 Jesse Thilo <jthilo@gnu.org>
1393
1394 * src/version.c: Build version.c automatically.
1395
1396 * src/reader.c:
1397 Fix token numbering (used to start at 258, not 257).
1398
1399 * src/system.h: Include config.h.
1400
1401 * src/getargs.c: Update bug report address.
1402
1403 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
1404 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
1405
14061998-11-25 Jesse Thilo <jthilo@gnu.org>
1407
1408 * Makefile.am:
1409 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1410
1411 * configure.in, version.cin:
1412 Build version.c automatically.
1413
1414 * AUTHORS: Add AUTHORS file.
1415
1416 * README: Update bug report address.
1417
1418 * bison.simple:
1419 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
1420
1421 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
1422 Add automake stuff.
1423
14241998-11-25 Jesse Thilo <jthilo@gnu.org>
1425
1426 * doc/bison.texinfo: Clean up some formatting.
1427
14281998-05-05 Richard Stallman <rms@gnu.org>
1429
1430 * doc/bison.texinfo:
1431 Explain better why to make a pure parser.
1432
14331998-01-05 Richard Stallman <rms@gnu.org>
1434
1435 * src/files.c (openfiles):
1436 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
1437 find a temporary directory, if possible. Do not unlink files while
1438 they are open.
1439
14401997-08-25 Richard Stallman <rms@gnu.org>
1441
1442 * src/reader.c (stack_offset;):
1443 Change some warni to warns.
1444
1445 * src/lex.c (literalchar): Use warns, not warni.
1446
14471997-06-28 Richard Stallman <rms@gnu.org>
1448
1449 * src/bison.s1: Add a Bison version comment.
1450
1451 * src/main.c (fatal, warn, berror):
1452 Use program_name.
1453
14541997-06-28 Richard Stallman <rms@gnu.org>
1455
1456 * Makefile.in (bison_version): New variable.
1457 (dist): Use that variable.
1458 (bison.s1): Substitute the Bison version into bison.simple.
1459
1460 * bison.simple: Add a Bison version comment.
1461
14621997-06-18 Richard Stallman <rms@gnu.org>
1463
1464 * src/main.c (fatal, warn, berror):
1465 Make error messages standard.
1466 (toomany): Improve error message text.
1467
1468 * 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:
1469 new.h renamed to alloc.h.
1470
14711997-06-18 Richard Stallman <rms@gnu.org>
1472
1473 * Makefile.in: new.h renamed to alloc.h.
1474
14751997-05-24 Richard Stallman <rms@gnu.org>
1476
1477 * src/lex.c (literalchar):
1478 Fix the code for escaping \, " and '.
1479
1480 (lex): Avoid trouble when there are many chars
1481 to discard in a char literal with just several chars in it.
1482
14831997-05-17 Richard Stallman <rms@gnu.org>
1484
1485 * src/bison.s1:
1486 Use malloc, if using alloca is troublesome.
1487 (YYSTACK_USE_ALLOCA): New flag macro.
1488 Define it for some systems and compilers.
1489 (YYSTACK_ALLOC): New macro.
1490 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1491 If it was malloc'd, free it.
1492
14931997-05-17 Richard Stallman <rms@gnu.org>
1494
1495 * bison.simple:
1496 Use malloc, if using alloca is troublesome.
1497 (YYSTACK_USE_ALLOCA): New flag macro.
1498 Define it for some systems and compilers.
1499 (YYSTACK_ALLOC): New macro.
1500 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1501 If it was malloc'd, free it.
1502
15031997-04-23 Richard Stallman <rms@gnu.org>
1504
1505 * src/bison.s1:
1506 (alloca) [__hpux]: Always define as __builtin_alloca.
1507
15081997-04-23 Richard Stallman <rms@gnu.org>
1509
1510 * bison.simple:
1511 (alloca) [__hpux]: Always define as __builtin_alloca.
1512
15131997-04-22 Richard Stallman <rms@gnu.org>
1514
1515 * src/bison.s1:
1516 [__hpux]: Include alloca.h (right for HPUX 10)
1517 instead of declaring alloca (right for HPUX 9).
1518
1519 * src/bison.s1 (__yy_memcpy):
1520 Declare arg `count' as unsigned int.
1521 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1522
15231997-04-22 Richard Stallman <rms@gnu.org>
1524
1525 * bison.simple:
1526 [__hpux]: Include alloca.h (right for HPUX 10)
1527 instead of declaring alloca (right for HPUX 9).
1528
1529 * bison.simple (__yy_memcpy):
1530 Declare arg `count' as unsigned int.
1531 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1532
15331997-01-03 Richard Stallman <rms@gnu.org>
1534
1535 * src/allocate.c: [__STDC__ or _MSC_VER]:
1536 Declare calloc and realloc to return void *.
1537
15381997-01-02 Richard Stallman <rms@gnu.org>
1539
1540 * src/system.h:
1541 [_MSC_VER]: Include stdlib.h and process.h.
1542 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
1543
1544 * src/main.c (main): Return FAILURE as a value.
1545 (printable_version): Declare arg as int, not char.
1546
15471997-01-02 Richard Stallman <rms@gnu.org>
1548
1549 * Makefile.in (dist):
1550 Explicitly check for symlinks, and copy them.
1551
15521996-12-19 Richard Stallman <rms@gnu.org>
1553
1554 * src/files.c:
1555 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
1556
15571996-12-18 Paul Eggert <eggert@gnu.org>
1558
1559 * src/bison.s1 (yyparse):
1560 If __GNUC__ and YYPARSE_PARAM are both defined,
1561 declare yyparse to have a void * argument.
1562
15631996-12-18 Paul Eggert <eggert@gnu.org>
1564
1565 * bison.simple (yyparse):
1566 If __GNUC__ and YYPARSE_PARAM are both defined,
1567 declare yyparse to have a void * argument.
1568
15691996-12-17 Richard Stallman <rms@gnu.org>
1570
1571 * src/reduce.c (nbits): Add some casts.
1572
15731996-08-12 Richard Stallman <rms@gnu.org>
1574
1575 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
1576
15771996-08-12 Richard Stallman <rms@gnu.org>
1578
1579 * bison.simple: Test _MSDOS as well as _MSDOS_.
1580
15811996-07-31 Richard Stallman <rms@gnu.org>
1582
1583 * src/bison.s1:
1584 [__sun && __i386]: Include alloca.h.
1585
15861996-07-31 Richard Stallman <rms@gnu.org>
1587
1588 * bison.simple:
1589 [__sun && __i386]: Include alloca.h.
1590
15911996-07-30 Richard Stallman <rms@gnu.org>
1592
1593 * src/bison.s1: Comment change.
1594
1595 * src/bison.s1: Test _MSDOS_, not MSDOS.
1596
15971996-07-30 Richard Stallman <rms@gnu.org>
1598
1599 * bison.simple: Comment change.
1600
1601 * bison.simple: Test _MSDOS_, not MSDOS.
1602
16031996-06-01 Richard Stallman <rms@gnu.org>
1604
1605 * 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:
1606 Insert `_' macro around many string constants.
1607
1608 * src/main.c:
1609 Insert `_' macro around many string constants.
1610
1611 (main): Call setlocale, bindtextdomain and textdomain.
1612
1613 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
1614 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
1615 [ENABLE_NLS]: Include libintl.h.
1616 [ENABLE_NLS] (gettext): Define.
1617 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
1618 (N_, PACKAGE, LOCALEDIR): New macros.
1619
16201996-06-01 Richard Stallman <rms@gnu.org>
1621
1622 * POTFILES.in: New file.
1623
1624 * Makefile.in (allocate.o):
1625 Define target explicitly.
1626
1627 * Makefile.in (CFLAGS): Set to @CFLAGS@.
1628 (LDFLAGS): Set to @LDFLAGS@.
1629 (configure): Run autoconf only if preceding `cd' succeeds.
1630 (bison.s1): Redirect output to temporary file then move the
1631 temporary to the target, rather than redirecting directly to bison.s1.
1632 (clean): Remove config.status and config.log.
1633 (distclean): Don't remove config.status here.
1634
16351996-05-12 Richard Stallman <rms@gnu.org>
1636
1637 * src/bison.s1:
1638 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1639
16401996-05-12 Richard Stallman <rms@gnu.org>
1641
1642 * bison.simple:
1643 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1644
16451996-05-11 Richard Stallman <rms@gnu.org>
1646
1647 * src/bison.s1 (__yy_memcpy):
1648 Really reorder the args, as was supposedly done on Feb 14 1995.
1649 (yyparse): Calls changed accordingly.
1650
16511996-05-11 Richard Stallman <rms@gnu.org>
1652
1653 * Makefile.in (dist): Don't use $(srcdir).
1654
1655 * bison.simple (__yy_memcpy):
1656 Really reorder the args, as was supposedly done on Feb 14 1995.
1657 (yyparse): Calls changed accordingly.
1658
16591996-01-27 Richard Stallman <rms@gnu.org>
1660
1661 * src/output.c (output_rule_data):
1662 Test YYERROR_VERBOSE in the conditional
1663 around the definition of ttyname.
1664
16651995-12-29 Richard Stallman <rms@gnu.org>
1666
1667 * src/bison.s1:
1668 Fix line numbers in #line commands.
1669
16701995-12-29 Richard Stallman <rms@gnu.org>
1671
1672 * bison.simple:
1673 Fix line numbers in #line commands.
1674
16751995-12-27 Richard Stallman <rms@gnu.org>
1676
1677 * src/bison.s1 (YYPARSE_PARAM_DECL):
1678 In C++, make it always null.
1679 (YYPARSE_PARAM_ARG): New macro.
1680 (yyparse): Use YYPARSE_PARAM_ARG.
1681
16821995-12-27 Richard Stallman <rms@gnu.org>
1683
1684 * bison.simple (YYPARSE_PARAM_DECL):
1685 In C++, make it always null.
1686 (YYPARSE_PARAM_ARG): New macro.
1687 (yyparse): Use YYPARSE_PARAM_ARG.
1688
16891995-11-29 Richard Stallman <rms@gnu.org>
1690
1691 * doc/bison.texinfo:
1692 Describe literal string tokens, %raw, %no_lines, %token_table.
1693
16941995-11-29 Daniel Hagerty <hag@gnu.org>
1695
1696 * doc/bison.texinfo: Fixed update date
1697
16981995-10-16 Richard Stallman <rms@gnu.org>
1699
1700 * src/version.c: Version 1.25.
1701
17021995-10-16 Richard Stallman <rms@gnu.org>
1703
1704 * NEWS: *** empty log message ***
1705
17061995-10-16 Richard Stallman <rms@gnu.org>
1707
1708 * doc/bison.1, doc/bison.rnh:
1709 Add new options.
1710
17111995-10-15 Richard Stallman <rms@gnu.org>
1712
1713 * src/vmsgetargs.c, src/getargs.c:
1714 Added -n, -k, and -raw switches.
1715 (noparserflag, toknumflag, rawtoknumflag): New variables.
1716
1717 * src/symtab.h (SALIAS):
1718 New #define for adding aliases to %token.
1719 (struct bucket): Added `alias' field.
1720
1721 * src/reduce.c (reduce_grammar):
1722 Revise error message.
1723 (print_notices): Remove final `.' from error message.
1724
1725 * src/reader.c (reader_output_yylsp):
1726 New function.
1727 (readgram): Use `#if 0' around code that accepted %command
1728 inside grammar rules: The documentation doesn't allow it,
1729 and it will fail since the %command processors scan for the next %.
1730 (parse_token_decl): Extended the %token
1731 declaration to allow a multi-character symbol as an alias.
1732 (parse_thong_decl): New function.
1733 (read_declarations): Added %thong declarations.
1734 (read_declarations): Handle NOOP to deal with allowing
1735 % declarations as another means to specify the flags.
1736 (readgram): Allow %prec prior to semantics embedded in a rule.
1737 (skip_to_char, read_declarations, copy_definition)
1738 (parse_token_decl, parse_start_decl, parse_type_decl)
1739 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1740 (get_type_name, copy_guard, copy_action, readgram)
1741 (get_type, packsymbols): Revised most error messages.
1742 Changed `fatal' to `warnxxx' to avoid aborting for error.
1743 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1744 (read_declarations): Improve the error message for
1745 an invalid character. Do not abort.
1746 (read_declarations, copy_guard, copy_action): Use
1747 printable_version to avoid unprintable characters in printed output.
1748 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1749 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1750 Allow the type of a non-terminal can be given
1751 more than once, as long as all specifications give the same type.
1752
1753 * src/output.c:
1754 (output_headers, output_trailers, output, output_gram)
1755 (output_rule_data): Implement noparserflag variable.
1756 Implement toknumflag variable.
1757 (output): Call reader_output_yylsp to output LTYPESTR.
1758
1759 * src/main.c (main):
1760 If reader sees an error, don't process the grammar.
1761 (fatals): Updated to not use VARARGS1.
1762 (printable_version, int_to_string, warn, warni, warns, warnss)
1763 (warnsss): New error reporting functions. Avoid abort for error.
1764
1765 * src/lex.h:
1766 Added THONG and NOOP for alias processing.
1767 Added SETOPT for the new code that allows setting options with %flags.
1768
1769 * src/lex.c:
1770 Include getopt.h. Add some extern decls.
1771 (safegetc): New function to deal with EOF gracefully.
1772 (literalchar); new function to deal with reading \ escapes.
1773 (lex): Use literalchar.
1774 (lex): Implemented "..." tokens.
1775 (literalchar, lex, parse_percent_token): Made tokenbuffer
1776 always contain the token. This includes growing the token
1777 buffer while reading an integer.
1778 (parse_percent_token): Replaced if-else statement with percent_table.
1779 (parse_percent_token): Added % declarations as another
1780 way to specify the flags -n, -l, and -r. Also added hooks for
1781 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1782 major changes to files.c.
1783 (lex) Retain in the incoming stream a character following
1784 an incorrect '/'.
1785 (skip_white_space, lex): Revised most error messages
1786 and changed fatal to warn to avoid aborting.
1787 (percent_table): Added %thong declarations.
1788
1789 * src/gram.h: Comment changes.
1790
1791 * src/files.c (openfiles, open_extra_files, done):
1792 Add faction flag
1793 and actfile file. Handle noparserflag. Both for -n switch.
1794
1795 * src/conflicts.c (resolve_sr_conflict):
1796 Remove use of alloca.
1797
17981995-06-01 Jim Meyering <meyering@gnu.org>
1799
1800 * doc/bison.texinfo: *** empty log message ***
1801
18021995-05-06 Richard Stallman <rms@gnu.org>
1803
1804 * src/bison.s1: Comment change.
1805
18061995-05-06 Richard Stallman <rms@gnu.org>
1807
1808 * bison.simple: Comment change.
1809
18101995-05-03 Richard Stallman <rms@gnu.org>
1811
1812 * src/version.c: Version now 1.24.
1813
1814 * src/bison.s1: Change distribution terms.
1815
1816 * src/version.c: Version now 1.23.
1817
18181995-05-03 Richard Stallman <rms@gnu.org>
1819
1820 * doc/bison.texinfo:
1821 Rewrite "Conditions for Using Bison".
1822 Update version to 1.24.
1823
18241995-05-03 Richard Stallman <rms@gnu.org>
1825
1826 * bison.simple: Change distribution terms.
1827
18281995-02-23 Richard Stallman <rms@gnu.org>
1829
1830 * src/files.c: Test __VMS_POSIX as well as VMS.
1831
18321995-02-14 Jim Meyering <meyering@gnu.org>
1833
1834 * src/bison.s1 (__yy_memcpy):
1835 Renamed from __yy_bcopy to avoid
1836 confusion. Reverse FROM and TO arguments to be consistent with
1837 those of memcpy.
1838
18391995-02-14 Jim Meyering <meyering@gnu.org>
1840
1841 * bison.simple (__yy_memcpy):
1842 Renamed from __yy_bcopy to avoid
1843 confusion. Reverse FROM and TO arguments to be consistent with
1844 those of memcpy.
1845
18461994-11-10 David J. MacKenzie <djm@gnu.org>
1847
1848 * NEWS: reformat
1849
1850 * NEWS: New file.
1851
1852 * Makefile.in (DISTFILES): Include NEWS.
1853
1854 * Makefile.in (DISTFILES):
1855 Include install-sh, not install.sh.
1856
1857 * configure.in: Update to Autoconf v2 macro names.
1858
18591994-10-05 David J. MacKenzie <djm@gnu.org>
1860
1861 * Makefile.in: fix typo
1862
1863 * Makefile.in (prefix, exec_prefix):
1864 Let configure set them.
1865
18661994-09-28 David J. MacKenzie <djm@gnu.org>
1867
1868 * Makefile.in: Set datadir to $(prefix)/share.
1869
18701994-09-15 Richard Stallman <rms@gnu.org>
1871
1872 * src/bison.s1:
1873 Update copyright notice and GPL version.
1874
18751994-09-15 Richard Stallman <rms@gnu.org>
1876
1877 * bison.simple:
1878 Update copyright notice and GPL version.
1879
18801994-07-12 Richard Stallman <rms@gnu.org>
1881
1882 * src/reduce.c, src/reader.c:
1883 entered into RCS
1884
18851994-05-05 David J. MacKenzie <djm@gnu.org>
1886
1887 * Makefile.in: entered into RCS
1888
18891994-03-26 Richard Stallman <rms@gnu.org>
1890
1891 * src/bison.s1: entered into RCS
1892
18931994-03-26 Richard Stallman <rms@gnu.org>
1894
1895 * bison.simple: entered into RCS
1896
18971994-03-25 Richard Stallman <rms@gnu.org>
1898
1899 * src/main.c: entered into RCS
1900
19011994-03-24 Richard Stallman <rms@gnu.org>
1902
1903 * src/conflicts.c: entered into RCS
1904
19051994-01-02 Richard Stallman <rms@gnu.org>
1906
1907 * Makefile.in: *** empty log message ***
1908
19091993-11-21 Richard Stallman <rms@gnu.org>
1910
1911 * src/bison.s1: *** empty log message ***
1912
19131993-11-21 Richard Stallman <rms@gnu.org>
1914
1915 * doc/bison.texinfo: entered into RCS
1916
1917 * doc/bison.texinfo: *** empty log message ***
1918
19191993-11-21 Richard Stallman <rms@gnu.org>
1920
1921 * bison.simple: *** empty log message ***
1922
19231993-10-25 David J. MacKenzie <djm@gnu.org>
1924
1925 * doc/bison.texinfo: *** empty log message ***
1926
19271993-10-19 Richard Stallman <rms@gnu.org>
1928
1929 * src/bison.s1: *** empty log message ***
1930
19311993-10-19 Richard Stallman <rms@gnu.org>
1932
1933 * bison.simple: *** empty log message ***
1934
19351993-10-14 Richard Stallman <rms@gnu.org>
1936
1937 * src/bison.s1: *** empty log message ***
1938
19391993-10-14 Richard Stallman <rms@gnu.org>
1940
1941 * bison.simple: *** empty log message ***
1942
19431993-09-14 David J. MacKenzie <djm@gnu.org>
1944
1945 * doc/bison.texinfo: *** empty log message ***
1946
19471993-09-13 Noah Friedman <friedman@gnu.org>
1948
1949 * Makefile.in: *** empty log message ***
1950
19511993-09-10 Richard Stallman <rms@gnu.org>
1952
1953 * src/conflicts.c: *** empty log message ***
1954
1955 * src/system.h: entered into RCS
1956
19571993-09-10 Richard Stallman <rms@gnu.org>
1958
1959 * doc/bison.1: entered into RCS
1960
19611993-09-06 Noah Friedman <friedman@gnu.org>
1962
1963 * src/version.c: entered into RCS
1964
19651993-09-06 Noah Friedman <friedman@gnu.org>
1966
1967 * Makefile.in: *** empty log message ***
1968
19691993-07-30 David J. MacKenzie <djm@gnu.org>
1970
1971 * Makefile.in: *** empty log message ***
1972
19731993-07-24 Richard Stallman <rms@gnu.org>
1974
1975 * src/bison.s1: *** empty log message ***
1976
19771993-07-24 Richard Stallman <rms@gnu.org>
1978
1979 * bison.simple: *** empty log message ***
1980
19811993-07-08 David J. MacKenzie <djm@gnu.org>
1982
1983 * Makefile.in: *** empty log message ***
1984
19851993-07-04 Richard Stallman <rms@gnu.org>
1986
1987 * src/bison.s1: *** empty log message ***
1988
19891993-07-04 Richard Stallman <rms@gnu.org>
1990
1991 * bison.simple: *** empty log message ***
1992
19931993-06-26 David J. MacKenzie <djm@gnu.org>
1994
1995 * src/getargs.c: entered into RCS
1996
19971993-06-26 David J. MacKenzie <djm@gnu.org>
1998
1999 * doc/bison.texinfo: *** empty log message ***
2000
2001 * doc/bison.1: New file.
2002
20031993-06-25 Richard Stallman <rms@gnu.org>
2004
2005 * src/getargs.c: New file.
2006
20071993-06-16 Richard Stallman <rms@gnu.org>
2008
2009 * src/bison.s1: *** empty log message ***
2010
20111993-06-16 Richard Stallman <rms@gnu.org>
2012
2013 * bison.simple: *** empty log message ***
2014
20151993-06-03 Richard Stallman <rms@gnu.org>
2016
2017 * src/bison.s1: New file.
2018
20191993-06-03 Richard Stallman <rms@gnu.org>
2020
2021 * doc/bison.texinfo: *** empty log message ***
2022
20231993-06-03 Richard Stallman <rms@gnu.org>
2024
2025 * bison.simple: New file.
2026
20271993-05-19 Richard Stallman <rms@gnu.org>
2028
2029 * doc/bison.texinfo: New file.
2030
20311993-05-07 Noah Friedman <friedman@gnu.org>
2032
2033 * Makefile.in: *** empty log message ***
2034
20351993-04-28 Noah Friedman <friedman@gnu.org>
2036
2037 * src/reader.c: *** empty log message ***
2038
20391993-04-23 Noah Friedman <friedman@gnu.org>
2040
2041 * src/alloc.h: entered into RCS
2042
20431993-04-20 David J. MacKenzie <djm@gnu.org>
2044
2045 * src/version.c: *** empty log message ***
2046
2047 * src/files.c, src/allocate.c:
2048 entered into RCS
2049
2050 * src/reader.c: *** empty log message ***
2051
2052 * src/lex.c: entered into RCS
2053
2054 * src/conflicts.c: New file.
2055
2056 * src/symtab.c: entered into RCS
2057
2058 * src/alloc.h: New file.
2059
2060 * src/LR0.c: entered into RCS
2061
20621993-04-18 Noah Friedman <friedman@gnu.org>
2063
2064 * src/reader.c: New file.
2065
2066 * src/version.c: *** empty log message ***
2067
20681993-04-18 Noah Friedman <friedman@gnu.org>
2069
2070 * Makefile.in: *** empty log message ***
2071
20721993-04-17 Noah Friedman <friedman@gnu.org>
2073
2074 * Makefile.in: *** empty log message ***
2075
20761993-04-15 Richard Stallman <rms@gnu.org>
2077
2078 * src/main.c, src/files.c:
2079 New file.
2080
20811993-04-15 Noah Friedman <friedman@gnu.org>
2082
2083 * configure.in: entered into RCS
2084
2085 * configure.in: *** empty log message ***
2086
2087 * configure.in: New file.
2088
20891993-04-14 Richard Stallman <rms@gnu.org>
2090
2091 * Makefile.in: New file.
2092
20931993-04-13 Richard Stallman <rms@gnu.org>
2094
2095 * src/version.c: New file.
2096
20971993-03-25 Richard Stallman <rms@gnu.org>
2098
2099 * src/output.c: entered into RCS
2100
21011992-09-25 Richard Stallman <rms@gnu.org>
2102
2103 * configure.bat: entered into RCS
2104
21051992-06-22 Richard Stallman <rms@gnu.org>
2106
2107 * src/vmsgetargs.c: entered into RCS
2108
21091992-06-22 Richard Stallman <rms@gnu.org>
2110
2111 * doc/bison.rnh: entered into RCS
2112
21131992-04-20 David J. MacKenzie <djm@gnu.org>
2114
2115 * README: entered into RCS
2116
21171992-01-22 Richard Stallman <rms@gnu.org>
2118
2119 * src/machine.h: entered into RCS
2120
21211991-12-21 Richard Stallman <rms@gnu.org>
2122
2123 * src/lalr.c, src/closure.c:
2124 entered into RCS
2125
21261991-12-20 Richard Stallman <rms@gnu.org>
2127
2128 * src/state.h: entered into RCS
2129
21301991-12-18 Richard Stallman <rms@gnu.org>
2131
2132 * src/print.c, src/nullable.c, src/derives.c:
2133 entered into RCS
2134
21351991-11-03 David J. MacKenzie <djm@gnu.org>
2136
2137 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
2138 entered into RCS
2139
21401988-09-09 Richard Stallman <rms@gnu.org>
2141
2142 * src/bison.hairy: entered into RCS
2143
21441987-12-16 Richard Stallman <rms@gnu.org>
2145
2146 * REFERENCES: entered into RCS