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