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