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