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