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