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