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