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