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