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