]> git.saurik.com Git - bison.git/blob - ChangeLog
Introduce obstacks.
[bison.git] / ChangeLog
1 2000-11-01 Akim Demaille <akim@epita.fr>
2
3 Introduce obstacks.
4 Change each use of `faction' into a use of `action_obstack'.
5
6 * lib/obstack.h, lib/obstack.c: New files.
7 * src/files.c (faction): Remove.
8 (action_obstack): New.
9 Adjust all dependencies.
10
11 2000-10-20 Akim Demaille <akim@epita.fr>
12
13 * lib/quote.h (PARAMS): New macro. Use it.
14
15 2000-10-16 Akim Demaille <akim@epita.fr>
16
17 * src/output.c (output_short_or_char_table): New function.
18 (output_short_table, output_token_translations): Use it.
19 (goto_actions): Use output_short_table.
20
21 2000-10-16 Akim Demaille <akim@epita.fr>
22
23 * src/symtab.c (bucket_new): New function.
24 (getsym): Use it.
25
26 * src/output.c (output_short_table): New argument to display the
27 comment associated with the table.
28 Adjust dependencies.
29 (output_gram): Use it.
30 (output_rule_data): Nicer output layout for YYTNAME.
31
32 2000-10-16 Akim Demaille <akim@epita.fr>
33
34 * src/lex.c (read_typename): New function.
35 (lex): Use it.
36 * src/reader.c (copy_dollar): Likewise.
37
38 2000-10-16 Akim Demaille <akim@epita.fr>
39
40 * src/reader.c (copy_comment2): Expect the input stream to be on
41 the `/' which is suspected to open a comment, instead of being
42 called after `//' or `/*' was read.
43 (copy_comment, copy_definition, parse_union_decl, copy_action)
44 (copy_guard): Adjust.
45
46 2000-10-16 Akim Demaille <akim@epita.fr>
47
48 * src/reader.c (parse_expect_decl): Use `skip_white_space' and
49 `read_signed_integer'.
50
51 2000-10-16 Akim Demaille <akim@epita.fr>
52
53 * src/reader.c (copy_dollar): New function.
54 (copy_guard, copy_action): Use it.
55
56 2000-10-16 Akim Demaille <akim@epita.fr>
57
58 * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c:
59 * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4:
60 New files, from Fileutils 4.0.27.
61 * src/main.c (printable_version): Remove.
62 * src/lex.c, src/reader.c: Use `quote'.
63
64 2000-10-04 Akim Demaille <akim@epita.fr>
65
66 * lib/error.c, lib/error.h: New files, needed by xmalloc.c.
67
68 2000-10-04 Akim Demaille <akim@epita.fr>
69
70 * doc/bison.texinfo: Various typos spotted by Neil Booth.
71
72 2000-10-04 Akim Demaille <akim@epita.fr>
73
74 When a literal string is used to define two different tokens,
75 `bison -v' segfaults.
76 Reported by Piotr Gackiewicz, and fixed by Neil Booth.
77
78 * tests/regression.m4: New file.
79 Include the core of the sample provided by Piotr Gackiewicz.
80 * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed
81 properly.
82
83 2000-10-04 Akim Demaille <akim@epita.fr>
84
85 * src/reader.c (parse_expect_decl): Keep `count' within the size
86 of `buffer'.
87 From Neil Booth.
88
89 2000-10-02 Paul Eggert <eggert@twinsun.com>
90
91 * bison.s1 (yyparse): Assign the default value
92 unconditionally, to avoid a GCC warning and make the parser a
93 tad smaller.
94
95 2000-10-02 Akim Demaille <akim@epita.fr>
96
97 * src/getargs.c (getargs): Don't dump `--help' on unrecognized
98 options.
99
100 2000-10-02 Akim Demaille <akim@epita.fr>
101
102 * src/derives.c, src/print.c, src/reduce.c: To ease the
103 translation, move some `\n' out of the translated strings.
104
105 2000-10-02 Akim Demaille <akim@epita.fr>
106
107 The location tracking mechanism is precious for parse error
108 messages. Nevertheless, it is enabled only when `@n' is used in
109 the grammar, which is a different issue (you can use it in error
110 message, but not in the grammar per se). Therefore, there should
111 be another means to enable it.
112
113 * src/getargs.c (getargs): Support `--locations'.
114 (usage): Report it.
115 * src/getargs.h (locationsflag): Export it.
116 * src/lex.c (percent_table): Support `%locations'.
117 * src/reader.c (yylsp_needed): Remove this variable, now replaced
118 with `locationsflag'.
119 * doc/bison.texinfo: Document `--locations' and `%locations'.
120 Sort the options.
121 * tests/calc.m4: Test it.
122
123 For regularity of the names, replace each
124 (nolineflag, toknumflag, rawtokenumflag, noparserflag): with...
125 (no_lineflag, token_tableflag, rawflag, no_parserflag): this.
126 In addition replace each `flag' with `_flag'.
127
128 2000-10-02 Akim Demaille <akim@epita.fr>
129
130 Also test parse error messages, including with YYERROR_VERBOSE.
131
132 * tests/calc.m4 (calc.y): Add support for `exp = exp' (non
133 associative).
134 Use it to check the computations.
135 Use it to check `nonassoc' is honored.
136 (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed
137 `--yyerror-verbose'.
138 (_AT_CHECK_CALC): Adjust to this option.
139 (_AT_CHECK_CALC_ERROR): New macro to check parse error messages.
140
141 2000-10-02 Akim Demaille <akim@epita.fr>
142
143 Test also `--verbose', `--defines' and `--name-prefix'. Testing
144 the latter demonstrates a flaw in the handling of non debugging
145 parsers introduced by myself on 2000-03-16: `#define yydebug 0'
146 was used in order to simplify:
147
148 #if YYDEBUG
149 if (yydebug)
150 {
151 ...
152 }
153 #endif
154
155 into
156
157 if (yydebug)
158 {
159 ...
160 }
161
162 unfortunately this leads to a CPP conflict when
163 `--name-prefix=foo' is used since it produces `#define yydebug
164 foodebug'.
165
166 * src/bison.s1 [!YYDEBUG]: Do not define yydebug.
167 (YYDPRINTF): New macro.
168 Spread its use.
169 * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from
170 the bison options.
171 Also test `--verbose', `--defines' and `--name-prefix'.
172
173 2000-10-02 Akim Demaille <akim@epita.fr>
174
175 Improve the readability of the produced parsers.
176
177 * src/bison.s1: Formatting changes.
178 Improve the comment related to the `$' mark.
179 (yydefault): Don't fall through to `yyresume': `goto' there.
180 * src/output.c (output_parser): When the `$' is met, skip the end
181 of its line.
182 New variable, `number_of_dollar_signs', to check there's exactly
183 one `$' in the parser skeleton.
184
185 2000-10-02 Akim Demaille <akim@epita.fr>
186
187 * lib/xstrdup.c: New file, from the fileutils.
188 * src/reader.c (parse_token_decl, get_type_name, parse_type_decl)
189 (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup'
190 instead of strlen + xmalloc + strcpy.
191 * src/symtab.c (copys): Remove, use xstrdup instead.
192
193 2000-10-02 Akim Demaille <akim@epita.fr>
194
195 * src/gram.h (associativity): New enum type which replaces the
196 former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with
197 `right_assoc', `left_assoc' and `non_assoc'.
198 Adjust all dependencies.
199 * src/reader.c: Formatting changes.
200 (LTYPESTR): Don't define it, use it as a literal in
201 `reader_output_yylsp'.
202 * src/symtab.h (symbol_class): New enum type which replaces the
203 former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with
204 `sunknown', `stoken and `snterm'.
205
206 2000-10-02 Akim Demaille <akim@epita.fr>
207
208 * src/getargs.c (fixed_outfiles): Rename as...
209 (yaccflag): for consistency and accuracy.
210 Adjust dependencies.
211
212 2000-10-02 Akim Demaille <akim@epita.fr>
213
214 Use the more standard files `xalloc.h' and `xmalloc.c' instead of
215 Bison's `allocate.c' and `alloc.h'. This patch was surprisingly
216 difficult and introduced a lot of core dump. It turns out that
217 Bison used an implementation of `xmalloc' based on `calloc', and
218 at various places it does depend upon the initialization to 0. I
219 have not tried to isolate the pertinent places, and all the former
220 calls to Bison's `xmalloc' are now using `XCALLOC'. Someday,
221 someone should address this issue.
222
223 * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove.
224 * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New
225 files.
226 Adjust dependencies.
227 * src/warshall.h: New file.
228 Propagate.
229
230 2000-10-02 Akim Demaille <akim@epita.fr>
231
232 Various anti-`extern in *.c' changes.
233
234 * src/system.h: Include `assert.h'.
235
236 2000-10-02 Akim Demaille <akim@epita.fr>
237
238 * src/state.h (nstates, final_state, first_state, first_shift)
239 (first_reduction): Move their exportation from here...
240 * src/LR0.h: to here.
241 Adjust dependencies.
242 * src/getargs.c (statisticsflag): New variable.
243 Add support for `--statistics'.
244 Adjust dependencies.
245
246 Remove a lot of now useless `extern' statements in most files.
247
248 2000-10-02 Akim Demaille <akim@epita.fr>
249
250 * src/LR0.h: New file.
251 Propagate its use.
252
253 2000-10-02 Akim Demaille <akim@epita.fr>
254
255 * src/print.h: New file.
256 Propagate its use.
257 * src/print.c: Formatting and ordering changes.
258 (verbose, terse): Replace with...
259 (print_results): this new function.
260 Adjust dependencies.
261
262 2000-10-02 Akim Demaille <akim@epita.fr>
263
264 * src/conflicts.c (conflict_report): New function.
265 (conflict_log, verbose_conflict_log): Replace with...
266 (print_conflicts): this function.
267 Adjust dependencies.
268 * src/conflicts.h: New file.
269 Propagate its inclusion.
270
271 2000-10-02 Akim Demaille <akim@epita.fr>
272
273 * src/nullable.h: New file.
274 Propagate its inclusion.
275 * src/nullable.c: Formatting changes.
276
277 2000-10-02 Akim Demaille <akim@epita.fr>
278
279 * src/reduce.h: New file.
280 Propagate its inclusion.
281 * src/reduce.c: Topological sort and other formatting changes.
282 (bool, TRUE, FALSE): Move their definition to...
283 * src/system.h: here.
284
285 2000-10-02 Akim Demaille <akim@epita.fr>
286
287 * src/files.c: Formatting changes.
288 (tryopen, tryclose, openfiles): Rename as...
289 (xfopen, xfclose, open_files): this.
290 (stringappend): static.
291 * src/files.h: Complete the list of exported symbols.
292 Propagate its use.
293
294 2000-10-02 Akim Demaille <akim@epita.fr>
295
296 * src/reader.h: New file.
297 Propagate its use instead of tedious list of `extern' and
298 prototypes.
299 * src/reader.c: Formatting changes, topological sort,
300 s/register//.
301
302 2000-10-02 Akim Demaille <akim@epita.fr>
303
304 * src/lex.h: Prototype `lex.c' exported functions.
305 * src/reader.c: Adjust.
306 * src/lex.c: Formatting changes.
307 (safegetc): Rename as...
308 (xgetc): this.
309
310 2000-10-02 Akim Demaille <akim@epita.fr>
311
312 * src/lalr.h: New file.
313 Propagate its inclusion instead of prototypes and `extern'.
314 * src/lalr.c: Formatting changes, topological sorting etc.
315
316 2000-10-02 Akim Demaille <akim@epita.fr>
317
318 * src/output.c (token_actions): Introduce a temporary array,
319 YYDEFACT, that makes it possible for this function to use
320 output_short_table.
321
322 2000-10-02 Akim Demaille <akim@epita.fr>
323
324 `user_toknums' is output as a `short[]' in `output.c', while it is
325 defined as a `int[]' in `reader.c'. For consistency with the
326 other output tables, `user_toknums' is now defined as a table of
327 shorts.
328
329 * src/reader.c (user_toknums): Be a short table instead of an int
330 table.
331 Adjust dependencies.
332
333 Factor the short table outputs.
334
335 * src/output.c (output_short_table): New function.
336 * src/output.c (output_gram, output_stos, output_rule_data)
337 (output_base, output_table, output_check): Use it.
338
339 2000-10-02 Akim Demaille <akim@epita.fr>
340
341 * src/output.c (output): Topological sort of the functions, in
342 order to get rid of the `static' prototypes.
343 No longer use `register'.
344 * src/output.h: New file.
345 Propagate its inclusion in files explicitly prototyping functions
346 from output.c.
347
348 2000-09-21 Akim Demaille <akim@epita.fr>
349
350 * src/atgeneral.m4: Update from Autoconf.
351
352 2000-09-21 Akim Demaille <akim@epita.fr>
353
354 * src/closure.h: New file.
355 * src/closure.c: Formatting changes, topological sort over the
356 functions, use of closure.h.
357 (initialize_closure, finalize_closure): Rename as...
358 (new_closure, free_closure): these. Adjust dependencies.
359 * src/LR0.c: Formatting changes, topological sort, use of
360 cloture.h.
361 (initialize_states): Rename as...
362 (new_states): this.
363 * src/Makefile.am (noinst_HEADERS): Adjust.
364
365 2000-09-20 Akim Demaille <akim@epita.fr>
366
367 * src/acconfig.h: Don't protect config.h against multiple
368 inclusion.
369 Don't define PARAMS.
370 * src/system.h: Define PARAMS.
371 Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the
372 purpose of config.h. system.h must not try to fix wrong
373 definitions in config.h.
374
375 2000-09-20 Akim Demaille <akim@epita.fr>
376
377 * src/derives.h: New file.
378 * src/main.c, src/derives.h: Use it.
379 Formatting changes.
380 * src/Makefile.am (noinst_HEADERS): Adjust.
381
382 2000-09-20 Akim Demaille <akim@epita.fr>
383
384 * tests/atgeneral.m4: Update from Autoconf.
385 * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC)
386 (AT_CHECK_CALC): New macros.
387 Use these macros to test bison with options `', `--raw',
388 `--debug', `--yacc', `--yacc --debug'.
389
390 2000-09-19 Akim Demaille <akim@epita.fr>
391
392 * src/output.c: Formatting changes.
393 * src/machine.h: Remove, leaving its contents in...
394 * src/system.h: here.
395 Include stdio.h.
396 Adjust all dependencies on stdio.h and machine.h.
397 * src/getargs.h: New file.
398 Let all `extern' declarations about getargs.c be replaced with
399 inclusion of `getargs.h'.
400 * src/Makefile.am (noinst_HEADERS): Adjust.
401
402 * tests/calc.m4 (yyin): Be initialized in main, not on the global
403 scope.
404 (yyerror): Returns void, not int.
405 * doc/bison.texinfo: Formatting changes.
406
407 2000-09-19 Akim Demaille <akim@epita.fr>
408
409 * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not
410 portable.
411
412 2000-09-18 Akim Demaille <akim@epita.fr>
413
414 * configure.in: Append WARNING_CFLAGS to CFLAGS.
415 * src/Makefile.am (INCLUDES): Don't.
416 Be ready to fetch headers in lib/.
417
418 2000-09-18 Akim Demaille <akim@epita.fr>
419
420 * doc/bison.texinfo: Update the copyright.
421 ANSIfy and GNUify the examples.
422 Remove the old menu.
423
424 2000-09-18 Akim Demaille <akim@epita.fr>
425
426 First set of tests: use the `calc' example from the documentation.
427
428 * src/bison.s1 (yyparse): Condition the code using `yytname' which
429 is defined only when YYDEBUG is.
430 * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13.
431 * src/files.c (tryopen, tryclose): Formatting changes.
432 Move to the top and be static.
433 * src/reader.c (read_signed_integer): Likewise.
434 * tests/calc.m4: New file.
435 * Makefile.am, suite.m4: Adjust.
436 * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY.
437
438 2000-09-18 Akim Demaille <akim@epita.fr>
439
440 Add support for an Autotest test suite for Bison.
441
442 * m4/m4.m4, m4/atconfig.m4: New files.
443 * m4/Makefile.am (EXTRA_DIST): Adjust.
444 * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New
445 files.
446 * src/getargs.c: Display a more standard --version message.
447 * src/reader.c (reader): Formatting changes.
448 No longer depend upon VERSION_STRING.
449 * configure.in: No longer use `dnl'.
450 Set up the test suite and the new directory `tests/.
451 (VERSION_STRING): Remove.
452
453 2000-04-14 Akim Demaille <akim@epita.fr>
454
455 * src/reader.c (copy_comment2): New function, same as former
456 `copy_comment', but outputs into two FILE *.
457 (copy_comment): Use it.
458 (parse_union_decl): Use it.
459 (get_type, parse_start_decl): Use the same `invalid' message.
460 (parse_start_decl, parse_union_decl): Use the same `multiple'
461 message.
462 (parse_union_decl, copy_guard, copy_action): Use the same
463 `unmatched' message.
464 * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'.
465
466 2000-03-31 Akim Demaille <akim@epita.fr>
467
468 * src/files.c (tryopen, tryclose): Move to the top.
469 Be static.
470
471 2000-03-31 Akim Demaille <akim@epita.fr>
472
473 * src/main.c (main): Don't call `done', exit does it.
474
475 2000-03-31 Akim Demaille <akim@epita.fr>
476
477 * allocate.c: s/return (foo)/return foo/.
478 * lalr.c: Likewise.
479 * LR0.c: Likewise.
480 * output.c: Likewise.
481 * reader.c: Likewise.
482 * symtab.c: Likewise.
483 * vmsgetargs.c: Likewise.
484
485 2000-03-31 Akim Demaille <akim@epita.fr>
486
487 Clean up the error reporting functions.
488
489 * src/report.c: New file.
490 * src/report.h: Likewise.
491 * src/Makefile.am: Adjust.
492 * m4/error.m4: New file.
493 * m4/Makefile.am: Adjust.
494 * configure.in (jm_PREREQ_ERROR): Call it.
495 * src/main.c (int_to_string, banner, fatal_banner, warn_banner):
496 Remove.
497 (fatal, fatals): Remove. All callers use complain.c::fatal.
498 (warn, warni, warns, warnss, warnss): Remove. All callers use
499 complain.c::complain.
500 (toomany): Remove, use fatal instead.
501 * src/files.c (done): No argument, use complain_message_count.
502 * src/main.c (main): Register `done' to `atexit'.
503
504 * src/getargs.c (usage): More `fputs', less `fprintf'.
505
506 2000-03-28 Akim Demaille <akim@epita.fr>
507
508 * lib/: New directory.
509 * Makefile.am (SUBDIRS): Adjust.
510 * configure.in: Adjust.
511 (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's
512 useless.
513 * src/alloca.c: Moved to lib/.
514 * src/getopt.c: Likewise.
515 * src/getopt1.c: Likewise.
516 * src/getopt.h: Likewise.
517 * src/ansi2knr.c: Likewise.
518 * src/ansi2knr.1: Likewise.
519 * src/Makefile.am: Adjust.
520 * lib/Makefile.am: New file.
521
522 2000-03-28 Akim Demaille <akim@epita.fr>
523
524 * src/getargs.c (usage): Refresh the help message.
525
526 2000-03-17 Akim Demaille <akim@epita.fr>
527
528 * src/getopt1.c: Updated from textutils 2.0e
529 * src/getopt.c: Likewise.
530 * src/getopt.h: Likewise.
531
532 2000-03-17 Akim Demaille <akim@epita.fr>
533
534 * src/Makefile.am (bison.simple): Fix the awk program: quote only
535 the file name, not the whole `#line LINE FILE'.
536
537 2000-03-17 Akim Demaille <akim@epita.fr>
538
539 On syntax errors, report the token on which we choked.
540
541 * src/bison.s1 (yyparse): In the label yyerrlab, when
542 YYERROR_VERBOSE, add yychar in msg.
543
544 2000-03-17 Akim Demaille <akim@epita.fr>
545
546 * src/reader.c (copy_at): New function.
547 (copy_guard): Use it.
548 (copy_action): Use it.
549
550 2000-03-17 Akim Demaille <akim@epita.fr>
551
552 Be kind to translators, save some useless translations.
553
554 * src/main.c (banner): New function.
555 (fatal_banner): Use it.
556 (warn_banner): Use it.
557
558 2000-03-17 Akim Demaille <akim@epita.fr>
559
560 * src/reader.c (copy_definition): Use copy_string and
561 copy_comment. Removed now unused `match', `ended',
562 `cplus_comment'.
563 (copy_comment, copy_string): Moved, to be visible from
564 copy_definition.
565
566 2000-03-17 Akim Demaille <akim@epita.fr>
567
568 * src/reader.c (copy_string): Declare `static inline'. No
569 problems with inline, since it is checked by configure.
570 (copy_comment): Likewise.
571
572 2000-03-17 Akim Demaille <akim@epita.fr>
573
574 * src/reader.c (packsymbols): Formatting changes.
575
576 2000-03-17 Akim Demaille <akim@epita.fr>
577
578 * src/reader.c (copy_comment): New function, factored out from:
579 (copy_action): Use it. Removed now unused `match', `ended',
580 `cplus_comment'.
581 (copy_guard): Likewise.
582
583 2000-03-17 Akim Demaille <akim@epita.fr>
584
585 * src/reader.c (copy_string): New function, factored out from:
586 (copy_action): Use it.
587 (copy_guard): Likewise.
588
589 2000-03-17 Akim Demaille <akim@epita.fr>
590
591 Change the handling of @s so that they behave exactly like $s.
592 There is now a pseudo variable @$ (readble and writable), location
593 of the lhs of the rule (by default ranging from the location of
594 the first symbol of the rhs, to the location of the last symbol,
595 or, if the rhs is empty, YYLLOC).
596
597 * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of
598 yyval.
599 (yyparse): When providing a default semantic action, provide a
600 default location action.
601 (after the $): No longer change `*YYLSP', just stack YYLOC the
602 same way you stack YYVAL.
603 * src/reader.c (read_declarations): Use warns.
604 (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'.
605 (copy_action, case '@'): Likewise.
606 Use a standard error message, to save useless work from
607 translators.
608
609 2000-03-17 Akim Demaille <akim@epita.fr>
610
611 * src/bison.s1: Formatting and cosmetics changes.
612 * src/reader.c: Likewise.
613 Update the Copyright notice.
614
615 2000-03-17 Akim Demaille <akim@epita.fr>
616
617 * src/bison.s1 (#line): All set to `#line' only, since the
618 Makefile now handles them.
619
620 2000-03-16 Akim Demaille <akim@epita.fr>
621
622 * src/output.c (output_rule_data): Output the documentation of
623 some of the tables.
624 (Copyright notice): Update.
625 Formatting changes.
626
627 2000-03-16 Akim Demaille <akim@epita.fr>
628
629 * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
630 remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough.
631 One `#if YYDEBUG' remains, since it uses variables which are
632 defined only if `YYDEBUG != 0'.
633
634 2000-03-16 Akim Demaille <akim@epita.fr>
635
636 * src/bison.s1 (yyparse): Reorganize the definitions of the stacks
637 and related variables so that the similarities are highlighted.
638
639 2000-03-16 Akim Demaille <akim@epita.fr>
640
641 * src/bison.s1: Properly indent CPP directives.
642
643 2000-03-16 Akim Demaille <akim@epita.fr>
644
645 * src/bison.s1: Properly indent the `alloca' CPP section.
646
647 2000-03-16 Akim Demaille <akim@epita.fr>
648
649 Do not hard code values of directories in `configure.in'.
650 Update the `configure' tool chain.
651
652 * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by
653 src/makefile.am.
654 (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED.
655 (AC_OUTPUT): Add m4/Makefile.
656 Bump to bison 1.28a, 1.29 has never been released.
657 * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are
658 handled via src/Makefile.am.
659 (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS,
660 HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by
661 autoheader.
662 * Makefile.am (SUBDIRS): Add m4.
663 (ACLOCAL_AM_FLAGS): New variable.
664 (AUTOMAKE_OPTIONS): Add check-news.
665 * src/Makefile.am (bison.simple): Use awk to replace #line lines with
666 the proper line number and file name.
667 (DEFS): Propagate the location of bison library files and of the
668 locale files.
669 (INCLUDES): Added `-I ..' so that one can compile with srcdir !=
670 builddir.
671 * acinclude.m4: Remove, replaced by the directory m4.
672 * m4/Makefile.am (EXTRA_DIST): New variable.
673 * m4/gettext.m4: New file, from the fileutils.
674 * m4/lcmessage.m4: Likewise
675 * m4/progtest.m4: Likewise.
676 * m4/bison-decl.m4: New file, extracted from former acinclude.m4.
677
678 2000-03-10 Akim Demaille <akim@epita.fr>
679
680 * src/closure.c:
681 Formatting changes of various comments.
682 Respect the GNU coding standards at various places.
683 Don't use `_()' when no translation is needed.
684
685 1999-12-13 Jesse Thilo <jthilo@gnu.org>
686
687 * src/files.c:
688 OS/2 honors TMPDIR environment variable.
689
690 1999-12-13 Jesse Thilo <jthilo@gnu.org>
691
692 * doc/bison.texinfo: Tweaked spelling and grammar.
693 Updated ISBN.
694 Removed reference to price of printed copy.
695 Mention BISON_SIMPLE and BISON_HAIRY.
696
697 1999-12-13 Jesse Thilo <jthilo@gnu.org>
698
699 * configure.in, NEWS:
700 Bison 1.29 released.
701
702 1999-10-27 Jesse Thilo <jthilo@gnu.org>
703
704 * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex:
705 Added reference card.
706
707 1999-07-26 Jesse Thilo <jthilo@gnu.org>
708
709 * po/ru.po: Added Russian translation.
710
711 1999-07-26 Jesse Thilo <jthilo@gnu.org>
712
713 * configure.in: Added Russian translation.
714
715 1999-07-06 Jesse Thilo <jthilo@gnu.org>
716
717 * configure.in, NEWS, README:
718 Released version 1.28.
719
720 1999-06-14 Jesse Thilo <jthilo@gnu.org>
721
722 * src/system.h:
723 Squashed redefinition warning on some systems.
724
725 * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c:
726 Have configure build version string instead of relying on ANSI string
727 concatentation.
728
729 1999-06-14 Jesse Thilo <jthilo@gnu.org>
730
731 * po/POTFILES.in: Got rid of version.c.
732
733 1999-06-14 Jesse Thilo <jthilo@gnu.org>
734
735 * acconfig.h, configure.in:
736 Have configure build version string instead of relying on ANSI string
737 concatentation.
738
739 1999-06-08 Jesse Thilo <jthilo@gnu.org>
740
741 * doc/bison.1:
742 Dropped mention of `+' for long-named options.
743
744 1999-05-30 Jesse Thilo <jthilo@gnu.org>
745
746 * src/files.c: Added <unistd.h> for unlink().
747
748 * src/Makefile.am, src/system.h:
749 I18n fixes.
750
751 1999-05-30 Jesse Thilo <jthilo@gnu.org>
752
753 * README: Added a FAQ list.
754
755 * configure.in, acconfig.h:
756 I18n fixes.
757
758 1999-05-30 Jesse Thilo <jthilo@gnu.org>
759
760 * doc/FAQ, doc/Makefile.am:
761 Added a FAQ list.
762
763 1999-05-19 Jesse Thilo <jthilo@gnu.org>
764
765 * src/alloc.h, src/symtab.h, src/version.c:
766 Protected inclusion of "config.h" with HAVE_CONFIG_H.
767
768 1999-04-18 Jesse Thilo <jthilo@gnu.org>
769
770 * src/.cvsignore, src/Makefile.am:
771 Reorganized: sources in `src', documentation in `doc'.
772
773 * src/lex.c (literalchar):
774 fixed the code for escaping double quotes (thanks
775 Jonathan Czisny.)
776
777 1999-04-18 Jesse Thilo <jthilo@gnu.org>
778
779 * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in:
780 Adjusted paths to reflect directory reorganization.
781
782 1999-04-18 Jesse Thilo <jthilo@gnu.org>
783
784 * doc/.cvsignore, doc/Makefile.am:
785 Reorganized: sources in `src', documentation in `doc'.
786
787 1999-04-18 Jesse Thilo <jthilo@gnu.org>
788
789 * configure.in:
790 Updated AC_INIT file to reflect directory reorganization.
791
792 * configure.in, .cvsignore, Makefile.am, POTFILES.in:
793 Reorganized: sources in `src', documentation in `doc'.
794
795 1999-04-13 Jesse Thilo <jthilo@gnu.org>
796
797 * src/allocate.c:
798 Don't declare calloc() and realloc() if not necessary.
799
800 1999-04-13 Jesse Thilo <jthilo@gnu.org>
801
802 * configure.in, acconfig.h, acinclude.m4:
803 Don't declare calloc() and realloc() if not necessary.
804
805 1999-03-23 Jesse Thilo <jthilo@gnu.org>
806
807 * po/.cvsignore: Added i18n support.
808
809 1999-03-23 Jesse Thilo <jthilo@gnu.org>
810
811 * acconfig.h, configure.in, Makefile.am:
812 Added i18n support.
813
814 1999-03-22 Jesse Thilo <jthilo@gnu.org>
815
816 * src/bison.s1: Fixed #line numbers.
817
818 1999-03-15 Jesse Thilo <jthilo@gnu.org>
819
820 * po/es.po, po/fr.po, po/nl.po, po/de.po:
821 Added PO files from Translation Project.
822
823 1999-03-03 Jesse Thilo <jthilo@gnu.org>
824
825 * Makefile.am:
826 Added support for non-ANSI compilers (ansi2knr).
827
828 1999-02-16 Jesse Thilo <jthilo@gnu.org>
829
830 * configure.in: Bumped version number to 1.27.
831
832 * Makefile.am:
833 Added `bison.simple' to list of files removed by `make distclean'.
834
835 1999-02-12 Jesse Thilo <jthilo@gnu.org>
836
837 * src/files.c, src/files.h:
838 Defined locations of parser files in config.h instead of Makefile.
839
840 1999-02-12 Jesse Thilo <jthilo@gnu.org>
841
842 * acconfig.h, acinclude.m4, configure.in, Makefile.am:
843 Defined locations of parser files in config.h instead of Makefile.
844
845 1999-02-09 Jesse Thilo <jthilo@gnu.org>
846
847 * Makefile.am:
848 Removed inappropriate use of $< macro.
849
850 1999-02-05 Jesse Thilo <jthilo@gnu.org>
851
852 * po/Makefile.in.in, po/POTFILES.in:
853 Add `po' directory skeleton.
854
855 1999-01-27 Jesse Thilo <jthilo@gnu.org>
856
857 * README: Document help-bison list.
858
859 * configure.in: Add check for mkstemp().
860
861 1999-01-20 Jesse Thilo <jthilo@gnu.org>
862
863 * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c:
864 Hush a few compiler warnings.
865
866 * src/files.c:
867 Add tryclose(), which verifies that fclose was successful.
868 Hush a couple of compiler warnings.
869
870 1999-01-20 Jesse Thilo <jthilo@gnu.org>
871
872 * Makefile.am, OChangeLog:
873 ChangeLog is now automatically generated. Include the old version as
874 OChangeLog.
875
876 1999-01-14 Jesse Thilo <jthilo@gnu.org>
877
878 * 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:
879 Update FSF address.
880
881 1999-01-14 Jesse Thilo <jthilo@gnu.org>
882
883 * doc/bison.texinfo: Fix formatting glitch.
884
885 * doc/bison.texinfo: Update FSF address.
886
887 1999-01-14 Jesse Thilo <jthilo@gnu.org>
888
889 * acconfig.h: Update FSF address.
890
891 1999-01-08 Jesse Thilo <jthilo@gnu.org>
892
893 * src/system.h:
894 Don't define PACKAGE here, since config.h defines it.
895
896 1998-12-30 Jesse Thilo <jthilo@gnu.org>
897
898 * src/reader.c: Update copyright date.
899
900 * src/main.c:
901 Ditch sprintf to statically-sized buffers in fatal/warn functions in
902 favor of output directly to stderr (avoids buffer overruns).
903
904 * src/reader.c: Some checks for premature EOF.
905
906 * 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:
907 Use prototypes if the compiler understands them.
908
909 * src/files.c: Honor TMPDIR on Unix hosts.
910 Use prototypes if the compiler understands them.
911
912 * src/reader.c:
913 Fix a couple of buffer overrun bugs.
914 Use prototypes if the compiler understands them.
915
916 * src/system.h: Include unistd.h and ctype.h.
917 Use #ifdef instead of #if for NLS symbols.
918
919 1998-12-30 Jesse Thilo <jthilo@gnu.org>
920
921 * doc/bison.texinfo:
922 Delete comment "consider using @set for edition number, etc..." since
923 we now are doing so.
924
925 1998-12-30 Jesse Thilo <jthilo@gnu.org>
926
927 * configure.in:
928 Use prototypes if the compiler understands them.
929
930 * NEWS: Document 1.26 highlights.
931
932 * Makefile.am: Require Automake 1.3 or later.
933
934 * acconfig.h:
935 Use prototypes if the compiler understands them.
936
937 1998-12-29 Jesse Thilo <jthilo@gnu.org>
938
939 * src/version.c:
940 Use VERSION symbol from automake for version number.
941
942 1998-12-29 Jesse Thilo <jthilo@gnu.org>
943
944 * acconfig.h, configure.in, version.cin:
945 Use VERSION symbol from automake for version number.
946
947 1998-11-28 Jesse Thilo <jthilo@gnu.org>
948
949 * Makefile.am:
950 Distribute original version of simple parser (bison.s1), not built
951 version (bison.simple).
952
953 1998-11-28 Jesse Thilo <jthilo@gnu.org>
954
955 * doc/bison.texinfo: Add info dir entry.
956
957 * doc/bison.texinfo:
958 Let automake put version number into documentation.
959
960 1998-11-26 Jesse Thilo <jthilo@gnu.org>
961
962 * src/bison.cld, src/build.com, src/vmshlp.mar:
963 Add non-RCS files from /gd/gnu/bison.
964
965 1998-11-26 Jesse Thilo <jthilo@gnu.org>
966
967 * doc/bison.1:
968 Document the BISON_HAIRY and BISON_SIMPLE variables.
969
970 1998-11-25 Jesse Thilo <jthilo@gnu.org>
971
972 * src/version.c: Build version.c automatically.
973
974 * src/reader.c:
975 Fix token numbering (used to start at 258, not 257).
976
977 * src/system.h: Include config.h.
978
979 * src/getargs.c: Update bug report address.
980
981 * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h:
982 Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org.
983
984 1998-11-25 Jesse Thilo <jthilo@gnu.org>
985
986 * Makefile.am:
987 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
988
989 * configure.in, version.cin:
990 Build version.c automatically.
991
992 * AUTHORS: Add AUTHORS file.
993
994 * README: Update bug report address.
995
996 * bison.simple:
997 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1).
998
999 * configure.in, Makefile.am, Makefile.in, stamp-h.in:
1000 Add automake stuff.
1001
1002 1998-11-25 Jesse Thilo <jthilo@gnu.org>
1003
1004 * doc/bison.texinfo: Clean up some formatting.
1005
1006 1998-05-05 Richard Stallman <rms@gnu.org>
1007
1008 * doc/bison.texinfo:
1009 Explain better why to make a pure parser.
1010
1011 1998-01-05 Richard Stallman <rms@gnu.org>
1012
1013 * src/files.c (openfiles):
1014 [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to
1015 find a temporary directory, if possible. Do not unlink files while
1016 they are open.
1017
1018 1997-08-25 Richard Stallman <rms@gnu.org>
1019
1020 * src/reader.c (stack_offset;):
1021 Change some warni to warns.
1022
1023 * src/lex.c (literalchar): Use warns, not warni.
1024
1025 1997-06-28 Richard Stallman <rms@gnu.org>
1026
1027 * src/bison.s1: Add a Bison version comment.
1028
1029 * src/main.c (fatal, warn, berror):
1030 Use program_name.
1031
1032 1997-06-28 Richard Stallman <rms@gnu.org>
1033
1034 * Makefile.in (bison_version): New variable.
1035 (dist): Use that variable.
1036 (bison.s1): Substitute the Bison version into bison.simple.
1037
1038 * bison.simple: Add a Bison version comment.
1039
1040 1997-06-18 Richard Stallman <rms@gnu.org>
1041
1042 * src/main.c (fatal, warn, berror):
1043 Make error messages standard.
1044 (toomany): Improve error message text.
1045
1046 * 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:
1047 new.h renamed to alloc.h.
1048
1049 1997-06-18 Richard Stallman <rms@gnu.org>
1050
1051 * Makefile.in: new.h renamed to alloc.h.
1052
1053 1997-05-24 Richard Stallman <rms@gnu.org>
1054
1055 * src/lex.c (literalchar):
1056 Fix the code for escaping \, " and '.
1057
1058 (lex): Avoid trouble when there are many chars
1059 to discard in a char literal with just several chars in it.
1060
1061 1997-05-17 Richard Stallman <rms@gnu.org>
1062
1063 * src/bison.s1:
1064 Use malloc, if using alloca is troublesome.
1065 (YYSTACK_USE_ALLOCA): New flag macro.
1066 Define it for some systems and compilers.
1067 (YYSTACK_ALLOC): New macro.
1068 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1069 If it was malloc'd, free it.
1070
1071 1997-05-17 Richard Stallman <rms@gnu.org>
1072
1073 * bison.simple:
1074 Use malloc, if using alloca is troublesome.
1075 (YYSTACK_USE_ALLOCA): New flag macro.
1076 Define it for some systems and compilers.
1077 (YYSTACK_ALLOC): New macro.
1078 (yyparse): Use YYSTACK_ALLOC to allocate stack.
1079 If it was malloc'd, free it.
1080
1081 1997-04-23 Richard Stallman <rms@gnu.org>
1082
1083 * src/bison.s1:
1084 (alloca) [__hpux]: Always define as __builtin_alloca.
1085
1086 1997-04-23 Richard Stallman <rms@gnu.org>
1087
1088 * bison.simple:
1089 (alloca) [__hpux]: Always define as __builtin_alloca.
1090
1091 1997-04-22 Richard Stallman <rms@gnu.org>
1092
1093 * src/bison.s1:
1094 [__hpux]: Include alloca.h (right for HPUX 10)
1095 instead of declaring alloca (right for HPUX 9).
1096
1097 * src/bison.s1 (__yy_memcpy):
1098 Declare arg `count' as unsigned int.
1099 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1100
1101 1997-04-22 Richard Stallman <rms@gnu.org>
1102
1103 * bison.simple:
1104 [__hpux]: Include alloca.h (right for HPUX 10)
1105 instead of declaring alloca (right for HPUX 9).
1106
1107 * bison.simple (__yy_memcpy):
1108 Declare arg `count' as unsigned int.
1109 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
1110
1111 1997-01-03 Richard Stallman <rms@gnu.org>
1112
1113 * src/allocate.c: [__STDC__ or _MSC_VER]:
1114 Declare calloc and realloc to return void *.
1115
1116 1997-01-02 Richard Stallman <rms@gnu.org>
1117
1118 * src/system.h:
1119 [_MSC_VER]: Include stdlib.h and process.h.
1120 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
1121
1122 * src/main.c (main): Return FAILURE as a value.
1123 (printable_version): Declare arg as int, not char.
1124
1125 1997-01-02 Richard Stallman <rms@gnu.org>
1126
1127 * Makefile.in (dist):
1128 Explicitly check for symlinks, and copy them.
1129
1130 1996-12-19 Richard Stallman <rms@gnu.org>
1131
1132 * src/files.c:
1133 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
1134
1135 1996-12-18 Paul Eggert <eggert@gnu.org>
1136
1137 * src/bison.s1 (yyparse):
1138 If __GNUC__ and YYPARSE_PARAM are both defined,
1139 declare yyparse to have a void * argument.
1140
1141 1996-12-18 Paul Eggert <eggert@gnu.org>
1142
1143 * bison.simple (yyparse):
1144 If __GNUC__ and YYPARSE_PARAM are both defined,
1145 declare yyparse to have a void * argument.
1146
1147 1996-12-17 Richard Stallman <rms@gnu.org>
1148
1149 * src/reduce.c (nbits): Add some casts.
1150
1151 1996-08-12 Richard Stallman <rms@gnu.org>
1152
1153 * src/bison.s1: Test _MSDOS as well as _MSDOS_.
1154
1155 1996-08-12 Richard Stallman <rms@gnu.org>
1156
1157 * bison.simple: Test _MSDOS as well as _MSDOS_.
1158
1159 1996-07-31 Richard Stallman <rms@gnu.org>
1160
1161 * src/bison.s1:
1162 [__sun && __i386]: Include alloca.h.
1163
1164 1996-07-31 Richard Stallman <rms@gnu.org>
1165
1166 * bison.simple:
1167 [__sun && __i386]: Include alloca.h.
1168
1169 1996-07-30 Richard Stallman <rms@gnu.org>
1170
1171 * src/bison.s1: Comment change.
1172
1173 * src/bison.s1: Test _MSDOS_, not MSDOS.
1174
1175 1996-07-30 Richard Stallman <rms@gnu.org>
1176
1177 * bison.simple: Comment change.
1178
1179 * bison.simple: Test _MSDOS_, not MSDOS.
1180
1181 1996-06-01 Richard Stallman <rms@gnu.org>
1182
1183 * 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:
1184 Insert `_' macro around many string constants.
1185
1186 * src/main.c:
1187 Insert `_' macro around many string constants.
1188
1189 (main): Call setlocale, bindtextdomain and textdomain.
1190
1191 * src/system.h: [HAVE_LOCALE_H]: Include locale.h.
1192 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
1193 [ENABLE_NLS]: Include libintl.h.
1194 [ENABLE_NLS] (gettext): Define.
1195 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
1196 (N_, PACKAGE, LOCALEDIR): New macros.
1197
1198 1996-06-01 Richard Stallman <rms@gnu.org>
1199
1200 * POTFILES.in: New file.
1201
1202 * Makefile.in (allocate.o):
1203 Define target explicitly.
1204
1205 * Makefile.in (CFLAGS): Set to @CFLAGS@.
1206 (LDFLAGS): Set to @LDFLAGS@.
1207 (configure): Run autoconf only if preceding `cd' succeeds.
1208 (bison.s1): Redirect output to temporary file then move the
1209 temporary to the target, rather than redirecting directly to bison.s1.
1210 (clean): Remove config.status and config.log.
1211 (distclean): Don't remove config.status here.
1212
1213 1996-05-12 Richard Stallman <rms@gnu.org>
1214
1215 * src/bison.s1:
1216 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1217
1218 1996-05-12 Richard Stallman <rms@gnu.org>
1219
1220 * bison.simple:
1221 (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t.
1222
1223 1996-05-11 Richard Stallman <rms@gnu.org>
1224
1225 * src/bison.s1 (__yy_memcpy):
1226 Really reorder the args, as was supposedly done on Feb 14 1995.
1227 (yyparse): Calls changed accordingly.
1228
1229 1996-05-11 Richard Stallman <rms@gnu.org>
1230
1231 * Makefile.in (dist): Don't use $(srcdir).
1232
1233 * bison.simple (__yy_memcpy):
1234 Really reorder the args, as was supposedly done on Feb 14 1995.
1235 (yyparse): Calls changed accordingly.
1236
1237 1996-01-27 Richard Stallman <rms@gnu.org>
1238
1239 * src/output.c (output_rule_data):
1240 Test YYERROR_VERBOSE in the conditional
1241 around the definition of ttyname.
1242
1243 1995-12-29 Richard Stallman <rms@gnu.org>
1244
1245 * src/bison.s1:
1246 Fix line numbers in #line commands.
1247
1248 1995-12-29 Richard Stallman <rms@gnu.org>
1249
1250 * bison.simple:
1251 Fix line numbers in #line commands.
1252
1253 1995-12-27 Richard Stallman <rms@gnu.org>
1254
1255 * src/bison.s1 (YYPARSE_PARAM_DECL):
1256 In C++, make it always null.
1257 (YYPARSE_PARAM_ARG): New macro.
1258 (yyparse): Use YYPARSE_PARAM_ARG.
1259
1260 1995-12-27 Richard Stallman <rms@gnu.org>
1261
1262 * bison.simple (YYPARSE_PARAM_DECL):
1263 In C++, make it always null.
1264 (YYPARSE_PARAM_ARG): New macro.
1265 (yyparse): Use YYPARSE_PARAM_ARG.
1266
1267 1995-11-29 Richard Stallman <rms@gnu.org>
1268
1269 * doc/bison.texinfo:
1270 Describe literal string tokens, %raw, %no_lines, %token_table.
1271
1272 1995-11-29 Daniel Hagerty <hag@gnu.org>
1273
1274 * doc/bison.texinfo: Fixed update date
1275
1276 1995-10-16 Richard Stallman <rms@gnu.org>
1277
1278 * src/version.c: Version 1.25.
1279
1280 1995-10-16 Richard Stallman <rms@gnu.org>
1281
1282 * NEWS: *** empty log message ***
1283
1284 1995-10-16 Richard Stallman <rms@gnu.org>
1285
1286 * doc/bison.1, doc/bison.rnh:
1287 Add new options.
1288
1289 1995-10-15 Richard Stallman <rms@gnu.org>
1290
1291 * src/vmsgetargs.c, src/getargs.c:
1292 Added -n, -k, and -raw switches.
1293 (noparserflag, toknumflag, rawtoknumflag): New variables.
1294
1295 * src/symtab.h (SALIAS):
1296 New #define for adding aliases to %token.
1297 (struct bucket): Added `alias' field.
1298
1299 * src/reduce.c (reduce_grammar):
1300 Revise error message.
1301 (print_notices): Remove final `.' from error message.
1302
1303 * src/reader.c (reader_output_yylsp):
1304 New function.
1305 (readgram): Use `#if 0' around code that accepted %command
1306 inside grammar rules: The documentation doesn't allow it,
1307 and it will fail since the %command processors scan for the next %.
1308 (parse_token_decl): Extended the %token
1309 declaration to allow a multi-character symbol as an alias.
1310 (parse_thong_decl): New function.
1311 (read_declarations): Added %thong declarations.
1312 (read_declarations): Handle NOOP to deal with allowing
1313 % declarations as another means to specify the flags.
1314 (readgram): Allow %prec prior to semantics embedded in a rule.
1315 (skip_to_char, read_declarations, copy_definition)
1316 (parse_token_decl, parse_start_decl, parse_type_decl)
1317 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
1318 (get_type_name, copy_guard, copy_action, readgram)
1319 (get_type, packsymbols): Revised most error messages.
1320 Changed `fatal' to `warnxxx' to avoid aborting for error.
1321 Revised and use multiple warnxxx functions to avoid using VARARGS1.
1322 (read_declarations): Improve the error message for
1323 an invalid character. Do not abort.
1324 (read_declarations, copy_guard, copy_action): Use
1325 printable_version to avoid unprintable characters in printed output.
1326 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
1327 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
1328 Allow the type of a non-terminal can be given
1329 more than once, as long as all specifications give the same type.
1330
1331 * src/output.c:
1332 (output_headers, output_trailers, output, output_gram)
1333 (output_rule_data): Implement noparserflag variable.
1334 Implement toknumflag variable.
1335 (output): Call reader_output_yylsp to output LTYPESTR.
1336
1337 * src/main.c (main):
1338 If reader sees an error, don't process the grammar.
1339 (fatals): Updated to not use VARARGS1.
1340 (printable_version, int_to_string, warn, warni, warns, warnss)
1341 (warnsss): New error reporting functions. Avoid abort for error.
1342
1343 * src/lex.h:
1344 Added THONG and NOOP for alias processing.
1345 Added SETOPT for the new code that allows setting options with %flags.
1346
1347 * src/lex.c:
1348 Include getopt.h. Add some extern decls.
1349 (safegetc): New function to deal with EOF gracefully.
1350 (literalchar); new function to deal with reading \ escapes.
1351 (lex): Use literalchar.
1352 (lex): Implemented "..." tokens.
1353 (literalchar, lex, parse_percent_token): Made tokenbuffer
1354 always contain the token. This includes growing the token
1355 buffer while reading an integer.
1356 (parse_percent_token): Replaced if-else statement with percent_table.
1357 (parse_percent_token): Added % declarations as another
1358 way to specify the flags -n, -l, and -r. Also added hooks for
1359 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
1360 major changes to files.c.
1361 (lex) Retain in the incoming stream a character following
1362 an incorrect '/'.
1363 (skip_white_space, lex): Revised most error messages
1364 and changed fatal to warn to avoid aborting.
1365 (percent_table): Added %thong declarations.
1366
1367 * src/gram.h: Comment changes.
1368
1369 * src/files.c (openfiles, open_extra_files, done):
1370 Add faction flag
1371 and actfile file. Handle noparserflag. Both for -n switch.
1372
1373 * src/conflicts.c (resolve_sr_conflict):
1374 Remove use of alloca.
1375
1376 1995-06-01 Jim Meyering <meyering@gnu.org>
1377
1378 * doc/bison.texinfo: *** empty log message ***
1379
1380 1995-05-06 Richard Stallman <rms@gnu.org>
1381
1382 * src/bison.s1: Comment change.
1383
1384 1995-05-06 Richard Stallman <rms@gnu.org>
1385
1386 * bison.simple: Comment change.
1387
1388 1995-05-03 Richard Stallman <rms@gnu.org>
1389
1390 * src/version.c: Version now 1.24.
1391
1392 * src/bison.s1: Change distribution terms.
1393
1394 * src/version.c: Version now 1.23.
1395
1396 1995-05-03 Richard Stallman <rms@gnu.org>
1397
1398 * doc/bison.texinfo:
1399 Rewrite "Conditions for Using Bison".
1400 Update version to 1.24.
1401
1402 1995-05-03 Richard Stallman <rms@gnu.org>
1403
1404 * bison.simple: Change distribution terms.
1405
1406 1995-02-23 Richard Stallman <rms@gnu.org>
1407
1408 * src/files.c: Test __VMS_POSIX as well as VMS.
1409
1410 1995-02-14 Jim Meyering <meyering@gnu.org>
1411
1412 * src/bison.s1 (__yy_memcpy):
1413 Renamed from __yy_bcopy to avoid
1414 confusion. Reverse FROM and TO arguments to be consistent with
1415 those of memcpy.
1416
1417 1995-02-14 Jim Meyering <meyering@gnu.org>
1418
1419 * bison.simple (__yy_memcpy):
1420 Renamed from __yy_bcopy to avoid
1421 confusion. Reverse FROM and TO arguments to be consistent with
1422 those of memcpy.
1423
1424 1994-11-10 David J. MacKenzie <djm@gnu.org>
1425
1426 * NEWS: reformat
1427
1428 * NEWS: New file.
1429
1430 * Makefile.in (DISTFILES): Include NEWS.
1431
1432 * Makefile.in (DISTFILES):
1433 Include install-sh, not install.sh.
1434
1435 * configure.in: Update to Autoconf v2 macro names.
1436
1437 1994-10-05 David J. MacKenzie <djm@gnu.org>
1438
1439 * Makefile.in: fix typo
1440
1441 * Makefile.in (prefix, exec_prefix):
1442 Let configure set them.
1443
1444 1994-09-28 David J. MacKenzie <djm@gnu.org>
1445
1446 * Makefile.in: Set datadir to $(prefix)/share.
1447
1448 1994-09-15 Richard Stallman <rms@gnu.org>
1449
1450 * src/bison.s1:
1451 Update copyright notice and GPL version.
1452
1453 1994-09-15 Richard Stallman <rms@gnu.org>
1454
1455 * bison.simple:
1456 Update copyright notice and GPL version.
1457
1458 1994-07-12 Richard Stallman <rms@gnu.org>
1459
1460 * src/reduce.c, src/reader.c:
1461 entered into RCS
1462
1463 1994-05-05 David J. MacKenzie <djm@gnu.org>
1464
1465 * Makefile.in: entered into RCS
1466
1467 1994-03-26 Richard Stallman <rms@gnu.org>
1468
1469 * src/bison.s1: entered into RCS
1470
1471 1994-03-26 Richard Stallman <rms@gnu.org>
1472
1473 * bison.simple: entered into RCS
1474
1475 1994-03-25 Richard Stallman <rms@gnu.org>
1476
1477 * src/main.c: entered into RCS
1478
1479 1994-03-24 Richard Stallman <rms@gnu.org>
1480
1481 * src/conflicts.c: entered into RCS
1482
1483 1994-01-02 Richard Stallman <rms@gnu.org>
1484
1485 * Makefile.in: *** empty log message ***
1486
1487 1993-11-21 Richard Stallman <rms@gnu.org>
1488
1489 * src/bison.s1: *** empty log message ***
1490
1491 1993-11-21 Richard Stallman <rms@gnu.org>
1492
1493 * doc/bison.texinfo: entered into RCS
1494
1495 * doc/bison.texinfo: *** empty log message ***
1496
1497 1993-11-21 Richard Stallman <rms@gnu.org>
1498
1499 * bison.simple: *** empty log message ***
1500
1501 1993-10-25 David J. MacKenzie <djm@gnu.org>
1502
1503 * doc/bison.texinfo: *** empty log message ***
1504
1505 1993-10-19 Richard Stallman <rms@gnu.org>
1506
1507 * src/bison.s1: *** empty log message ***
1508
1509 1993-10-19 Richard Stallman <rms@gnu.org>
1510
1511 * bison.simple: *** empty log message ***
1512
1513 1993-10-14 Richard Stallman <rms@gnu.org>
1514
1515 * src/bison.s1: *** empty log message ***
1516
1517 1993-10-14 Richard Stallman <rms@gnu.org>
1518
1519 * bison.simple: *** empty log message ***
1520
1521 1993-09-14 David J. MacKenzie <djm@gnu.org>
1522
1523 * doc/bison.texinfo: *** empty log message ***
1524
1525 1993-09-13 Noah Friedman <friedman@gnu.org>
1526
1527 * Makefile.in: *** empty log message ***
1528
1529 1993-09-10 Richard Stallman <rms@gnu.org>
1530
1531 * src/conflicts.c: *** empty log message ***
1532
1533 * src/system.h: entered into RCS
1534
1535 1993-09-10 Richard Stallman <rms@gnu.org>
1536
1537 * doc/bison.1: entered into RCS
1538
1539 1993-09-06 Noah Friedman <friedman@gnu.org>
1540
1541 * src/version.c: entered into RCS
1542
1543 1993-09-06 Noah Friedman <friedman@gnu.org>
1544
1545 * Makefile.in: *** empty log message ***
1546
1547 1993-07-30 David J. MacKenzie <djm@gnu.org>
1548
1549 * Makefile.in: *** empty log message ***
1550
1551 1993-07-24 Richard Stallman <rms@gnu.org>
1552
1553 * src/bison.s1: *** empty log message ***
1554
1555 1993-07-24 Richard Stallman <rms@gnu.org>
1556
1557 * bison.simple: *** empty log message ***
1558
1559 1993-07-08 David J. MacKenzie <djm@gnu.org>
1560
1561 * Makefile.in: *** empty log message ***
1562
1563 1993-07-04 Richard Stallman <rms@gnu.org>
1564
1565 * src/bison.s1: *** empty log message ***
1566
1567 1993-07-04 Richard Stallman <rms@gnu.org>
1568
1569 * bison.simple: *** empty log message ***
1570
1571 1993-06-26 David J. MacKenzie <djm@gnu.org>
1572
1573 * src/getargs.c: entered into RCS
1574
1575 1993-06-26 David J. MacKenzie <djm@gnu.org>
1576
1577 * doc/bison.texinfo: *** empty log message ***
1578
1579 * doc/bison.1: New file.
1580
1581 1993-06-25 Richard Stallman <rms@gnu.org>
1582
1583 * src/getargs.c: New file.
1584
1585 1993-06-16 Richard Stallman <rms@gnu.org>
1586
1587 * src/bison.s1: *** empty log message ***
1588
1589 1993-06-16 Richard Stallman <rms@gnu.org>
1590
1591 * bison.simple: *** empty log message ***
1592
1593 1993-06-03 Richard Stallman <rms@gnu.org>
1594
1595 * src/bison.s1: New file.
1596
1597 1993-06-03 Richard Stallman <rms@gnu.org>
1598
1599 * doc/bison.texinfo: *** empty log message ***
1600
1601 1993-06-03 Richard Stallman <rms@gnu.org>
1602
1603 * bison.simple: New file.
1604
1605 1993-05-19 Richard Stallman <rms@gnu.org>
1606
1607 * doc/bison.texinfo: New file.
1608
1609 1993-05-07 Noah Friedman <friedman@gnu.org>
1610
1611 * Makefile.in: *** empty log message ***
1612
1613 1993-04-28 Noah Friedman <friedman@gnu.org>
1614
1615 * src/reader.c: *** empty log message ***
1616
1617 1993-04-23 Noah Friedman <friedman@gnu.org>
1618
1619 * src/alloc.h: entered into RCS
1620
1621 1993-04-20 David J. MacKenzie <djm@gnu.org>
1622
1623 * src/version.c: *** empty log message ***
1624
1625 * src/files.c, src/allocate.c:
1626 entered into RCS
1627
1628 * src/reader.c: *** empty log message ***
1629
1630 * src/lex.c: entered into RCS
1631
1632 * src/conflicts.c: New file.
1633
1634 * src/symtab.c: entered into RCS
1635
1636 * src/alloc.h: New file.
1637
1638 * src/LR0.c: entered into RCS
1639
1640 1993-04-18 Noah Friedman <friedman@gnu.org>
1641
1642 * src/reader.c: New file.
1643
1644 * src/version.c: *** empty log message ***
1645
1646 1993-04-18 Noah Friedman <friedman@gnu.org>
1647
1648 * Makefile.in: *** empty log message ***
1649
1650 1993-04-17 Noah Friedman <friedman@gnu.org>
1651
1652 * Makefile.in: *** empty log message ***
1653
1654 1993-04-15 Richard Stallman <rms@gnu.org>
1655
1656 * src/main.c, src/files.c:
1657 New file.
1658
1659 1993-04-15 Noah Friedman <friedman@gnu.org>
1660
1661 * configure.in: entered into RCS
1662
1663 * configure.in: *** empty log message ***
1664
1665 * configure.in: New file.
1666
1667 1993-04-14 Richard Stallman <rms@gnu.org>
1668
1669 * Makefile.in: New file.
1670
1671 1993-04-13 Richard Stallman <rms@gnu.org>
1672
1673 * src/version.c: New file.
1674
1675 1993-03-25 Richard Stallman <rms@gnu.org>
1676
1677 * src/output.c: entered into RCS
1678
1679 1992-09-25 Richard Stallman <rms@gnu.org>
1680
1681 * configure.bat: entered into RCS
1682
1683 1992-06-22 Richard Stallman <rms@gnu.org>
1684
1685 * src/vmsgetargs.c: entered into RCS
1686
1687 1992-06-22 Richard Stallman <rms@gnu.org>
1688
1689 * doc/bison.rnh: entered into RCS
1690
1691 1992-04-20 David J. MacKenzie <djm@gnu.org>
1692
1693 * README: entered into RCS
1694
1695 1992-01-22 Richard Stallman <rms@gnu.org>
1696
1697 * src/machine.h: entered into RCS
1698
1699 1991-12-21 Richard Stallman <rms@gnu.org>
1700
1701 * src/lalr.c, src/closure.c:
1702 entered into RCS
1703
1704 1991-12-20 Richard Stallman <rms@gnu.org>
1705
1706 * src/state.h: entered into RCS
1707
1708 1991-12-18 Richard Stallman <rms@gnu.org>
1709
1710 * src/print.c, src/nullable.c, src/derives.c:
1711 entered into RCS
1712
1713 1991-11-03 David J. MacKenzie <djm@gnu.org>
1714
1715 * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h:
1716 entered into RCS
1717
1718 1988-09-09 Richard Stallman <rms@gnu.org>
1719
1720 * src/bison.hairy: entered into RCS
1721
1722 1987-12-16 Richard Stallman <rms@gnu.org>
1723
1724 * REFERENCES: entered into RCS