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