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