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