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