]>
Commit | Line | Data |
---|---|---|
95e36146 AD |
1 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2 | ||
3 | * lib/xstrdup.c: New file, from the fileutils. | |
4 | * src/reader.c (parse_token_decl, get_type_name, parse_type_decl) | |
5 | (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup' | |
6 | instead of strlen + xmalloc + strcpy. | |
7 | * src/symtab.c (copys): Remove, use xstrdup instead. | |
8 | ||
9 | ||
d7020c20 AD |
10 | 2000-10-02 Akim Demaille <akim@epita.fr> |
11 | ||
12 | * src/gram.h (associativity): New enum type which replaces the | |
13 | former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with | |
14 | `right_assoc', `left_assoc' and `non_assoc'. | |
15 | Adjust all dependencies. | |
16 | * src/reader.c: Formatting changes. | |
17 | (LTYPESTR): Don't define it, use it as a literal in | |
18 | `reader_output_yylsp'. | |
19 | * src/symtab.h (symbol_class): New enum type which replaces the | |
20 | former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with | |
21 | `sunknown', `stoken and `snterm'. | |
22 | ||
1916f98e AD |
23 | 2000-10-02 Akim Demaille <akim@epita.fr> |
24 | ||
25 | * src/getargs.c (fixed_outfiles): Rename as... | |
26 | (yaccflag): for consistency and accuracy. | |
27 | Adjust dependencies. | |
28 | ||
29 | ||
d7913476 AD |
30 | 2000-10-02 Akim Demaille <akim@epita.fr> |
31 | ||
32 | Use the more standard files `xalloc.h' and `xmalloc.c' instead of | |
33 | Bison's `allocate.c' and `alloc.h'. This patch was surprisingly | |
34 | difficult and introduced a lot of core dump. It turns out that | |
35 | Bison used an implementation of `xmalloc' based on `calloc', and | |
36 | at various places it does depend upon the initialization to 0. I | |
37 | have not tried to isolate the pertinent places, and all the former | |
38 | calls to Bison's `xmalloc' are now using `XCALLOC'. Someday, | |
39 | someone should address this issue. | |
40 | ||
41 | * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove. | |
42 | * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New | |
43 | files. | |
44 | Adjust dependencies. | |
45 | * src/warshall.h: New file. | |
46 | Propagate. | |
47 | ||
340ef489 AD |
48 | 2000-10-02 Akim Demaille <akim@epita.fr> |
49 | ||
50 | Various anti-`extern in *.c' changes. | |
51 | ||
52 | * src/system.h: Include `assert.h'. | |
53 | ||
d7913476 | 54 | |
b2ca4022 AD |
55 | 2000-10-02 Akim Demaille <akim@epita.fr> |
56 | ||
57 | * src/state.h (nstates, final_state, first_state, first_shift) | |
58 | (first_reduction): Move their exportation from here... | |
59 | * src/LR0.h: to here. | |
60 | Adjust dependencies. | |
61 | * src/getargs.c (statisticsflag): New variable. | |
62 | Add support for `--statistics'. | |
63 | Adjust dependencies. | |
64 | ||
65 | Remove a lot of now useless `extern' statements in most files. | |
66 | ||
d7913476 | 67 | |
403b315b AD |
68 | 2000-10-02 Akim Demaille <akim@epita.fr> |
69 | ||
70 | * src/LR0.h: New file. | |
71 | Propagate its use. | |
72 | ||
d7913476 | 73 | |
07a58c13 AD |
74 | 2000-10-02 Akim Demaille <akim@epita.fr> |
75 | ||
76 | * src/print.h: New file. | |
77 | Propagate its use. | |
78 | * src/print.c: Formatting and ordering changes. | |
79 | (verbose, terse): Replace with... | |
80 | (print_results): this new function. | |
81 | Adjust dependencies. | |
82 | ||
d7913476 | 83 | |
0619caf0 AD |
84 | 2000-10-02 Akim Demaille <akim@epita.fr> |
85 | ||
86 | * src/conflicts.c (conflict_report): New function. | |
87 | (conflict_log, verbose_conflict_log): Replace with... | |
88 | (print_conflicts): this function. | |
89 | Adjust dependencies. | |
90 | * src/conflicts.h: New file. | |
91 | Propagate its inclusion. | |
92 | ||
d7913476 | 93 | |
3519ec76 AD |
94 | 2000-10-02 Akim Demaille <akim@epita.fr> |
95 | ||
96 | * src/nullable.h: New file. | |
97 | Propagate its inclusion. | |
98 | * src/nullable.c: Formatting changes. | |
99 | ||
d7913476 | 100 | |
015acc48 AD |
101 | 2000-10-02 Akim Demaille <akim@epita.fr> |
102 | ||
103 | * src/reduce.h: New file. | |
104 | Propagate its inclusion. | |
105 | * src/reduce.c: Topological sort and other formatting changes. | |
106 | (bool, TRUE, FALSE): Move their definition to... | |
107 | * src/system.h: here. | |
108 | ||
109 | ||
8963a27b AD |
110 | 2000-10-02 Akim Demaille <akim@epita.fr> |
111 | ||
112 | * src/files.c: Formatting changes. | |
113 | (tryopen, tryclose, openfiles): Rename as... | |
114 | (xfopen, xfclose, open_files): this. | |
115 | (stringappend): static. | |
116 | * src/files.h: Complete the list of exported symbols. | |
117 | Propagate its use. | |
118 | ||
015acc48 | 119 | |
a70083a3 AD |
120 | 2000-10-02 Akim Demaille <akim@epita.fr> |
121 | ||
122 | * src/reader.h: New file. | |
123 | Propagate its use instead of tedious list of `extern' and | |
124 | prototypes. | |
125 | * src/reader.c: Formatting changes, topological sort, | |
126 | s/register//. | |
127 | ||
128 | ||
abadc117 AD |
129 | 2000-10-02 Akim Demaille <akim@epita.fr> |
130 | ||
131 | * src/lex.h: Prototype `lex.c' exported functions. | |
132 | * src/reader.c: Adjust. | |
133 | * src/lex.c: Formatting changes. | |
134 | (safegetc): Rename as... | |
135 | (xgetc): this. | |
136 | ||
015acc48 | 137 | |
720d742f AD |
138 | 2000-10-02 Akim Demaille <akim@epita.fr> |
139 | ||
140 | * src/lalr.h: New file. | |
141 | Propagate its inclusion instead of prototypes and `extern'. | |
142 | * src/lalr.c: Formatting changes, topological sorting etc. | |
143 | ||
015acc48 | 144 | |
f2acea59 AD |
145 | 2000-10-02 Akim Demaille <akim@epita.fr> |
146 | ||
147 | * src/output.c (token_actions): Introduce a temporary array, | |
148 | YYDEFACT, that makes it possible for this function to use | |
149 | output_short_table. | |
150 | ||
015acc48 | 151 | |
d019d655 AD |
152 | 2000-10-02 Akim Demaille <akim@epita.fr> |
153 | ||
154 | `user_toknums' is output as a `short[]' in `output.c', while it is | |
155 | defined as a `int[]' in `reader.c'. For consistency with the | |
156 | other output tables, `user_toknums' is now defined as a table of | |
157 | shorts. | |
158 | ||
159 | * src/reader.c (user_toknums): Be a short table instead of an int | |
160 | table. | |
161 | Adjust dependencies. | |
162 | ||
163 | Factor the short table outputs. | |
164 | ||
165 | * src/output.c (output_short_table): New function. | |
166 | * src/output.c (output_gram, output_stos, output_rule_data) | |
167 | (output_base, output_table, output_check): Use it. | |
168 | ||
6c89f1c1 AD |
169 | 2000-10-02 Akim Demaille <akim@epita.fr> |
170 | ||
171 | * src/output.c (output): Topological sort of the functions, in | |
172 | order to get rid of the `static' prototypes. | |
173 | No longer use `register'. | |
174 | * src/output.h: New file. | |
175 | Propagate its inclusion in files explicitly prototyping functions | |
176 | from output.c. | |
177 | ||
d9efd181 AD |
178 | 2000-09-21 Akim Demaille <akim@epita.fr> |
179 | ||
180 | * src/atgeneral.m4: Update from Autoconf. | |
181 | ||
c29240e7 | 182 | 2000-09-21 Akim Demaille <akim@epita.fr> |
2fa6973e AD |
183 | |
184 | * src/closure.h: New file. | |
185 | * src/closure.c: Formatting changes, topological sort over the | |
186 | functions, use of closure.h. | |
187 | (initialize_closure, finalize_closure): Rename as... | |
188 | (new_closure, free_closure): these. Adjust dependencies. | |
189 | * src/LR0.c: Formatting changes, topological sort, use of | |
190 | cloture.h. | |
191 | (initialize_states): Rename as... | |
192 | (new_states): this. | |
193 | * src/Makefile.am (noinst_HEADERS): Adjust. | |
194 | ||
499daa50 AD |
195 | 2000-09-20 Akim Demaille <akim@epita.fr> |
196 | ||
197 | * src/acconfig.h: Don't protect config.h against multiple | |
198 | inclusion. | |
199 | Don't define PARAMS. | |
200 | * src/system.h: Define PARAMS. | |
201 | Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the | |
202 | purpose of config.h. system.h must not try to fix wrong | |
203 | definitions in config.h. | |
204 | ||
cc84fd5d AD |
205 | 2000-09-20 Akim Demaille <akim@epita.fr> |
206 | ||
207 | * src/derives.h: New file. | |
208 | * src/main.c, src/derives.h: Use it. | |
209 | Formatting changes. | |
210 | * src/Makefile.am (noinst_HEADERS): Adjust. | |
211 | ||
db5b3a89 AD |
212 | 2000-09-20 Akim Demaille <akim@epita.fr> |
213 | ||
214 | * tests/atgeneral.m4: Update from Autoconf. | |
215 | * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC) | |
216 | (AT_CHECK_CALC): New macros. | |
217 | Use these macros to test bison with options `', `--raw', | |
218 | `--debug', `--yacc', `--yacc --debug'. | |
219 | ||
ceed8467 AD |
220 | 2000-09-19 Akim Demaille <akim@epita.fr> |
221 | ||
222 | * src/output.c: Formatting changes. | |
223 | * src/machine.h: Remove, leaving its contents in... | |
224 | * src/system.h: here. | |
225 | Include stdio.h. | |
226 | Adjust all dependencies on stdio.h and machine.h. | |
227 | * src/getargs.h: New file. | |
228 | Let all `extern' declarations about getargs.c be replaced with | |
229 | inclusion of `getargs.h'. | |
230 | * src/Makefile.am (noinst_HEADERS): Adjust. | |
231 | ||
232 | * tests/calc.m4 (yyin): Be initialized in main, not on the global | |
233 | scope. | |
234 | (yyerror): Returns void, not int. | |
235 | * doc/bison.texinfo: Formatting changes. | |
236 | ||
05a1d24b AD |
237 | 2000-09-19 Akim Demaille <akim@epita.fr> |
238 | ||
239 | * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not | |
240 | portable. | |
241 | ||
cbd25751 AD |
242 | 2000-09-18 Akim Demaille <akim@epita.fr> |
243 | ||
244 | * configure.in: Append WARNING_CFLAGS to CFLAGS. | |
245 | * src/Makefile.am (INCLUDES): Don't. | |
246 | Be ready to fetch headers in lib/. | |
247 | ||
13863333 AD |
248 | 2000-09-18 Akim Demaille <akim@epita.fr> |
249 | ||
250 | * doc/bison.texinfo: Update the copyright. | |
251 | ANSIfy and GNUify the examples. | |
252 | Remove the old menu. | |
253 | ||
0d533154 AD |
254 | 2000-09-18 Akim Demaille <akim@epita.fr> |
255 | ||
256 | First set of tests: use the `calc' example from the documentation. | |
257 | ||
258 | * src/bison.s1 (yyparse): Condition the code using `yytname' which | |
259 | is defined only when YYDEBUG is. | |
260 | * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13. | |
261 | * src/files.c (tryopen, tryclose): Formatting changes. | |
262 | Move to the top and be static. | |
263 | * src/reader.c (read_signed_integer): Likewise. | |
264 | * tests/calc.m4: New file. | |
265 | * Makefile.am, suite.m4: Adjust. | |
266 | * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY. | |
267 | ||
e79137ac AD |
268 | 2000-09-18 Akim Demaille <akim@epita.fr> |
269 | ||
270 | Add support for an Autotest test suite for Bison. | |
271 | ||
272 | * m4/m4.m4, m4/atconfig.m4: New files. | |
273 | * m4/Makefile.am (EXTRA_DIST): Adjust. | |
274 | * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New | |
275 | files. | |
276 | * src/getargs.c: Display a more standard --version message. | |
277 | * src/reader.c (reader): Formatting changes. | |
278 | No longer depend upon VERSION_STRING. | |
279 | * configure.in: No longer use `dnl'. | |
280 | Set up the test suite and the new directory `tests/. | |
281 | (VERSION_STRING): Remove. | |
282 | ||
27821bff AD |
283 | 2000-04-14 Akim Demaille <akim@epita.fr> |
284 | ||
285 | * src/reader.c (copy_comment2): New function, same as former | |
286 | `copy_comment', but outputs into two FILE *. | |
287 | (copy_comment): Use it. | |
288 | (parse_union_decl): Use it. | |
289 | (get_type, parse_start_decl): Use the same `invalid' message. | |
290 | (parse_start_decl, parse_union_decl): Use the same `multiple' | |
291 | message. | |
292 | (parse_union_decl, copy_guard, copy_action): Use the same | |
293 | `unmatched' message. | |
294 | * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'. | |
295 | ||
cfe5fbc0 AD |
296 | 2000-03-31 Akim Demaille <akim@epita.fr> |
297 | ||
298 | * src/files.c (tryopen, tryclose): Move to the top. | |
299 | Be static. | |
300 | ||
cb7db13e AD |
301 | 2000-03-31 Akim Demaille <akim@epita.fr> |
302 | ||
303 | * src/main.c (main): Don't call `done', exit does it. | |
304 | ||
a0f6b076 AD |
305 | 2000-03-31 Akim Demaille <akim@epita.fr> |
306 | ||
36281465 AD |
307 | * allocate.c: s/return (foo)/return foo/. |
308 | * lalr.c: Likewise. | |
309 | * LR0.c: Likewise. | |
310 | * output.c: Likewise. | |
311 | * reader.c: Likewise. | |
312 | * symtab.c: Likewise. | |
313 | * vmsgetargs.c: Likewise. | |
314 | ||
315 | 2000-03-31 Akim Demaille <akim@epita.fr> | |
316 | ||
317 | Clean up the error reporting functions. | |
a0f6b076 AD |
318 | |
319 | * src/report.c: New file. | |
320 | * src/report.h: Likewise. | |
321 | * src/Makefile.am: Adjust. | |
322 | * m4/error.m4: New file. | |
323 | * m4/Makefile.am: Adjust. | |
324 | * configure.in (jm_PREREQ_ERROR): Call it. | |
325 | * src/main.c (int_to_string, banner, fatal_banner, warn_banner): | |
326 | Remove. | |
327 | (fatal, fatals): Remove. All callers use complain.c::fatal. | |
328 | (warn, warni, warns, warnss, warnss): Remove. All callers use | |
329 | complain.c::complain. | |
330 | (toomany): Remove, use fatal instead. | |
331 | * src/files.c (done): No argument, use complain_message_count. | |
332 | * src/main.c (main): Register `done' to `atexit'. | |
333 | ||
334 | * src/getargs.c (usage): More `fputs', less `fprintf'. | |
335 | ||
18539825 AD |
336 | 2000-03-28 Akim Demaille <akim@epita.fr> |
337 | ||
338 | * lib/: New directory. | |
339 | * Makefile.am (SUBDIRS): Adjust. | |
340 | * configure.in: Adjust. | |
341 | (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's | |
342 | useless. | |
343 | * src/alloca.c: Moved to lib/. | |
344 | * src/getopt.c: Likewise. | |
345 | * src/getopt1.c: Likewise. | |
346 | * src/getopt.h: Likewise. | |
347 | * src/ansi2knr.c: Likewise. | |
348 | * src/ansi2knr.1: Likewise. | |
349 | * src/Makefile.am: Adjust. | |
350 | * lib/Makefile.am: New file. | |
351 | ||
9f306f2a AD |
352 | 2000-03-28 Akim Demaille <akim@epita.fr> |
353 | ||
354 | * src/getargs.c (usage): Refresh the help message. | |
355 | ||
0ba347b6 AD |
356 | 2000-03-17 Akim Demaille <akim@epita.fr> |
357 | ||
358 | * src/getopt1.c: Updated from textutils 2.0e | |
359 | * src/getopt.c: Likewise. | |
360 | * src/getopt.h: Likewise. | |
361 | ||
dbe7f271 AD |
362 | 2000-03-17 Akim Demaille <akim@epita.fr> |
363 | ||
364 | * src/Makefile.am (bison.simple): Fix the awk program: quote only | |
365 | the file name, not the whole `#line LINE FILE'. | |
366 | ||
75bbe78d AD |
367 | 2000-03-17 Akim Demaille <akim@epita.fr> |
368 | ||
369 | On syntax errors, report the token on which we choked. | |
370 | ||
aa5fd0ee AD |
371 | * src/bison.s1 (yyparse): In the label yyerrlab, when |
372 | YYERROR_VERBOSE, add yychar in msg. | |
75bbe78d | 373 | |
7b306f52 AD |
374 | 2000-03-17 Akim Demaille <akim@epita.fr> |
375 | ||
aa5fd0ee | 376 | * src/reader.c (copy_at): New function. |
7b306f52 AD |
377 | (copy_guard): Use it. |
378 | (copy_action): Use it. | |
379 | ||
e87b5700 AD |
380 | 2000-03-17 Akim Demaille <akim@epita.fr> |
381 | ||
382 | Be kind to translators, save some useless translations. | |
383 | ||
aa5fd0ee | 384 | * src/main.c (banner): New function. |
e87b5700 AD |
385 | (fatal_banner): Use it. |
386 | (warn_banner): Use it. | |
387 | ||
ae3c3164 AD |
388 | 2000-03-17 Akim Demaille <akim@epita.fr> |
389 | ||
aa5fd0ee AD |
390 | * src/reader.c (copy_definition): Use copy_string and |
391 | copy_comment. Removed now unused `match', `ended', | |
392 | `cplus_comment'. | |
ae3c3164 AD |
393 | (copy_comment, copy_string): Moved, to be visible from |
394 | copy_definition. | |
395 | ||
4dc58e7c AD |
396 | 2000-03-17 Akim Demaille <akim@epita.fr> |
397 | ||
aa5fd0ee AD |
398 | * src/reader.c (copy_string): Declare `static inline'. No |
399 | problems with inline, since it is checked by configure. | |
4dc58e7c AD |
400 | (copy_comment): Likewise. |
401 | ||
0a6384c4 AD |
402 | 2000-03-17 Akim Demaille <akim@epita.fr> |
403 | ||
aa5fd0ee | 404 | * src/reader.c (packsymbols): Formatting changes. |
0a6384c4 | 405 | |
3cef001a AD |
406 | 2000-03-17 Akim Demaille <akim@epita.fr> |
407 | ||
aa5fd0ee | 408 | * src/reader.c (copy_comment): New function, factored out from: |
3cef001a AD |
409 | (copy_action): Use it. Removed now unused `match', `ended', |
410 | `cplus_comment'. | |
411 | (copy_guard): Likewise. | |
412 | ||
ca36d2ef AD |
413 | 2000-03-17 Akim Demaille <akim@epita.fr> |
414 | ||
aa5fd0ee | 415 | * src/reader.c (copy_string): New function, factored out from: |
ca36d2ef AD |
416 | (copy_action): Use it. |
417 | (copy_guard): Likewise. | |
418 | ||
6666f98f AD |
419 | 2000-03-17 Akim Demaille <akim@epita.fr> |
420 | ||
421 | Change the handling of @s so that they behave exactly like $s. | |
422 | There is now a pseudo variable @$ (readble and writable), location | |
423 | of the lhs of the rule (by default ranging from the location of | |
424 | the first symbol of the rhs, to the location of the last symbol, | |
425 | or, if the rhs is empty, YYLLOC). | |
426 | ||
427 | * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of | |
428 | yyval. | |
429 | (yyparse): When providing a default semantic action, provide a | |
430 | default location action. | |
431 | (after the $): No longer change `*YYLSP', just stack YYLOC the | |
432 | same way you stack YYVAL. | |
433 | * src/reader.c (read_declarations): Use warns. | |
434 | (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'. | |
435 | (copy_action, case '@'): Likewise. | |
436 | Use a standard error message, to save useless work from | |
437 | translators. | |
438 | ||
41aca2e0 AD |
439 | 2000-03-17 Akim Demaille <akim@epita.fr> |
440 | ||
aa5fd0ee AD |
441 | * src/bison.s1: Formatting and cosmetics changes. |
442 | * src/reader.c: Likewise. | |
41aca2e0 AD |
443 | Update the Copyright notice. |
444 | ||
dc08c1d5 AD |
445 | 2000-03-17 Akim Demaille <akim@epita.fr> |
446 | ||
aa5fd0ee AD |
447 | * src/bison.s1 (#line): All set to `#line' only, since the |
448 | Makefile now handles them. | |
dc08c1d5 | 449 | |
9ee3c97b AD |
450 | 2000-03-16 Akim Demaille <akim@epita.fr> |
451 | ||
452 | * src/output.c (output_rule_data): Output the documentation of | |
453 | some of the tables. | |
454 | (Copyright notice): Update. | |
455 | Formatting changes. | |
456 | ||
0de741ca AD |
457 | 2000-03-16 Akim Demaille <akim@epita.fr> |
458 | ||
459 | * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to | |
460 | remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough. | |
461 | One `#if YYDEBUG' remains, since it uses variables which are | |
462 | defined only if `YYDEBUG != 0'. | |
463 | ||
bb10be54 AD |
464 | 2000-03-16 Akim Demaille <akim@epita.fr> |
465 | ||
466 | * src/bison.s1 (yyparse): Reorganize the definitions of the stacks | |
467 | and related variables so that the similarities are highlighted. | |
468 | ||
b07b484a AD |
469 | 2000-03-16 Akim Demaille <akim@epita.fr> |
470 | ||
471 | * src/bison.s1: Properly indent CPP directives. | |
472 | ||
361f60b3 AD |
473 | 2000-03-16 Akim Demaille <akim@epita.fr> |
474 | ||
475 | * src/bison.s1: Properly indent the `alloca' CPP section. | |
476 | ||
8c44d3ec AD |
477 | 2000-03-16 Akim Demaille <akim@epita.fr> |
478 | ||
479 | Do not hard code values of directories in `configure.in'. | |
480 | Update the `configure' tool chain. | |
481 | ||
482 | * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by | |
483 | src/makefile.am. | |
484 | (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED. | |
485 | (AC_OUTPUT): Add m4/Makefile. | |
486 | Bump to bison 1.28a, 1.29 has never been released. | |
487 | * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are | |
488 | handled via src/Makefile.am. | |
489 | (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS, | |
490 | HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by | |
491 | autoheader. | |
492 | * Makefile.am (SUBDIRS): Add m4. | |
493 | (ACLOCAL_AM_FLAGS): New variable. | |
494 | (AUTOMAKE_OPTIONS): Add check-news. | |
495 | * src/Makefile.am (bison.simple): Use awk to replace #line lines with | |
496 | the proper line number and file name. | |
497 | (DEFS): Propagate the location of bison library files and of the | |
498 | locale files. | |
499 | (INCLUDES): Added `-I ..' so that one can compile with srcdir != | |
500 | builddir. | |
501 | * acinclude.m4: Remove, replaced by the directory m4. | |
502 | * m4/Makefile.am (EXTRA_DIST): New variable. | |
503 | * m4/gettext.m4: New file, from the fileutils. | |
504 | * m4/lcmessage.m4: Likewise | |
505 | * m4/progtest.m4: Likewise. | |
506 | * m4/bison-decl.m4: New file, extracted from former acinclude.m4. | |
507 | ||
f95997e7 AD |
508 | 2000-03-10 Akim Demaille <akim@epita.fr> |
509 | ||
510 | * src/closure.c: | |
511 | Formatting changes of various comments. | |
512 | Respect the GNU coding standards at various places. | |
513 | Don't use `_()' when no translation is needed. | |
514 | ||
515 | 1999-12-13 Jesse Thilo <jthilo@gnu.org> | |
516 | ||
517 | * src/files.c: | |
518 | OS/2 honors TMPDIR environment variable. | |
519 | ||
520 | 1999-12-13 Jesse Thilo <jthilo@gnu.org> | |
521 | ||
522 | * doc/bison.texinfo: Tweaked spelling and grammar. | |
523 | Updated ISBN. | |
524 | Removed reference to price of printed copy. | |
525 | Mention BISON_SIMPLE and BISON_HAIRY. | |
526 | ||
527 | 1999-12-13 Jesse Thilo <jthilo@gnu.org> | |
528 | ||
529 | * configure.in, NEWS: | |
530 | Bison 1.29 released. | |
531 | ||
532 | 1999-10-27 Jesse Thilo <jthilo@gnu.org> | |
533 | ||
534 | * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex: | |
535 | Added reference card. | |
536 | ||
537 | 1999-07-26 Jesse Thilo <jthilo@gnu.org> | |
538 | ||
539 | * po/ru.po: Added Russian translation. | |
540 | ||
541 | 1999-07-26 Jesse Thilo <jthilo@gnu.org> | |
542 | ||
543 | * configure.in: Added Russian translation. | |
544 | ||
545 | 1999-07-06 Jesse Thilo <jthilo@gnu.org> | |
546 | ||
547 | * configure.in, NEWS, README: | |
548 | Released version 1.28. | |
549 | ||
550 | 1999-06-14 Jesse Thilo <jthilo@gnu.org> | |
551 | ||
552 | * src/system.h: | |
553 | Squashed redefinition warning on some systems. | |
554 | ||
555 | * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c: | |
556 | Have configure build version string instead of relying on ANSI string | |
557 | concatentation. | |
558 | ||
559 | 1999-06-14 Jesse Thilo <jthilo@gnu.org> | |
560 | ||
561 | * po/POTFILES.in: Got rid of version.c. | |
562 | ||
563 | 1999-06-14 Jesse Thilo <jthilo@gnu.org> | |
564 | ||
565 | * acconfig.h, configure.in: | |
566 | Have configure build version string instead of relying on ANSI string | |
567 | concatentation. | |
568 | ||
569 | 1999-06-08 Jesse Thilo <jthilo@gnu.org> | |
570 | ||
571 | * doc/bison.1: | |
572 | Dropped mention of `+' for long-named options. | |
573 | ||
574 | 1999-05-30 Jesse Thilo <jthilo@gnu.org> | |
575 | ||
576 | * src/files.c: Added <unistd.h> for unlink(). | |
577 | ||
578 | * src/Makefile.am, src/system.h: | |
579 | I18n fixes. | |
580 | ||
581 | 1999-05-30 Jesse Thilo <jthilo@gnu.org> | |
582 | ||
583 | * README: Added a FAQ list. | |
584 | ||
585 | * configure.in, acconfig.h: | |
586 | I18n fixes. | |
587 | ||
588 | 1999-05-30 Jesse Thilo <jthilo@gnu.org> | |
589 | ||
590 | * doc/FAQ, doc/Makefile.am: | |
591 | Added a FAQ list. | |
592 | ||
593 | 1999-05-19 Jesse Thilo <jthilo@gnu.org> | |
594 | ||
595 | * src/alloc.h, src/symtab.h, src/version.c: | |
596 | Protected inclusion of "config.h" with HAVE_CONFIG_H. | |
597 | ||
598 | 1999-04-18 Jesse Thilo <jthilo@gnu.org> | |
599 | ||
600 | * src/.cvsignore, src/Makefile.am: | |
601 | Reorganized: sources in `src', documentation in `doc'. | |
602 | ||
603 | * src/lex.c (literalchar): | |
604 | fixed the code for escaping double quotes (thanks | |
605 | Jonathan Czisny.) | |
606 | ||
607 | 1999-04-18 Jesse Thilo <jthilo@gnu.org> | |
608 | ||
609 | * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in: | |
610 | Adjusted paths to reflect directory reorganization. | |
611 | ||
612 | 1999-04-18 Jesse Thilo <jthilo@gnu.org> | |
613 | ||
614 | * doc/.cvsignore, doc/Makefile.am: | |
615 | Reorganized: sources in `src', documentation in `doc'. | |
616 | ||
617 | 1999-04-18 Jesse Thilo <jthilo@gnu.org> | |
618 | ||
619 | * configure.in: | |
620 | Updated AC_INIT file to reflect directory reorganization. | |
621 | ||
622 | * configure.in, .cvsignore, Makefile.am, POTFILES.in: | |
623 | Reorganized: sources in `src', documentation in `doc'. | |
624 | ||
625 | 1999-04-13 Jesse Thilo <jthilo@gnu.org> | |
626 | ||
627 | * src/allocate.c: | |
628 | Don't declare calloc() and realloc() if not necessary. | |
629 | ||
630 | 1999-04-13 Jesse Thilo <jthilo@gnu.org> | |
631 | ||
632 | * configure.in, acconfig.h, acinclude.m4: | |
633 | Don't declare calloc() and realloc() if not necessary. | |
634 | ||
635 | 1999-03-23 Jesse Thilo <jthilo@gnu.org> | |
636 | ||
637 | * po/.cvsignore: Added i18n support. | |
638 | ||
639 | 1999-03-23 Jesse Thilo <jthilo@gnu.org> | |
640 | ||
641 | * acconfig.h, configure.in, Makefile.am: | |
642 | Added i18n support. | |
643 | ||
644 | 1999-03-22 Jesse Thilo <jthilo@gnu.org> | |
645 | ||
646 | * src/bison.s1: Fixed #line numbers. | |
647 | ||
648 | 1999-03-15 Jesse Thilo <jthilo@gnu.org> | |
649 | ||
650 | * po/es.po, po/fr.po, po/nl.po, po/de.po: | |
651 | Added PO files from Translation Project. | |
652 | ||
653 | 1999-03-03 Jesse Thilo <jthilo@gnu.org> | |
654 | ||
655 | * Makefile.am: | |
656 | Added support for non-ANSI compilers (ansi2knr). | |
657 | ||
658 | 1999-02-16 Jesse Thilo <jthilo@gnu.org> | |
659 | ||
660 | * configure.in: Bumped version number to 1.27. | |
661 | ||
662 | * Makefile.am: | |
663 | Added `bison.simple' to list of files removed by `make distclean'. | |
664 | ||
665 | 1999-02-12 Jesse Thilo <jthilo@gnu.org> | |
666 | ||
667 | * src/files.c, src/files.h: | |
668 | Defined locations of parser files in config.h instead of Makefile. | |
669 | ||
670 | 1999-02-12 Jesse Thilo <jthilo@gnu.org> | |
671 | ||
672 | * acconfig.h, acinclude.m4, configure.in, Makefile.am: | |
673 | Defined locations of parser files in config.h instead of Makefile. | |
674 | ||
675 | 1999-02-09 Jesse Thilo <jthilo@gnu.org> | |
676 | ||
677 | * Makefile.am: | |
678 | Removed inappropriate use of $< macro. | |
679 | ||
680 | 1999-02-05 Jesse Thilo <jthilo@gnu.org> | |
681 | ||
682 | * po/Makefile.in.in, po/POTFILES.in: | |
683 | Add `po' directory skeleton. | |
684 | ||
685 | 1999-01-27 Jesse Thilo <jthilo@gnu.org> | |
686 | ||
687 | * README: Document help-bison list. | |
688 | ||
689 | * configure.in: Add check for mkstemp(). | |
690 | ||
691 | 1999-01-20 Jesse Thilo <jthilo@gnu.org> | |
692 | ||
693 | * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c: | |
694 | Hush a few compiler warnings. | |
695 | ||
696 | * src/files.c: | |
697 | Add tryclose(), which verifies that fclose was successful. | |
698 | Hush a couple of compiler warnings. | |
699 | ||
700 | 1999-01-20 Jesse Thilo <jthilo@gnu.org> | |
701 | ||
702 | * Makefile.am, OChangeLog: | |
703 | ChangeLog is now automatically generated. Include the old version as | |
704 | OChangeLog. | |
705 | ||
706 | 1999-01-14 Jesse Thilo <jthilo@gnu.org> | |
707 | ||
708 | * 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: | |
709 | Update FSF address. | |
710 | ||
711 | 1999-01-14 Jesse Thilo <jthilo@gnu.org> | |
712 | ||
713 | * doc/bison.texinfo: Fix formatting glitch. | |
714 | ||
715 | * doc/bison.texinfo: Update FSF address. | |
716 | ||
717 | 1999-01-14 Jesse Thilo <jthilo@gnu.org> | |
718 | ||
719 | * acconfig.h: Update FSF address. | |
720 | ||
721 | 1999-01-08 Jesse Thilo <jthilo@gnu.org> | |
722 | ||
723 | * src/system.h: | |
724 | Don't define PACKAGE here, since config.h defines it. | |
725 | ||
726 | 1998-12-30 Jesse Thilo <jthilo@gnu.org> | |
727 | ||
728 | * src/reader.c: Update copyright date. | |
729 | ||
730 | * src/main.c: | |
731 | Ditch sprintf to statically-sized buffers in fatal/warn functions in | |
732 | favor of output directly to stderr (avoids buffer overruns). | |
733 | ||
734 | * src/reader.c: Some checks for premature EOF. | |
735 | ||
736 | * 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: | |
737 | Use prototypes if the compiler understands them. | |
738 | ||
739 | * src/files.c: Honor TMPDIR on Unix hosts. | |
740 | Use prototypes if the compiler understands them. | |
741 | ||
742 | * src/reader.c: | |
743 | Fix a couple of buffer overrun bugs. | |
744 | Use prototypes if the compiler understands them. | |
745 | ||
746 | * src/system.h: Include unistd.h and ctype.h. | |
747 | Use #ifdef instead of #if for NLS symbols. | |
748 | ||
749 | 1998-12-30 Jesse Thilo <jthilo@gnu.org> | |
750 | ||
751 | * doc/bison.texinfo: | |
752 | Delete comment "consider using @set for edition number, etc..." since | |
753 | we now are doing so. | |
754 | ||
755 | 1998-12-30 Jesse Thilo <jthilo@gnu.org> | |
756 | ||
757 | * configure.in: | |
758 | Use prototypes if the compiler understands them. | |
759 | ||
760 | * NEWS: Document 1.26 highlights. | |
761 | ||
762 | * Makefile.am: Require Automake 1.3 or later. | |
763 | ||
764 | * acconfig.h: | |
765 | Use prototypes if the compiler understands them. | |
766 | ||
767 | 1998-12-29 Jesse Thilo <jthilo@gnu.org> | |
768 | ||
769 | * src/version.c: | |
770 | Use VERSION symbol from automake for version number. | |
771 | ||
772 | 1998-12-29 Jesse Thilo <jthilo@gnu.org> | |
773 | ||
774 | * acconfig.h, configure.in, version.cin: | |
775 | Use VERSION symbol from automake for version number. | |
776 | ||
777 | 1998-11-28 Jesse Thilo <jthilo@gnu.org> | |
778 | ||
779 | * Makefile.am: | |
780 | Distribute original version of simple parser (bison.s1), not built | |
781 | version (bison.simple). | |
782 | ||
783 | 1998-11-28 Jesse Thilo <jthilo@gnu.org> | |
784 | ||
785 | * doc/bison.texinfo: Add info dir entry. | |
786 | ||
787 | * doc/bison.texinfo: | |
788 | Let automake put version number into documentation. | |
789 | ||
790 | 1998-11-26 Jesse Thilo <jthilo@gnu.org> | |
791 | ||
792 | * src/bison.cld, src/build.com, src/vmshlp.mar: | |
793 | Add non-RCS files from /gd/gnu/bison. | |
794 | ||
795 | 1998-11-26 Jesse Thilo <jthilo@gnu.org> | |
796 | ||
797 | * doc/bison.1: | |
798 | Document the BISON_HAIRY and BISON_SIMPLE variables. | |
799 | ||
800 | 1998-11-25 Jesse Thilo <jthilo@gnu.org> | |
801 | ||
802 | * src/version.c: Build version.c automatically. | |
803 | ||
804 | * src/reader.c: | |
805 | Fix token numbering (used to start at 258, not 257). | |
806 | ||
807 | * src/system.h: Include config.h. | |
808 | ||
809 | * src/getargs.c: Update bug report address. | |
810 | ||
811 | * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h: | |
812 | Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org. | |
813 | ||
814 | 1998-11-25 Jesse Thilo <jthilo@gnu.org> | |
815 | ||
816 | * Makefile.am: | |
817 | Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1). | |
818 | ||
819 | * configure.in, version.cin: | |
820 | Build version.c automatically. | |
821 | ||
822 | * AUTHORS: Add AUTHORS file. | |
823 | ||
824 | * README: Update bug report address. | |
825 | ||
826 | * bison.simple: | |
827 | Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1). | |
828 | ||
829 | * configure.in, Makefile.am, Makefile.in, stamp-h.in: | |
830 | Add automake stuff. | |
831 | ||
832 | 1998-11-25 Jesse Thilo <jthilo@gnu.org> | |
833 | ||
834 | * doc/bison.texinfo: Clean up some formatting. | |
835 | ||
836 | 1998-05-05 Richard Stallman <rms@gnu.org> | |
837 | ||
838 | * doc/bison.texinfo: | |
839 | Explain better why to make a pure parser. | |
840 | ||
841 | 1998-01-05 Richard Stallman <rms@gnu.org> | |
842 | ||
843 | * src/files.c (openfiles): | |
844 | [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to | |
845 | find a temporary directory, if possible. Do not unlink files while | |
846 | they are open. | |
847 | ||
848 | 1997-08-25 Richard Stallman <rms@gnu.org> | |
849 | ||
850 | * src/reader.c (stack_offset;): | |
851 | Change some warni to warns. | |
852 | ||
853 | * src/lex.c (literalchar): Use warns, not warni. | |
854 | ||
855 | 1997-06-28 Richard Stallman <rms@gnu.org> | |
856 | ||
857 | * src/bison.s1: Add a Bison version comment. | |
858 | ||
859 | * src/main.c (fatal, warn, berror): | |
860 | Use program_name. | |
861 | ||
862 | 1997-06-28 Richard Stallman <rms@gnu.org> | |
863 | ||
864 | * Makefile.in (bison_version): New variable. | |
865 | (dist): Use that variable. | |
866 | (bison.s1): Substitute the Bison version into bison.simple. | |
867 | ||
868 | * bison.simple: Add a Bison version comment. | |
869 | ||
870 | 1997-06-18 Richard Stallman <rms@gnu.org> | |
871 | ||
872 | * src/main.c (fatal, warn, berror): | |
873 | Make error messages standard. | |
874 | (toomany): Improve error message text. | |
875 | ||
876 | * 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: | |
877 | new.h renamed to alloc.h. | |
878 | ||
879 | 1997-06-18 Richard Stallman <rms@gnu.org> | |
880 | ||
881 | * Makefile.in: new.h renamed to alloc.h. | |
882 | ||
883 | 1997-05-24 Richard Stallman <rms@gnu.org> | |
884 | ||
885 | * src/lex.c (literalchar): | |
886 | Fix the code for escaping \, " and '. | |
887 | ||
888 | (lex): Avoid trouble when there are many chars | |
889 | to discard in a char literal with just several chars in it. | |
890 | ||
891 | 1997-05-17 Richard Stallman <rms@gnu.org> | |
892 | ||
893 | * src/bison.s1: | |
894 | Use malloc, if using alloca is troublesome. | |
895 | (YYSTACK_USE_ALLOCA): New flag macro. | |
896 | Define it for some systems and compilers. | |
897 | (YYSTACK_ALLOC): New macro. | |
898 | (yyparse): Use YYSTACK_ALLOC to allocate stack. | |
899 | If it was malloc'd, free it. | |
900 | ||
901 | 1997-05-17 Richard Stallman <rms@gnu.org> | |
902 | ||
903 | * bison.simple: | |
904 | Use malloc, if using alloca is troublesome. | |
905 | (YYSTACK_USE_ALLOCA): New flag macro. | |
906 | Define it for some systems and compilers. | |
907 | (YYSTACK_ALLOC): New macro. | |
908 | (yyparse): Use YYSTACK_ALLOC to allocate stack. | |
909 | If it was malloc'd, free it. | |
910 | ||
911 | 1997-04-23 Richard Stallman <rms@gnu.org> | |
912 | ||
913 | * src/bison.s1: | |
914 | (alloca) [__hpux]: Always define as __builtin_alloca. | |
915 | ||
916 | 1997-04-23 Richard Stallman <rms@gnu.org> | |
917 | ||
918 | * bison.simple: | |
919 | (alloca) [__hpux]: Always define as __builtin_alloca. | |
920 | ||
921 | 1997-04-22 Richard Stallman <rms@gnu.org> | |
922 | ||
923 | * src/bison.s1: | |
924 | [__hpux]: Include alloca.h (right for HPUX 10) | |
925 | instead of declaring alloca (right for HPUX 9). | |
926 | ||
927 | * src/bison.s1 (__yy_memcpy): | |
928 | Declare arg `count' as unsigned int. | |
929 | (yyparse): Cast third arg to __yy_memcpy to unsigned int. | |
930 | ||
931 | 1997-04-22 Richard Stallman <rms@gnu.org> | |
932 | ||
933 | * bison.simple: | |
934 | [__hpux]: Include alloca.h (right for HPUX 10) | |
935 | instead of declaring alloca (right for HPUX 9). | |
936 | ||
937 | * bison.simple (__yy_memcpy): | |
938 | Declare arg `count' as unsigned int. | |
939 | (yyparse): Cast third arg to __yy_memcpy to unsigned int. | |
940 | ||
941 | 1997-01-03 Richard Stallman <rms@gnu.org> | |
942 | ||
943 | * src/allocate.c: [__STDC__ or _MSC_VER]: | |
944 | Declare calloc and realloc to return void *. | |
945 | ||
946 | 1997-01-02 Richard Stallman <rms@gnu.org> | |
947 | ||
948 | * src/system.h: | |
949 | [_MSC_VER]: Include stdlib.h and process.h. | |
950 | [_MSC_VER] (getpid): Define as macro--translate it to _getpid. | |
951 | ||
952 | * src/main.c (main): Return FAILURE as a value. | |
953 | (printable_version): Declare arg as int, not char. | |
954 | ||
955 | 1997-01-02 Richard Stallman <rms@gnu.org> | |
956 | ||
957 | * Makefile.in (dist): | |
958 | Explicitly check for symlinks, and copy them. | |
959 | ||
960 | 1996-12-19 Richard Stallman <rms@gnu.org> | |
961 | ||
962 | * src/files.c: | |
963 | [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined. | |
964 | ||
965 | 1996-12-18 Paul Eggert <eggert@gnu.org> | |
966 | ||
967 | * src/bison.s1 (yyparse): | |
968 | If __GNUC__ and YYPARSE_PARAM are both defined, | |
969 | declare yyparse to have a void * argument. | |
970 | ||
971 | 1996-12-18 Paul Eggert <eggert@gnu.org> | |
972 | ||
973 | * bison.simple (yyparse): | |
974 | If __GNUC__ and YYPARSE_PARAM are both defined, | |
975 | declare yyparse to have a void * argument. | |
976 | ||
977 | 1996-12-17 Richard Stallman <rms@gnu.org> | |
978 | ||
979 | * src/reduce.c (nbits): Add some casts. | |
980 | ||
981 | 1996-08-12 Richard Stallman <rms@gnu.org> | |
982 | ||
983 | * src/bison.s1: Test _MSDOS as well as _MSDOS_. | |
984 | ||
985 | 1996-08-12 Richard Stallman <rms@gnu.org> | |
986 | ||
987 | * bison.simple: Test _MSDOS as well as _MSDOS_. | |
988 | ||
989 | 1996-07-31 Richard Stallman <rms@gnu.org> | |
990 | ||
991 | * src/bison.s1: | |
992 | [__sun && __i386]: Include alloca.h. | |
993 | ||
994 | 1996-07-31 Richard Stallman <rms@gnu.org> | |
995 | ||
996 | * bison.simple: | |
997 | [__sun && __i386]: Include alloca.h. | |
998 | ||
999 | 1996-07-30 Richard Stallman <rms@gnu.org> | |
1000 | ||
1001 | * src/bison.s1: Comment change. | |
1002 | ||
1003 | * src/bison.s1: Test _MSDOS_, not MSDOS. | |
1004 | ||
1005 | 1996-07-30 Richard Stallman <rms@gnu.org> | |
1006 | ||
1007 | * bison.simple: Comment change. | |
1008 | ||
1009 | * bison.simple: Test _MSDOS_, not MSDOS. | |
1010 | ||
1011 | 1996-06-01 Richard Stallman <rms@gnu.org> | |
1012 | ||
1013 | * 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: | |
1014 | Insert `_' macro around many string constants. | |
1015 | ||
1016 | * src/main.c: | |
1017 | Insert `_' macro around many string constants. | |
1018 | ||
1019 | (main): Call setlocale, bindtextdomain and textdomain. | |
1020 | ||
1021 | * src/system.h: [HAVE_LOCALE_H]: Include locale.h. | |
1022 | [! HAVE_LOCALE_H] (setlocale): Define as no-op. | |
1023 | [ENABLE_NLS]: Include libintl.h. | |
1024 | [ENABLE_NLS] (gettext): Define. | |
1025 | [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions. | |
1026 | (N_, PACKAGE, LOCALEDIR): New macros. | |
1027 | ||
1028 | 1996-06-01 Richard Stallman <rms@gnu.org> | |
1029 | ||
1030 | * POTFILES.in: New file. | |
1031 | ||
1032 | * Makefile.in (allocate.o): | |
1033 | Define target explicitly. | |
1034 | ||
1035 | * Makefile.in (CFLAGS): Set to @CFLAGS@. | |
1036 | (LDFLAGS): Set to @LDFLAGS@. | |
1037 | (configure): Run autoconf only if preceding `cd' succeeds. | |
1038 | (bison.s1): Redirect output to temporary file then move the | |
1039 | temporary to the target, rather than redirecting directly to bison.s1. | |
1040 | (clean): Remove config.status and config.log. | |
1041 | (distclean): Don't remove config.status here. | |
1042 | ||
1043 | 1996-05-12 Richard Stallman <rms@gnu.org> | |
1044 | ||
1045 | * src/bison.s1: | |
1046 | (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t. | |
1047 | ||
1048 | 1996-05-12 Richard Stallman <rms@gnu.org> | |
1049 | ||
1050 | * bison.simple: | |
1051 | (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t. | |
1052 | ||
1053 | 1996-05-11 Richard Stallman <rms@gnu.org> | |
1054 | ||
1055 | * src/bison.s1 (__yy_memcpy): | |
1056 | Really reorder the args, as was supposedly done on Feb 14 1995. | |
1057 | (yyparse): Calls changed accordingly. | |
1058 | ||
1059 | 1996-05-11 Richard Stallman <rms@gnu.org> | |
1060 | ||
1061 | * Makefile.in (dist): Don't use $(srcdir). | |
1062 | ||
1063 | * bison.simple (__yy_memcpy): | |
1064 | Really reorder the args, as was supposedly done on Feb 14 1995. | |
1065 | (yyparse): Calls changed accordingly. | |
1066 | ||
1067 | 1996-01-27 Richard Stallman <rms@gnu.org> | |
1068 | ||
1069 | * src/output.c (output_rule_data): | |
1070 | Test YYERROR_VERBOSE in the conditional | |
1071 | around the definition of ttyname. | |
1072 | ||
1073 | 1995-12-29 Richard Stallman <rms@gnu.org> | |
1074 | ||
1075 | * src/bison.s1: | |
1076 | Fix line numbers in #line commands. | |
1077 | ||
1078 | 1995-12-29 Richard Stallman <rms@gnu.org> | |
1079 | ||
1080 | * bison.simple: | |
1081 | Fix line numbers in #line commands. | |
1082 | ||
1083 | 1995-12-27 Richard Stallman <rms@gnu.org> | |
1084 | ||
1085 | * src/bison.s1 (YYPARSE_PARAM_DECL): | |
1086 | In C++, make it always null. | |
1087 | (YYPARSE_PARAM_ARG): New macro. | |
1088 | (yyparse): Use YYPARSE_PARAM_ARG. | |
1089 | ||
1090 | 1995-12-27 Richard Stallman <rms@gnu.org> | |
1091 | ||
1092 | * bison.simple (YYPARSE_PARAM_DECL): | |
1093 | In C++, make it always null. | |
1094 | (YYPARSE_PARAM_ARG): New macro. | |
1095 | (yyparse): Use YYPARSE_PARAM_ARG. | |
1096 | ||
1097 | 1995-11-29 Richard Stallman <rms@gnu.org> | |
1098 | ||
1099 | * doc/bison.texinfo: | |
1100 | Describe literal string tokens, %raw, %no_lines, %token_table. | |
1101 | ||
1102 | 1995-11-29 Daniel Hagerty <hag@gnu.org> | |
1103 | ||
1104 | * doc/bison.texinfo: Fixed update date | |
1105 | ||
1106 | 1995-10-16 Richard Stallman <rms@gnu.org> | |
1107 | ||
1108 | * src/version.c: Version 1.25. | |
1109 | ||
1110 | 1995-10-16 Richard Stallman <rms@gnu.org> | |
1111 | ||
1112 | * NEWS: *** empty log message *** | |
1113 | ||
1114 | 1995-10-16 Richard Stallman <rms@gnu.org> | |
1115 | ||
1116 | * doc/bison.1, doc/bison.rnh: | |
1117 | Add new options. | |
1118 | ||
1119 | 1995-10-15 Richard Stallman <rms@gnu.org> | |
1120 | ||
1121 | * src/vmsgetargs.c, src/getargs.c: | |
1122 | Added -n, -k, and -raw switches. | |
1123 | (noparserflag, toknumflag, rawtoknumflag): New variables. | |
1124 | ||
1125 | * src/symtab.h (SALIAS): | |
1126 | New #define for adding aliases to %token. | |
1127 | (struct bucket): Added `alias' field. | |
1128 | ||
1129 | * src/reduce.c (reduce_grammar): | |
1130 | Revise error message. | |
1131 | (print_notices): Remove final `.' from error message. | |
1132 | ||
1133 | * src/reader.c (reader_output_yylsp): | |
1134 | New function. | |
1135 | (readgram): Use `#if 0' around code that accepted %command | |
1136 | inside grammar rules: The documentation doesn't allow it, | |
1137 | and it will fail since the %command processors scan for the next %. | |
1138 | (parse_token_decl): Extended the %token | |
1139 | declaration to allow a multi-character symbol as an alias. | |
1140 | (parse_thong_decl): New function. | |
1141 | (read_declarations): Added %thong declarations. | |
1142 | (read_declarations): Handle NOOP to deal with allowing | |
1143 | % declarations as another means to specify the flags. | |
1144 | (readgram): Allow %prec prior to semantics embedded in a rule. | |
1145 | (skip_to_char, read_declarations, copy_definition) | |
1146 | (parse_token_decl, parse_start_decl, parse_type_decl) | |
1147 | (parse_assoc_decl, parse_union_decl, parse_expect_decl) | |
1148 | (get_type_name, copy_guard, copy_action, readgram) | |
1149 | (get_type, packsymbols): Revised most error messages. | |
1150 | Changed `fatal' to `warnxxx' to avoid aborting for error. | |
1151 | Revised and use multiple warnxxx functions to avoid using VARARGS1. | |
1152 | (read_declarations): Improve the error message for | |
1153 | an invalid character. Do not abort. | |
1154 | (read_declarations, copy_guard, copy_action): Use | |
1155 | printable_version to avoid unprintable characters in printed output. | |
1156 | (parse_expect_decl): Error if argument to %expect exceeds 10 digits. | |
1157 | (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type): | |
1158 | Allow the type of a non-terminal can be given | |
1159 | more than once, as long as all specifications give the same type. | |
1160 | ||
1161 | * src/output.c: | |
1162 | (output_headers, output_trailers, output, output_gram) | |
1163 | (output_rule_data): Implement noparserflag variable. | |
1164 | Implement toknumflag variable. | |
1165 | (output): Call reader_output_yylsp to output LTYPESTR. | |
1166 | ||
1167 | * src/main.c (main): | |
1168 | If reader sees an error, don't process the grammar. | |
1169 | (fatals): Updated to not use VARARGS1. | |
1170 | (printable_version, int_to_string, warn, warni, warns, warnss) | |
1171 | (warnsss): New error reporting functions. Avoid abort for error. | |
1172 | ||
1173 | * src/lex.h: | |
1174 | Added THONG and NOOP for alias processing. | |
1175 | Added SETOPT for the new code that allows setting options with %flags. | |
1176 | ||
1177 | * src/lex.c: | |
1178 | Include getopt.h. Add some extern decls. | |
1179 | (safegetc): New function to deal with EOF gracefully. | |
1180 | (literalchar); new function to deal with reading \ escapes. | |
1181 | (lex): Use literalchar. | |
1182 | (lex): Implemented "..." tokens. | |
1183 | (literalchar, lex, parse_percent_token): Made tokenbuffer | |
1184 | always contain the token. This includes growing the token | |
1185 | buffer while reading an integer. | |
1186 | (parse_percent_token): Replaced if-else statement with percent_table. | |
1187 | (parse_percent_token): Added % declarations as another | |
1188 | way to specify the flags -n, -l, and -r. Also added hooks for | |
1189 | -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires | |
1190 | major changes to files.c. | |
1191 | (lex) Retain in the incoming stream a character following | |
1192 | an incorrect '/'. | |
1193 | (skip_white_space, lex): Revised most error messages | |
1194 | and changed fatal to warn to avoid aborting. | |
1195 | (percent_table): Added %thong declarations. | |
1196 | ||
1197 | * src/gram.h: Comment changes. | |
1198 | ||
1199 | * src/files.c (openfiles, open_extra_files, done): | |
1200 | Add faction flag | |
1201 | and actfile file. Handle noparserflag. Both for -n switch. | |
1202 | ||
1203 | * src/conflicts.c (resolve_sr_conflict): | |
1204 | Remove use of alloca. | |
1205 | ||
1206 | 1995-06-01 Jim Meyering <meyering@gnu.org> | |
1207 | ||
1208 | * doc/bison.texinfo: *** empty log message *** | |
1209 | ||
1210 | 1995-05-06 Richard Stallman <rms@gnu.org> | |
1211 | ||
1212 | * src/bison.s1: Comment change. | |
1213 | ||
1214 | 1995-05-06 Richard Stallman <rms@gnu.org> | |
1215 | ||
1216 | * bison.simple: Comment change. | |
1217 | ||
1218 | 1995-05-03 Richard Stallman <rms@gnu.org> | |
1219 | ||
1220 | * src/version.c: Version now 1.24. | |
1221 | ||
1222 | * src/bison.s1: Change distribution terms. | |
1223 | ||
1224 | * src/version.c: Version now 1.23. | |
1225 | ||
1226 | 1995-05-03 Richard Stallman <rms@gnu.org> | |
1227 | ||
1228 | * doc/bison.texinfo: | |
1229 | Rewrite "Conditions for Using Bison". | |
1230 | Update version to 1.24. | |
1231 | ||
1232 | 1995-05-03 Richard Stallman <rms@gnu.org> | |
1233 | ||
1234 | * bison.simple: Change distribution terms. | |
1235 | ||
1236 | 1995-02-23 Richard Stallman <rms@gnu.org> | |
1237 | ||
1238 | * src/files.c: Test __VMS_POSIX as well as VMS. | |
1239 | ||
1240 | 1995-02-14 Jim Meyering <meyering@gnu.org> | |
1241 | ||
1242 | * src/bison.s1 (__yy_memcpy): | |
1243 | Renamed from __yy_bcopy to avoid | |
1244 | confusion. Reverse FROM and TO arguments to be consistent with | |
1245 | those of memcpy. | |
1246 | ||
1247 | 1995-02-14 Jim Meyering <meyering@gnu.org> | |
1248 | ||
1249 | * bison.simple (__yy_memcpy): | |
1250 | Renamed from __yy_bcopy to avoid | |
1251 | confusion. Reverse FROM and TO arguments to be consistent with | |
1252 | those of memcpy. | |
1253 | ||
1254 | 1994-11-10 David J. MacKenzie <djm@gnu.org> | |
1255 | ||
1256 | * NEWS: reformat | |
1257 | ||
1258 | * NEWS: New file. | |
1259 | ||
1260 | * Makefile.in (DISTFILES): Include NEWS. | |
1261 | ||
1262 | * Makefile.in (DISTFILES): | |
1263 | Include install-sh, not install.sh. | |
1264 | ||
1265 | * configure.in: Update to Autoconf v2 macro names. | |
1266 | ||
1267 | 1994-10-05 David J. MacKenzie <djm@gnu.org> | |
1268 | ||
1269 | * Makefile.in: fix typo | |
1270 | ||
1271 | * Makefile.in (prefix, exec_prefix): | |
1272 | Let configure set them. | |
1273 | ||
1274 | 1994-09-28 David J. MacKenzie <djm@gnu.org> | |
1275 | ||
1276 | * Makefile.in: Set datadir to $(prefix)/share. | |
1277 | ||
1278 | 1994-09-15 Richard Stallman <rms@gnu.org> | |
1279 | ||
1280 | * src/bison.s1: | |
1281 | Update copyright notice and GPL version. | |
1282 | ||
1283 | 1994-09-15 Richard Stallman <rms@gnu.org> | |
1284 | ||
1285 | * bison.simple: | |
1286 | Update copyright notice and GPL version. | |
1287 | ||
1288 | 1994-07-12 Richard Stallman <rms@gnu.org> | |
1289 | ||
1290 | * src/reduce.c, src/reader.c: | |
1291 | entered into RCS | |
1292 | ||
1293 | 1994-05-05 David J. MacKenzie <djm@gnu.org> | |
1294 | ||
1295 | * Makefile.in: entered into RCS | |
1296 | ||
1297 | 1994-03-26 Richard Stallman <rms@gnu.org> | |
1298 | ||
1299 | * src/bison.s1: entered into RCS | |
1300 | ||
1301 | 1994-03-26 Richard Stallman <rms@gnu.org> | |
1302 | ||
1303 | * bison.simple: entered into RCS | |
1304 | ||
1305 | 1994-03-25 Richard Stallman <rms@gnu.org> | |
1306 | ||
1307 | * src/main.c: entered into RCS | |
1308 | ||
1309 | 1994-03-24 Richard Stallman <rms@gnu.org> | |
1310 | ||
1311 | * src/conflicts.c: entered into RCS | |
1312 | ||
1313 | 1994-01-02 Richard Stallman <rms@gnu.org> | |
1314 | ||
1315 | * Makefile.in: *** empty log message *** | |
1316 | ||
1317 | 1993-11-21 Richard Stallman <rms@gnu.org> | |
1318 | ||
1319 | * src/bison.s1: *** empty log message *** | |
1320 | ||
1321 | 1993-11-21 Richard Stallman <rms@gnu.org> | |
1322 | ||
1323 | * doc/bison.texinfo: entered into RCS | |
1324 | ||
1325 | * doc/bison.texinfo: *** empty log message *** | |
1326 | ||
1327 | 1993-11-21 Richard Stallman <rms@gnu.org> | |
1328 | ||
1329 | * bison.simple: *** empty log message *** | |
1330 | ||
1331 | 1993-10-25 David J. MacKenzie <djm@gnu.org> | |
1332 | ||
1333 | * doc/bison.texinfo: *** empty log message *** | |
1334 | ||
1335 | 1993-10-19 Richard Stallman <rms@gnu.org> | |
1336 | ||
1337 | * src/bison.s1: *** empty log message *** | |
1338 | ||
1339 | 1993-10-19 Richard Stallman <rms@gnu.org> | |
1340 | ||
1341 | * bison.simple: *** empty log message *** | |
1342 | ||
1343 | 1993-10-14 Richard Stallman <rms@gnu.org> | |
1344 | ||
1345 | * src/bison.s1: *** empty log message *** | |
1346 | ||
1347 | 1993-10-14 Richard Stallman <rms@gnu.org> | |
1348 | ||
1349 | * bison.simple: *** empty log message *** | |
1350 | ||
1351 | 1993-09-14 David J. MacKenzie <djm@gnu.org> | |
1352 | ||
1353 | * doc/bison.texinfo: *** empty log message *** | |
1354 | ||
1355 | 1993-09-13 Noah Friedman <friedman@gnu.org> | |
1356 | ||
1357 | * Makefile.in: *** empty log message *** | |
1358 | ||
1359 | 1993-09-10 Richard Stallman <rms@gnu.org> | |
1360 | ||
1361 | * src/conflicts.c: *** empty log message *** | |
1362 | ||
1363 | * src/system.h: entered into RCS | |
1364 | ||
1365 | 1993-09-10 Richard Stallman <rms@gnu.org> | |
1366 | ||
1367 | * doc/bison.1: entered into RCS | |
1368 | ||
1369 | 1993-09-06 Noah Friedman <friedman@gnu.org> | |
1370 | ||
1371 | * src/version.c: entered into RCS | |
1372 | ||
1373 | 1993-09-06 Noah Friedman <friedman@gnu.org> | |
1374 | ||
1375 | * Makefile.in: *** empty log message *** | |
1376 | ||
1377 | 1993-07-30 David J. MacKenzie <djm@gnu.org> | |
1378 | ||
1379 | * Makefile.in: *** empty log message *** | |
1380 | ||
1381 | 1993-07-24 Richard Stallman <rms@gnu.org> | |
1382 | ||
1383 | * src/bison.s1: *** empty log message *** | |
1384 | ||
1385 | 1993-07-24 Richard Stallman <rms@gnu.org> | |
1386 | ||
1387 | * bison.simple: *** empty log message *** | |
1388 | ||
1389 | 1993-07-08 David J. MacKenzie <djm@gnu.org> | |
1390 | ||
1391 | * Makefile.in: *** empty log message *** | |
1392 | ||
1393 | 1993-07-04 Richard Stallman <rms@gnu.org> | |
1394 | ||
1395 | * src/bison.s1: *** empty log message *** | |
1396 | ||
1397 | 1993-07-04 Richard Stallman <rms@gnu.org> | |
1398 | ||
1399 | * bison.simple: *** empty log message *** | |
1400 | ||
1401 | 1993-06-26 David J. MacKenzie <djm@gnu.org> | |
1402 | ||
1403 | * src/getargs.c: entered into RCS | |
1404 | ||
1405 | 1993-06-26 David J. MacKenzie <djm@gnu.org> | |
1406 | ||
1407 | * doc/bison.texinfo: *** empty log message *** | |
1408 | ||
1409 | * doc/bison.1: New file. | |
1410 | ||
1411 | 1993-06-25 Richard Stallman <rms@gnu.org> | |
1412 | ||
1413 | * src/getargs.c: New file. | |
1414 | ||
1415 | 1993-06-16 Richard Stallman <rms@gnu.org> | |
1416 | ||
1417 | * src/bison.s1: *** empty log message *** | |
1418 | ||
1419 | 1993-06-16 Richard Stallman <rms@gnu.org> | |
1420 | ||
1421 | * bison.simple: *** empty log message *** | |
1422 | ||
1423 | 1993-06-03 Richard Stallman <rms@gnu.org> | |
1424 | ||
1425 | * src/bison.s1: New file. | |
1426 | ||
1427 | 1993-06-03 Richard Stallman <rms@gnu.org> | |
1428 | ||
1429 | * doc/bison.texinfo: *** empty log message *** | |
1430 | ||
1431 | 1993-06-03 Richard Stallman <rms@gnu.org> | |
1432 | ||
1433 | * bison.simple: New file. | |
1434 | ||
1435 | 1993-05-19 Richard Stallman <rms@gnu.org> | |
1436 | ||
1437 | * doc/bison.texinfo: New file. | |
1438 | ||
1439 | 1993-05-07 Noah Friedman <friedman@gnu.org> | |
1440 | ||
1441 | * Makefile.in: *** empty log message *** | |
1442 | ||
1443 | 1993-04-28 Noah Friedman <friedman@gnu.org> | |
1444 | ||
1445 | * src/reader.c: *** empty log message *** | |
1446 | ||
1447 | 1993-04-23 Noah Friedman <friedman@gnu.org> | |
1448 | ||
1449 | * src/alloc.h: entered into RCS | |
1450 | ||
1451 | 1993-04-20 David J. MacKenzie <djm@gnu.org> | |
1452 | ||
1453 | * src/version.c: *** empty log message *** | |
1454 | ||
1455 | * src/files.c, src/allocate.c: | |
1456 | entered into RCS | |
1457 | ||
1458 | * src/reader.c: *** empty log message *** | |
1459 | ||
1460 | * src/lex.c: entered into RCS | |
1461 | ||
1462 | * src/conflicts.c: New file. | |
1463 | ||
1464 | * src/symtab.c: entered into RCS | |
1465 | ||
1466 | * src/alloc.h: New file. | |
1467 | ||
1468 | * src/LR0.c: entered into RCS | |
1469 | ||
1470 | 1993-04-18 Noah Friedman <friedman@gnu.org> | |
1471 | ||
1472 | * src/reader.c: New file. | |
1473 | ||
1474 | * src/version.c: *** empty log message *** | |
1475 | ||
1476 | 1993-04-18 Noah Friedman <friedman@gnu.org> | |
1477 | ||
1478 | * Makefile.in: *** empty log message *** | |
1479 | ||
1480 | 1993-04-17 Noah Friedman <friedman@gnu.org> | |
1481 | ||
1482 | * Makefile.in: *** empty log message *** | |
1483 | ||
1484 | 1993-04-15 Richard Stallman <rms@gnu.org> | |
1485 | ||
1486 | * src/main.c, src/files.c: | |
1487 | New file. | |
1488 | ||
1489 | 1993-04-15 Noah Friedman <friedman@gnu.org> | |
1490 | ||
1491 | * configure.in: entered into RCS | |
1492 | ||
1493 | * configure.in: *** empty log message *** | |
1494 | ||
1495 | * configure.in: New file. | |
1496 | ||
1497 | 1993-04-14 Richard Stallman <rms@gnu.org> | |
1498 | ||
1499 | * Makefile.in: New file. | |
1500 | ||
1501 | 1993-04-13 Richard Stallman <rms@gnu.org> | |
1502 | ||
1503 | * src/version.c: New file. | |
1504 | ||
1505 | 1993-03-25 Richard Stallman <rms@gnu.org> | |
1506 | ||
1507 | * src/output.c: entered into RCS | |
1508 | ||
1509 | 1992-09-25 Richard Stallman <rms@gnu.org> | |
1510 | ||
1511 | * configure.bat: entered into RCS | |
1512 | ||
1513 | 1992-06-22 Richard Stallman <rms@gnu.org> | |
1514 | ||
1515 | * src/vmsgetargs.c: entered into RCS | |
1516 | ||
1517 | 1992-06-22 Richard Stallman <rms@gnu.org> | |
1518 | ||
1519 | * doc/bison.rnh: entered into RCS | |
1520 | ||
1521 | 1992-04-20 David J. MacKenzie <djm@gnu.org> | |
1522 | ||
1523 | * README: entered into RCS | |
1524 | ||
1525 | 1992-01-22 Richard Stallman <rms@gnu.org> | |
1526 | ||
1527 | * src/machine.h: entered into RCS | |
1528 | ||
1529 | 1991-12-21 Richard Stallman <rms@gnu.org> | |
1530 | ||
1531 | * src/lalr.c, src/closure.c: | |
1532 | entered into RCS | |
1533 | ||
1534 | 1991-12-20 Richard Stallman <rms@gnu.org> | |
1535 | ||
1536 | * src/state.h: entered into RCS | |
1537 | ||
1538 | 1991-12-18 Richard Stallman <rms@gnu.org> | |
1539 | ||
1540 | * src/print.c, src/nullable.c, src/derives.c: | |
1541 | entered into RCS | |
1542 | ||
1543 | 1991-11-03 David J. MacKenzie <djm@gnu.org> | |
1544 | ||
1545 | * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h: | |
1546 | entered into RCS | |
1547 | ||
1548 | 1988-09-09 Richard Stallman <rms@gnu.org> | |
1549 | ||
1550 | * src/bison.hairy: entered into RCS | |
1551 | ||
1552 | 1987-12-16 Richard Stallman <rms@gnu.org> | |
1553 | ||
1554 | * REFERENCES: entered into RCS |