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