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