]>
Commit | Line | Data |
---|---|---|
3feec034 AD |
1 | 2001-11-19 Akim Demaille <akim@epita.fr> |
2 | ||
3 | * src/lalr.c (set_maxrhs, maxrhs): Remove, replaced with... | |
4 | (maxrhs): this new function. | |
5 | ||
ddcd5fdf AD |
6 | 2001-11-19 Akim Demaille <akim@epita.fr> |
7 | ||
8 | * src/lalr.c (F): New macro to access to the variable F. | |
9 | Adjust. | |
10 | ||
bb527fc2 AD |
11 | 2001-11-19 Akim Demaille <akim@epita.fr> |
12 | ||
13 | * src/lalr.h (LA): New macro to access to the variable LA. | |
14 | * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c: | |
15 | * src/lalr.c: Adjust. | |
16 | ||
a845a697 AD |
17 | 2001-11-19 Akim Demaille <akim@epita.fr> |
18 | ||
19 | * src/lalr.c (initialize_LA): Only initialize LA. Let... | |
20 | (set_state_table): handle the `lookaheads' members. | |
21 | ||
22 | ||
f004bf6a AD |
23 | 2001-11-19 Akim Demaille <akim@epita.fr> |
24 | ||
25 | * src/lalr.h (lookaheads): Removed array, which contents is now | |
26 | member of... | |
27 | (state_t): this structure. | |
28 | * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c: | |
29 | Adjust. | |
30 | ||
de326cc0 AD |
31 | 2001-11-19 Akim Demaille <akim@epita.fr> |
32 | ||
33 | * src/lalr.h (consistent): Removed array, which contents is now | |
34 | member of... | |
35 | (state_t): this structure. | |
36 | * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c: | |
37 | Adjust. | |
38 | ||
90b4416b AD |
39 | 2001-11-19 Akim Demaille <akim@epita.fr> |
40 | ||
41 | * src/lalr.h (reduction_table, shift_table): Removed arrays, which | |
42 | contents is now members of... | |
43 | (state_t): this structure. | |
44 | * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c: | |
45 | Adjust. | |
46 | ||
47 | ||
9703cc49 AD |
48 | 2001-11-19 Akim Demaille <akim@epita.fr> |
49 | ||
50 | * src/lalr.h (state_t): New. | |
51 | (state_table): Be a state_t * instead of a core **. | |
52 | (accessing_symbol): Remove, part of state_t. | |
53 | * src/lalr.c: Adjust. | |
54 | (set_accessing_symbol): Merge into... | |
55 | (set_state_table): this. | |
56 | * src/print_graph.c, src/conflicts.c: Adjust. | |
57 | ||
d803322e AD |
58 | 2001-11-14 Akim Demaille <akim@epita.fr> |
59 | ||
60 | * tests/calc.at, tests/output.at, tests/regression.at, | |
61 | * tests/testsuite.at, tests/torture.at: Rely on Autotest 2.52g: | |
62 | now the tests are run in private dirs, therefore AC_CLEANUP and | |
63 | family can be simplified to 0-ary. | |
64 | * tests/atlocal.in: Now that we run `elsewhere' than in tests/, | |
65 | use abs. path to find config.h. | |
66 | * tests/calc.at (AT_CHECK_CALC): Don't try to check the compiler's | |
67 | stderr, there can be way too much random noise. | |
68 | Instead pass -Werror to GCC and rely on the exit status. | |
69 | Reported by Wolfram Wagner. | |
70 | ||
3d76b07d AD |
71 | 2001-11-14 Akim Demaille <akim@epita.fr> |
72 | ||
73 | * src/bison.simple (yyparse): Let yyls1, yyss1 and yyvs1 be | |
74 | defined only if yyoverflow is defined, to avoid `warning: unused | |
75 | variable `yyvs1''. | |
76 | Reported by The Test Suite. | |
77 | ||
09b503c8 AD |
78 | 2001-11-14 Akim Demaille <akim@epita.fr> |
79 | ||
80 | * src/print.c: Include reduce.h. | |
81 | Reported by Hans Aberg. | |
82 | ||
83 | 2001-11-14 Akim Demaille <akim@epita.fr> | |
84 | ||
85 | * src/lex.c, src/lex.h (token_buffer, unlexed_token_buffer): | |
86 | Revert a previous patch: these are really const. | |
87 | * src/conflicts.c (conflict_report): Additional useless pair of | |
88 | braces to pacify GCC's warnings for `if () if () {} else {}'. | |
89 | * src/lex.c (parse_percent_token): Replace equal_offset with | |
90 | arg_offset. | |
91 | arg is const. | |
92 | Be sure to strdup `arg' when used, since there is no reason for | |
93 | token_buffer not to change. | |
94 | ||
0f37a994 AD |
95 | 2001-11-14 Akim Demaille <akim@epita.fr> |
96 | ||
97 | * src/system.h (EXIT_SUCCESS, EXIT_FAILURE): Ensure a proper | |
98 | definition. | |
99 | * src/main.c (main): Use them. | |
100 | Suggested by Hans Aberg. | |
101 | ||
d39d93b8 AD |
102 | 2001-11-12 Akim Demaille <akim@epita.fr> |
103 | ||
104 | * src/system.h (ngettext): Now that we use ngettext, be sure to | |
105 | provide a default definition when NLS are not used. | |
106 | ||
9edcd895 AD |
107 | 2001-11-12 Akim Demaille <akim@epita.fr> |
108 | ||
109 | * doc/bison.texinfo: Use `$' as shell prompt, not `%'. | |
110 | Use @kbd to denote user input. | |
111 | (Language and Grammar): ANSIfy the example. | |
112 | Adjust its layout for info/notinfo. | |
113 | (Location Tracking Calc): Output error messages to stderr. | |
114 | Output locations in a more GNUtically correct way. | |
115 | Fix a couple of Englishos. | |
116 | Adjust @group/@end group pairs. | |
117 | ||
7da99ede AD |
118 | 2001-11-12 Akim Demaille <akim@epita.fr> |
119 | ||
120 | %expext was not functioning at all. | |
121 | ||
122 | * src/conflicts.c (expected_conflicts): Set to -1. | |
123 | (conflict_report): Use ngettext. | |
124 | (conflicts_print): Check %expect and make its violation an error. | |
125 | * doc/bison.texinfo (Expect Decl): Adjust. | |
126 | * configure.in (AM_GNU_GETTEXT): Ask for ngettext. | |
127 | * tests/regression.at (%expect not enough, %expect right) | |
128 | (%expect too much): New. | |
129 | ||
ba9dda1a AD |
130 | 2001-11-12 Akim Demaille <akim@epita.fr> |
131 | ||
132 | * tests/regression.at (Conflicts): Rename as... | |
133 | (Unresolved SR Conflicts): this. | |
134 | (Solved SR Conflicts): New. | |
135 | ||
337c5bd1 AD |
136 | 2001-11-12 Akim Demaille <akim@epita.fr> |
137 | ||
138 | * src/reduce.c (print_results): Rename as... | |
139 | (reduce_output): This. | |
140 | Output to OUT, passed as argument, instead of output_obstack. | |
141 | (dump_grammar): Likewise. | |
142 | (reduce_free): New. | |
143 | Also free V1. | |
144 | (reduce_grammar): No longer call reduce_output, since... | |
145 | * src/print.c (print_results): do it. | |
146 | * src/main.c (main): Call reduce_free; | |
147 | ||
c73a41af AD |
148 | 2001-11-12 Akim Demaille <akim@epita.fr> |
149 | ||
150 | * src/conflicts.c (print_reductions): Accept OUT as argument. | |
151 | Output to it, not to output_obstack. | |
152 | * src/print.c (print_actions): Adjust. | |
153 | ||
0df87bb6 AD |
154 | 2001-11-12 Akim Demaille <akim@epita.fr> |
155 | ||
156 | * src/conflicts.c (count_sr_conflicts, count_rr_conflicts): Return | |
157 | the result instead of using... | |
158 | (src_total, rrc_total, src_count, rrc_count): Remove. | |
159 | (any_conflicts): Remove. | |
160 | (print_conflicts): Split into... | |
161 | (conflicts_print, conflicts_output): New. | |
162 | * src/conflicts.h: Adjust. | |
163 | * src/main.c (main): Invoke both conflicts_output and conflicts_print. | |
0f37a994 | 164 | * src/print.c (print_grammar): Issue `\n' between two rules. |
0df87bb6 AD |
165 | * tests/regression.at (Conflicts): New. |
166 | Reported by Tom Lane. | |
167 | ||
e4d3d4de AD |
168 | 2001-11-12 Akim Demaille <akim@epita.fr> |
169 | ||
170 | * tests/regression.at (Invalid input): Remove, duplicate with | |
171 | ``Invalid input: 1''. | |
172 | ||
6d7d248e AD |
173 | 2001-11-12 Akim Demaille <akim@epita.fr> |
174 | ||
175 | * tests/torture.at (AT_DATA_STACK_TORTURE) | |
176 | (Exploding the Stack Size with Alloca) | |
177 | (Exploding the Stack Size with Malloc): New. | |
178 | ||
e9e4c321 AD |
179 | 2001-11-12 Akim Demaille <akim@epita.fr> |
180 | ||
181 | * src/bison.simple (YYSTACK_REALLOC): New. | |
182 | (yyparse) [!yyoverflow]: Use it and free the old stack. | |
0f37a994 | 183 | Reported by Per Allansson. |
e9e4c321 | 184 | |
5f7e0832 AD |
185 | 2001-11-12 Pascal Bart <pascal.bart@epita.fr> |
186 | ||
187 | * src/bison.simple: Define type yystype instead of YYSTYPE, and | |
188 | define CPP macro, which substitute YYSTYPE by yystype. | |
189 | * src/reader.c (parse_union_decl): Output yystype/YYSTYPE as we do | |
190 | with yyltype/YYLTYPE. This allows inclusion of the generated | |
191 | header within the parser if the compiler, such as GGC, accepts | |
192 | multiple equivalent #defines. | |
193 | From Akim. | |
194 | ||
e3f1699f AD |
195 | 2001-11-05 Akim Demaille <akim@epita.fr> |
196 | ||
197 | * src/reader.c (symbols_output): New, extracted from... | |
198 | (packsymbols): here. | |
199 | (reader): Adjust. | |
200 | ||
65be0866 AD |
201 | 2001-11-05 Akim Demaille <akim@epita.fr> |
202 | ||
203 | * src/lex.c (parse_percent_token): s/quotearg/quote/. | |
204 | ||
e4d910bf AD |
205 | 2001-11-05 Akim Demaille <akim@epita.fr> |
206 | ||
207 | * tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up | |
208 | pattern. | |
209 | ||
951366c1 AD |
210 | 2001-11-05 Akim Demaille <akim@epita.fr> |
211 | ||
212 | * src/options.h (struct option_table_struct): set_flags is void*. | |
213 | * src/options.c (longopts): Support `--output' and `%output'. | |
214 | (usage): Adjust. | |
215 | * src/lex.h (tok_setopt): Remove, replaced with... | |
216 | (tok_intopt, tok_stropt): these new guys. | |
217 | * src/lex.c (getopt.h): Not needed. | |
218 | (token_buffer, unlexed_token_buffer): Not const. | |
219 | (percent_table): Promote `-' over `_' in directive names. | |
220 | Active `%name-prefix', `file-prefix', and `output'. | |
221 | (parse_percent_token): Accept possible arguments to directives. | |
222 | Promote `-' over `_' in directive names. | |
223 | ||
d8988b2f AD |
224 | 2001-11-04 Akim Demaille <akim@epita.fr> |
225 | ||
226 | * doc/bison.texinfo (Decl Summary): Split the list into | |
227 | `directives for grammars' and `directives for bison'. | |
228 | Sort'em. | |
229 | Add description of `%name-prefix', `file-prefix', and `output'. | |
230 | Promote `-' over `_' in directive names. | |
231 | (Bison Options): s/%locactions/%locations/. Nice Freudian slip. | |
232 | Simplify the description of `--name-prefix'. | |
233 | Promote `-' over `_' in directive names. | |
234 | Promote `--output' over `--output-file'. | |
235 | Fix the description of `--defines'. | |
236 | * tests/output.at: Exercise %file-prefix and %output. | |
237 | ||
6468d18e AD |
238 | 2001-11-02 Akim Demaille <akim@epita.fr> |
239 | ||
240 | * doc/refcard.tex: Update. | |
241 | ||
6b7e85b9 AD |
242 | 2001-11-02 Akim Demaille <akim@epita.fr> |
243 | ||
244 | * src/symtab.h (SUNDEF): New. | |
245 | * src/symtab.c (bucket_new): Init user_token_number to SUNDEF to | |
246 | stand for `uninitialized', instead of 0. | |
247 | * src/reader.c (packsymbols, parse_thong_decl): Adjust. | |
248 | * src/lex.c (lex): Adjust. | |
249 | ||
250 | * tests/calc.at (_AT_DATA_CALC_Y): Declare a token for EOF. | |
251 | Number it 0. | |
252 | Let yylex return it instead of a plain 0. | |
253 | Reported by Dick Streefland. | |
254 | ||
cd5aafcf AD |
255 | 2001-11-02 Akim Demaille <akim@epita.fr> |
256 | ||
257 | * tests/regression.at (Mixing %token styles): New test. | |
258 | ||
037ca2f1 AD |
259 | 2001-11-02 Akim Demaille <akim@epita.fr> |
260 | ||
261 | * src/reader.c (parse_thong_decl): Formatting changes. | |
262 | (token_translations_init): New, extracted from... | |
263 | (packsymbols): Here. | |
264 | Adjust. | |
265 | ||
270a173c AD |
266 | 2001-11-01 Akim Demaille <akim@epita.fr> |
267 | ||
268 | * tests/regression.at (AT_TEST_CPP_GUARD_H): New. | |
269 | Check that `9foo.y' produces correct cpp guards. | |
270 | * src/files.c (compute_header_macro): Prepend `BISON_' to CPP | |
271 | guards. | |
272 | Reported by Wwp. | |
273 | ||
561f9a30 AD |
274 | 2001-11-01 Akim Demaille <akim@epita.fr> |
275 | ||
276 | * tests/regression.at (Invalid input: 2): New. | |
277 | * src/lex.c (unlexed_token_buffer): New. | |
278 | (lex, unlex): Adjust: when unlexing, be sure to save token_buffer | |
279 | too. | |
280 | Reported by Wwp. | |
281 | ||
f987e9d2 AD |
282 | 2001-11-01 Akim Demaille <akim@epita.fr> |
283 | ||
284 | * tests/calc.at: Catch up with 1.30. | |
285 | * configure.in: Bump to 1.49a. | |
286 | Adjust to newer Autotest. | |
287 | ||
0846f581 PB |
288 | 2001-10-19 Pascal Bart <pascal.bart@epita.fr> |
289 | ||
290 | * src/conflicts.c: Move global variables rrc_total and src_total ... | |
291 | (print_conflicts): here. | |
292 | * src/output.c (output): Free global variable user_toknums. | |
293 | * src/lex.c (token_obstack): Become static. | |
294 | ||
3c1a79b3 AD |
295 | 2001-10-18 Akim Demaille <akim@epita.fr> |
296 | ||
297 | * tests/atlocal.in (GCC): Add. | |
298 | * tests/calc.at: s/m4_match/m4_bmatch/. | |
299 | s/m4_patsubst/m4_bpatsubst/. | |
300 | (AT_CHECK_CALC): Check the compiler's stderr only if it's GCC. | |
301 | * configure.in: AC_SUBST(GCC). | |
302 | ||
5d52e7d0 MA |
303 | 2001-10-14 Marc Autret <autret_m@epita.fr> |
304 | ||
305 | * src/options.c (create_long_option_table): Fix. | |
306 | ||
631aa1d3 AD |
307 | 2001-10-10 Akim Demaille <akim@epita.fr> |
308 | ||
309 | * src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA. | |
310 | ||
f6ec6d13 AD |
311 | 2001-10-04 Akim Demaille <akim@epita.fr> |
312 | ||
313 | * src/reader.c (parse_union_decl): Push the caracters in | |
314 | union_obstack, not attrs_obstack. | |
315 | ||
342b8b6e AD |
316 | 2001-10-04 Akim Demaille <akim@epita.fr> |
317 | ||
318 | Merge in the branch 1.29. | |
319 | ||
320 | * src/reader.c (packsymbols): Use a temporary obstack for | |
321 | `%%tokendef', since output_stack is already used elsewhere. | |
322 | ||
323 | 2001-10-02 Akim Demaille <akim@epita.fr> | |
324 | ||
325 | Bump 1.29d. | |
326 | ||
327 | 2001-10-02 Akim Demaille <akim@epita.fr> | |
328 | ||
329 | Version 1.29c. | |
330 | ||
331 | 2001-10-02 Akim Demaille <akim@epita.fr> | |
332 | ||
333 | * tests/regression.at (Invalid CPP headers): New. | |
334 | From Alexander Belopolsky. | |
335 | * src/files.c (compute_header_macro): Map non alnum chars to `_'. | |
336 | ||
337 | 2001-10-02 Akim Demaille <akim@epita.fr> | |
338 | ||
339 | * tests/regression.at (Invalid input): New. | |
340 | * src/lex.c (lex): Be sure to set `token_buffer' in any case. | |
341 | Reported by Shura. | |
342 | ||
343 | 2001-10-02 Akim Demaille <akim@epita.fr> | |
344 | ||
345 | * tests/calc.at: Now that --debug works, the tests must be adjusted. | |
346 | ||
347 | 2001-10-02 Akim Demaille <akim@epita.fr> | |
348 | ||
349 | * src/output.c (output_parser): Assert `skeleton'. | |
350 | * src/files.c (skeleton_find): Look harder for skeletons on DOSish | |
351 | systems. | |
352 | From Shura. | |
353 | ||
354 | 2001-10-01 Marc Autret <autret_m@epita.fr> | |
355 | ||
356 | * src/lex.h: Echo modifications. | |
357 | * src/lex.c (unlex): Parameter is now token_t. | |
358 | From Hans Aberg. | |
359 | ||
360 | 2001-10-01 Marc Autret <autret_m@epita.fr> | |
361 | ||
362 | * src/main.c: Include lex.h. | |
363 | From Hans Aberg. | |
364 | ||
365 | 2001-09-29 Akim Demaille <akim@epita.fr> | |
366 | ||
367 | * src/getargs.c (longopts): `--debug' is `-t', not `-d'. | |
368 | ||
369 | 2001-09-28 Akim Demaille <akim@epita.fr> | |
370 | ||
371 | * tests/testsuite.at: Update to newer Autotest. | |
372 | * tests/Makefile.am (EXTRA_DIST): bison is not to be shipped. | |
373 | ||
374 | 2001-09-27 Akim Demaille <akim@epita.fr> | |
375 | ||
376 | Position independent wrapper. | |
377 | ||
378 | * tests/bison: Remove. | |
379 | * tests/bison.in: New. | |
380 | * configure.in: Adjust. | |
381 | ||
382 | 2001-09-27 Paul Eggert <eggert@twinsun.com> | |
383 | ||
384 | Port quotearg fixes from tar 1.13.24. | |
385 | ||
386 | * lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct | |
387 | tm to be declared. | |
388 | (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC. | |
389 | (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT. | |
390 | ||
391 | * m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4. | |
392 | * m4/mbrtowc.m4: New file. | |
393 | * m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h. | |
394 | Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc). | |
395 | ||
396 | 2001-09-27 Akim Demaille <akim@epita.fr> | |
397 | ||
398 | Bump to 1.29c. | |
399 | ||
400 | 2001-09-27 Akim Demaille <akim@epita.fr> | |
401 | ||
402 | Version 1.29b. | |
403 | ||
404 | 2001-09-25 Akim Demaille <akim@epita.fr> | |
405 | ||
406 | * src/system.h: Include `xalloc.h'. | |
407 | Remove it from the C files. | |
408 | * src/files.c (output_files): Free the obstacks. | |
409 | * src/lex.c (init_lex): Rename as... | |
410 | (lex_init): this. | |
411 | (lex_free): New. | |
412 | * src/main.c (main): Use it. | |
413 | ||
414 | 2001-09-24 Marc Autret <autret_m@epita.fr> | |
415 | ||
416 | * src/vcg.c (open_edge, close_edge, open_node, close_node): Change | |
417 | to output informations in fout (FILE*). | |
418 | (open_graph, close_graph): Likewise. | |
419 | (output_graph, output_edge, output_node): Likewise. | |
420 | * src/vcg.h: Update function prototypes. | |
421 | * src/print_graph.c (print_graph): Open output graph file. | |
422 | (print_actions): Adjust. | |
423 | * src/files.h: Remove extern declaration. | |
424 | * src/files.c: Remove graph_obstack declaration. | |
425 | (open_files): Remove graph_obstack initialization. | |
426 | (output_files): Remove graph_obstack saving. | |
427 | ||
428 | 2001-09-24 Marc Autret <autret_m@epita.fr> | |
429 | ||
430 | * src/files.c (compute_output_file_names): Fix. | |
431 | ||
432 | 2001-09-24 Marc Autret <autret_m@epita.fr>, | |
433 | Akim Demaille <akim@epita.fr> | |
434 | ||
435 | * src/reader.c (reader): Remove call to free_symtab (). | |
436 | * src/main.c (main): Call it here. | |
437 | Include symtab.h. | |
438 | * src/conflicts.c (initialize_conflicts): Rename as... | |
439 | (solve_conflicts): this. | |
440 | * src/print.c (print_core, print_actions, print_state) | |
441 | (print_grammar): Dump to a file instead a `output_obstack'. | |
442 | (print_results): Dump `output_obstack', and then proceed with the | |
443 | FILE *. | |
444 | * src/files.c (compute_output_file_names, close_files): New. | |
445 | (output_files): Adjust. | |
446 | * src/main.c (main): Adjust. | |
447 | ||
448 | 2001-09-23 Marc Autret <autret_m@epita.fr> | |
449 | ||
450 | * src/files.c (compute_header_macro): Computes header macro name | |
451 | from spec_defines_file when given. | |
452 | ||
453 | 2001-09-23 Marc Autret <autret_m@epita.fr> | |
454 | ||
455 | * src/files.c (output_files): Add default extensions. | |
456 | ||
457 | 2001-09-22 Akim Demaille <akim@epita.fr> | |
458 | ||
459 | * src/conflicts.c (finalize_conflicts): Rename as... | |
460 | (free_conflicts): this. | |
461 | ||
462 | 2001-09-22 Akim Demaille <akim@epita.fr> | |
463 | ||
464 | * src/gram.c (gram_free): Rename back as... | |
465 | (dummy): this. | |
466 | (output_token_translations): Free `token_translations'. | |
467 | * src/symtab.c (free_symtab): Free the tag field. | |
468 | ||
469 | 2001-09-22 Akim Demaille <akim@epita.fr> | |
470 | ||
471 | Remove `translations' as it is always set to true. | |
472 | ||
473 | * src/gram.h: Adjust. | |
474 | * src/reader.c (packsymbols, parse_token_decl): Adjust | |
475 | * src/print.c (print_grammar): Adjust. | |
476 | * src/output.c (output_token_translations): Adjust. | |
477 | * src/lex.c (lex): Adjust. | |
478 | * src/gram.c: Be sure the set pointers to NULL. | |
479 | (dummy): Rename as... | |
480 | (gram_free): this. | |
481 | ||
482 | 2001-09-22 Akim Demaille <akim@epita.fr> | |
483 | ||
484 | * configure.in: Invoke AM_LIB_DMALLOC. | |
485 | * src/system.h: Use dmalloc. | |
486 | * src/LR0.c: Be sure to have pointers initialized to NULL. | |
487 | (allocate_itemsets): Allocate kernel_items only if needed. | |
488 | ||
489 | 2001-09-22 Akim Demaille <akim@epita.fr> | |
490 | ||
491 | * configure.in: Bump to 1.29b. | |
492 | * tests/Makefile.am (DISTCLEANFILES): Add package.m4. | |
493 | * tests/calc.at (_AT_DATA_CALC_Y): #undef malloc so that we don't | |
494 | need xmalloc.c in calc.y. | |
495 | From Pascal Bart. | |
496 | ||
497 | 2001-09-21 Akim Demaille <akim@epita.fr> | |
498 | ||
499 | Version 1.29a. | |
500 | * Makefile.maint, config/config.guess, config/config.sub, | |
501 | * config/missing: Update from masters. | |
502 | * tests/Makefile.am ($(srcdir)/$(TESTSUITE)): No longer depend | |
503 | upon package.m4. | |
504 | * configure.in (ALL_LINGUAS): Add `tr'. | |
505 | ||
506 | 2001-09-21 Akim Demaille <akim@epita.fr> | |
507 | ||
508 | * tests/Makefile.am (package.m4): Move to... | |
509 | ($(srcdir)/$(TESTSUITE)): here. | |
510 | ||
511 | 2001-09-20 Akim Demaille <akim@epita.fr> | |
512 | ||
513 | * src/complain.c: No longer try to be standalone: use system.h. | |
514 | Don't assume __STDC__ is defined to 1. Just test if it is defined. | |
515 | * src/complain.h: Likewise. | |
516 | * src/reduce.c (useless_nonterminals, inaccessable_symbols): | |
517 | Remove the unused variable `n'. | |
518 | From Albert Chin-A-Young. | |
519 | ||
520 | 2001-09-18 Marc Autret <autret_m@epita.fr> | |
521 | ||
522 | * doc/bison.1: Update. | |
523 | * doc/bison.texinfo (Bison Options): Update --defines and --graph | |
524 | descriptions. | |
525 | (Option Cross Key): Update. | |
526 | Add --graph. | |
527 | ||
528 | 2001-09-18 Marc Autret <autret_m@epita.fr> | |
529 | ||
530 | * tests/regression.at: New test (comment in %union). | |
531 | ||
532 | 2001-09-18 Marc Autret <autret_m@epita.fr> | |
533 | ||
534 | * src/reader.c (parse_union_decl): Do not output '/'. Let copy_comment | |
535 | do that. | |
536 | Reported by Keith Browne. | |
537 | ||
538 | 2001-09-18 Marc Autret <autret_m@epita.fr> | |
539 | ||
540 | * tests/output.at: Add tests for --defines and --graph. | |
541 | ||
542 | 2001-09-18 Marc Autret <autret_m@epita.fr> | |
543 | ||
544 | * tests/output.at: Removes tests of %{header,src}_extension features. | |
545 | ||
546 | 2001-09-18 Akim Demaille <akim@epita.fr> | |
547 | ||
548 | * tests/Makefile.am (package.m4): New. | |
549 | * tests/calc.at (_AT_CHECK_CALC): Just run `calc input'. | |
550 | (_AT_CHECK_CALC_ERROR): Likewise. | |
551 | Factor the `, ' part of verbose error messages. | |
552 | ||
553 | 2001-09-18 Marc Autret <autret_m@epita.fr> | |
554 | ||
555 | * src/getargs.c (longopts): Declare --defines and --graph as options | |
556 | with optional arguments. | |
557 | * src/files.h: Add extern declarations. | |
558 | * src/files.c (spec_graph_file, spec_defines_file): New. | |
559 | (output_files): Update. | |
560 | Remove CPP-outed code. | |
561 | ||
562 | 2001-09-18 Marc Autret <autret_m@epita.fr> | |
563 | ||
564 | Turn off %{source,header}_extension feature. | |
565 | ||
566 | * src/files.c (compute_exts_from_gf): Update. | |
567 | (compute_exts_from_src): Update. | |
568 | (output_files): CPP-out useless code. | |
569 | * src/files.h: Remove {header,source}_extension extern declarations. | |
570 | * src/reader.c (parse_dquoted_param): CPP-out. | |
571 | (parse_header_extension_decl): Remove. | |
572 | (parse_source_extension_decl): Remove. | |
573 | (read_declarations): Remove cases tok_{hdrext,srcext}. | |
574 | * src/lex.c (percent_table): Remove {header,source}_extension entries. | |
575 | * src/lex.h (token_t): Remove tok_hdrext and tok_srcext. | |
576 | ||
577 | 2001-09-10 Akim Demaille <akim@epita.fr> | |
578 | ||
579 | * tests/output.at (AT_CHECK_BISON_FLAGS, AT_CHECK_BISON_PERCENT): | |
580 | (AT_CHECK_BISON_PERCENT_FLAGS): Merge into... | |
581 | (AT_CHECK_OUTPUT): this. | |
582 | Merely check ls' exit status, its output is useless. | |
583 | ||
584 | 2001-09-10 Akim Demaille <akim@epita.fr> | |
585 | ||
586 | * tests/calc.at: Use m4_match. | |
587 | (_AT_DATA_CALC_Y): Check `yyin != NULL', not `stdin != NULL'. | |
588 | ||
589 | 2001-09-10 Marc Autret <autret_m@epita.fr>, | |
590 | Akim Demaille <akim@epita.fr> | |
591 | ||
592 | * src/vcg.h (graph_s): color, textcolor, bordercolor are now | |
593 | enum color_e. | |
594 | * src/print_graph.c (print_graph): Initalize graph.layoutalgorithm | |
595 | to `normal'. | |
596 | * src/reader.c (parse_token_decl): Initialize token with tok_eof. | |
597 | * src/lex.h: Adjust prototype. | |
598 | (token_t): Add `tok_undef'. | |
599 | * src/lex.c (struct percent_table_struct): Retval is now a token_t. | |
600 | (parse_percent_token): Now returns token_t. | |
601 | Add default statement in switch. | |
602 | (lex): Separate `c' as an input variable, from the token_t result | |
603 | part. | |
604 | (unlexed): Is a token_t. | |
605 | ||
606 | 2001-09-10 Akim Demaille <akim@epita.fr> | |
607 | ||
608 | * configure.in: Bump to 1.29a. | |
609 | ||
610 | 2001-09-07 Akim Demaille <akim@epita.fr> | |
611 | ||
612 | Version 1.29. | |
613 | ||
614 | 2001-08-30 Akim Demaille <akim@epita.fr> | |
615 | ||
616 | * tests/atgeneral.m4, tests/atconfig.in, tests/suite.at: Remove. | |
617 | * m4/atconfig.m4: Remove. | |
618 | * tests/testsuite.at, tests/atlocal.in, tests/output.at, | |
619 | * tests/bison: New. | |
620 | * tests/regression.at, tests/calc.at: Use m4_define, AT_BANNER, | |
621 | m4_if, m4_patsubst, and m4_regexp. | |
622 | * tests/calc.at (_AT_CHECK_CALC, _AT_CHECK_CALC_ERROR): Use an | |
623 | `input' file instead of echo. | |
624 | ||
625 | 2001-08-29 Akim Demaille <akim@epita.fr> | |
626 | ||
627 | Bump to 1.28e. | |
628 | ||
629 | 2001-08-29 Akim Demaille <akim@epita.fr> | |
630 | ||
631 | Version 1.28d. | |
632 | ||
633 | 2001-08-29 Paul Eggert <eggert@twinsun.com> | |
634 | ||
635 | * src/bison.simple (yyparse): Don't take the address of an | |
636 | item before the start of an array, as that doesn't conform to | |
637 | the C Standard. | |
638 | ||
639 | 2001-08-29 Robert Anisko <anisko_r@epita.fr> | |
640 | ||
641 | * doc/bison.texinfo (Location Tracking Calc): New node. | |
642 | ||
643 | 2001-08-29 Paul Eggert <eggert@twinsun.com> | |
644 | ||
645 | * src/output.c (output): Do not define const, as this now | |
646 | causes more problems than it cures. | |
647 | ||
648 | 2001-08-29 Akim Demaille <akim@epita.fr> | |
649 | ||
650 | * doc/bison.texinfo: Modernize `@node' and `@top' use: just name | |
651 | the nodes. | |
652 | Be sure to tag the `detailmenu'. | |
653 | ||
654 | 2001-08-29 Akim Demaille <akim@epita.fr> | |
655 | ||
656 | * Makefile.maint (do-po-update): Wget refuses to overwrite files: | |
657 | download in a tmp dir. | |
658 | ||
659 | 2001-08-28 Marc Autret <autret_m@epita.fr> | |
660 | ||
661 | * config/depcomp: New file. | |
662 | ||
663 | 2001-08-28 Marc Autret <autret_m@epita.fr> | |
664 | ||
665 | * doc/bison.1 (mandoc): Adjust. | |
666 | From Juan Manuel Guerrero. | |
667 | ||
668 | 2001-08-28 Marc Autret <autret_m@epita.fr> | |
669 | ||
670 | * src/print_graph.c (print_state): Fix. | |
671 | ||
672 | 2001-08-27 Marc Autret <autret_m@epita.fr> | |
673 | ||
674 | * src/vcg.h (classname_s, infoname_s, node_s): Constify the | |
675 | char * members. | |
676 | Echo modifications to the functions prototypes. | |
677 | * src/vcg.c (add_classname, add_infoname): Adjust arguments. | |
678 | ||
679 | 2001-08-27 Marc Autret <autret_m@epita.fr> | |
680 | ||
681 | * src/vcg.c: Include `xalloc.h'. | |
682 | (add_colorentry): New. | |
683 | (add_classname): New. | |
684 | (add_infoname): New. | |
685 | * src/vcg.h: Add new prototypes. | |
686 | ||
687 | 2001-08-27 Akim Demaille <akim@epita.fr> | |
688 | ||
689 | * Makefile.maint: Sync. again with CVS Autoconf. | |
690 | ||
691 | 2001-08-27 Akim Demaille <akim@epita.fr> | |
692 | ||
693 | * Makefile.maint: Formatting changes. | |
694 | (po-update, cvs-update, update): New targets. | |
695 | (AMTAR): Remove. | |
696 | ||
697 | 2001-08-27 Akim Demaille <akim@epita.fr> | |
698 | ||
699 | * Makefile.am (AUTOMAKE_OPTIONS): 1.5. | |
700 | * Makefile.maint: Sync. with CVS Autoconf. | |
701 | ||
702 | 2001-08-27 Marc Autret <autret_m@epita.fr> | |
703 | ||
704 | * src/vcg.h (struct infoname_s): New. | |
705 | (struct colorentry_s): New. | |
706 | (graph_s): New fields {vertical,horizontal}_order in structure. | |
707 | Add `infoname' field. | |
708 | Add `colorentry' field; | |
709 | * src/vcg_defaults.h (G_VERTICAL_ORDER): New. | |
710 | (G_HORIZONTAL_ORDER): New. | |
711 | (G_INFONAME): New. | |
712 | (G_COLORENTRY): New. | |
713 | * src/vcg.c (output_graph): Add output of {vertical,horizontal}_order. | |
714 | Add output of `infoname'. | |
715 | Add output of `colorentry'. | |
716 | ||
717 | 2001-08-27 Marc Autret <autret_m@epita.fr> | |
718 | ||
719 | * src/reader.c (parse_dquoted_param): Rename variable `index' to `i'. | |
720 | This one shadowed a global parameter. | |
721 | ||
722 | 2001-08-24 Marc Autret <autret_m@epita.fr> | |
723 | ||
724 | * src/print_graph.c (node_output_size): Declared POSIX `size_t' type, | |
725 | instead of `unsigned'. | |
726 | (print_state): Do not call obstack_object_size () in obstack_grow () | |
727 | to avoid macro variables shadowing. | |
728 | ||
729 | 2001-08-23 Marc Autret <autret_m@epita.fr> | |
730 | ||
731 | * src/lex.c (percent_table): Typo: s/naem/name/. | |
732 | Add graph option. | |
733 | Normalize new options declarations. | |
734 | ||
735 | 2001-08-20 Pascal Bart <pascal.bart@epita.fr> | |
736 | ||
737 | * tests/suite.at: Exercise %header_extension and %source_extension. | |
738 | ||
739 | 2001-08-16 Marc Autret <autret_m@epita.fr> | |
740 | ||
741 | * src/reader.c (parse_dquoted_param): New. | |
742 | (parse_header_extension_decl): Use it. | |
743 | (parse_source_extension_decl): Likewise. | |
744 | ||
745 | 2001-08-16 Marc Autret <autret_m@epita.fr> | |
746 | ||
747 | * src/vcg.c: Remove includes of `complain.h' and `xalloc.h'. | |
748 | (get_xxxx_str): Use assert () instead of complain (). | |
749 | Remove return invokations in default cases. | |
750 | (get_decision_str): Modify default behaviour. Remove second argument. | |
751 | Echo modifications on calls. | |
752 | (output_graph): Fix. | |
753 | ||
754 | 2001-08-16 Marc Autret <autret_m@epita.fr> | |
755 | ||
756 | * src/getargs.c (usage): Update with ``-g, --graph''. | |
757 | ||
758 | 2001-08-16 Marc Autret <autret_m@epita.fr> | |
759 | ||
760 | * doc/bison.texinfo (Bison Options): Add items `-g', `--graph'. | |
761 | (Option Cross Key): Likewise. | |
762 | * doc/bison.1: Update. | |
763 | ||
1c8c2190 PB |
764 | 2001-09-25 Pascal Bart <pascal.bart@epita.fr> |
765 | ||
766 | * src/output.c (output_master_parser): Don't finish action_obstack. | |
767 | (output_parser): Don't care about the muscle action, here. | |
768 | (prepare): Copy the action_obstack in the action muscle. | |
769 | (output): Free action_obstack. | |
770 | ||
180d45ba PB |
771 | 2001-09-23 Pascal Bart <pascal.bart@epita.fr> |
772 | ||
773 | * src/reader.c (parse_union_decl): Add new obstack union_obstack. Which | |
774 | will contain `%union' declaration. | |
775 | (parse_union_decl): Delete #line directive output. | |
776 | (parse_union_decl): Substitute /attrs_obstack/union_obstack for all | |
777 | informations about %union. | |
778 | (parse_union_decl): Copy the union_obstack in the muscle stype. | |
779 | * src/bison.simple: Add new #line directive. | |
780 | Add typdef %%stype YYSTYPE. | |
781 | ||
c51d1a19 PB |
782 | 2001-09-23 Pascal Bart <pascal.bart@epita.fr> |
783 | ||
784 | * src/bison.simple: Add new `#line' directive. | |
785 | ||
6f9344da PB |
786 | 2001-09-22 Pascal Bart <pascal.bart@epita.fr> |
787 | ||
788 | * src/bison.simple: New `#line' directive. | |
789 | * src/output.c (output_parser): Support new dynamic muscle input_line. | |
790 | ||
652def80 MA |
791 | 2001-09-22 Marc Autret <autret_m@epita.fr> |
792 | ||
793 | * src/output.c (output_master_parser): New. | |
794 | (output_parser): Be more re-entrant. | |
795 | ||
25b222fa MA |
796 | 2001-09-21 Marc Autret <autret_m@epita.fr> |
797 | ||
798 | * src/reader.c (copy_definition, parse_union_decl): Update and use | |
799 | `linef' muscle. | |
800 | (copy_action): Likewise. | |
801 | Use obstack_1grow (). | |
802 | * src/muscle_tab.c (muscle_init): Add muscle `linef'. | |
803 | ||
6bc35ae5 MA |
804 | 2001-09-21 Marc Autret <autret_m@epita.fr> |
805 | ||
806 | * src/options.c (option_table): Adjust. | |
807 | * src/lex.c (parse_percent_token): Fix. | |
808 | ||
c0629aa1 PB |
809 | 2001-09-20 Pascal Bart <pascal.bart@epita.fr> |
810 | ||
811 | * src/options.c (symtab.h): Include it, need by lex.h. | |
342b8b6e | 812 | |
82b6d266 PB |
813 | 2001-09-20 Pascal Bart <pascal.bart@epita.fr> |
814 | ||
815 | * src/lex.c (parse_percent_token): Change type of variable `tx', which | |
816 | is now an option_table_struct*. | |
817 | (option_strcmp): New function option_strcmp. | |
818 | (parse_percent_token): Call option_strcmp. | |
819 | * src/getargs.c (xalloc.h, options.h): Include it. | |
820 | (getargs): Call create_long_option_table. | |
821 | (getargs): Free longopts at the end of the function. | |
822 | (shortopts): Move in options.c. | |
823 | * src/options.c (create_long_option_table): New function. Convert | |
824 | information from option_table to option structure. | |
825 | * src/reader.c (options.h): Include it. | |
826 | ||
827 | * src/Makefile.am: Adjust. | |
828 | * src/options.c (option_table): Create from longopts and percent_table. | |
829 | * src/getargs.c (longopts): Delete. | |
830 | * src/lex.c (struct percent_table_struct): Delete. | |
831 | (percent_table): Delete. | |
832 | (options.h): Include it. | |
833 | * src/options.c: Create. | |
834 | * src/options.h: Create. | |
835 | Declare enum opt_access_e. | |
836 | Define struct option_table_struct. | |
837 | ||
75f5aaea MA |
838 | 2001-09-20 Marc Autret <autret_m@epita.fr> |
839 | ||
840 | * doc/bison.texinfo: Adjust terminologies about prologue and epilogue | |
841 | sections of Bison. | |
842 | ||
f508cb0a PB |
843 | 2001-09-19 Pascal Bart <pascal.bart@epita.fr> |
844 | ||
845 | * src/bison.simple: s/%%filename/%%skeleton. | |
846 | * src/muscle_tab.c (getargs.h): Include it. | |
847 | (muscle_init): Insert new muscle skeleton. | |
848 | ||
13105fc1 PB |
849 | 2001-09-18 Pascal Bart <pascal.bart@epita.fr> |
850 | ||
851 | * src/output.c (output_parser): Delete unused variable actions_dumped. | |
852 | ||
b0c4483e PB |
853 | 2001-09-07 Pascal Bart <pascal.bart@epita.fr> |
854 | ||
855 | * src/output.c (output): Delete call to reader_output_yylsp. | |
856 | * src/reader.c (reader): Likewise. | |
857 | * src/reader.h: Delete declaration of reader_output_yylsp. | |
342b8b6e | 858 | |
11d82f03 MA |
859 | 2001-09-02 Marc Autret <autret_m@epita.fr> |
860 | ||
861 | * src/reader.c: Include muscle_tab.h. | |
862 | (parse_union_decl): Update. | |
863 | (parse_macro_decl): Rename parse_muscle_decl. | |
864 | Update to use renamed functions and variable. | |
865 | (read_declarations, copy_action, read_additionnal_code, : Updated | |
866 | with correct variables and functions names. | |
867 | (packsymbols, reader): Likewise. | |
342b8b6e | 868 | |
11d82f03 | 869 | * src/reader.h (muscle_obstack): Extern declaration update. |
342b8b6e | 870 | |
11d82f03 MA |
871 | * src/output.c: Include muscle_tab.h |
872 | In all functions using macro_insert, change by using muscle_insert (). | |
873 | (macro_obstack): Rename muscle_obstack. | |
874 | Echo modifications in the whole file. | |
875 | (MACRO_INSERT_INT): Rename MUSCLE_INSERT_INT. | |
876 | (MACRO_INSERT_STRING): Rename MUSCLE_INSERT_STRING. | |
877 | (MACRO_INSERT_PREFIX): Rename MUSCLE_INSERT_PREFIX. | |
878 | ||
879 | * src/muscle_tab.h: Update double inclusion macros. | |
880 | (macro_entry_s): Rename muscle_entry_s. | |
881 | Update prototypes. | |
342b8b6e | 882 | |
11d82f03 MA |
883 | * src/muscle_tab.c: Include muscle_tab.h. |
884 | Rename macro_tabble to muscle_table. | |
885 | (mhash1, mhash2, mcmp): Use muscle_entry. | |
886 | (macro_init): Rename muscle_init. Update. | |
887 | (macro_insert): Rename muscle_insert. Update. | |
888 | (macro_find): Rename muscle_find. Update. | |
889 | ||
890 | * src/main.c: Include muscle_tab.h. | |
891 | (main): Call muscle_init (). | |
892 | * src/Makefile.am (bison_SOURCES): Echo modifications. | |
893 | ||
93a37297 MA |
894 | 2001-09-02 Marc Autret <autret_m@epita.fr> |
895 | ||
f753cd62 | 896 | Now the files macro_tab.[ch] are named muscle_tab.[ch]. |
342b8b6e | 897 | |
f753cd62 MA |
898 | * src/muscle_tab.c, src/muscle_tab.h: Add files. |
899 | ||
900 | 2001-09-02 Marc Autret <autret_m@epita.fr> | |
901 | ||
902 | * src/macrotab.c, src/macrotab.h: Remove. | |
93a37297 | 903 | |
682d48cd PB |
904 | 2001-09-01 Pascal Bart <pascal.bart@epita.fr> |
905 | ||
342b8b6e | 906 | * src/reader.c (copy_guard): Use muscle to specify the `#line' |
682d48cd PB |
907 | filename. |
908 | ||
087c8fda MA |
909 | 2001-09-01 Marc Autret <autret_m@epita.fr> |
910 | ||
911 | * tests/calc.at (exp): Now, YYERROR_VERBOSE need to be set | |
912 | to an explicit value to activate the feature. We do it here. | |
913 | ||
dda680cb PB |
914 | 2001-08-31 Pascal Bart <pascal.bart@epita.fr> |
915 | ||
916 | * src/output.c (prepare): Delete the `filename' muscule insertion. | |
917 | * src/reader.c (copy_action): Use `filename' muscule with `#line'. | |
918 | (parse_union_decl): Likewise. | |
919 | * src/macrotab.c (macro_init): Initialize filename by infile. | |
920 | ||
9e644e64 MA |
921 | 2001-08-31 Marc Autret <autret_m@epita.fr> |
922 | ||
923 | * src/bison.simple (YYLSP_NEEDED): New definition. | |
924 | * src/output.c (prepare): Add macro insertion of `locations_flag' | |
925 | ||
17da6427 PB |
926 | 2001-08-31 Pascal Bart <pascal.bart@epita.fr> |
927 | ||
928 | * src/output.c (prepare): Delete insertion of previous muscles, | |
929 | and insert the `prefix' muscles. | |
930 | * src/macrotab.c (macro_init): Likewise. | |
931 | (macro_init): Initialization prefix directive by `yy'. | |
342b8b6e | 932 | * src/bison.simple: Substitute all %%yylex, %%yychar, %%yylval, |
17da6427 PB |
933 | %%yydebug, %%yyerror, %%yynerrs and %%yyparse by yylex, yychar, |
934 | yylval, yydebug, yyerror, yynerrs and yyparse. | |
342b8b6e | 935 | New directive `#define' to substitute yydebug, ... with option |
17da6427 PB |
936 | name_prefix. |
937 | ||
e8cb70b9 PB |
938 | 2001-08-31 Pascal Bart <pascal.bart@epita.fr> |
939 | ||
940 | * src/main.c (main): Standardize. | |
941 | * src/output.c (output_table_data, output_parser): Likewise. | |
942 | * src/macrotab.h, src/macrotab.c, src/bison.simple: Likewise. | |
943 | ||
63c2d5de MA |
944 | 2001-08-31 Pascal Bart <pascal.bart@epita.fr>, Marc Autret <autret_m@epita.fr> |
945 | ||
342b8b6e | 946 | * src/reader.c (read_additionnal_code): Rename %%user_code to |
63c2d5de MA |
947 | %%epilogue. |
948 | * src/output.c (output): Rename %%declarations to %%prologue. | |
949 | * src/bison.simple: Echo modifications. | |
342b8b6e | 950 | |
d8cb5183 MA |
951 | 2001-08-31 Marc Autret <autret_m@epita.fr> |
952 | ||
953 | * src/reader.c (readgram): CleanUp. | |
954 | (output_token_defines): Likewise. | |
955 | (packsymbols): Likewise. | |
956 | (reader): Likewise. | |
957 | * src/output.c (output): CPP-out useless code. | |
958 | ||
6c686258 PB |
959 | 2001-08-31 Pascal Bart <pascal.bart@epita.fr> |
960 | ||
342b8b6e | 961 | * src/reader.c (reader): Delete obsolete call to function |
6c686258 PB |
962 | output_trailers and output_headers. |
963 | * src/output.h: Remove obsolete functions prototypes of output_headers | |
964 | and output_trailers. | |
965 | ||
8f451ef7 PB |
966 | 2001-08-30 Pascal Bart <pascal.bart@epita.fr> |
967 | ||
968 | * src/main.c: Include macrotab.h. | |
342b8b6e | 969 | * src/macrotab.h (macro_entry_s): Constify fields. |
8f451ef7 PB |
970 | Adjust functions prototypes. |
971 | * src/macrotab.c (macro_insert): Constify key and value. | |
972 | (macro_find): Constify key. | |
973 | (macro_insert): Include 'xalloc.h' | |
974 | (macro_insert): Use XMALLOC. | |
975 | (macro_find): Constify return value. | |
976 | * src/output.c (output_table_data): Rename table to table_data. | |
977 | (output_parser): Constify macro_key, macro_value. | |
978 | ||
997b6fd0 | 979 | 2001-08-30 Marc Autret <autret_m@epita.fr> |
2ba3b73c MA |
980 | |
981 | * src/reader.c (parse_skel_decl): New. | |
342b8b6e | 982 | (read_declarations): Add case `tok_skel', call parse_skel_decl (). |
2ba3b73c MA |
983 | * src/lex.h (token_t): New token `tok_skel'. |
984 | * src/lex.c (percent_table): Add skeleton option entry. | |
985 | Standardize. | |
986 | ||
ff48177d MA |
987 | 2001-08-29 Marc Autret <autret_m@epita.fr> |
988 | ||
989 | * src/bison.simple: Add %%user_code directive at the end. | |
990 | * src/reader.c (read_additionnal_code): New. | |
991 | (reader): Use it. | |
992 | * src/output.c (output_program): Remove. | |
993 | (output): Update. | |
994 | ||
b33160bf MA |
995 | 2001-08-28 Marc Autret <autret_m@epita.fr> |
996 | ||
997 | * src/output.c (output_actions): Clean up. | |
4e5caae2 | 998 | (output_gram): CPP-out useless code. |
b33160bf MA |
999 | * src/reader.c (reader): Clean up, CPP-out useless code. |
1000 | ||
d1a2daf7 PB |
1001 | 2001-08-28 Pascal Bart <pascal.bart@epita.fr> |
1002 | ||
342b8b6e | 1003 | * src/output.c (output): Copy attrs_obstack in the '%%definitions' |
535c0e75 | 1004 | directive. |
d1a2daf7 PB |
1005 | * src/bison.simple: Add `%%definitions'. |
1006 | ||
2b763dfe MA |
1007 | 2001-08-28 Marc Autret <autret_m@epita.fr> |
1008 | ||
1009 | * config/depcomp: New file. | |
1010 | ||
f1a87ef6 PE |
1011 | 2001-08-27 Paul Eggert <eggert@twinsun.com> |
1012 | ||
1013 | * src/bison.simple (yyparse): Don't take the address of an | |
1014 | item before the start of an array, as that doesn't conform to | |
1015 | the C Standard. | |
1016 | ||
82e236e2 RA |
1017 | 2001-08-27 Robert Anisko <robert.anisko@epita.fr> |
1018 | ||
f1a87ef6 | 1019 | * src/output.c (output): Remove the initialization of the macro |
82e236e2 RA |
1020 | obstack. It was done too late here. |
1021 | ||
1022 | * src/reader.c (parse_macro_decl): Fix. Use of the macro obstack was | |
1023 | completely wrong. | |
1024 | (reader): Initialize the macro obstack here, since we need it to grow | |
1025 | '%define' directives. | |
1026 | ||
1027 | * src/reader.h: Declare the macro obstack as extern. | |
1028 | ||
b0cfa28a RA |
1029 | 2001-08-27 Robert Anisko <robert.anisko@epita.fr> |
1030 | ||
1031 | * src/output.c (output_parser): Fix. Store single '%' characters in | |
1032 | the output obstack instead of throwing them away. | |
1033 | ||
6fc74234 AD |
1034 | 2001-08-27 Akim Demaille <akim@epita.fr> |
1035 | ||
1036 | * Makefile.am (AUTOMAKE_OPTIONS): 1.5. | |
1037 | ||
9c76d118 RA |
1038 | 2001-08-25 Robert Anisko <robert.anisko@epita.fr> |
1039 | ||
1040 | * lib/Makefile.am: Adjust. | |
1041 | ||
a8289c62 RA |
1042 | 2001-08-25 Robert Anisko <robert.anisko@epita.fr> |
1043 | ||
1044 | * src/bison.simple: Update and add '%%' directives. | |
1045 | ||
b6610515 RA |
1046 | 2001-08-25 Robert Anisko <robert.anisko@epita.fr> |
1047 | ||
1048 | * src/reader.c (reader): Remove calls to 'output_headers' and | |
1049 | 'output_trailers'. Remove some C output. | |
1050 | (readgram): Disable a piece of code that was writing a default | |
1051 | definition for 'YYSTYPE'. | |
1052 | (reader_output_yylsp): Remove. | |
1053 | (packsymbols): Output token defintions to a macro. | |
1054 | (copy_definition): Disable C output. | |
6fc74234 | 1055 | |
b6610515 RA |
1056 | * src/reader.c (parse_macro_decl): New function used to parse macro |
1057 | declarations. | |
1058 | (copy_string2): Put the body of copy_string into this new function. | |
1059 | Add a parameter to let the caller choose whether he wants to copy the | |
1060 | string delimiters or not. | |
1061 | (copy_string): Be a simple call to copy_string2 with the last argument | |
1062 | bound to true. | |
1063 | (read_declarations): Add case for macro definition. | |
1064 | (copy_identifier): New. | |
6fc74234 | 1065 | (parse_macro_decl): Read macro identifiers using copy_identifier |
b6610515 RA |
1066 | rather than lex. |
1067 | ||
26f609ff RA |
1068 | 2001-08-25 Robert Anisko <robert.anisko@epita.fr> |
1069 | ||
1070 | * src/output.c (prepare): Add prefixed names. | |
1071 | (output_parser): Output semantic actions. | |
1072 | (output_parser): Fix bug on '%%line' directives. | |
6fc74234 | 1073 | |
26f609ff RA |
1074 | * src/output.c (output_headers): Remove. The C code printed by this |
1075 | function should now be in the skeletons. | |
1076 | (output_trailers): Remove. | |
1077 | (output): Disable call to 'reader_output_yylsp'. | |
1078 | (output_rule_data): Do not output tables to the table obstack. | |
1079 | ||
1080 | * src/output.c: Remove some C dedicated output. | |
1081 | Improve the use of macro and output obstacks. | |
1082 | (output_defines): Remove. | |
6fc74234 | 1083 | |
26f609ff RA |
1084 | * src/output.c (output_token_translations): Associate 'translate' |
1085 | table with a macro. No output to the table obstack. | |
1086 | (output_gram): Same for 'rhs' and 'prhs'. | |
1087 | (output_stos): Same for 'stos'. | |
1088 | (output_rule_data): Same for 'r1' and 'r2'. | |
1089 | (token_actions): Same for 'defact'. | |
1090 | (goto_actions): Same for 'defgoto'. | |
1091 | (output_base): Same for 'pact' and 'pgoto'. | |
1092 | (output_table): Same for 'table'. | |
1093 | (output_check): Same for 'check'. | |
6fc74234 | 1094 | |
26f609ff RA |
1095 | * src/output.c (output_table_data): New function. |
1096 | (output_short_table): Remove. | |
1097 | (output_short_or_char_table): Remove. | |
6fc74234 | 1098 | |
26f609ff RA |
1099 | * src/output.c (output_parser): Replace most of the skeleton copy code |
1100 | with something new. Skeletons are now processed character by character | |
1101 | rather than line by line, and Bison looks for '%%' macros. This is the | |
1102 | first step in making Bison's output process (a lot) more flexible. | |
1103 | (output_parser): Use the macro table. | |
1104 | ||
6f43b113 RA |
1105 | 2001-08-25 Robert Anisko <robert.anisko@epita.fr> |
1106 | ||
1107 | * src/main.c (main): Initialize the macro table. | |
1108 | ||
dd3127cf RA |
1109 | 2001-08-25 Robert Anisko <robert.anisko@epita.fr> |
1110 | ||
1111 | * src/lex.c (percent_table): Add tok_define. | |
1112 | * src/lex.h: Add tok_define. | |
1113 | ||
aa321494 RA |
1114 | 2001-08-25 Robert Anisko <robert.anisko@epita.fr> |
1115 | ||
1116 | * src/macrotab.c: New file. | |
1117 | * src/macrotab.h: New file. | |
1118 | * src/Makefile.am: Update. | |
1119 | ||
68bd3b6b RA |
1120 | 2001-08-25 Robert Anisko <robert.anisko@epita.fr> |
1121 | ||
1122 | * lib/hash.c: New file. | |
1123 | * lib/hash.h: New file. | |
1124 | * lib/Makefile.am: Update. | |
1125 | ||
45f8dd1e AD |
1126 | 2001-08-15 Akim Demaille <akim@epita.fr> |
1127 | ||
1128 | Version 1.28c. | |
1129 | ||
40a64a7a | 1130 | 2001-08-15 Marc Autret <autret_m@epita.fr> |
0b8afb77 AD |
1131 | |
1132 | * src/reader.c (readgram): Indent output macro YYSTYPE. | |
1133 | (packsymbols): Likewise. | |
1134 | (output_token_defines): Likewise. | |
1135 | * src/files.c: Standardize. | |
1136 | (compute_header_macro): New. | |
1137 | (defines_obstack_save): New. Use compute_header_macro. | |
1138 | (output_files): Update. Use defines_obstack_save. | |
1139 | ||
f9a8293a AD |
1140 | 2001-08-15 Akim Demaille <akim@epita.fr> |
1141 | ||
1142 | * doc/bison.texinfo (Table of Symbols): Document | |
1143 | YYSTACK_USE_ALLOCA. | |
1144 | ||
150ca7a7 AD |
1145 | 2001-08-15 Akim Demaille <akim@epita.fr> |
1146 | ||
1147 | * missing: Update from CVS Automake. | |
1148 | * config/config.guess, config/config.sub, config/texinfo.tex: | |
1149 | Update from gnu.org. | |
1150 | ||
69b5cec4 AD |
1151 | 2001-08-15 Akim Demaille <akim@epita.fr> |
1152 | ||
1153 | * Makefile.maint: Sync with CVS Autoconf. | |
1154 | ||
f2b5126e PB |
1155 | 2001-08-14 Pascal Bart <pascal.bart@epita.fr> |
1156 | ||
69b5cec4 | 1157 | * doc/bison.texinfo: Include GNU Free Documentation License from |
f2b5126e PB |
1158 | `fdl.texi'. |
1159 | * doc/fdl.texi: Add to package. | |
1160 | ||
4ecbf796 MA |
1161 | 2001-08-14 Marc Autret <autret_m@epita.fr> |
1162 | ||
1163 | Turn on %{source,header}_extension features. | |
1164 | ||
69b5cec4 | 1165 | * src/lex.c (percent_table): Un-CPP out header_extension and |
4ecbf796 MA |
1166 | source_extension. |
1167 | * src/files.c (compute_exts_from_gf): Compare pointers with NULL. | |
69b5cec4 | 1168 | (compute_exts_from_src): Remove conditions. It restores priorities |
4ecbf796 MA |
1169 | between options. |
1170 | ||
95fb5662 MA |
1171 | 2001-08-14 Marc Autret <autret_m@epita.fr> |
1172 | ||
1173 | * src/files.c (compute_base_names): Add extensions computing when | |
1174 | `--file-prefix' used. | |
1175 | Standardize function calls. | |
1176 | ||
78d09da9 MA |
1177 | 2001-08-13 Marc Autret <autret_m@epita.fr> |
1178 | ||
69b5cec4 | 1179 | * src/bison.simple (YYSTACK_USE_ALLOCA): Changed to allow users |
78d09da9 MA |
1180 | defining it (defined but null disables alloca). |
1181 | ||
5a009f2c MA |
1182 | 2001-08-13 Marc Autret <autret_m@epita.fr> |
1183 | ||
1184 | * src/bison.simple (_yy_memcpy): CPP reformat. | |
1185 | ||
1e41465a PB |
1186 | 2001-08-13 Pascal Bart <pascal.bart@epita.fr> |
1187 | ||
1188 | * tests/atconfig.in (CPPFLAGS): Fix. | |
1189 | ||
c67a198d PB |
1190 | 2001-08-10 Pascal Bart <pascal.bart@epita.fr> |
1191 | ||
79282c6c | 1192 | * doc/bison.texinfo: Include GNU General Public License from |
c67a198d PB |
1193 | `gpl.texi'. |
1194 | * doc/gpl.texi: Add to package. | |
1195 | ||
09a6de7e MA |
1196 | 2001-08-10 Marc Autret <autret_m@epita.fr> |
1197 | ||
1198 | * src/print_graph.h: Fix. | |
1199 | * src/reader.c (read_declarations): Use parse_header_extension_decl (). | |
1200 | ||
b77b9ee0 AD |
1201 | 2001-08-10 Akim Demaille <akim@epita.fr> |
1202 | ||
1203 | * src/system.h: Provide default declarations for stpcpy, strndup, | |
1204 | and strnlen. | |
1205 | ||
3e259915 MA |
1206 | 2001-08-10 Robert Anisko <anisko_r@epita.fr> |
1207 | ||
1208 | * doc/bison.texinfo (Locations): Update @$ stuff. | |
1209 | ||
ca96bc2d MA |
1210 | 2001-08-09 Robert Anisko <anisko_r@epita.fr> |
1211 | ||
1212 | * src/bison.simple (YYLLOC_DEFAULT): Update. | |
1213 | (yyparse): Adjust. | |
1214 | ||
fdc6758b MA |
1215 | 2001-08-08 Marc Autret <autret_m@epita.fr> |
1216 | ||
b77b9ee0 | 1217 | * doc/bison.texinfo: Change @samp{$<@dots{}>} to |
fdc6758b MA |
1218 | @samp{$<@dots{}>@var{n}} in Section Actions in Mid-Rule. |
1219 | Reported by Fabrice Bauzac. | |
957d4dbf | 1220 | |
600cad3b MA |
1221 | 2001-08-08 Marc Autret <autret_m@epita.fr> |
1222 | ||
1223 | * src/vcg_default.h: Use NULL instead of 0 to initialize pointers. | |
1224 | * src/vcg.c (output_node): Fix. | |
1225 | * src/vcg.h: Cleanup. | |
1226 | * src/print_graph.c: Add comments. | |
b77b9ee0 | 1227 | (node_output_size): New global variable. Simplify the formatting of |
600cad3b | 1228 | the VCG graph output. |
b77b9ee0 | 1229 | (print_actions): Unused code is now used. It notifies the final state |
600cad3b | 1230 | and no action states in the VCG graph. It also give the reduce actions. |
b77b9ee0 | 1231 | The `shift and goto' edges are red and the `go to state' edges are |
600cad3b MA |
1232 | blue. |
1233 | Get the current node name and node_obstack by argument. | |
1234 | (node_obstack): New variable. | |
1235 | (print_state): Manage node_obstack. | |
1236 | (print_core): Use node_obstack given by argument. | |
1237 | A node is not only computed here but in print_actions also. | |
1238 | (print_graph): CPP out useless code instead of commenting it. | |
1239 | ||
976e528f AD |
1240 | 2001-08-07 Pascal Bart <pascal.bart@epita.fr> |
1241 | ||
1242 | * tests/atconfig.in (CPPFLAGS): Fix. | |
1243 | ||
20e8e5ca AD |
1244 | 2001-08-07 Akim Demaille <akim@epita.fr> |
1245 | ||
1246 | * src/print_graph.c (quote): New. | |
1247 | (print_core): Use it. | |
1248 | ||
957d4dbf | 1249 | 2001-08-06 Akim Demaille <akim@epita.fr>, Marc Autret <autret_m@epita.fr> |
3e3da797 | 1250 | |
3e3da797 AD |
1251 | * src/vcg.c (complain.h): Include it. |
1252 | Unepitaize `return' invocations. | |
c4b66126 | 1253 | [NDEBUG] (main): Remove. |
79282c6c | 1254 | * src/vcg.h (node_t, edge_t, graph_t): Constify the char * members. |
c4b66126 AD |
1255 | * src/files.c (open_files): Initialize graph_obstack. |
1256 | * src/print_graph.c (print_actions): CPP out useless code. | |
1257 | (print_core): Don't output the last `\n' in labels. | |
1258 | Use `quote'. | |
1259 | * src/files.c (output_files): Output the VCG file. | |
1260 | * src/main.c (main): Invoke print_graph (); | |
3e3da797 | 1261 | |
957d4dbf | 1262 | 2001-08-06 Marc Autret <autret_m@epita.fr> |
22c2cbc0 AD |
1263 | |
1264 | Automaton VCG graph output. | |
1265 | Using option ``-g'' or long option ``--graph'', you can generate | |
1266 | a gram_filename.vcg file containing a VCG description of the LALR (1) | |
1267 | automaton of your grammar. | |
1268 | ||
1269 | * src/main.c: Call to print_graph() function. | |
1270 | * src/getargs.h: Update. | |
1271 | * src/getargs.c (options): Update to catch `-g' and `--graph' options. | |
1272 | (graph_flag): New flag. | |
1273 | (longopts): Update. | |
1274 | (getargs): Add case `g'. | |
1275 | * src/files.c (graph_obstack): New obstack struct. | |
1276 | (open_files): Initialize new obstack. | |
1277 | (output_files): Saves graph_obstack if required. | |
1278 | * src/files.h (graph_obstack): New extern declaration. | |
1279 | * src/Makefile.am: Add new source files. | |
1280 | ||
957d4dbf | 1281 | 2001-08-06 Marc Autret <autret_m@epita.fr> |
ce4d5ce0 AD |
1282 | |
1283 | * src/print_graph.c, src/print_graph.h (graph): New. | |
1284 | * src/vcg.h: New file. | |
1285 | * src/vcg.c: New file, VCG graph handling. | |
1286 | ||
7333d403 AD |
1287 | 2001-08-06 Marc Autret <autret_m@epita.fr> |
1288 | ||
1289 | Add of %source_extension and %header_extension which specify | |
1290 | the source or/and the header output file extension. | |
1291 | ||
1292 | * src/files.c (compute_base_names): Remove initialisation of | |
1293 | src_extension and header_extension. | |
1294 | (compute_exts_from_gf): Update. | |
1295 | (compute_exts_from_src): Update. | |
1296 | (output_files): Update. | |
1297 | * src/reader.c (parse_header_extension_decl): New. | |
1298 | (parse_source_extension_decl): New. | |
1299 | (read_declarations): New case statements for the new tokens. | |
1300 | * src/lex.c (percent_table): Add entries for %source_extension | |
1301 | and %header_extension. | |
1302 | * src/lex.h (token_e): New tokens tok_hdrext and tok_srcext. | |
1303 | ||
84163231 AD |
1304 | 2001-08-06 Marc Autret <autret_m@epita.fr> |
1305 | ||
1306 | * configure.in: Bump to 1.28c. | |
1307 | * doc/bison.texinfo: Texinfo thingies. | |
1308 | ||
8303fc42 AD |
1309 | 2001-08-04 Pascal Bart <pascal.bart@epita.fr> |
1310 | ||
1311 | * tests/atconfig.in (CPPFLAGS): Add. | |
1312 | * tests/calc.at (AT_CHECK): Use CPPFLAGS. | |
1313 | ||
70a84437 AD |
1314 | 2001-08-03 Akim Demaille <akim@epita.fr> |
1315 | ||
1316 | Version 1.28b. | |
1317 | ||
2ce10144 AD |
1318 | 2001-08-03 Akim Demaille <akim@epita.fr> |
1319 | ||
1320 | * tests/Makefile.am (check-local): Ship testsuite. | |
1321 | * tests/calc.at (_AT_DATA_CALC_Y): Prototype all the functions. | |
1322 | Include `string.h'. | |
1323 | ||
1e3e4bc1 AD |
1324 | 2001-08-03 Akim Demaille <akim@epita.fr> |
1325 | ||
1326 | * configure.in: Try using -Wformat when compiling. | |
1327 | ||
42b45b7f AD |
1328 | 2001-08-03 Akim Demaille <akim@epita.fr> |
1329 | ||
1330 | * configure.in: Bump to 1.28b. | |
1331 | ||
8f13fe33 AD |
1332 | 2001-08-03 Akim Demaille <akim@epita.fr> |
1333 | ||
1334 | * src/complain.c: Adjust strerror_r portability issues. | |
1335 | ||
b37ba92c AD |
1336 | 2001-08-03 Akim Demaille <akim@epita.fr> |
1337 | ||
1338 | Version 1.28a. | |
1339 | ||
b0ce6046 AD |
1340 | 2001-08-03 Akim Demaille <akim@epita.fr> |
1341 | ||
1342 | * src/getargs.c, src/getarg.h (skeleton)): Constify. | |
1343 | * src/lex.c (literalchar): Avoid name clashes on `buf'. | |
1344 | * src/getargs.c: Include complain.h. | |
1345 | * src/files.c, src/files.h (skeleton_find): Avoid name clashes. | |
1346 | * lib/quotearg.c, lib/quotearg.h: Update from fileutils 4.1. | |
1347 | ||
d01c415b AD |
1348 | 2001-08-03 Akim Demaille <akim@epita.fr> |
1349 | ||
1350 | * src/reader.c (readgram): Display hidden chars in error messages. | |
1351 | ||
459dd1a6 AD |
1352 | 2001-08-03 Akim Demaille <akim@epita.fr> |
1353 | ||
1354 | Update to gettext 0.10.39. | |
1355 | ||
53b74c0c AD |
1356 | 2001-08-03 Akim Demaille <akim@epita.fr> |
1357 | ||
1358 | * lib/strspn.c: New. | |
1359 | ||
234a3be3 AD |
1360 | 2001-08-01 Marc Autret <autret_m@epita.fr> |
1361 | ||
1362 | * doc/bison.texinfo: Update. | |
1363 | * doc/bison.1 (mandoc): Update. | |
1364 | * src/system.h (EXT_GUARD_C, EXT_STYPE_H): Remove .c and .h. | |
1365 | * src/files.c: Support output files extensions computing. | |
1366 | (src_extension): New static variable. | |
1367 | (header_extension): New static variable. | |
1368 | (tr): New function. | |
1369 | (get_extension_index): New function, gets the index of an extension | |
1370 | filename in a string. | |
1371 | (compute_exts_from_gf): New function, computes extensions from the | |
1372 | grammar file extension. | |
1373 | (compute_exts_from_src): New functions, computes extensions from the | |
1374 | C source file extension, file given by ``-o'' option. | |
1375 | (compute_base_names): Update. | |
1376 | (output_files): Update. | |
1377 | ||
847bf1f5 AD |
1378 | 2001-08-01 Robert Anisko <anisko_r@epita.fr> |
1379 | ||
d995fee7 | 1380 | * doc/bison.texi: Document @$. |
847bf1f5 AD |
1381 | (Locations): New section. |
1382 | ||
d074a105 AD |
1383 | 2001-07-18 Akim Demaille <akim@epita.fr> |
1384 | ||
1385 | * Makefile.maint, GNUmakefile: New, from Autoconf 2.52. | |
1386 | * config/prev-version.txt, config/move-if-change: New. | |
1387 | * Makefile.am: Adjust. | |
1388 | ||
3419715d AD |
1389 | 2001-07-08 Pascal Bart <pascal.bart@epita.fr> |
1390 | ||
1391 | * src/bison.simple (yyparse): Suppress warning `comparaison | |
1392 | between signed and unsigned'. | |
1393 | ||
62ab6972 AD |
1394 | 2001-07-05 Pascal Bart <pascal.bart@epita.fr> |
1395 | ||
1396 | * src/getargs.h (raw_flag): Remove. | |
1397 | * src/getargs.c: Die on `-r'/`--raw'. | |
1398 | * src/lex.c (parse_percent_token): Die on `%raw'. | |
1399 | * src/reader.c (output_token_defines): Suppress call to `raw_flag'. | |
1400 | * tests/calc.at: Suppress test with option `--raw'. | |
1401 | ||
1e24cc5b AD |
1402 | 2001-07-14 Akim Demaille <akim@epita.fr> |
1403 | ||
1404 | * config/: New. | |
1405 | * configure.in: Require Autoconf 2.50. | |
1406 | Update to gettext 0.10.38. | |
1407 | ||
32dfccf8 AD |
1408 | 2001-03-16 Akim Demaille <akim@epita.fr> |
1409 | ||
1410 | * doc/bison.texinfo: ANSIfy the examples. | |
1411 | ||
cd5bd6ac AD |
1412 | 2001-03-16 Akim Demaille <akim@epita.fr> |
1413 | ||
1414 | * getargs.c (skeleton): New variable. | |
1415 | (longopts): --skeleton is a new option. | |
1416 | (shortopts, getargs): -S is a new option. | |
1417 | * getargs.h: Declare skeleton. | |
1418 | * output.c (output_parser): Use it. | |
1419 | ||
5141b016 AD |
1420 | 2001-03-16 Akim Demaille <akim@epita.fr> |
1421 | ||
1422 | * m4/strerror_r.m4: New. | |
1423 | * m4/error.m4: Run AC_FUNC_STRERROR_R. | |
1424 | * lib/error.h, lib/error.c: Update. | |
1425 | ||
447992b9 AD |
1426 | 2001-03-16 Akim Demaille <akim@epita.fr> |
1427 | ||
1428 | * src/getargs.c (longopts): Clean up. | |
1429 | ||
274d42ce AD |
1430 | 2001-02-21 Akim Demaille <akim@epita.fr> |
1431 | ||
1432 | * src/reader.c (gensym): `gensym_count' is your own. | |
1433 | Use a static buf to create the symbol name, as token_buffer is no | |
1434 | longer a buffer. | |
1435 | ||
22c821f3 AD |
1436 | 2001-02-08 Akim Demaille <akim@epita.fr> |
1437 | ||
1438 | * src/conflicts.c (conflict_report): Be sure not to append to res | |
1439 | between two calls, which could happen if both first sprintf were | |
1440 | skipped, but not the first cp += strlen. | |
1441 | ||
18569462 AD |
1442 | 2001-02-08 Akim Demaille <akim@epita.fr> |
1443 | ||
1444 | * lib/memchr.c, lib/stpcpy.c, lib/strndup.c, lib/strnlen.c: | |
1445 | New, from fileutils 4.0.37. | |
1446 | * configure.in: Require Autoconf 2.49c. I took some time before | |
1447 | making this decision. This is the only way out for portability | |
1448 | issues in Bison, it would mean way too much duplicate effort to | |
1449 | import in Bison features implemented in 2.49c since 2.13. | |
1450 | AC_REPLACE_FUNCS and AC_CHECK_DECLS the functions above. | |
1451 | ||
0d8f3c8a AD |
1452 | 2001-02-02 Akim Demaille <akim@epita.fr> |
1453 | ||
1454 | * lib/malloc.c, lib/realloc.c: New, from the fileutils 4.0.37. | |
66075dcf | 1455 | * lib/xalloc.h, lib/xmalloc.c: Update. |
0d8f3c8a | 1456 | |
f17bcd1f AD |
1457 | 2001-01-19 Akim Demaille <akim@epita.fr> |
1458 | ||
1459 | Get rid of the ad hoc handling of token_buffer in the scanner: use | |
1460 | the obstacks. | |
1461 | ||
1462 | * src/lex.c (token_obstack): New. | |
1463 | (init_lex): Initialize it. No longer call... | |
1464 | (grow_token_buffer): this. Remove it. | |
1465 | Adjust all the places which used it to use the obstack. | |
1466 | ||
511e79b3 AD |
1467 | 2001-01-19 Akim Demaille <akim@epita.fr> |
1468 | ||
1469 | * src/lex.h: Rename all the tokens: | |
1470 | s/\bENDFILE\b/tok_eof/g; | |
1471 | s/\bIDENTIFIER\b/tok_identifier/g; | |
1472 | etc. | |
1473 | Let them be enums, not #define, to ease debugging. | |
1474 | Adjust all the code. | |
1475 | ||
0d6508ef AD |
1476 | 2001-01-18 Akim Demaille <akim@epita.fr> |
1477 | ||
1478 | * src/lex.h (MAXTOKEN, maxtoken, grow_token_buffer): Remove, private. | |
1479 | * src/lex.c (maxtoken, grow_token_buffer): Static. | |
1480 | ||
6deb4447 AD |
1481 | 2001-01-18 Akim Demaille <akim@epita.fr> |
1482 | ||
1483 | Since we now use obstacks, more % directives can be enabled. | |
1484 | ||
1485 | * src/lex.c (percent_table): Also accept `%yacc', | |
1486 | `%fixed_output_files', `%defines', `%no_parser', `%verbose', and | |
1487 | `%debug'. | |
1488 | Handle the actions for `%semantic_parser' and `%pure_parser' here, | |
1489 | instead of returning a token. | |
1490 | * src/lex.h (SEMANTIC_PARSER, PURE_PARSER): Remove, unused. | |
1491 | * src/reader.c (read_declarations): Adjust. | |
1492 | * src/files.c (open_files): Don't call `compute_base_names', don't | |
1493 | compute `attrsfile' since they depend upon data which might be | |
1494 | *in* the input file now. | |
1495 | (output_files): Do it here. | |
1496 | * src/output.c (output_headers): Document the fact that this patch | |
1497 | introduces a guaranteed SEGV for semantic parsers. | |
1498 | * doc/bison.texinfo: Document them. | |
1499 | * tests/suite.at: Exercise these %options. | |
1500 | ||
ff4423cc AD |
1501 | 2000-12-20 Akim Demaille <akim@epita.fr> |
1502 | ||
1503 | Also handle the output file (--verbose) with obstacks. | |
1504 | ||
1505 | * files.c (foutput): Remove. | |
1506 | (output_obstack): New. | |
1507 | Adjust all dependencies. | |
1508 | * src/conflicts.c: Return a string. | |
1509 | * src/system.h (obstack_grow_string): Rename as... | |
1510 | (obstack_sgrow): this. Be ready to work with non literals. | |
1511 | (obstack_fgrow4): New. | |
1512 | ||
956dba3a AD |
1513 | 2000-12-20 Akim Demaille <akim@epita.fr> |
1514 | ||
1515 | * src/files.c (open_files): Fix the computation of short_base_name | |
1516 | in the case of `-o foo.tab.c'. | |
1517 | ||
337bab46 AD |
1518 | 2000-12-20 Akim Demaille <akim@epita.fr> |
1519 | ||
1520 | * src/reader.c (copy_string, copy_comment, copy_comment2, copy_at) | |
1521 | (copy_dollar): Now that everything uses obstacks, get rid of the | |
1522 | FILE * parameters. | |
1523 | ||
5d3214b8 AD |
1524 | 2000-12-20 Akim Demaille <akim@epita.fr> |
1525 | ||
1526 | * src/files.c (open_files): Actually the `.output' file is based | |
1527 | on the short_base_name, not base_name. | |
1528 | * tests/suite.at (Checking output file names): Adjust. | |
1529 | ||
29092a57 AD |
1530 | 2000-12-20 Akim Demaille <akim@epita.fr> |
1531 | ||
1532 | * src/bison.s1: Remove, we now use directly... | |
1533 | * src/bison.simple: this. | |
1534 | * src/Makefile.am: Use pkgdata instead of data. | |
1535 | ||
ea5607fd AD |
1536 | 2000-12-20 Akim Demaille <akim@epita.fr> |
1537 | ||
1538 | * src/files.c (guard_obstack): New. | |
1539 | (open_files): Initialize it. | |
1540 | (output_files): Dump it... | |
1541 | * src/files.h: Export it. | |
1542 | * src/reader.c (copy_guard): Use it. | |
1543 | ||
27110317 AD |
1544 | 2000-12-19 Akim Demaille <akim@epita.fr> |
1545 | ||
1546 | * src/files.c (outfile, defsfile, actfile): Removed as global | |
1547 | vars. | |
1548 | (open_files): Don't compute them. | |
1549 | (output_files): Adjust. | |
1550 | (base_name, short_base_name): Be global. | |
1551 | Adjust dependencies. | |
1552 | ||
19c50364 AD |
1553 | 2000-12-19 Akim Demaille <akim@epita.fr> |
1554 | ||
1555 | * src/files.c (strsuffix): New. | |
1556 | (stringappend): Be just like strcat but allocate. | |
1557 | (base_names): Eve out from open_files. | |
1558 | Try to simplify the rather hairy computation of base_name and | |
1559 | short_base_name. | |
1560 | (open_files): Use it. | |
1561 | * tests/suite.at (Checking output file names): New test. | |
1562 | ||
573c1d9f AD |
1563 | 2000-12-19 Akim Demaille <akim@epita.fr> |
1564 | ||
1565 | * src/system.h (obstack_grow_literal_string): Rename as... | |
1566 | (obstack_grow_string): this. | |
1567 | * src/output.c (output_parser): Recognize `%% actions' instead of | |
1568 | `$'. | |
1569 | * src/bison.s1: s/$/%% actions/. | |
1570 | * src/bison.hairy: Likewise. | |
1571 | ||
ef7ddedd AD |
1572 | 2000-12-19 Akim Demaille <akim@epita.fr> |
1573 | ||
1574 | * src/output.c (output_parser): Compute the `#line' lines when | |
1575 | there are. | |
1576 | * src/Makefile.am (bison.simple): Be a simple copy of bison.s1. | |
1577 | Suggested by Hans Aberg. | |
1578 | ||
ff61dabd AD |
1579 | 2000-12-19 Akim Demaille <akim@epita.fr> |
1580 | ||
1581 | Let the handling of the skeleton files be local to the procedures | |
1582 | that use it. | |
1583 | ||
1584 | * src/files.c (xfopen, xfclose, skeleton_find, guardfile): No | |
1585 | longer static. | |
1586 | (fparser, open_extra_files): Remove. | |
1587 | (open_files, output_files): Don't take care of fparser. | |
1588 | * src/files.h: Adjust. | |
1589 | * src/output.c (output_parser): Open and close the file to the | |
1590 | skeleton. | |
1591 | * src/reader.c (read_declarations): When %semantic_parser, open | |
1592 | fguard. | |
1593 | ||
55b96341 AD |
1594 | 2000-12-19 Akim Demaille <akim@epita.fr> |
1595 | ||
1596 | * src/file.h (BISON_SIMPLE, BISON_HAIRY): Move from here... | |
1597 | * src/system.h (BISON_SIMPLE, BISON_HAIRY): ... to here. | |
1598 | ||
358c15b7 AD |
1599 | 2000-12-19 Akim Demaille <akim@epita.fr> |
1600 | ||
1601 | * src/files.c (open_files): Yipee! We no longer need all the code | |
1602 | looking for `/tmp' since we have no tmp file. | |
1603 | ||
7de3329e AD |
1604 | 2000-12-19 Akim Demaille <akim@epita.fr> |
1605 | ||
1606 | * src/system.h (EXT_TAB, EXT_OUTPUT, EXT_STYPE_H, EXT_GUARD_C): | |
1607 | New macros. | |
1608 | * src/files.c (open_files): Less dependency on MSDOS etc. | |
1609 | ||
3abcd459 AD |
1610 | 2000-12-14 Akim Demaille <akim@epita.fr> |
1611 | ||
1612 | * src/bison.s1 (YYLLOC_DEFAULT): New macro. | |
1613 | Provide a default definition. | |
1614 | Use it when executing the default @ action. | |
1615 | * src/reader.c (reader_output_yylsp): No longer include | |
1616 | `timestamp' and `text' in the default YYLTYPE. | |
1617 | ||
2a91a95e AD |
1618 | 2000-12-12 Akim Demaille <akim@epita.fr> |
1619 | ||
1620 | * src/reader.c (copy_definition, parse_union_decl, copy_action) | |
1621 | (copy_guard): Quote the file names. | |
1622 | Reported by Laurent Mascherpa. | |
1623 | ||
14d3eb9b AD |
1624 | 2000-12-12 Akim Demaille <akim@epita.fr> |
1625 | ||
1626 | * src/output.c (output_headers, output_program, output): Be sure | |
1627 | to escape special characters when outputting filenames. | |
1628 | (ACTSTR_PROLOGUE, ACTSTR_EPILOGUE): Remove. | |
1629 | (output_headers): Don't depend on them, Use ACTSTR. | |
1630 | ||
d7045ec6 AD |
1631 | 2000-11-17 Akim Demaille <akim@epita.fr> |
1632 | ||
1633 | * lib/obstack.h: Formatting changes. | |
1634 | (obstack_grow, obstack_grow0): Don't cast WHERE at all: it | |
1635 | prevents type checking. | |
1636 | (obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't | |
1637 | cast the value to (void *): assigning a `foo *' to a `void *' | |
1638 | variable is valid. | |
1639 | (obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int. | |
1640 | * src/reader.c (parse_union_decl): Typo: use obstack_1grow to | |
1641 | append characters. | |
1642 | ||
6fd54b73 AD |
1643 | 2000-11-17 Akim Demaille <akim@epita.fr> |
1644 | ||
1645 | * tests/Makefile.am (suite.m4, regression.m4, calc.m4): Rename | |
1646 | as... | |
1647 | (suite.m4, regression.m4, calc.m4): these. | |
1648 | * tests/atgeneral.m4: Update from CVS Autoconf. | |
1649 | ||
4c50eae6 AD |
1650 | 2000-11-17 Akim Demaille <akim@epita.fr> |
1651 | ||
1652 | * tests/regression.m4 (%union and --defines): New test, | |
1653 | demonstrating a current bug in the obstack implementation. | |
1654 | ||
a35f64ea AD |
1655 | 2000-11-17 Akim Demaille <akim@epita.fr> |
1656 | ||
1657 | * src/bison.s1 (_YY_DECL_VARIABLES, YY_DECL_VARIABLES): New | |
1658 | macros. | |
1659 | Use them to declare the variables which are global or local to | |
1660 | `yyparse'. | |
1661 | ||
7de23534 AD |
1662 | 2000-11-17 Akim Demaille <akim@epita.fr> |
1663 | ||
1664 | * acconfig.h: Remove, no longer used. | |
1665 | ||
aa7815f5 AD |
1666 | 2000-11-07 Akim Demaille <akim@epita.fr> |
1667 | ||
1668 | * src: s/Copyright (C)/Copyright/g. | |
1669 | ||
5af1f549 AD |
1670 | 2000-11-07 Akim Demaille <akim@epita.fr> |
1671 | ||
1672 | * src/reader.c (reader): #define YYLSP_NEEDED to 1 instead of just | |
1673 | defining. | |
1674 | * src/bison.s1: s/#ifdef YYLSP_NEEDED/#if YYLSP_NEEDED/. | |
1675 | ||
553e2b22 AD |
1676 | 2000-11-07 Akim Demaille <akim@epita.fr> |
1677 | ||
1678 | * src/bison.s1 (YYLEX): Use #if instead of #ifdef. | |
1679 | Merge in a single CPP if/else. | |
1680 | ||
8a4f41d6 AD |
1681 | 2000-11-07 Akim Demaille <akim@epita.fr> |
1682 | ||
1683 | * src/output.c (output): Remove useless variables. | |
1684 | * lib/obstack.c (obstack_grow, obstack_grow0): Rename the second | |
1685 | argument `data' for consistency with the prototypes. | |
1686 | Qualify it `const'. | |
1687 | (obstack_copy, obstack_copy0): Rename the second argument as | |
1688 | `address' for consistency. Qualify it `const'. | |
1689 | * lib/obstack.h (obstack_copy, obstack_copy0, obstack_grow) | |
1690 | (obstack_grow0, obstack_ptr_grow, obstack_ptr_grow_fast): Qualify | |
1691 | `const' their input argument (`data' or `address'). | |
1692 | Adjust the corresponding macros to include `const' in casts. | |
1693 | ||
095a3fb5 AD |
1694 | 2000-11-03 Akim Demaille <akim@epita.fr> |
1695 | ||
1696 | * src/Makefile.am (INCLUDES): s/PFILE/BISON_SIMPLE/. | |
1697 | s/PFILE1/BISON_HAIRY/. | |
1698 | Adjust dependencies. | |
1699 | ||
d1cdce7c AD |
1700 | 2000-11-03 Akim Demaille <akim@epita.fr> |
1701 | ||
090c5ebf | 1702 | For some reason, this was not applied. |
d1cdce7c AD |
1703 | |
1704 | * src/files.c [VMS]: No longer include `ssdef.h', no longer define | |
1705 | `unlink': it's no longer used. | |
1706 | ||
9311529b AD |
1707 | 2000-11-03 Akim Demaille <akim@epita.fr> |
1708 | ||
1709 | * src/files.c (skeleton_find): New function, eved out of... | |
1710 | (open_files, open_extra_files): here. | |
1711 | ||
d8880f69 AD |
1712 | 2000-11-03 Akim Demaille <akim@epita.fr> |
1713 | ||
1714 | Don't use `atexit'. | |
1715 | ||
1716 | * src/files.c (obstack_save): New function. | |
1717 | (done): Rename as... | |
1718 | (output_files): this. | |
1719 | Use `obstack_save'. | |
1720 | * src/main.c (main): Don't use `atexit' to register `done', since | |
1721 | it no longer has to remove tmp files, just call `output_files' | |
1722 | when there are no errors. | |
1723 | ||
0dbb648e AD |
1724 | 2000-11-02 Akim Demaille <akim@epita.fr> |
1725 | ||
1726 | * src/files.c [VMS]: No longer include `ssdef.h', no longer define | |
1727 | `unlink': it's no longer used. | |
1728 | * src/files.h: Formatting changes. | |
1729 | ||
896fe5c1 AD |
1730 | 2000-11-02 Akim Demaille <akim@epita.fr> |
1731 | ||
1732 | Remove the last uses of mktemp and unlink/delete. | |
1733 | ||
1734 | * src/files.c (fdefines, ftable): Removed. | |
1735 | (defines_ostack, table_obstack): New. | |
1736 | Adjust dependencies of the former into uses of the latter. | |
1737 | * src/output.c (output_short_or_char_table, output_short_table): | |
1738 | Convert to using obstacks. | |
1739 | * src/reader.c (copy_comment2): Accept one FILE * and two | |
1740 | obstacks. | |
1741 | (output_token_defines, reader_output_yylsp): Use obstacks. | |
1742 | * src/system.h (obstack_fgrow3): New. | |
1743 | ||
dd60faec AD |
1744 | 2000-11-01 Akim Demaille <akim@epita.fr> |
1745 | ||
1746 | Change each use of `fattrs' into a use of `attrs_obstack'. | |
1747 | ||
1748 | * src/reader.c (copy_at): Typo: s/yylloc/yyloc/. | |
1749 | * src/files.c (fattrs): Remove. | |
1750 | (attrs_obstack): New. | |
1751 | Adjust all dependencies. | |
1752 | (done): If SEMANTIC_PARSER, dump attrs_obstack into attrsfile. | |
1753 | ||
8c7ebe49 AD |
1754 | 2000-11-01 Akim Demaille <akim@epita.fr> |
1755 | ||
1756 | Introduce obstacks. | |
1757 | Change each use of `faction' into a use of `action_obstack'. | |
1758 | ||
1759 | * lib/obstack.h, lib/obstack.c: New files. | |
1760 | * src/files.c (faction): Remove. | |
1761 | (action_obstack): New. | |
1762 | Adjust all dependencies. | |
1763 | ||
77aee789 AD |
1764 | 2000-10-20 Akim Demaille <akim@epita.fr> |
1765 | ||
1766 | * lib/quote.h (PARAMS): New macro. Use it. | |
1767 | ||
43591cec AD |
1768 | 2000-10-16 Akim Demaille <akim@epita.fr> |
1769 | ||
1770 | * src/output.c (output_short_or_char_table): New function. | |
1771 | (output_short_table, output_token_translations): Use it. | |
1772 | (goto_actions): Use output_short_table. | |
1773 | ||
1e9798d5 AD |
1774 | 2000-10-16 Akim Demaille <akim@epita.fr> |
1775 | ||
1776 | * src/symtab.c (bucket_new): New function. | |
1777 | (getsym): Use it. | |
1778 | ||
1779 | * src/output.c (output_short_table): New argument to display the | |
1780 | comment associated with the table. | |
1781 | Adjust dependencies. | |
1782 | (output_gram): Use it. | |
1783 | (output_rule_data): Nicer output layout for YYTNAME. | |
1784 | ||
f282676b AD |
1785 | 2000-10-16 Akim Demaille <akim@epita.fr> |
1786 | ||
1787 | * src/lex.c (read_typename): New function. | |
1788 | (lex): Use it. | |
1789 | * src/reader.c (copy_dollar): Likewise. | |
1790 | ||
550a72a3 AD |
1791 | 2000-10-16 Akim Demaille <akim@epita.fr> |
1792 | ||
1793 | * src/reader.c (copy_comment2): Expect the input stream to be on | |
1794 | the `/' which is suspected to open a comment, instead of being | |
1795 | called after `//' or `/*' was read. | |
1796 | (copy_comment, copy_definition, parse_union_decl, copy_action) | |
1797 | (copy_guard): Adjust. | |
1798 | ||
131e2fef AD |
1799 | 2000-10-16 Akim Demaille <akim@epita.fr> |
1800 | ||
1801 | * src/reader.c (parse_expect_decl): Use `skip_white_space' and | |
1802 | `read_signed_integer'. | |
1803 | ||
79282c5a AD |
1804 | 2000-10-16 Akim Demaille <akim@epita.fr> |
1805 | ||
1806 | * src/reader.c (copy_dollar): New function. | |
1807 | (copy_guard, copy_action): Use it. | |
1808 | ||
ff4a34be AD |
1809 | 2000-10-16 Akim Demaille <akim@epita.fr> |
1810 | ||
1811 | * lib/quote.h, lib/quote.c, lib/quotearg.h, lib/quotearg.c: | |
1812 | * m4/prereq.m4, m4/c-bs-a.m4, m4/mbstate.m4: | |
1813 | New files, from Fileutils 4.0.27. | |
1814 | * src/main.c (printable_version): Remove. | |
1815 | * src/lex.c, src/reader.c: Use `quote'. | |
1816 | ||
1817 | 2000-10-04 Akim Demaille <akim@epita.fr> | |
1818 | ||
1819 | * lib/error.c, lib/error.h: New files, needed by xmalloc.c. | |
1820 | ||
14ded682 AD |
1821 | 2000-10-04 Akim Demaille <akim@epita.fr> |
1822 | ||
1823 | * doc/bison.texinfo: Various typos spotted by Neil Booth. | |
1824 | ||
8e03724b AD |
1825 | 2000-10-04 Akim Demaille <akim@epita.fr> |
1826 | ||
1827 | When a literal string is used to define two different tokens, | |
1828 | `bison -v' segfaults. | |
1829 | Reported by Piotr Gackiewicz, and fixed by Neil Booth. | |
1830 | ||
1831 | * tests/regression.m4: New file. | |
1832 | Include the core of the sample provided by Piotr Gackiewicz. | |
1833 | * src/reader.c (parse_token_decl): Diagnose bad cases, and proceed | |
1834 | properly. | |
1835 | ||
a9e64249 AD |
1836 | 2000-10-04 Akim Demaille <akim@epita.fr> |
1837 | ||
1838 | * src/reader.c (parse_expect_decl): Keep `count' within the size | |
1839 | of `buffer'. | |
1840 | From Neil Booth. | |
1841 | ||
da9abf43 AD |
1842 | 2000-10-02 Paul Eggert <eggert@twinsun.com> |
1843 | ||
1844 | * bison.s1 (yyparse): Assign the default value | |
1845 | unconditionally, to avoid a GCC warning and make the parser a | |
1846 | tad smaller. | |
1847 | ||
c33638bb AD |
1848 | 2000-10-02 Akim Demaille <akim@epita.fr> |
1849 | ||
1850 | * src/getargs.c (getargs): Don't dump `--help' on unrecognized | |
1851 | options. | |
1852 | ||
444c570a AD |
1853 | 2000-10-02 Akim Demaille <akim@epita.fr> |
1854 | ||
1855 | * src/derives.c, src/print.c, src/reduce.c: To ease the | |
1856 | translation, move some `\n' out of the translated strings. | |
1857 | ||
89cab50d AD |
1858 | 2000-10-02 Akim Demaille <akim@epita.fr> |
1859 | ||
1860 | The location tracking mechanism is precious for parse error | |
1861 | messages. Nevertheless, it is enabled only when `@n' is used in | |
1862 | the grammar, which is a different issue (you can use it in error | |
1863 | message, but not in the grammar per se). Therefore, there should | |
1864 | be another means to enable it. | |
1865 | ||
1866 | * src/getargs.c (getargs): Support `--locations'. | |
1867 | (usage): Report it. | |
1868 | * src/getargs.h (locationsflag): Export it. | |
1869 | * src/lex.c (percent_table): Support `%locations'. | |
1870 | * src/reader.c (yylsp_needed): Remove this variable, now replaced | |
1871 | with `locationsflag'. | |
1872 | * doc/bison.texinfo: Document `--locations' and `%locations'. | |
1873 | Sort the options. | |
1874 | * tests/calc.m4: Test it. | |
1875 | ||
1876 | For regularity of the names, replace each | |
1877 | (nolineflag, toknumflag, rawtokenumflag, noparserflag): with... | |
1878 | (no_lineflag, token_tableflag, rawflag, no_parserflag): this. | |
1879 | In addition replace each `flag' with `_flag'. | |
1880 | ||
d6c2cba0 AD |
1881 | 2000-10-02 Akim Demaille <akim@epita.fr> |
1882 | ||
1883 | Also test parse error messages, including with YYERROR_VERBOSE. | |
1884 | ||
1885 | * tests/calc.m4 (calc.y): Add support for `exp = exp' (non | |
1886 | associative). | |
1887 | Use it to check the computations. | |
1888 | Use it to check `nonassoc' is honored. | |
1889 | (AT_DATA_CALC_Y): Equip `calc.y' with YYERROR_VERBOSE when passed | |
1890 | `--yyerror-verbose'. | |
1891 | (_AT_CHECK_CALC): Adjust to this option. | |
1892 | (_AT_CHECK_CALC_ERROR): New macro to check parse error messages. | |
1893 | ||
5a35a6cb AD |
1894 | 2000-10-02 Akim Demaille <akim@epita.fr> |
1895 | ||
1896 | Test also `--verbose', `--defines' and `--name-prefix'. Testing | |
1897 | the latter demonstrates a flaw in the handling of non debugging | |
1898 | parsers introduced by myself on 2000-03-16: `#define yydebug 0' | |
1899 | was used in order to simplify: | |
1900 | ||
1901 | #if YYDEBUG | |
1902 | if (yydebug) | |
1903 | { | |
1904 | ... | |
1905 | } | |
1906 | #endif | |
1907 | ||
1908 | into | |
1909 | ||
1910 | if (yydebug) | |
1911 | { | |
1912 | ... | |
1913 | } | |
1914 | ||
1915 | unfortunately this leads to a CPP conflict when | |
1916 | `--name-prefix=foo' is used since it produces `#define yydebug | |
1917 | foodebug'. | |
1918 | ||
1919 | * src/bison.s1 [!YYDEBUG]: Do not define yydebug. | |
1920 | (YYDPRINTF): New macro. | |
1921 | Spread its use. | |
1922 | * tests/calc.m4 (AT_CHECK_CALC): Do require a title, build it from | |
1923 | the bison options. | |
1924 | Also test `--verbose', `--defines' and `--name-prefix'. | |
1925 | ||
71da9eea AD |
1926 | 2000-10-02 Akim Demaille <akim@epita.fr> |
1927 | ||
1928 | Improve the readability of the produced parsers. | |
1929 | ||
1930 | * src/bison.s1: Formatting changes. | |
1931 | Improve the comment related to the `$' mark. | |
1932 | (yydefault): Don't fall through to `yyresume': `goto' there. | |
1933 | * src/output.c (output_parser): When the `$' is met, skip the end | |
1934 | of its line. | |
1935 | New variable, `number_of_dollar_signs', to check there's exactly | |
1936 | one `$' in the parser skeleton. | |
1937 | ||
95e36146 AD |
1938 | 2000-10-02 Akim Demaille <akim@epita.fr> |
1939 | ||
1940 | * lib/xstrdup.c: New file, from the fileutils. | |
1941 | * src/reader.c (parse_token_decl, get_type_name, parse_type_decl) | |
1942 | (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup' | |
1943 | instead of strlen + xmalloc + strcpy. | |
1944 | * src/symtab.c (copys): Remove, use xstrdup instead. | |
1945 | ||
d7020c20 AD |
1946 | 2000-10-02 Akim Demaille <akim@epita.fr> |
1947 | ||
1948 | * src/gram.h (associativity): New enum type which replaces the | |
1949 | former CPP macros `RIGHT_ASSOC', `LEFT_ASSOC' and `NON_ASSOC' with | |
1950 | `right_assoc', `left_assoc' and `non_assoc'. | |
1951 | Adjust all dependencies. | |
1952 | * src/reader.c: Formatting changes. | |
1953 | (LTYPESTR): Don't define it, use it as a literal in | |
1954 | `reader_output_yylsp'. | |
1955 | * src/symtab.h (symbol_class): New enum type which replaces the | |
1956 | former CPP macros `SUNKNOWN', `STOKEN and `SNTERM' with | |
1957 | `sunknown', `stoken and `snterm'. | |
1958 | ||
1916f98e AD |
1959 | 2000-10-02 Akim Demaille <akim@epita.fr> |
1960 | ||
1961 | * src/getargs.c (fixed_outfiles): Rename as... | |
1962 | (yaccflag): for consistency and accuracy. | |
1963 | Adjust dependencies. | |
1964 | ||
d7913476 AD |
1965 | 2000-10-02 Akim Demaille <akim@epita.fr> |
1966 | ||
1967 | Use the more standard files `xalloc.h' and `xmalloc.c' instead of | |
1968 | Bison's `allocate.c' and `alloc.h'. This patch was surprisingly | |
1969 | difficult and introduced a lot of core dump. It turns out that | |
1970 | Bison used an implementation of `xmalloc' based on `calloc', and | |
1971 | at various places it does depend upon the initialization to 0. I | |
1972 | have not tried to isolate the pertinent places, and all the former | |
1973 | calls to Bison's `xmalloc' are now using `XCALLOC'. Someday, | |
1974 | someone should address this issue. | |
1975 | ||
1976 | * src/allocate.c, src/alloc.h, m4/bison-decl.m4: Remove. | |
1977 | * lib/xmalloc.c, lib/xalloc.h, m4/malloc.m4, m4/realloc.m4: New | |
1978 | files. | |
1979 | Adjust dependencies. | |
1980 | * src/warshall.h: New file. | |
1981 | Propagate. | |
1982 | ||
340ef489 AD |
1983 | 2000-10-02 Akim Demaille <akim@epita.fr> |
1984 | ||
1985 | Various anti-`extern in *.c' changes. | |
1986 | ||
1987 | * src/system.h: Include `assert.h'. | |
1988 | ||
b2ca4022 AD |
1989 | 2000-10-02 Akim Demaille <akim@epita.fr> |
1990 | ||
1991 | * src/state.h (nstates, final_state, first_state, first_shift) | |
1992 | (first_reduction): Move their exportation from here... | |
1993 | * src/LR0.h: to here. | |
1994 | Adjust dependencies. | |
1995 | * src/getargs.c (statisticsflag): New variable. | |
1996 | Add support for `--statistics'. | |
1997 | Adjust dependencies. | |
1998 | ||
1999 | Remove a lot of now useless `extern' statements in most files. | |
2000 | ||
403b315b AD |
2001 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2002 | ||
2003 | * src/LR0.h: New file. | |
2004 | Propagate its use. | |
2005 | ||
07a58c13 AD |
2006 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2007 | ||
2008 | * src/print.h: New file. | |
2009 | Propagate its use. | |
2010 | * src/print.c: Formatting and ordering changes. | |
2011 | (verbose, terse): Replace with... | |
2012 | (print_results): this new function. | |
2013 | Adjust dependencies. | |
2014 | ||
0619caf0 AD |
2015 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2016 | ||
2017 | * src/conflicts.c (conflict_report): New function. | |
2018 | (conflict_log, verbose_conflict_log): Replace with... | |
2019 | (print_conflicts): this function. | |
2020 | Adjust dependencies. | |
2021 | * src/conflicts.h: New file. | |
2022 | Propagate its inclusion. | |
2023 | ||
3519ec76 AD |
2024 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2025 | ||
2026 | * src/nullable.h: New file. | |
2027 | Propagate its inclusion. | |
2028 | * src/nullable.c: Formatting changes. | |
2029 | ||
015acc48 AD |
2030 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2031 | ||
2032 | * src/reduce.h: New file. | |
2033 | Propagate its inclusion. | |
2034 | * src/reduce.c: Topological sort and other formatting changes. | |
2035 | (bool, TRUE, FALSE): Move their definition to... | |
2036 | * src/system.h: here. | |
2037 | ||
8963a27b AD |
2038 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2039 | ||
2040 | * src/files.c: Formatting changes. | |
2041 | (tryopen, tryclose, openfiles): Rename as... | |
2042 | (xfopen, xfclose, open_files): this. | |
2043 | (stringappend): static. | |
2044 | * src/files.h: Complete the list of exported symbols. | |
2045 | Propagate its use. | |
2046 | ||
a70083a3 AD |
2047 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2048 | ||
2049 | * src/reader.h: New file. | |
2050 | Propagate its use instead of tedious list of `extern' and | |
2051 | prototypes. | |
2052 | * src/reader.c: Formatting changes, topological sort, | |
2053 | s/register//. | |
2054 | ||
abadc117 AD |
2055 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2056 | ||
2057 | * src/lex.h: Prototype `lex.c' exported functions. | |
2058 | * src/reader.c: Adjust. | |
2059 | * src/lex.c: Formatting changes. | |
2060 | (safegetc): Rename as... | |
2061 | (xgetc): this. | |
2062 | ||
720d742f AD |
2063 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2064 | ||
2065 | * src/lalr.h: New file. | |
2066 | Propagate its inclusion instead of prototypes and `extern'. | |
2067 | * src/lalr.c: Formatting changes, topological sorting etc. | |
2068 | ||
f2acea59 AD |
2069 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2070 | ||
2071 | * src/output.c (token_actions): Introduce a temporary array, | |
2072 | YYDEFACT, that makes it possible for this function to use | |
2073 | output_short_table. | |
2074 | ||
d019d655 AD |
2075 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2076 | ||
2077 | `user_toknums' is output as a `short[]' in `output.c', while it is | |
2078 | defined as a `int[]' in `reader.c'. For consistency with the | |
2079 | other output tables, `user_toknums' is now defined as a table of | |
2080 | shorts. | |
2081 | ||
2082 | * src/reader.c (user_toknums): Be a short table instead of an int | |
2083 | table. | |
2084 | Adjust dependencies. | |
2085 | ||
2086 | Factor the short table outputs. | |
2087 | ||
2088 | * src/output.c (output_short_table): New function. | |
2089 | * src/output.c (output_gram, output_stos, output_rule_data) | |
2090 | (output_base, output_table, output_check): Use it. | |
2091 | ||
6c89f1c1 AD |
2092 | 2000-10-02 Akim Demaille <akim@epita.fr> |
2093 | ||
2094 | * src/output.c (output): Topological sort of the functions, in | |
2095 | order to get rid of the `static' prototypes. | |
2096 | No longer use `register'. | |
2097 | * src/output.h: New file. | |
2098 | Propagate its inclusion in files explicitly prototyping functions | |
2099 | from output.c. | |
2100 | ||
d9efd181 AD |
2101 | 2000-09-21 Akim Demaille <akim@epita.fr> |
2102 | ||
2103 | * src/atgeneral.m4: Update from Autoconf. | |
2104 | ||
c29240e7 | 2105 | 2000-09-21 Akim Demaille <akim@epita.fr> |
2fa6973e AD |
2106 | |
2107 | * src/closure.h: New file. | |
2108 | * src/closure.c: Formatting changes, topological sort over the | |
2109 | functions, use of closure.h. | |
2110 | (initialize_closure, finalize_closure): Rename as... | |
2111 | (new_closure, free_closure): these. Adjust dependencies. | |
2112 | * src/LR0.c: Formatting changes, topological sort, use of | |
2113 | cloture.h. | |
2114 | (initialize_states): Rename as... | |
2115 | (new_states): this. | |
2116 | * src/Makefile.am (noinst_HEADERS): Adjust. | |
2117 | ||
499daa50 AD |
2118 | 2000-09-20 Akim Demaille <akim@epita.fr> |
2119 | ||
2120 | * src/acconfig.h: Don't protect config.h against multiple | |
2121 | inclusion. | |
2122 | Don't define PARAMS. | |
2123 | * src/system.h: Define PARAMS. | |
2124 | Remove some of the ad-hoc CPP magic for DOS, VMS etc.: this is the | |
2125 | purpose of config.h. system.h must not try to fix wrong | |
2126 | definitions in config.h. | |
2127 | ||
cc84fd5d AD |
2128 | 2000-09-20 Akim Demaille <akim@epita.fr> |
2129 | ||
2130 | * src/derives.h: New file. | |
2131 | * src/main.c, src/derives.h: Use it. | |
2132 | Formatting changes. | |
2133 | * src/Makefile.am (noinst_HEADERS): Adjust. | |
2134 | ||
db5b3a89 AD |
2135 | 2000-09-20 Akim Demaille <akim@epita.fr> |
2136 | ||
2137 | * tests/atgeneral.m4: Update from Autoconf. | |
2138 | * tests/calc.m4 (_AT_DATA_CALC_Y, AT_DATA_CALC_Y, _AT_CHECK_CALC) | |
2139 | (AT_CHECK_CALC): New macros. | |
2140 | Use these macros to test bison with options `', `--raw', | |
2141 | `--debug', `--yacc', `--yacc --debug'. | |
2142 | ||
ceed8467 AD |
2143 | 2000-09-19 Akim Demaille <akim@epita.fr> |
2144 | ||
2145 | * src/output.c: Formatting changes. | |
2146 | * src/machine.h: Remove, leaving its contents in... | |
2147 | * src/system.h: here. | |
2148 | Include stdio.h. | |
2149 | Adjust all dependencies on stdio.h and machine.h. | |
2150 | * src/getargs.h: New file. | |
2151 | Let all `extern' declarations about getargs.c be replaced with | |
2152 | inclusion of `getargs.h'. | |
2153 | * src/Makefile.am (noinst_HEADERS): Adjust. | |
2154 | ||
2155 | * tests/calc.m4 (yyin): Be initialized in main, not on the global | |
2156 | scope. | |
2157 | (yyerror): Returns void, not int. | |
2158 | * doc/bison.texinfo: Formatting changes. | |
2159 | ||
05a1d24b AD |
2160 | 2000-09-19 Akim Demaille <akim@epita.fr> |
2161 | ||
2162 | * tests/calc.m4 (calc.y): Do not assign to stdin, as it's not | |
2163 | portable. | |
2164 | ||
cbd25751 AD |
2165 | 2000-09-18 Akim Demaille <akim@epita.fr> |
2166 | ||
2167 | * configure.in: Append WARNING_CFLAGS to CFLAGS. | |
2168 | * src/Makefile.am (INCLUDES): Don't. | |
2169 | Be ready to fetch headers in lib/. | |
2170 | ||
13863333 AD |
2171 | 2000-09-18 Akim Demaille <akim@epita.fr> |
2172 | ||
2173 | * doc/bison.texinfo: Update the copyright. | |
2174 | ANSIfy and GNUify the examples. | |
2175 | Remove the old menu. | |
2176 | ||
0d533154 AD |
2177 | 2000-09-18 Akim Demaille <akim@epita.fr> |
2178 | ||
2179 | First set of tests: use the `calc' example from the documentation. | |
2180 | ||
2181 | * src/bison.s1 (yyparse): Condition the code using `yytname' which | |
2182 | is defined only when YYDEBUG is. | |
2183 | * m4/atconfig.m4 (AT_CONFIG): Adjust to Autoconf 2.13. | |
2184 | * src/files.c (tryopen, tryclose): Formatting changes. | |
2185 | Move to the top and be static. | |
2186 | * src/reader.c (read_signed_integer): Likewise. | |
2187 | * tests/calc.m4: New file. | |
2188 | * Makefile.am, suite.m4: Adjust. | |
2189 | * m4/atconfig.m4: Set BISON_SIMPLE and BISON_HAIRY. | |
2190 | ||
e79137ac AD |
2191 | 2000-09-18 Akim Demaille <akim@epita.fr> |
2192 | ||
2193 | Add support for an Autotest test suite for Bison. | |
2194 | ||
2195 | * m4/m4.m4, m4/atconfig.m4: New files. | |
2196 | * m4/Makefile.am (EXTRA_DIST): Adjust. | |
2197 | * tests/suite.m4, tests/Makefile.am, tests/atgeneral.m4: New | |
2198 | files. | |
2199 | * src/getargs.c: Display a more standard --version message. | |
2200 | * src/reader.c (reader): Formatting changes. | |
2201 | No longer depend upon VERSION_STRING. | |
2202 | * configure.in: No longer use `dnl'. | |
2203 | Set up the test suite and the new directory `tests/. | |
2204 | (VERSION_STRING): Remove. | |
2205 | ||
27821bff AD |
2206 | 2000-04-14 Akim Demaille <akim@epita.fr> |
2207 | ||
2208 | * src/reader.c (copy_comment2): New function, same as former | |
2209 | `copy_comment', but outputs into two FILE *. | |
2210 | (copy_comment): Use it. | |
2211 | (parse_union_decl): Use it. | |
2212 | (get_type, parse_start_decl): Use the same `invalid' message. | |
2213 | (parse_start_decl, parse_union_decl): Use the same `multiple' | |
2214 | message. | |
2215 | (parse_union_decl, copy_guard, copy_action): Use the same | |
2216 | `unmatched' message. | |
2217 | * m4/Makefile.am (EXTRA_DIST): Add `warning.m4'. | |
2218 | ||
cfe5fbc0 AD |
2219 | 2000-03-31 Akim Demaille <akim@epita.fr> |
2220 | ||
2221 | * src/files.c (tryopen, tryclose): Move to the top. | |
2222 | Be static. | |
2223 | ||
cb7db13e AD |
2224 | 2000-03-31 Akim Demaille <akim@epita.fr> |
2225 | ||
2226 | * src/main.c (main): Don't call `done', exit does it. | |
2227 | ||
a0f6b076 AD |
2228 | 2000-03-31 Akim Demaille <akim@epita.fr> |
2229 | ||
36281465 AD |
2230 | * allocate.c: s/return (foo)/return foo/. |
2231 | * lalr.c: Likewise. | |
2232 | * LR0.c: Likewise. | |
2233 | * output.c: Likewise. | |
2234 | * reader.c: Likewise. | |
2235 | * symtab.c: Likewise. | |
2236 | * vmsgetargs.c: Likewise. | |
2237 | ||
2238 | 2000-03-31 Akim Demaille <akim@epita.fr> | |
2239 | ||
2240 | Clean up the error reporting functions. | |
a0f6b076 AD |
2241 | |
2242 | * src/report.c: New file. | |
2243 | * src/report.h: Likewise. | |
2244 | * src/Makefile.am: Adjust. | |
2245 | * m4/error.m4: New file. | |
2246 | * m4/Makefile.am: Adjust. | |
2247 | * configure.in (jm_PREREQ_ERROR): Call it. | |
2248 | * src/main.c (int_to_string, banner, fatal_banner, warn_banner): | |
2249 | Remove. | |
2250 | (fatal, fatals): Remove. All callers use complain.c::fatal. | |
2251 | (warn, warni, warns, warnss, warnss): Remove. All callers use | |
2252 | complain.c::complain. | |
2253 | (toomany): Remove, use fatal instead. | |
2254 | * src/files.c (done): No argument, use complain_message_count. | |
2255 | * src/main.c (main): Register `done' to `atexit'. | |
2256 | ||
2257 | * src/getargs.c (usage): More `fputs', less `fprintf'. | |
2258 | ||
18539825 AD |
2259 | 2000-03-28 Akim Demaille <akim@epita.fr> |
2260 | ||
2261 | * lib/: New directory. | |
2262 | * Makefile.am (SUBDIRS): Adjust. | |
2263 | * configure.in: Adjust. | |
2264 | (LIBOBJS): Although not used yet, AC_SUBST it, otherwise it's | |
2265 | useless. | |
2266 | * src/alloca.c: Moved to lib/. | |
2267 | * src/getopt.c: Likewise. | |
2268 | * src/getopt1.c: Likewise. | |
2269 | * src/getopt.h: Likewise. | |
2270 | * src/ansi2knr.c: Likewise. | |
2271 | * src/ansi2knr.1: Likewise. | |
2272 | * src/Makefile.am: Adjust. | |
2273 | * lib/Makefile.am: New file. | |
2274 | ||
9f306f2a AD |
2275 | 2000-03-28 Akim Demaille <akim@epita.fr> |
2276 | ||
2277 | * src/getargs.c (usage): Refresh the help message. | |
2278 | ||
0ba347b6 AD |
2279 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2280 | ||
2281 | * src/getopt1.c: Updated from textutils 2.0e | |
2282 | * src/getopt.c: Likewise. | |
2283 | * src/getopt.h: Likewise. | |
2284 | ||
dbe7f271 AD |
2285 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2286 | ||
2287 | * src/Makefile.am (bison.simple): Fix the awk program: quote only | |
2288 | the file name, not the whole `#line LINE FILE'. | |
2289 | ||
75bbe78d AD |
2290 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2291 | ||
2292 | On syntax errors, report the token on which we choked. | |
2293 | ||
aa5fd0ee AD |
2294 | * src/bison.s1 (yyparse): In the label yyerrlab, when |
2295 | YYERROR_VERBOSE, add yychar in msg. | |
75bbe78d | 2296 | |
7b306f52 AD |
2297 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2298 | ||
aa5fd0ee | 2299 | * src/reader.c (copy_at): New function. |
7b306f52 AD |
2300 | (copy_guard): Use it. |
2301 | (copy_action): Use it. | |
2302 | ||
e87b5700 AD |
2303 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2304 | ||
2305 | Be kind to translators, save some useless translations. | |
2306 | ||
aa5fd0ee | 2307 | * src/main.c (banner): New function. |
e87b5700 AD |
2308 | (fatal_banner): Use it. |
2309 | (warn_banner): Use it. | |
2310 | ||
ae3c3164 AD |
2311 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2312 | ||
aa5fd0ee AD |
2313 | * src/reader.c (copy_definition): Use copy_string and |
2314 | copy_comment. Removed now unused `match', `ended', | |
2315 | `cplus_comment'. | |
ae3c3164 AD |
2316 | (copy_comment, copy_string): Moved, to be visible from |
2317 | copy_definition. | |
2318 | ||
4dc58e7c AD |
2319 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2320 | ||
aa5fd0ee AD |
2321 | * src/reader.c (copy_string): Declare `static inline'. No |
2322 | problems with inline, since it is checked by configure. | |
4dc58e7c AD |
2323 | (copy_comment): Likewise. |
2324 | ||
0a6384c4 AD |
2325 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2326 | ||
aa5fd0ee | 2327 | * src/reader.c (packsymbols): Formatting changes. |
0a6384c4 | 2328 | |
3cef001a AD |
2329 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2330 | ||
aa5fd0ee | 2331 | * src/reader.c (copy_comment): New function, factored out from: |
3cef001a AD |
2332 | (copy_action): Use it. Removed now unused `match', `ended', |
2333 | `cplus_comment'. | |
2334 | (copy_guard): Likewise. | |
2335 | ||
ca36d2ef AD |
2336 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2337 | ||
aa5fd0ee | 2338 | * src/reader.c (copy_string): New function, factored out from: |
ca36d2ef AD |
2339 | (copy_action): Use it. |
2340 | (copy_guard): Likewise. | |
2341 | ||
6666f98f AD |
2342 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2343 | ||
2344 | Change the handling of @s so that they behave exactly like $s. | |
2345 | There is now a pseudo variable @$ (readble and writable), location | |
2346 | of the lhs of the rule (by default ranging from the location of | |
2347 | the first symbol of the rhs, to the location of the last symbol, | |
2348 | or, if the rhs is empty, YYLLOC). | |
2349 | ||
2350 | * src/bison.s1 [YYLSP_NEEDED] (yyloc): New variable, twin of | |
2351 | yyval. | |
2352 | (yyparse): When providing a default semantic action, provide a | |
2353 | default location action. | |
2354 | (after the $): No longer change `*YYLSP', just stack YYLOC the | |
2355 | same way you stack YYVAL. | |
2356 | * src/reader.c (read_declarations): Use warns. | |
2357 | (copy_guard, case '@'): Also recognize `@$', expanded as `YYLOC'. | |
2358 | (copy_action, case '@'): Likewise. | |
2359 | Use a standard error message, to save useless work from | |
2360 | translators. | |
2361 | ||
41aca2e0 AD |
2362 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2363 | ||
aa5fd0ee AD |
2364 | * src/bison.s1: Formatting and cosmetics changes. |
2365 | * src/reader.c: Likewise. | |
41aca2e0 AD |
2366 | Update the Copyright notice. |
2367 | ||
dc08c1d5 AD |
2368 | 2000-03-17 Akim Demaille <akim@epita.fr> |
2369 | ||
aa5fd0ee AD |
2370 | * src/bison.s1 (#line): All set to `#line' only, since the |
2371 | Makefile now handles them. | |
dc08c1d5 | 2372 | |
9ee3c97b AD |
2373 | 2000-03-16 Akim Demaille <akim@epita.fr> |
2374 | ||
2375 | * src/output.c (output_rule_data): Output the documentation of | |
2376 | some of the tables. | |
2377 | (Copyright notice): Update. | |
2378 | Formatting changes. | |
2379 | ||
0de741ca AD |
2380 | 2000-03-16 Akim Demaille <akim@epita.fr> |
2381 | ||
2382 | * src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to | |
2383 | remove most `#if YYDEBUG != 0', since `if (yydebug)' is enough. | |
2384 | One `#if YYDEBUG' remains, since it uses variables which are | |
2385 | defined only if `YYDEBUG != 0'. | |
2386 | ||
bb10be54 AD |
2387 | 2000-03-16 Akim Demaille <akim@epita.fr> |
2388 | ||
2389 | * src/bison.s1 (yyparse): Reorganize the definitions of the stacks | |
2390 | and related variables so that the similarities are highlighted. | |
2391 | ||
b07b484a AD |
2392 | 2000-03-16 Akim Demaille <akim@epita.fr> |
2393 | ||
2394 | * src/bison.s1: Properly indent CPP directives. | |
2395 | ||
361f60b3 AD |
2396 | 2000-03-16 Akim Demaille <akim@epita.fr> |
2397 | ||
2398 | * src/bison.s1: Properly indent the `alloca' CPP section. | |
2399 | ||
8c44d3ec AD |
2400 | 2000-03-16 Akim Demaille <akim@epita.fr> |
2401 | ||
2402 | Do not hard code values of directories in `configure.in'. | |
2403 | Update the `configure' tool chain. | |
2404 | ||
2405 | * configure.in (XPFILE, XPFILE1, LOCALEDIR): Remove, handled by | |
2406 | src/makefile.am. | |
2407 | (VERSION_STRING): Use the third arg of AC_DEFINE_UNQUOTED. | |
2408 | (AC_OUTPUT): Add m4/Makefile. | |
2409 | Bump to bison 1.28a, 1.29 has never been released. | |
2410 | * acconfig.h (XPFILE, XPFILE1, LOCALEDIR): Remove, since they are | |
2411 | handled via src/Makefile.am. | |
2412 | (VERSION_STRING, PROTOTYPES, ENABLE_NLS, HAVE_CATGETS, | |
2413 | HAVE_GETTEXT, HAVE_LC_MESSAGES, HAVE_STPCPY): Remove, handled by | |
2414 | autoheader. | |
2415 | * Makefile.am (SUBDIRS): Add m4. | |
2416 | (ACLOCAL_AM_FLAGS): New variable. | |
2417 | (AUTOMAKE_OPTIONS): Add check-news. | |
2418 | * src/Makefile.am (bison.simple): Use awk to replace #line lines with | |
2419 | the proper line number and file name. | |
2420 | (DEFS): Propagate the location of bison library files and of the | |
2421 | locale files. | |
2422 | (INCLUDES): Added `-I ..' so that one can compile with srcdir != | |
2423 | builddir. | |
2424 | * acinclude.m4: Remove, replaced by the directory m4. | |
2425 | * m4/Makefile.am (EXTRA_DIST): New variable. | |
2426 | * m4/gettext.m4: New file, from the fileutils. | |
2427 | * m4/lcmessage.m4: Likewise | |
2428 | * m4/progtest.m4: Likewise. | |
2429 | * m4/bison-decl.m4: New file, extracted from former acinclude.m4. | |
2430 | ||
f95997e7 AD |
2431 | 2000-03-10 Akim Demaille <akim@epita.fr> |
2432 | ||
2433 | * src/closure.c: | |
2434 | Formatting changes of various comments. | |
2435 | Respect the GNU coding standards at various places. | |
2436 | Don't use `_()' when no translation is needed. | |
2437 | ||
2438 | 1999-12-13 Jesse Thilo <jthilo@gnu.org> | |
2439 | ||
2440 | * src/files.c: | |
2441 | OS/2 honors TMPDIR environment variable. | |
2442 | ||
2443 | 1999-12-13 Jesse Thilo <jthilo@gnu.org> | |
2444 | ||
2445 | * doc/bison.texinfo: Tweaked spelling and grammar. | |
2446 | Updated ISBN. | |
2447 | Removed reference to price of printed copy. | |
2448 | Mention BISON_SIMPLE and BISON_HAIRY. | |
2449 | ||
2450 | 1999-12-13 Jesse Thilo <jthilo@gnu.org> | |
2451 | ||
2452 | * configure.in, NEWS: | |
2453 | Bison 1.29 released. | |
2454 | ||
2455 | 1999-10-27 Jesse Thilo <jthilo@gnu.org> | |
2456 | ||
2457 | * doc/.cvsignore, doc/Makefile.am, doc/refcard.tex: | |
2458 | Added reference card. | |
2459 | ||
2460 | 1999-07-26 Jesse Thilo <jthilo@gnu.org> | |
2461 | ||
2462 | * po/ru.po: Added Russian translation. | |
2463 | ||
2464 | 1999-07-26 Jesse Thilo <jthilo@gnu.org> | |
2465 | ||
2466 | * configure.in: Added Russian translation. | |
2467 | ||
2468 | 1999-07-06 Jesse Thilo <jthilo@gnu.org> | |
2469 | ||
2470 | * configure.in, NEWS, README: | |
2471 | Released version 1.28. | |
2472 | ||
2473 | 1999-06-14 Jesse Thilo <jthilo@gnu.org> | |
2474 | ||
2475 | * src/system.h: | |
2476 | Squashed redefinition warning on some systems. | |
2477 | ||
2478 | * src/getargs.c, src/Makefile.am, src/reader.c, src/version.c: | |
2479 | Have configure build version string instead of relying on ANSI string | |
2480 | concatentation. | |
2481 | ||
2482 | 1999-06-14 Jesse Thilo <jthilo@gnu.org> | |
2483 | ||
2484 | * po/POTFILES.in: Got rid of version.c. | |
2485 | ||
2486 | 1999-06-14 Jesse Thilo <jthilo@gnu.org> | |
2487 | ||
2488 | * acconfig.h, configure.in: | |
2489 | Have configure build version string instead of relying on ANSI string | |
2490 | concatentation. | |
2491 | ||
2492 | 1999-06-08 Jesse Thilo <jthilo@gnu.org> | |
2493 | ||
2494 | * doc/bison.1: | |
2495 | Dropped mention of `+' for long-named options. | |
2496 | ||
2497 | 1999-05-30 Jesse Thilo <jthilo@gnu.org> | |
2498 | ||
2499 | * src/files.c: Added <unistd.h> for unlink(). | |
2500 | ||
2501 | * src/Makefile.am, src/system.h: | |
2502 | I18n fixes. | |
2503 | ||
2504 | 1999-05-30 Jesse Thilo <jthilo@gnu.org> | |
2505 | ||
2506 | * README: Added a FAQ list. | |
2507 | ||
2508 | * configure.in, acconfig.h: | |
2509 | I18n fixes. | |
2510 | ||
2511 | 1999-05-30 Jesse Thilo <jthilo@gnu.org> | |
2512 | ||
2513 | * doc/FAQ, doc/Makefile.am: | |
2514 | Added a FAQ list. | |
2515 | ||
2516 | 1999-05-19 Jesse Thilo <jthilo@gnu.org> | |
2517 | ||
2518 | * src/alloc.h, src/symtab.h, src/version.c: | |
2519 | Protected inclusion of "config.h" with HAVE_CONFIG_H. | |
2520 | ||
2521 | 1999-04-18 Jesse Thilo <jthilo@gnu.org> | |
2522 | ||
2523 | * src/.cvsignore, src/Makefile.am: | |
2524 | Reorganized: sources in `src', documentation in `doc'. | |
2525 | ||
2526 | * src/lex.c (literalchar): | |
2527 | fixed the code for escaping double quotes (thanks | |
2528 | Jonathan Czisny.) | |
2529 | ||
2530 | 1999-04-18 Jesse Thilo <jthilo@gnu.org> | |
2531 | ||
2532 | * po/de.po, po/es.po, po/fr.po, po/nl.po, po/POTFILES.in: | |
2533 | Adjusted paths to reflect directory reorganization. | |
2534 | ||
2535 | 1999-04-18 Jesse Thilo <jthilo@gnu.org> | |
2536 | ||
2537 | * doc/.cvsignore, doc/Makefile.am: | |
2538 | Reorganized: sources in `src', documentation in `doc'. | |
2539 | ||
2540 | 1999-04-18 Jesse Thilo <jthilo@gnu.org> | |
2541 | ||
2542 | * configure.in: | |
2543 | Updated AC_INIT file to reflect directory reorganization. | |
2544 | ||
2545 | * configure.in, .cvsignore, Makefile.am, POTFILES.in: | |
2546 | Reorganized: sources in `src', documentation in `doc'. | |
2547 | ||
2548 | 1999-04-13 Jesse Thilo <jthilo@gnu.org> | |
2549 | ||
2550 | * src/allocate.c: | |
2551 | Don't declare calloc() and realloc() if not necessary. | |
2552 | ||
2553 | 1999-04-13 Jesse Thilo <jthilo@gnu.org> | |
2554 | ||
2555 | * configure.in, acconfig.h, acinclude.m4: | |
2556 | Don't declare calloc() and realloc() if not necessary. | |
2557 | ||
2558 | 1999-03-23 Jesse Thilo <jthilo@gnu.org> | |
2559 | ||
2560 | * po/.cvsignore: Added i18n support. | |
2561 | ||
2562 | 1999-03-23 Jesse Thilo <jthilo@gnu.org> | |
2563 | ||
2564 | * acconfig.h, configure.in, Makefile.am: | |
2565 | Added i18n support. | |
2566 | ||
2567 | 1999-03-22 Jesse Thilo <jthilo@gnu.org> | |
2568 | ||
2569 | * src/bison.s1: Fixed #line numbers. | |
2570 | ||
2571 | 1999-03-15 Jesse Thilo <jthilo@gnu.org> | |
2572 | ||
2573 | * po/es.po, po/fr.po, po/nl.po, po/de.po: | |
2574 | Added PO files from Translation Project. | |
2575 | ||
2576 | 1999-03-03 Jesse Thilo <jthilo@gnu.org> | |
2577 | ||
2578 | * Makefile.am: | |
2579 | Added support for non-ANSI compilers (ansi2knr). | |
2580 | ||
2581 | 1999-02-16 Jesse Thilo <jthilo@gnu.org> | |
2582 | ||
2583 | * configure.in: Bumped version number to 1.27. | |
2584 | ||
2585 | * Makefile.am: | |
2586 | Added `bison.simple' to list of files removed by `make distclean'. | |
2587 | ||
2588 | 1999-02-12 Jesse Thilo <jthilo@gnu.org> | |
2589 | ||
2590 | * src/files.c, src/files.h: | |
2591 | Defined locations of parser files in config.h instead of Makefile. | |
2592 | ||
2593 | 1999-02-12 Jesse Thilo <jthilo@gnu.org> | |
2594 | ||
2595 | * acconfig.h, acinclude.m4, configure.in, Makefile.am: | |
2596 | Defined locations of parser files in config.h instead of Makefile. | |
2597 | ||
2598 | 1999-02-09 Jesse Thilo <jthilo@gnu.org> | |
2599 | ||
2600 | * Makefile.am: | |
2601 | Removed inappropriate use of $< macro. | |
2602 | ||
2603 | 1999-02-05 Jesse Thilo <jthilo@gnu.org> | |
2604 | ||
2605 | * po/Makefile.in.in, po/POTFILES.in: | |
2606 | Add `po' directory skeleton. | |
2607 | ||
2608 | 1999-01-27 Jesse Thilo <jthilo@gnu.org> | |
2609 | ||
2610 | * README: Document help-bison list. | |
2611 | ||
2612 | * configure.in: Add check for mkstemp(). | |
2613 | ||
2614 | 1999-01-20 Jesse Thilo <jthilo@gnu.org> | |
2615 | ||
2616 | * src/conflicts.c, src/LR0.c, src/output.c, src/reader.c: | |
2617 | Hush a few compiler warnings. | |
2618 | ||
2619 | * src/files.c: | |
2620 | Add tryclose(), which verifies that fclose was successful. | |
2621 | Hush a couple of compiler warnings. | |
2622 | ||
2623 | 1999-01-20 Jesse Thilo <jthilo@gnu.org> | |
2624 | ||
2625 | * Makefile.am, OChangeLog: | |
2626 | ChangeLog is now automatically generated. Include the old version as | |
2627 | OChangeLog. | |
2628 | ||
2629 | 1999-01-14 Jesse Thilo <jthilo@gnu.org> | |
2630 | ||
2631 | * 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: | |
2632 | Update FSF address. | |
2633 | ||
2634 | 1999-01-14 Jesse Thilo <jthilo@gnu.org> | |
2635 | ||
2636 | * doc/bison.texinfo: Fix formatting glitch. | |
2637 | ||
2638 | * doc/bison.texinfo: Update FSF address. | |
2639 | ||
2640 | 1999-01-14 Jesse Thilo <jthilo@gnu.org> | |
2641 | ||
2642 | * acconfig.h: Update FSF address. | |
2643 | ||
2644 | 1999-01-08 Jesse Thilo <jthilo@gnu.org> | |
2645 | ||
2646 | * src/system.h: | |
2647 | Don't define PACKAGE here, since config.h defines it. | |
2648 | ||
2649 | 1998-12-30 Jesse Thilo <jthilo@gnu.org> | |
2650 | ||
2651 | * src/reader.c: Update copyright date. | |
2652 | ||
2653 | * src/main.c: | |
2654 | Ditch sprintf to statically-sized buffers in fatal/warn functions in | |
2655 | favor of output directly to stderr (avoids buffer overruns). | |
2656 | ||
2657 | * src/reader.c: Some checks for premature EOF. | |
2658 | ||
2659 | * 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: | |
2660 | Use prototypes if the compiler understands them. | |
2661 | ||
2662 | * src/files.c: Honor TMPDIR on Unix hosts. | |
2663 | Use prototypes if the compiler understands them. | |
2664 | ||
2665 | * src/reader.c: | |
2666 | Fix a couple of buffer overrun bugs. | |
2667 | Use prototypes if the compiler understands them. | |
2668 | ||
2669 | * src/system.h: Include unistd.h and ctype.h. | |
2670 | Use #ifdef instead of #if for NLS symbols. | |
2671 | ||
2672 | 1998-12-30 Jesse Thilo <jthilo@gnu.org> | |
2673 | ||
2674 | * doc/bison.texinfo: | |
2675 | Delete comment "consider using @set for edition number, etc..." since | |
2676 | we now are doing so. | |
2677 | ||
2678 | 1998-12-30 Jesse Thilo <jthilo@gnu.org> | |
2679 | ||
2680 | * configure.in: | |
2681 | Use prototypes if the compiler understands them. | |
2682 | ||
2683 | * NEWS: Document 1.26 highlights. | |
2684 | ||
2685 | * Makefile.am: Require Automake 1.3 or later. | |
2686 | ||
2687 | * acconfig.h: | |
2688 | Use prototypes if the compiler understands them. | |
2689 | ||
2690 | 1998-12-29 Jesse Thilo <jthilo@gnu.org> | |
2691 | ||
2692 | * src/version.c: | |
2693 | Use VERSION symbol from automake for version number. | |
2694 | ||
2695 | 1998-12-29 Jesse Thilo <jthilo@gnu.org> | |
2696 | ||
2697 | * acconfig.h, configure.in, version.cin: | |
2698 | Use VERSION symbol from automake for version number. | |
2699 | ||
2700 | 1998-11-28 Jesse Thilo <jthilo@gnu.org> | |
2701 | ||
2702 | * Makefile.am: | |
2703 | Distribute original version of simple parser (bison.s1), not built | |
2704 | version (bison.simple). | |
2705 | ||
2706 | 1998-11-28 Jesse Thilo <jthilo@gnu.org> | |
2707 | ||
2708 | * doc/bison.texinfo: Add info dir entry. | |
2709 | ||
2710 | * doc/bison.texinfo: | |
2711 | Let automake put version number into documentation. | |
2712 | ||
2713 | 1998-11-26 Jesse Thilo <jthilo@gnu.org> | |
2714 | ||
2715 | * src/bison.cld, src/build.com, src/vmshlp.mar: | |
2716 | Add non-RCS files from /gd/gnu/bison. | |
2717 | ||
2718 | 1998-11-26 Jesse Thilo <jthilo@gnu.org> | |
2719 | ||
2720 | * doc/bison.1: | |
2721 | Document the BISON_HAIRY and BISON_SIMPLE variables. | |
2722 | ||
2723 | 1998-11-25 Jesse Thilo <jthilo@gnu.org> | |
2724 | ||
2725 | * src/version.c: Build version.c automatically. | |
2726 | ||
2727 | * src/reader.c: | |
2728 | Fix token numbering (used to start at 258, not 257). | |
2729 | ||
2730 | * src/system.h: Include config.h. | |
2731 | ||
2732 | * src/getargs.c: Update bug report address. | |
2733 | ||
2734 | * src/alloca.c, src/getopt1.c, src/getopt.c, src/getopt.h: | |
2735 | Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org. | |
2736 | ||
2737 | 1998-11-25 Jesse Thilo <jthilo@gnu.org> | |
2738 | ||
2739 | * Makefile.am: | |
2740 | Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1). | |
2741 | ||
2742 | * configure.in, version.cin: | |
2743 | Build version.c automatically. | |
2744 | ||
2745 | * AUTHORS: Add AUTHORS file. | |
2746 | ||
2747 | * README: Update bug report address. | |
2748 | ||
2749 | * bison.simple: | |
2750 | Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1). | |
2751 | ||
2752 | * configure.in, Makefile.am, Makefile.in, stamp-h.in: | |
2753 | Add automake stuff. | |
2754 | ||
2755 | 1998-11-25 Jesse Thilo <jthilo@gnu.org> | |
2756 | ||
2757 | * doc/bison.texinfo: Clean up some formatting. | |
2758 | ||
2759 | 1998-05-05 Richard Stallman <rms@gnu.org> | |
2760 | ||
2761 | * doc/bison.texinfo: | |
2762 | Explain better why to make a pure parser. | |
2763 | ||
2764 | 1998-01-05 Richard Stallman <rms@gnu.org> | |
2765 | ||
2766 | * src/files.c (openfiles): | |
2767 | [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to | |
2768 | find a temporary directory, if possible. Do not unlink files while | |
2769 | they are open. | |
2770 | ||
2771 | 1997-08-25 Richard Stallman <rms@gnu.org> | |
2772 | ||
2773 | * src/reader.c (stack_offset;): | |
2774 | Change some warni to warns. | |
2775 | ||
2776 | * src/lex.c (literalchar): Use warns, not warni. | |
2777 | ||
2778 | 1997-06-28 Richard Stallman <rms@gnu.org> | |
2779 | ||
2780 | * src/bison.s1: Add a Bison version comment. | |
2781 | ||
2782 | * src/main.c (fatal, warn, berror): | |
2783 | Use program_name. | |
2784 | ||
2785 | 1997-06-28 Richard Stallman <rms@gnu.org> | |
2786 | ||
2787 | * Makefile.in (bison_version): New variable. | |
2788 | (dist): Use that variable. | |
2789 | (bison.s1): Substitute the Bison version into bison.simple. | |
2790 | ||
2791 | * bison.simple: Add a Bison version comment. | |
2792 | ||
2793 | 1997-06-18 Richard Stallman <rms@gnu.org> | |
2794 | ||
2795 | * src/main.c (fatal, warn, berror): | |
2796 | Make error messages standard. | |
2797 | (toomany): Improve error message text. | |
2798 | ||
2799 | * 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: | |
2800 | new.h renamed to alloc.h. | |
2801 | ||
2802 | 1997-06-18 Richard Stallman <rms@gnu.org> | |
2803 | ||
2804 | * Makefile.in: new.h renamed to alloc.h. | |
2805 | ||
2806 | 1997-05-24 Richard Stallman <rms@gnu.org> | |
2807 | ||
2808 | * src/lex.c (literalchar): | |
2809 | Fix the code for escaping \, " and '. | |
2810 | ||
2811 | (lex): Avoid trouble when there are many chars | |
2812 | to discard in a char literal with just several chars in it. | |
2813 | ||
2814 | 1997-05-17 Richard Stallman <rms@gnu.org> | |
2815 | ||
2816 | * src/bison.s1: | |
2817 | Use malloc, if using alloca is troublesome. | |
2818 | (YYSTACK_USE_ALLOCA): New flag macro. | |
2819 | Define it for some systems and compilers. | |
2820 | (YYSTACK_ALLOC): New macro. | |
2821 | (yyparse): Use YYSTACK_ALLOC to allocate stack. | |
2822 | If it was malloc'd, free it. | |
2823 | ||
2824 | 1997-05-17 Richard Stallman <rms@gnu.org> | |
2825 | ||
2826 | * bison.simple: | |
2827 | Use malloc, if using alloca is troublesome. | |
2828 | (YYSTACK_USE_ALLOCA): New flag macro. | |
2829 | Define it for some systems and compilers. | |
2830 | (YYSTACK_ALLOC): New macro. | |
2831 | (yyparse): Use YYSTACK_ALLOC to allocate stack. | |
2832 | If it was malloc'd, free it. | |
2833 | ||
2834 | 1997-04-23 Richard Stallman <rms@gnu.org> | |
2835 | ||
2836 | * src/bison.s1: | |
2837 | (alloca) [__hpux]: Always define as __builtin_alloca. | |
2838 | ||
2839 | 1997-04-23 Richard Stallman <rms@gnu.org> | |
2840 | ||
2841 | * bison.simple: | |
2842 | (alloca) [__hpux]: Always define as __builtin_alloca. | |
2843 | ||
2844 | 1997-04-22 Richard Stallman <rms@gnu.org> | |
2845 | ||
2846 | * src/bison.s1: | |
2847 | [__hpux]: Include alloca.h (right for HPUX 10) | |
2848 | instead of declaring alloca (right for HPUX 9). | |
2849 | ||
2850 | * src/bison.s1 (__yy_memcpy): | |
2851 | Declare arg `count' as unsigned int. | |
2852 | (yyparse): Cast third arg to __yy_memcpy to unsigned int. | |
2853 | ||
2854 | 1997-04-22 Richard Stallman <rms@gnu.org> | |
2855 | ||
2856 | * bison.simple: | |
2857 | [__hpux]: Include alloca.h (right for HPUX 10) | |
2858 | instead of declaring alloca (right for HPUX 9). | |
2859 | ||
2860 | * bison.simple (__yy_memcpy): | |
2861 | Declare arg `count' as unsigned int. | |
2862 | (yyparse): Cast third arg to __yy_memcpy to unsigned int. | |
2863 | ||
2864 | 1997-01-03 Richard Stallman <rms@gnu.org> | |
2865 | ||
2866 | * src/allocate.c: [__STDC__ or _MSC_VER]: | |
2867 | Declare calloc and realloc to return void *. | |
2868 | ||
2869 | 1997-01-02 Richard Stallman <rms@gnu.org> | |
2870 | ||
2871 | * src/system.h: | |
2872 | [_MSC_VER]: Include stdlib.h and process.h. | |
2873 | [_MSC_VER] (getpid): Define as macro--translate it to _getpid. | |
2874 | ||
2875 | * src/main.c (main): Return FAILURE as a value. | |
2876 | (printable_version): Declare arg as int, not char. | |
2877 | ||
2878 | 1997-01-02 Richard Stallman <rms@gnu.org> | |
2879 | ||
2880 | * Makefile.in (dist): | |
2881 | Explicitly check for symlinks, and copy them. | |
2882 | ||
2883 | 1996-12-19 Richard Stallman <rms@gnu.org> | |
2884 | ||
2885 | * src/files.c: | |
2886 | [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined. | |
2887 | ||
2888 | 1996-12-18 Paul Eggert <eggert@gnu.org> | |
2889 | ||
2890 | * src/bison.s1 (yyparse): | |
2891 | If __GNUC__ and YYPARSE_PARAM are both defined, | |
2892 | declare yyparse to have a void * argument. | |
2893 | ||
2894 | 1996-12-18 Paul Eggert <eggert@gnu.org> | |
2895 | ||
2896 | * bison.simple (yyparse): | |
2897 | If __GNUC__ and YYPARSE_PARAM are both defined, | |
2898 | declare yyparse to have a void * argument. | |
2899 | ||
2900 | 1996-12-17 Richard Stallman <rms@gnu.org> | |
2901 | ||
2902 | * src/reduce.c (nbits): Add some casts. | |
2903 | ||
2904 | 1996-08-12 Richard Stallman <rms@gnu.org> | |
2905 | ||
2906 | * src/bison.s1: Test _MSDOS as well as _MSDOS_. | |
2907 | ||
2908 | 1996-08-12 Richard Stallman <rms@gnu.org> | |
2909 | ||
2910 | * bison.simple: Test _MSDOS as well as _MSDOS_. | |
2911 | ||
2912 | 1996-07-31 Richard Stallman <rms@gnu.org> | |
2913 | ||
2914 | * src/bison.s1: | |
2915 | [__sun && __i386]: Include alloca.h. | |
2916 | ||
2917 | 1996-07-31 Richard Stallman <rms@gnu.org> | |
2918 | ||
2919 | * bison.simple: | |
2920 | [__sun && __i386]: Include alloca.h. | |
2921 | ||
2922 | 1996-07-30 Richard Stallman <rms@gnu.org> | |
2923 | ||
2924 | * src/bison.s1: Comment change. | |
2925 | ||
2926 | * src/bison.s1: Test _MSDOS_, not MSDOS. | |
2927 | ||
2928 | 1996-07-30 Richard Stallman <rms@gnu.org> | |
2929 | ||
2930 | * bison.simple: Comment change. | |
2931 | ||
2932 | * bison.simple: Test _MSDOS_, not MSDOS. | |
2933 | ||
2934 | 1996-06-01 Richard Stallman <rms@gnu.org> | |
2935 | ||
2936 | * 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: | |
2937 | Insert `_' macro around many string constants. | |
2938 | ||
2939 | * src/main.c: | |
2940 | Insert `_' macro around many string constants. | |
2941 | ||
2942 | (main): Call setlocale, bindtextdomain and textdomain. | |
2943 | ||
2944 | * src/system.h: [HAVE_LOCALE_H]: Include locale.h. | |
2945 | [! HAVE_LOCALE_H] (setlocale): Define as no-op. | |
2946 | [ENABLE_NLS]: Include libintl.h. | |
2947 | [ENABLE_NLS] (gettext): Define. | |
2948 | [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions. | |
2949 | (N_, PACKAGE, LOCALEDIR): New macros. | |
2950 | ||
2951 | 1996-06-01 Richard Stallman <rms@gnu.org> | |
2952 | ||
2953 | * POTFILES.in: New file. | |
2954 | ||
2955 | * Makefile.in (allocate.o): | |
2956 | Define target explicitly. | |
2957 | ||
2958 | * Makefile.in (CFLAGS): Set to @CFLAGS@. | |
2959 | (LDFLAGS): Set to @LDFLAGS@. | |
2960 | (configure): Run autoconf only if preceding `cd' succeeds. | |
2961 | (bison.s1): Redirect output to temporary file then move the | |
2962 | temporary to the target, rather than redirecting directly to bison.s1. | |
2963 | (clean): Remove config.status and config.log. | |
2964 | (distclean): Don't remove config.status here. | |
2965 | ||
2966 | 1996-05-12 Richard Stallman <rms@gnu.org> | |
2967 | ||
2968 | * src/bison.s1: | |
2969 | (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t. | |
2970 | ||
2971 | 1996-05-12 Richard Stallman <rms@gnu.org> | |
2972 | ||
2973 | * bison.simple: | |
2974 | (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t. | |
2975 | ||
2976 | 1996-05-11 Richard Stallman <rms@gnu.org> | |
2977 | ||
2978 | * src/bison.s1 (__yy_memcpy): | |
2979 | Really reorder the args, as was supposedly done on Feb 14 1995. | |
2980 | (yyparse): Calls changed accordingly. | |
2981 | ||
2982 | 1996-05-11 Richard Stallman <rms@gnu.org> | |
2983 | ||
2984 | * Makefile.in (dist): Don't use $(srcdir). | |
2985 | ||
2986 | * bison.simple (__yy_memcpy): | |
2987 | Really reorder the args, as was supposedly done on Feb 14 1995. | |
2988 | (yyparse): Calls changed accordingly. | |
2989 | ||
2990 | 1996-01-27 Richard Stallman <rms@gnu.org> | |
2991 | ||
2992 | * src/output.c (output_rule_data): | |
2993 | Test YYERROR_VERBOSE in the conditional | |
2994 | around the definition of ttyname. | |
2995 | ||
2996 | 1995-12-29 Richard Stallman <rms@gnu.org> | |
2997 | ||
2998 | * src/bison.s1: | |
2999 | Fix line numbers in #line commands. | |
3000 | ||
3001 | 1995-12-29 Richard Stallman <rms@gnu.org> | |
3002 | ||
3003 | * bison.simple: | |
3004 | Fix line numbers in #line commands. | |
3005 | ||
3006 | 1995-12-27 Richard Stallman <rms@gnu.org> | |
3007 | ||
3008 | * src/bison.s1 (YYPARSE_PARAM_DECL): | |
3009 | In C++, make it always null. | |
3010 | (YYPARSE_PARAM_ARG): New macro. | |
3011 | (yyparse): Use YYPARSE_PARAM_ARG. | |
3012 | ||
3013 | 1995-12-27 Richard Stallman <rms@gnu.org> | |
3014 | ||
3015 | * bison.simple (YYPARSE_PARAM_DECL): | |
3016 | In C++, make it always null. | |
3017 | (YYPARSE_PARAM_ARG): New macro. | |
3018 | (yyparse): Use YYPARSE_PARAM_ARG. | |
3019 | ||
3020 | 1995-11-29 Richard Stallman <rms@gnu.org> | |
3021 | ||
3022 | * doc/bison.texinfo: | |
3023 | Describe literal string tokens, %raw, %no_lines, %token_table. | |
3024 | ||
3025 | 1995-11-29 Daniel Hagerty <hag@gnu.org> | |
3026 | ||
3027 | * doc/bison.texinfo: Fixed update date | |
3028 | ||
3029 | 1995-10-16 Richard Stallman <rms@gnu.org> | |
3030 | ||
3031 | * src/version.c: Version 1.25. | |
3032 | ||
3033 | 1995-10-16 Richard Stallman <rms@gnu.org> | |
3034 | ||
3035 | * NEWS: *** empty log message *** | |
3036 | ||
3037 | 1995-10-16 Richard Stallman <rms@gnu.org> | |
3038 | ||
3039 | * doc/bison.1, doc/bison.rnh: | |
3040 | Add new options. | |
3041 | ||
3042 | 1995-10-15 Richard Stallman <rms@gnu.org> | |
3043 | ||
3044 | * src/vmsgetargs.c, src/getargs.c: | |
3045 | Added -n, -k, and -raw switches. | |
3046 | (noparserflag, toknumflag, rawtoknumflag): New variables. | |
3047 | ||
3048 | * src/symtab.h (SALIAS): | |
3049 | New #define for adding aliases to %token. | |
3050 | (struct bucket): Added `alias' field. | |
3051 | ||
3052 | * src/reduce.c (reduce_grammar): | |
3053 | Revise error message. | |
3054 | (print_notices): Remove final `.' from error message. | |
3055 | ||
3056 | * src/reader.c (reader_output_yylsp): | |
3057 | New function. | |
3058 | (readgram): Use `#if 0' around code that accepted %command | |
3059 | inside grammar rules: The documentation doesn't allow it, | |
3060 | and it will fail since the %command processors scan for the next %. | |
3061 | (parse_token_decl): Extended the %token | |
3062 | declaration to allow a multi-character symbol as an alias. | |
3063 | (parse_thong_decl): New function. | |
3064 | (read_declarations): Added %thong declarations. | |
3065 | (read_declarations): Handle NOOP to deal with allowing | |
3066 | % declarations as another means to specify the flags. | |
3067 | (readgram): Allow %prec prior to semantics embedded in a rule. | |
3068 | (skip_to_char, read_declarations, copy_definition) | |
3069 | (parse_token_decl, parse_start_decl, parse_type_decl) | |
3070 | (parse_assoc_decl, parse_union_decl, parse_expect_decl) | |
3071 | (get_type_name, copy_guard, copy_action, readgram) | |
3072 | (get_type, packsymbols): Revised most error messages. | |
3073 | Changed `fatal' to `warnxxx' to avoid aborting for error. | |
3074 | Revised and use multiple warnxxx functions to avoid using VARARGS1. | |
3075 | (read_declarations): Improve the error message for | |
3076 | an invalid character. Do not abort. | |
3077 | (read_declarations, copy_guard, copy_action): Use | |
3078 | printable_version to avoid unprintable characters in printed output. | |
3079 | (parse_expect_decl): Error if argument to %expect exceeds 10 digits. | |
3080 | (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type): | |
3081 | Allow the type of a non-terminal can be given | |
3082 | more than once, as long as all specifications give the same type. | |
3083 | ||
3084 | * src/output.c: | |
3085 | (output_headers, output_trailers, output, output_gram) | |
3086 | (output_rule_data): Implement noparserflag variable. | |
3087 | Implement toknumflag variable. | |
3088 | (output): Call reader_output_yylsp to output LTYPESTR. | |
3089 | ||
3090 | * src/main.c (main): | |
3091 | If reader sees an error, don't process the grammar. | |
3092 | (fatals): Updated to not use VARARGS1. | |
3093 | (printable_version, int_to_string, warn, warni, warns, warnss) | |
3094 | (warnsss): New error reporting functions. Avoid abort for error. | |
3095 | ||
3096 | * src/lex.h: | |
3097 | Added THONG and NOOP for alias processing. | |
3098 | Added SETOPT for the new code that allows setting options with %flags. | |
3099 | ||
3100 | * src/lex.c: | |
3101 | Include getopt.h. Add some extern decls. | |
3102 | (safegetc): New function to deal with EOF gracefully. | |
3103 | (literalchar); new function to deal with reading \ escapes. | |
3104 | (lex): Use literalchar. | |
3105 | (lex): Implemented "..." tokens. | |
3106 | (literalchar, lex, parse_percent_token): Made tokenbuffer | |
3107 | always contain the token. This includes growing the token | |
3108 | buffer while reading an integer. | |
3109 | (parse_percent_token): Replaced if-else statement with percent_table. | |
3110 | (parse_percent_token): Added % declarations as another | |
3111 | way to specify the flags -n, -l, and -r. Also added hooks for | |
3112 | -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires | |
3113 | major changes to files.c. | |
3114 | (lex) Retain in the incoming stream a character following | |
3115 | an incorrect '/'. | |
3116 | (skip_white_space, lex): Revised most error messages | |
3117 | and changed fatal to warn to avoid aborting. | |
3118 | (percent_table): Added %thong declarations. | |
3119 | ||
3120 | * src/gram.h: Comment changes. | |
3121 | ||
3122 | * src/files.c (openfiles, open_extra_files, done): | |
3123 | Add faction flag | |
3124 | and actfile file. Handle noparserflag. Both for -n switch. | |
3125 | ||
3126 | * src/conflicts.c (resolve_sr_conflict): | |
3127 | Remove use of alloca. | |
3128 | ||
3129 | 1995-06-01 Jim Meyering <meyering@gnu.org> | |
3130 | ||
3131 | * doc/bison.texinfo: *** empty log message *** | |
3132 | ||
3133 | 1995-05-06 Richard Stallman <rms@gnu.org> | |
3134 | ||
3135 | * src/bison.s1: Comment change. | |
3136 | ||
3137 | 1995-05-06 Richard Stallman <rms@gnu.org> | |
3138 | ||
3139 | * bison.simple: Comment change. | |
3140 | ||
3141 | 1995-05-03 Richard Stallman <rms@gnu.org> | |
3142 | ||
3143 | * src/version.c: Version now 1.24. | |
3144 | ||
3145 | * src/bison.s1: Change distribution terms. | |
3146 | ||
3147 | * src/version.c: Version now 1.23. | |
3148 | ||
3149 | 1995-05-03 Richard Stallman <rms@gnu.org> | |
3150 | ||
3151 | * doc/bison.texinfo: | |
3152 | Rewrite "Conditions for Using Bison". | |
3153 | Update version to 1.24. | |
3154 | ||
3155 | 1995-05-03 Richard Stallman <rms@gnu.org> | |
3156 | ||
3157 | * bison.simple: Change distribution terms. | |
3158 | ||
3159 | 1995-02-23 Richard Stallman <rms@gnu.org> | |
3160 | ||
3161 | * src/files.c: Test __VMS_POSIX as well as VMS. | |
3162 | ||
3163 | 1995-02-14 Jim Meyering <meyering@gnu.org> | |
3164 | ||
3165 | * src/bison.s1 (__yy_memcpy): | |
3166 | Renamed from __yy_bcopy to avoid | |
3167 | confusion. Reverse FROM and TO arguments to be consistent with | |
3168 | those of memcpy. | |
3169 | ||
3170 | 1995-02-14 Jim Meyering <meyering@gnu.org> | |
3171 | ||
3172 | * bison.simple (__yy_memcpy): | |
3173 | Renamed from __yy_bcopy to avoid | |
3174 | confusion. Reverse FROM and TO arguments to be consistent with | |
3175 | those of memcpy. | |
3176 | ||
3177 | 1994-11-10 David J. MacKenzie <djm@gnu.org> | |
3178 | ||
3179 | * NEWS: reformat | |
3180 | ||
3181 | * NEWS: New file. | |
3182 | ||
3183 | * Makefile.in (DISTFILES): Include NEWS. | |
3184 | ||
3185 | * Makefile.in (DISTFILES): | |
3186 | Include install-sh, not install.sh. | |
3187 | ||
3188 | * configure.in: Update to Autoconf v2 macro names. | |
3189 | ||
3190 | 1994-10-05 David J. MacKenzie <djm@gnu.org> | |
3191 | ||
3192 | * Makefile.in: fix typo | |
3193 | ||
3194 | * Makefile.in (prefix, exec_prefix): | |
3195 | Let configure set them. | |
3196 | ||
3197 | 1994-09-28 David J. MacKenzie <djm@gnu.org> | |
3198 | ||
3199 | * Makefile.in: Set datadir to $(prefix)/share. | |
3200 | ||
3201 | 1994-09-15 Richard Stallman <rms@gnu.org> | |
3202 | ||
3203 | * src/bison.s1: | |
3204 | Update copyright notice and GPL version. | |
3205 | ||
3206 | 1994-09-15 Richard Stallman <rms@gnu.org> | |
3207 | ||
3208 | * bison.simple: | |
3209 | Update copyright notice and GPL version. | |
3210 | ||
3211 | 1994-07-12 Richard Stallman <rms@gnu.org> | |
3212 | ||
3213 | * src/reduce.c, src/reader.c: | |
3214 | entered into RCS | |
3215 | ||
3216 | 1994-05-05 David J. MacKenzie <djm@gnu.org> | |
3217 | ||
3218 | * Makefile.in: entered into RCS | |
3219 | ||
3220 | 1994-03-26 Richard Stallman <rms@gnu.org> | |
3221 | ||
3222 | * src/bison.s1: entered into RCS | |
3223 | ||
3224 | 1994-03-26 Richard Stallman <rms@gnu.org> | |
3225 | ||
3226 | * bison.simple: entered into RCS | |
3227 | ||
3228 | 1994-03-25 Richard Stallman <rms@gnu.org> | |
3229 | ||
3230 | * src/main.c: entered into RCS | |
3231 | ||
3232 | 1994-03-24 Richard Stallman <rms@gnu.org> | |
3233 | ||
3234 | * src/conflicts.c: entered into RCS | |
3235 | ||
3236 | 1994-01-02 Richard Stallman <rms@gnu.org> | |
3237 | ||
3238 | * Makefile.in: *** empty log message *** | |
3239 | ||
3240 | 1993-11-21 Richard Stallman <rms@gnu.org> | |
3241 | ||
3242 | * src/bison.s1: *** empty log message *** | |
3243 | ||
3244 | 1993-11-21 Richard Stallman <rms@gnu.org> | |
3245 | ||
3246 | * doc/bison.texinfo: entered into RCS | |
3247 | ||
3248 | * doc/bison.texinfo: *** empty log message *** | |
3249 | ||
3250 | 1993-11-21 Richard Stallman <rms@gnu.org> | |
3251 | ||
3252 | * bison.simple: *** empty log message *** | |
3253 | ||
3254 | 1993-10-25 David J. MacKenzie <djm@gnu.org> | |
3255 | ||
3256 | * doc/bison.texinfo: *** empty log message *** | |
3257 | ||
3258 | 1993-10-19 Richard Stallman <rms@gnu.org> | |
3259 | ||
3260 | * src/bison.s1: *** empty log message *** | |
3261 | ||
3262 | 1993-10-19 Richard Stallman <rms@gnu.org> | |
3263 | ||
3264 | * bison.simple: *** empty log message *** | |
3265 | ||
3266 | 1993-10-14 Richard Stallman <rms@gnu.org> | |
3267 | ||
3268 | * src/bison.s1: *** empty log message *** | |
3269 | ||
3270 | 1993-10-14 Richard Stallman <rms@gnu.org> | |
3271 | ||
3272 | * bison.simple: *** empty log message *** | |
3273 | ||
3274 | 1993-09-14 David J. MacKenzie <djm@gnu.org> | |
3275 | ||
3276 | * doc/bison.texinfo: *** empty log message *** | |
3277 | ||
3278 | 1993-09-13 Noah Friedman <friedman@gnu.org> | |
3279 | ||
3280 | * Makefile.in: *** empty log message *** | |
3281 | ||
3282 | 1993-09-10 Richard Stallman <rms@gnu.org> | |
3283 | ||
3284 | * src/conflicts.c: *** empty log message *** | |
3285 | ||
3286 | * src/system.h: entered into RCS | |
3287 | ||
3288 | 1993-09-10 Richard Stallman <rms@gnu.org> | |
3289 | ||
3290 | * doc/bison.1: entered into RCS | |
3291 | ||
3292 | 1993-09-06 Noah Friedman <friedman@gnu.org> | |
3293 | ||
3294 | * src/version.c: entered into RCS | |
3295 | ||
3296 | 1993-09-06 Noah Friedman <friedman@gnu.org> | |
3297 | ||
3298 | * Makefile.in: *** empty log message *** | |
3299 | ||
3300 | 1993-07-30 David J. MacKenzie <djm@gnu.org> | |
3301 | ||
3302 | * Makefile.in: *** empty log message *** | |
3303 | ||
3304 | 1993-07-24 Richard Stallman <rms@gnu.org> | |
3305 | ||
3306 | * src/bison.s1: *** empty log message *** | |
3307 | ||
3308 | 1993-07-24 Richard Stallman <rms@gnu.org> | |
3309 | ||
3310 | * bison.simple: *** empty log message *** | |
3311 | ||
3312 | 1993-07-08 David J. MacKenzie <djm@gnu.org> | |
3313 | ||
3314 | * Makefile.in: *** empty log message *** | |
3315 | ||
3316 | 1993-07-04 Richard Stallman <rms@gnu.org> | |
3317 | ||
3318 | * src/bison.s1: *** empty log message *** | |
3319 | ||
3320 | 1993-07-04 Richard Stallman <rms@gnu.org> | |
3321 | ||
3322 | * bison.simple: *** empty log message *** | |
3323 | ||
3324 | 1993-06-26 David J. MacKenzie <djm@gnu.org> | |
3325 | ||
3326 | * src/getargs.c: entered into RCS | |
3327 | ||
3328 | 1993-06-26 David J. MacKenzie <djm@gnu.org> | |
3329 | ||
3330 | * doc/bison.texinfo: *** empty log message *** | |
3331 | ||
3332 | * doc/bison.1: New file. | |
3333 | ||
3334 | 1993-06-25 Richard Stallman <rms@gnu.org> | |
3335 | ||
3336 | * src/getargs.c: New file. | |
3337 | ||
3338 | 1993-06-16 Richard Stallman <rms@gnu.org> | |
3339 | ||
3340 | * src/bison.s1: *** empty log message *** | |
3341 | ||
3342 | 1993-06-16 Richard Stallman <rms@gnu.org> | |
3343 | ||
3344 | * bison.simple: *** empty log message *** | |
3345 | ||
3346 | 1993-06-03 Richard Stallman <rms@gnu.org> | |
3347 | ||
3348 | * src/bison.s1: New file. | |
3349 | ||
3350 | 1993-06-03 Richard Stallman <rms@gnu.org> | |
3351 | ||
3352 | * doc/bison.texinfo: *** empty log message *** | |
3353 | ||
3354 | 1993-06-03 Richard Stallman <rms@gnu.org> | |
3355 | ||
3356 | * bison.simple: New file. | |
3357 | ||
3358 | 1993-05-19 Richard Stallman <rms@gnu.org> | |
3359 | ||
3360 | * doc/bison.texinfo: New file. | |
3361 | ||
3362 | 1993-05-07 Noah Friedman <friedman@gnu.org> | |
3363 | ||
3364 | * Makefile.in: *** empty log message *** | |
3365 | ||
3366 | 1993-04-28 Noah Friedman <friedman@gnu.org> | |
3367 | ||
3368 | * src/reader.c: *** empty log message *** | |
3369 | ||
3370 | 1993-04-23 Noah Friedman <friedman@gnu.org> | |
3371 | ||
3372 | * src/alloc.h: entered into RCS | |
3373 | ||
3374 | 1993-04-20 David J. MacKenzie <djm@gnu.org> | |
3375 | ||
3376 | * src/version.c: *** empty log message *** | |
3377 | ||
3378 | * src/files.c, src/allocate.c: | |
3379 | entered into RCS | |
3380 | ||
3381 | * src/reader.c: *** empty log message *** | |
3382 | ||
3383 | * src/lex.c: entered into RCS | |
3384 | ||
3385 | * src/conflicts.c: New file. | |
3386 | ||
3387 | * src/symtab.c: entered into RCS | |
3388 | ||
3389 | * src/alloc.h: New file. | |
3390 | ||
3391 | * src/LR0.c: entered into RCS | |
3392 | ||
3393 | 1993-04-18 Noah Friedman <friedman@gnu.org> | |
3394 | ||
3395 | * src/reader.c: New file. | |
3396 | ||
3397 | * src/version.c: *** empty log message *** | |
3398 | ||
3399 | 1993-04-18 Noah Friedman <friedman@gnu.org> | |
3400 | ||
3401 | * Makefile.in: *** empty log message *** | |
3402 | ||
3403 | 1993-04-17 Noah Friedman <friedman@gnu.org> | |
3404 | ||
3405 | * Makefile.in: *** empty log message *** | |
3406 | ||
3407 | 1993-04-15 Richard Stallman <rms@gnu.org> | |
3408 | ||
3409 | * src/main.c, src/files.c: | |
3410 | New file. | |
3411 | ||
3412 | 1993-04-15 Noah Friedman <friedman@gnu.org> | |
3413 | ||
3414 | * configure.in: entered into RCS | |
3415 | ||
3416 | * configure.in: *** empty log message *** | |
3417 | ||
3418 | * configure.in: New file. | |
3419 | ||
3420 | 1993-04-14 Richard Stallman <rms@gnu.org> | |
3421 | ||
3422 | * Makefile.in: New file. | |
3423 | ||
3424 | 1993-04-13 Richard Stallman <rms@gnu.org> | |
3425 | ||
3426 | * src/version.c: New file. | |
3427 | ||
3428 | 1993-03-25 Richard Stallman <rms@gnu.org> | |
3429 | ||
3430 | * src/output.c: entered into RCS | |
3431 | ||
3432 | 1992-09-25 Richard Stallman <rms@gnu.org> | |
3433 | ||
3434 | * configure.bat: entered into RCS | |
3435 | ||
3436 | 1992-06-22 Richard Stallman <rms@gnu.org> | |
3437 | ||
3438 | * src/vmsgetargs.c: entered into RCS | |
3439 | ||
3440 | 1992-06-22 Richard Stallman <rms@gnu.org> | |
3441 | ||
3442 | * doc/bison.rnh: entered into RCS | |
3443 | ||
3444 | 1992-04-20 David J. MacKenzie <djm@gnu.org> | |
3445 | ||
3446 | * README: entered into RCS | |
3447 | ||
3448 | 1992-01-22 Richard Stallman <rms@gnu.org> | |
3449 | ||
3450 | * src/machine.h: entered into RCS | |
3451 | ||
3452 | 1991-12-21 Richard Stallman <rms@gnu.org> | |
3453 | ||
3454 | * src/lalr.c, src/closure.c: | |
3455 | entered into RCS | |
3456 | ||
3457 | 1991-12-20 Richard Stallman <rms@gnu.org> | |
3458 | ||
3459 | * src/state.h: entered into RCS | |
3460 | ||
3461 | 1991-12-18 Richard Stallman <rms@gnu.org> | |
3462 | ||
3463 | * src/print.c, src/nullable.c, src/derives.c: | |
3464 | entered into RCS | |
3465 | ||
3466 | 1991-11-03 David J. MacKenzie <djm@gnu.org> | |
3467 | ||
3468 | * src/warshall.c, src/types.h, src/symtab.h, src/lex.h, src/gram.c, src/gram.h, src/files.h: | |
3469 | entered into RCS | |
3470 | ||
3471 | 1988-09-09 Richard Stallman <rms@gnu.org> | |
3472 | ||
3473 | * src/bison.hairy: entered into RCS | |
3474 | ||
3475 | 1987-12-16 Richard Stallman <rms@gnu.org> | |
3476 | ||
3477 | * REFERENCES: entered into RCS |