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