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