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