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