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