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