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