]> git.saurik.com Git - bison.git/blob - OChangeLog
Be kind to translators, save some useless translations.
[bison.git] / OChangeLog
1 1998-01-04 J.J. van der Heijden <J.J.vanderHeijden@student.utwente.nl>
2
3 * files.c (openfiles) [_WIN32 && !__CYGWIN32__]: Use TEMP or Temp to
4 find a temporary directory, if possible. Do not unlink files while
5 they are open.
6
7 1997-08-25 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
8
9 * reader.c (stack_offset;): Change some warni to warns.
10
11 * lex.c (literalchar): Use warns, not warni.
12
13 1997-06-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
14
15 * bison.simple: Add a Bison version comment.
16
17 * Makefile.in (bison_version): New variable.
18 (dist): Use that variable.
19 (bison.s1): Substitute the Bison version into bison.simple.
20
21 * main.c (fatal, warn, berror): Use program_name.
22
23 1997-06-18 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
24
25 * Makefile.in: new.h renamed to alloc.h.
26 * *.c: new.h renamed to alloc.h.
27
28 * alloc.h: Renamed from new.h.
29
30 1997-06-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
31
32 * main.c (fatal, warn, berror): Make error messages standard.
33 (toomany): Improve error message text.
34
35 1997-05-24 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
36
37 * lex.c (literalchar): Fix the code for escaping \, " and '.
38
39 1997-05-23 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
40
41 * lex.c (lex): Avoid trouble when there are many chars
42 to discard in a char literal with just several chars in it.
43
44 1997-05-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
45
46 * bison.simple: Use malloc, if using alloca is troublesome.
47 (YYSTACK_USE_ALLOCA): New flag macro.
48 Define it for some systems and compilers.
49 (YYSTACK_ALLOC): New macro.
50 (yyparse): Use YYSTACK_ALLOC to allocate stack.
51 If it was malloc'd, free it.
52
53 1997-05-02 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
54
55 * bison.simple [_AIX]: Don't include malloc.h.
56
57 1997-04-23 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
58
59 * bison.simple (alloca) [__hpux]: Always define as __builtin_alloca.
60
61 1997-04-22 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
62
63 * bison.simple (__yy_memcpy): Declare arg `count' as unsigned int.
64 (yyparse): Cast third arg to __yy_memcpy to unsigned int.
65
66 * bison.simple (alloca) [__hpux]: Include alloca.h (right for HPUX 10)
67 instead of declaring alloca (right for HPUX 9).
68
69 1997-01-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
70
71 * allocate.c [__STDC__ or _MSC_VER]:
72 Declare calloc and realloc to return void *.
73
74 * Makefile.in (dist): Explicitly check for symlinks, and copy them.
75
76 Tue Dec 17 21:19:31 1996 Paul Eggert <eggert@twinsun.com>
77
78 * bison.simple (yyparse): If __GNUC__ and YYPARSE_PARAM are both
79 defined, declare yyparse to have a void * argument.
80
81 Tue Dec 17 01:12:08 1996 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
82
83 * system.h [_MSC_VER]: Include stdlib.h and process.h.
84 [_MSC_VER] (getpid): Define as macro--translate it to _getpid.
85
86 * reduce.c (nbits): Add some casts.
87
88 * main.c (main): Return FAILURE as a value.
89 (printable_version): Declare arg as int, not char.
90
91 * files.c [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined.
92
93 Mon Dec 16 19:28:01 1996 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
94
95 * main.c (printable_version): Use type `int' for the arg.
96
97 Mon Aug 12 18:16:54 1996 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
98
99 * bison.simple: Test _MSDOS as well as _MSDOS_.
100
101 Wed Jul 31 15:18:38 1996 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
102
103 * bison.simple [__sun && __i386]: Include alloca.h.
104
105 Tue Jul 30 00:36:43 1996 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
106
107 * bison.simple: Test _MSDOS_, not MSDOS.
108
109 Sat Jun 1 17:59:56 1996 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
110
111 * All files: Insert `_' macro around many string constants.
112
113 * system.h [HAVE_LOCALE_H]: Include locale.h.
114 [! HAVE_LOCALE_H] (setlocale): Define as no-op.
115 [ENABLE_NLS]: Include libintl.h.
116 [ENABLE_NLS] (gettext): Define.
117 [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions.
118 (N_, PACKAGE, LOCALEDIR): New macros.
119
120 * main.c (main): Call setlocale, bindtextdomain and textdomain.
121
122 * POTFILES.in: New file.
123
124 * Makefile.in (allocate.o): Define target explicitly.
125
126 Sat Jun 1 08:34:46 1996 Jim Meyering (meyering@na-net.ornl.gov)
127
128 * Makefile.in (CFLAGS): Set to @CFLAGS@.
129 (LDFLAGS): Set to @LDFLAGS@.
130 (configure): Run autoconf only if preceding `cd' succeeds.
131 (bison.s1): Redirect output to temporary file then move the
132 temporary to the target, rather than redirecting directly to bison.s1.
133 (clean): Remove config.status and config.log.
134 (distclean): Don't remove config.status here.
135
136 Sun May 12 08:34:46 1996 Jim Meyering (meyering@na-net.ornl.gov)
137
138 * bison.simple (__yy_memcpy) [__cplusplus]: Reorder declarations
139 of variables f and t.
140
141 Sat May 11 15:11:15 1996 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
142
143 * Version 1.25 released.
144
145 * Makefile.in (dist): Don't use $(srcdir).
146
147 * bison.simple (__yy_memcpy): Really reorder the args, as was
148 supposedly done on Feb 14 1995.
149 (yyparse): Calls changed accordingly.
150
151 Wed Jan 24 22:56:29 1996 Richard Stallman <rms@mole.gnu.ai.mit.edu>
152
153 * output.c (output_rule_data): Test YYERROR_VERBOSE in the conditional
154 around the definition of ttyname.
155
156 Thu Dec 28 23:27:32 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
157
158 * bison.simple: Fix line numbers in #line commands.
159
160 Sun Dec 24 16:59:44 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
161
162 * bison.simple (YYPARSE_PARAM_DECL): In C++, make it always null.
163 (YYPARSE_PARAM_ARG): New macro.
164 (yyparse): Use YYPARSE_PARAM_ARG.
165
166 Sun Oct 15 12:44:09 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
167
168 * version.c: Version now 1.25.
169
170 * main.c (warn): Set `failure'.
171
172 Tue Aug 1 12:30:38 EDT 1995 Wilfred J. Hansen <wjh+@cmu.edu>
173
174 * bison.cld, getargs.c, vmsgetargs.c: Added -n, -k, and -raw switches.
175 (noparserflag, toknumflag, rawtoknumflag): New variables.
176
177 * conflicts.c (resolve_sr_conflict): Remove use of alloca.
178
179 * files.c (openfiles, open_extra_files, done): Add faction flag
180 and actfile file. Handle noparserflag. Both for -n switch.
181
182 * lex.c: Include getopt.h. Add some extern decls.
183 (safegetc): New function to deal with EOF gracefully.
184 (literalchar); new function to deal with reading \ escapes.
185 (lex): Use literalchar.
186 (lex): Implemented "..." tokens.
187 (literalchar, lex, parse_percent_token): Made tokenbuffer
188 always contain the token. This includes growing the token
189 buffer while reading an integer.
190 (parse_percent_token): Replaced if-else statement with percent_table.
191 (parse_percent_token): Added % declarations as another
192 way to specify the flags -n, -l, and -r. Also added hooks for
193 -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires
194 major changes to files.c.
195 (lex) Retain in the incoming stream a character following
196 an incorrect '/'.
197 (skip_white_space, lex): Revised most error messages
198 and changed fatal to warn to avoid aborting.
199 (percent_table): Added %thong declarations.
200
201 * lex.h: Added THONG and NOOP for alias processing.
202 Added SETOPT for the new code that allows setting options with %flags.
203
204 * main.c (main): If reader sees an error, don't process the grammar.
205 (fatals): Updated to not use VARARGS1.
206 (printable_version, int_to_string, warn, warni, warns, warnss)
207 (warnsss): New error reporting functions. Avoid abort for error.
208
209 * output.c (output_headers, output_trailers, output, output_gram)
210 (output_rule_data): Implement noparserflag variable.
211 Implement toknumflag variable.
212 (output): Call reader_output_yylsp to output LTYPESTR.
213
214 * reader.c (reader_output_yylsp): New function.
215 (readgram): Use `#if 0' around code that accepted %command
216 inside grammar rules: The documentation doesn't allow it,
217 and it will fail since the %command processors scan for the next %.
218 (parse_token_decl): Extended the %token
219 declaration to allow a multi-character symbol as an alias.
220 (parse_thong_decl): New function.
221 (read_declarations): Added %thong declarations.
222 (read_declarations): Handle NOOP to deal with allowing
223 % declarations as another means to specify the flags.
224 (readgram): Allow %prec prior to semantics embedded in a rule.
225 (skip_to_char, read_declarations, copy_definition)
226 (parse_token_decl, parse_start_decl, parse_type_decl)
227 (parse_assoc_decl, parse_union_decl, parse_expect_decl)
228 (get_type_name, copy_guard, copy_action, readgram)
229 (get_type, packsymbols): Revised most error messages.
230 Changed `fatal' to `warnxxx' to avoid aborting for error.
231 Revised and use multiple warnxxx functions to avoid using VARARGS1.
232 (read_declarations): Improve the error message for
233 an invalid character. Do not abort.
234 (read_declarations, copy_guard, copy_action): Use
235 printable_version to avoid unprintable characters in printed output.
236 (parse_expect_decl): Error if argument to %expect exceeds 10 digits.
237 (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type):
238 Allow the type of a non-terminal can be given
239 more than once, as long as all specifications give the same type.
240
241 * reduce.c (reduce_grammar): Revise an error message.
242 (print_notices): Remove final `.' from error message.
243
244 * symtab.h (SALIAS): New #define for adding aliases to %token.
245 (struct bucket): Added `alias' field.
246
247 Wed May 3 03:12:28 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
248
249 * bison.simple: Change distribution terms.
250
251 * version.c: Version now 1.23. No, 1.24.
252
253 Thu Feb 23 02:43:21 1995 Richard Stallman <rms@mole.gnu.ai.mit.edu>
254
255 * files.c: Test __VMS_POSIX as well as VMS.
256
257 Tue Feb 14 11:53:05 1995 Jim Meyering (meyering@comco.com)
258
259 * bison.simple (__yy_memcpy): Renamed from __yy_bcopy to avoid
260 confusion. Reverse FROM and TO arguments to be consistent with
261 those of memcpy.
262
263 Thu Nov 10 16:33:41 1994 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
264
265 * Makefile.in (DISTFILES): Include install-sh, not install.sh.
266 Include NEWS.
267
268 * configure.in: Update to Autoconf v2 macro names.
269
270 Tue Oct 4 22:25:43 1994 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
271
272 * Makefile.in (prefix, exec_prefix): Let configure set them.
273
274 Wed Sep 28 09:55:28 1994 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
275
276 * Makefile.in: Set datadir to $(prefix)/share.
277
278 Tue Jul 12 16:42:43 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
279
280 * reader.c (reader): Rename undefined-token token to `$undefined.'.
281
282 Thu May 5 14:41:02 1994 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
283
284 * Makefile.in (DISTFILES): Add install.sh.
285 (install): Remove chmod commands.
286
287 Sat Mar 26 15:33:07 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
288
289 * bison.simple: Fix #line commands.
290
291 Thu Mar 24 23:09:07 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
292
293 * conflicts.c (print_reductions): Increment both fp1 and fp2
294 while printing reductions in multi-rule case.
295
296 Sun Jan 2 15:51:52 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
297
298 * Makefile.in (LDFLAGS): Make it empty by default.
299 (bison): Use CFLAGS.
300
301 Sun Nov 21 05:24:30 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
302
303 * bison.simple (YYLEX): Take notice of YYLEX_PARAM.
304
305 Mon Oct 18 23:52:33 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
306
307 * bison.simple (YYPARSE_PARAM_DECL): Always define this.
308
309 Thu Oct 14 12:19:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
310
311 * bison.simple (yyparse): Support YYPARSE_PARAM.
312
313 Mon Sep 13 18:17:14 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
314
315 * Makefile.in (check): New target.
316
317 Fri Sep 10 08:10:18 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
318
319 * conflicts.c (alloca): #undef before defining.
320
321 * system.h (bcopy): Don't define if already defined.
322
323 Mon Sep 6 15:32:32 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
324
325 * Version 1.22 released.
326
327 * mkinstalldirs: New file.
328
329 * Makefile.in (dist): Use .gz for extension, not .z.
330 (DISTFILES): New variable.
331 (dist): Use it instead of explicit file list.
332 Try to link each file separately, then copy file if ln fails.
333 (installdirs): Use mkinstalldirs script.
334
335 Thu Jul 29 20:35:02 1993 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu)
336
337 * Makefile.in (config.status): Run config.status --recheck, not
338 configure, to get the right args passed.
339
340 Sat Jul 24 04:00:52 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
341
342 * bison.simple (yyparse): Init yychar1 to avoid warning.
343
344 Sun Jul 4 16:05:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
345
346 * bison.simple (yyparse): Don't set yyval when yylen is 0.
347
348 Sat Jun 26 15:54:04 1993 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu)
349
350 * getargs.c (getargs): Exit after printing the version number.
351 Add --help and -h options.
352 (usage): New function.
353
354 Fri Jun 25 15:11:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
355
356 * getargs.c (longopts): Allow `output' as an alternative.
357
358 Wed Jun 16 17:02:37 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
359
360 * bison.simple (yyparse): Conditionalize the entire call to yyoverflow,
361 not just two arguments in it.
362
363 Thu Jun 3 13:07:19 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
364
365 * bison.simple [__hpux] (alloca): Don't specify arg types.
366
367 Fri May 7 05:53:17 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
368
369 * Makefile.in (install): Depend on `uninstall' and `installdirs'.
370 (installdirs): New target.
371
372 Wed Apr 28 15:15:15 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
373
374 * reader.c: Remove declaration of atoi.
375
376 Fri Apr 23 12:29:20 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
377
378 * new.h [!__STDC__] (FREE): Check x != 0.
379 Make expr to call `free' evaluate to 0.
380
381 Tue Apr 20 01:43:44 1993 David J. MacKenzie (djm@kropotkin.gnu.ai.mit.edu)
382
383 * files.c [MSDOS]: Use xmalloc, not malloc.
384 * allocate.c (xmalloc): Renamed from mallocate. Remove old wrapper.
385 * conflicts.c, symtab.c, files.c, LR0.c, new.h: Change callers.
386 * allocate.c (xrealloc): New function.
387 * new.h: Declare it.
388 * lex.c, reader.c: Use it.
389
390 Sun Apr 18 00:45:56 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
391
392 * Version 1.21 released.
393
394 * reader.c : Don't declare `realloc'.
395
396 * Makefile.in (bison.s1): use `rm -f' since it's quieter.
397 (dist): make gzipped tar file.
398
399 Fri Apr 16 21:24:10 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
400
401 * Makefile.in (Makefile, config.status, configure): New targets.
402
403 Thu Apr 15 15:37:28 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
404
405 * main.c: Don't declare `abort'.
406
407 * files.c: Don't declare `exit'.
408
409 Thu Apr 15 02:42:38 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
410
411 * configure.in: Add AC_CONST.
412
413 Wed Apr 14 00:51:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
414
415 * Makefile.in (all): Depend on bison.s1.
416
417 Tue Apr 13 14:52:32 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
418
419 * Version 1.20 released.
420
421 Wed Mar 24 21:45:47 1993 Richard Stallman (rms@wookumz.gnu.ai.mit.edu)
422
423 * output.c (output_headers): Rename yynerrs if -p.
424
425 Thu Mar 18 00:02:17 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
426
427 * system.h: Don't try to include stdlib.h unless HAVE_STDLIB_H is
428 defined.
429
430 * configure.in: Check for stdlib.h.
431
432 Wed Mar 17 14:44:27 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
433
434 * bison.simple [__hpux, not __GNUC__]: Declare alloca.
435 (yyparse): When printing the expected token types for an error,
436 Avoid negative indexes in yycheck and yytname.
437
438 Sat Mar 13 23:31:25 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
439
440 * Makefile.in (files.o, .c.o): Put CPPFLAGS and CFLAGS last.
441
442 Mon Mar 1 17:49:08 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
443
444 * bison.simple: Test __sgi like __sparc.
445
446 Wed Feb 17 00:04:13 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
447
448 * conflicts.c (resolve_sr_conflict): Add extra parens in alloca call.
449
450 * bison.simple [__GNUC__] (yyparse): Declare with prototype.
451
452 Fri Jan 15 13:15:17 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
453
454 * conflicts.c (print_reduction): Near end, increment fp2 when mask
455 recycles.
456
457 Wed Jan 13 04:15:03 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
458
459 * Makefile.in (bison.s1): New target. Modifies bison.simple.
460 (install): Install bison.s1, without changing it.
461 (clean): Delete bison.s1.
462
463 Mon Jan 4 20:35:58 1993 Richard Stallman (rms@mole.gnu.ai.mit.edu)
464
465 * reader.c (reader): Put Bison version in comment in output file.
466
467 Tue Dec 22 19:00:58 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
468
469 * files.c (openfiles): Use .output, not .out, for outfile,
470 regardless of spec_name_prefix.
471
472 Tue Dec 15 19:22:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
473
474 * output.c (output_gram): Include yyrhs in the same #if as yyprhs.
475
476 Tue Dec 15 18:29:16 1992 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
477
478 * output.c (output): output directives checking for __cplusplus as
479 well as __STDC__ to determine when to define "const" as an empty
480 token. (Patch from Wolfgang Glunz <wogl@sun11a.zfe.siemens.de>)
481
482 Tue Dec 8 21:51:23 1992 David J. MacKenzie (djm@kropotkin.gnu.ai.mit.edu)
483
484 * system.h, conflicts.c: Replace USG with HAVE_STRING_H and
485 HAVE_MEMORY_H.
486
487 Sat Nov 21 00:37:16 1992 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu)
488
489 * Makefile.in: Set and use $(MAKEINFO).
490
491 Fri Nov 20 20:45:57 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
492
493 * files.c (done) [MSDOS]: Delete the tmpdefsfile with the rest.
494
495 Thu Oct 8 21:55:52 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
496
497 * Makefile.in (dist): Put configure.bat in the distribution.
498
499 Thu Oct 1 09:16:24 1992 David J. MacKenzie (djm@goldman.gnu.ai.mit.edu)
500
501 * Makefile.in (install): cd to $(srcdir) before installing info files.
502
503 Wed Sep 30 17:18:39 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
504
505 * Makefile.in (files.o): Supply $(DEFS), and $(CPPFLAGS).
506
507 Fri Sep 25 18:06:28 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
508
509 * Version 1.19 released.
510
511 * reader.c (parse_union_decl): Fix ending of C++ comment;
512 don't lose the char after the newline.
513
514 * configure.bat: New file.
515
516 Thu Sep 24 16:23:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
517
518 * conflicts.c: Check for using alloca.h as getopt.c does.
519
520 Sun Sep 6 08:01:53 1992 Karl Berry (karl@hayley)
521
522 * files.c (openfiles): open `fdefines' after we have assigned a name
523 to `tmpdefsfile', and only if `definesflag' is set.
524 (done): only create the real .tab.h file if `definesflag' is set.
525 * reader.c (packsymbols): don't close `fdefines' here.
526
527 Sat Sep 5 15:02:11 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
528
529 * files.c (openfiles): Open fdefines as temp file, like ftable.
530 (done): Copy temp defines file to real one, like main output file.
531
532 Fri Aug 21 12:47:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
533
534 * Makefile.in (dist): Don't release mergedir.awk
535 (install): Use sed, not awk. Don't depend on mergedir.awk.
536 * mergedir.awk: File effectively deleted.
537
538 Wed Jul 29 00:53:25 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
539
540 * bison.simple: Test __sparc along with __sparc__.
541
542 Sat Jul 11 14:08:33 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
543
544 * lex.c (skip_white_space): Count \n just once at end of c++ comment.
545
546 Fri Jun 26 00:00:30 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
547
548 * bison.simple: Comment fix; #line command updated.
549
550 Wed Jun 24 15:12:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
551
552 * Makefile.in (install): Specify full new file name for the executable.
553
554 Mon Jun 22 16:38:24 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
555
556 * Makefile.in (dist): Include bison.rnh in distribution.
557
558 Sun Jun 21 22:42:13 1992 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
559
560 Clean up rough edges in VMS port of bison, add support for remaining
561 command line options.
562
563 * bison.cld: Add /version, /yacc, /file_prefix, and /name_prefix
564 switches.
565
566 * build.com: General cleanup: add logic to automatically sense
567 which C compiler is present; add code to cwd to the directory
568 that contains bison sources; do not define XPFILE, XPFILE1
569 (correct defaults are applied in file.c).
570
571 * files.c: Append _tab, not .tab when using /file_prefix under VMS.
572
573 * system.h: Include string.h instead of strings.h (a la USG).
574
575 * vmsgetargs.c: Add support for all switches added to bison.cld.
576
577 Sun Jun 21 15:53:26 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
578
579 * Makefile.in (install): Always specify new file name for install.
580 Redirect awk output to temp file and install that.
581
582 Wed May 27 22:27:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
583
584 * bison.simple (yyparse): Make yybackup and yyerrlab1 always be used.
585
586 Fri May 22 14:58:42 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
587
588 * Makefile.in (dist): Depend on bison.info
589 (bison.info): Delete spurious <.
590
591 Sun May 17 21:48:55 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
592
593 * Makefile.in (.c.o): New rule. Use $(DEFS) directly.
594 (CFLAGS): Use just -g by default.
595 (CDEBUG): Variable deleted.
596
597 Thu May 7 00:03:37 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
598
599 * reader.c (copy_guard): Fix typo skipping comment.
600
601 Mon May 4 01:23:21 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
602
603 * Version 1.18.
604
605 * getargs.c (getargs): Change '0' to 0 in case for long options.
606
607 Sun Apr 19 10:17:52 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
608
609 * reader.c (packsymbols): Handle -p when declaring yylval.
610
611 Sat Apr 18 18:18:48 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
612
613 * output.c (output_gram): Output #endif properly at end of decl.
614
615 Mon Mar 30 01:13:41 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
616
617 * Version 1.17.
618
619 * Makefile.in (clean): Don't delete configuration files or TAGS.
620 (distclean): New target; do delete those.
621
622 Sat Mar 28 17:18:50 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
623
624 * output.c (output_gram): Conditionalize yyprhs on YYDEBUG.
625
626 * LR0.c (augment_automaton): If copying sp->shifts to insert new
627 shift, handle case of inserting at end.
628
629 Sat Mar 21 23:25:47 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
630
631 * lex.c (skip_white_space): Handle C++ comments.
632 * reader.c (copy_definition, parse_union_decl, copy_guard):
633 (copy_action): Likewise.
634
635 Sun Mar 8 01:22:21 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
636
637 * bison.simple (YYPOPSTACK): Fix typo.
638
639 Sat Feb 29 03:53:06 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
640
641 * Makefile.in (install): Install bison.info* files one by one.
642
643 Fri Feb 28 19:55:30 1992 David J. MacKenzie (djm@wookumz.gnu.ai.mit.edu)
644
645 * bison.1: Document long options as starting with `--', not `+'.
646
647 Sat Feb 1 00:08:09 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
648
649 * getargs.c (getargs): Accept value 0 from getopt_long.
650
651 Thu Jan 30 23:39:15 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
652
653 * Makefile.in (mostlyclean): Renamed from `clean'.
654 (clean): Renamed from 'distclean'. Dep on mostlyclean, not realclean.
655 (realclean): Dep on clean.
656
657 Mon Jan 27 21:59:19 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
658
659 * bison.simple: Use malloc, not xmalloc, and handle failure explicitly.
660
661 Sun Jan 26 22:40:04 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
662
663 * conflicts.c (total_conflicts): Delete unused arg to fprintf.
664
665 Tue Jan 21 23:17:44 1992 Richard Stallman (rms@mole.gnu.ai.mit.edu)
666
667 * Version 1.16.
668
669 Mon Jan 6 16:50:11 1992 Richard Stallman (rms at mole.gnu.ai.mit.edu)
670
671 * Makefile (distclean): Depend on clean, not realclean. Don't rm TAGS.
672 (realclean): rm TAGS here.
673
674 * symtab.c (free_symtab): Don't free the type names.
675
676 Sun Dec 29 22:25:40 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
677
678 * machine.h: MSDOS has 32-bit ints if __GO32__.
679
680 Wed Dec 25 22:09:07 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu)
681
682 * bison.simple [_AIX]: Indent `#pragma alloca', so old C compilers
683 don't choke on it.
684
685 Mon Dec 23 02:10:16 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
686
687 * getopt.c, getopt1.c, getopt.h: Link them to standard source location.
688 * alloca.c: Likewise.
689 * Makefile.in (dist): Copy those files from current dir.
690
691 * getargs.c: Update usage message.
692
693 * LR0.c (augment_automaton): Put new shift in proper order.
694
695 Fri Dec 20 18:39:20 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
696
697 * conflicts.c: Use memcpy if ANSI C library.
698
699 * closure.c (set_fderives): Delete redundant assignment to vrow.
700
701 * closure.c (print_firsts): Fix bounds and offset checking tags.
702
703 * closure.c (tags): Declare just once at start of file.
704
705 * LR0.c (allocate_itemsets): Eliminate unused var max.
706 (augment_automaton): Test sp is non-null.
707
708 * lalr.c (initialize_LA): Make the vectors at least 1 element long.
709
710 * reader.c (readgram): Remove separate YYSTYPE default for MSDOS.
711
712 Wed Dec 18 02:40:32 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
713
714 * print.c (print_grammar): Don't print disabled rules.
715
716 Tue Dec 17 03:48:07 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
717
718 * lex.c (lex): Parse hex escapes properly.
719 Handle \v when filling token_buffer.
720
721 * lex.c: Include new.h.
722 (token_buffer): Change to a pointer.
723 (init_lex): Allocate initial buffer.
724 (grow_token_buffer): New function.
725 (lex, parse_percent_token): Use that.
726
727 * reader.c (read_declarations): Call open_extra_files just once.
728 (parse_token_decl): Don't free previous typename value.
729 Don't increment nvars if symbol is already a nonterminal.
730 (parse_union_decl): Catch unmatched close-brace.
731 (parse_expect_decl): Null-terminate buffer.
732 (copy_guard): Set brace_flag for {, not for }.
733
734 * reader.c: Fix %% in calls to fatal.
735
736 * reader.c (token_buffer): Just one extern decl, at top level.
737 Declare as pointer.
738
739 * symtab.c (free_symtab): Free type_name fields. Free symtab itself.
740
741 Mon Nov 25 23:04:31 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
742
743 * bison.simple: Handle alloca for AIX.
744
745 * Makefile.in (mandir): Compute default using manext.
746
747 Sat Nov 2 21:39:32 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu)
748
749 * Update all files to GPL version 2.
750
751 Fri Sep 6 01:51:36 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
752
753 * bison.simple (__yy_bcopy): Use builtin if GCC version 2.
754
755 Mon Aug 26 22:09:12 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
756
757 * reader.c (parse_assoc_decl): Error if same symbol gets two precs.
758
759 Mon Aug 26 16:42:09 1991 David J. MacKenzie (djm at pogo.gnu.ai.mit.edu)
760
761 * Makefile.in, configure: Only put $< in Makefile if using VPATH,
762 because older makes don't understand it.
763
764 Fri Aug 23 00:05:54 1991 David J. MacKenzie (djm at apple-gunkies)
765
766 * conflicts.c [_AIX]: #pragma alloca.
767 * reduce.c: Don't define TRUE and FALSE if already defined.
768
769 Mon Aug 12 22:49:58 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
770
771 * Makefile.in: Add deps on system.h.
772 (install): Add some deps.
773
774 Fri Aug 2 12:19:20 1991 David J. MacKenzie (djm at apple-gunkies)
775
776 * Makefile.in (dist): Include texinfo.tex.
777
778 * configure: Create config.status. Remove it and Makefile if
779 interrupted while creating them.
780
781 Thu Aug 1 23:14:01 1991 David J. MacKenzie (djm at apple-gunkies)
782
783 * configure: Check for +srcdir etc. arg and look for
784 Makefile.in in that directory. Set VPATH if srcdir is not `.'.
785 * Makefile.in (prefix): Renamed from DESTDIR.
786
787 Wed Jul 31 21:29:47 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
788
789 * print.c (print_grammar): Make output prettier. Break lines.
790
791 Tue Jul 30 22:38:01 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
792
793 * print.c (print_grammar): New function.
794 (verbose): Call it instead of printing token names here.
795
796 Mon Jul 22 16:39:54 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
797
798 * vmsgetargs.c (spec_name_prefix, spec_file_prefix): Define variables.
799
800 Wed Jul 10 01:38:25 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu)
801
802 * configure, Makefile.in: $(INSTALLPROG) -> $(INSTALL),
803 $(INSTALLTEXT) -> $(INSTALLDATA).
804
805 Tue Jul 9 00:53:58 1991 David J. MacKenzie (djm at wookumz.gnu.ai.mit.edu)
806
807 * bison.simple: Don't include malloc.h if __TURBOC__.
808
809 Sat Jul 6 15:18:12 1991 David J. MacKenzie (djm at geech.gnu.ai.mit.edu)
810
811 * Replace Makefile with configure and Makefile.in.
812 Update README with current compilation instructions.
813
814 Mon Jul 1 23:12:20 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
815
816 * reader.c (reader): Make the output define YYBISON.
817
818 Thu Jun 20 16:52:51 1991 David J. MacKenzie (djm at geech.gnu.ai.mit.edu)
819
820 * Makefile (MANDIR, MANEXT): Install man page in
821 /usr/local/man/man1/bison.1 by default, instead of
822 /usr/man/manl/bison.l, for consistency with other GNU programs.
823 * Makefile: Rename BINDIR et al. to lowercase to conform to
824 GNU coding standards.
825 (install): Make man page non-executable.
826
827 Fri May 31 23:22:13 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
828
829 * Makefile (bison.info): New target.
830 (realclean): New target.
831
832 Thu May 2 16:36:19 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
833
834 * bison.simple: Use YYPRINT to print a token, if it's defined.
835
836 Mon Apr 29 12:22:55 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
837
838 * lalr.c (transpose): Rename R to R_arg.
839 (initialize_LA): Avoid shadowing variable j.
840
841 * reader.c (packsymbols): Avoid shadowing variable i.
842
843 * files.c: Declare exit and perror.
844
845 * machine.h: Define MAXSHORT and MINSHORT for the eta-10.
846
847 Tue Apr 2 20:49:12 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
848
849 * allocate.c (mallocate): Always allocate at least one byte.
850
851 Tue Mar 19 22:17:19 1991 Richard Stallman (rms at mole.gnu.ai.mit.edu)
852
853 * Makefile (dist): Put alloca.c into distribution.
854
855 Wed Mar 6 17:45:42 1991 Richard Stallman (rms at mole.ai.mit.edu)
856
857 * print.c (print_actions): Nicer output for final states.
858
859 Thu Feb 21 20:39:53 1991 Richard Stallman (rms at mole.ai.mit.edu)
860
861 * output.c (output_rule_data): Break lines in yytline based on hpos.
862
863 Thu Feb 7 12:54:36 1991 Richard Stallman (rms at mole.ai.mit.edu)
864
865 * bison.simple (yyparse): Move decl of yylsa before use.
866
867 Tue Jan 15 23:41:33 1991 Richard Stallman (rms at mole.ai.mit.edu)
868
869 * Version 1.14.
870
871 * output.c (output_rule_data): Handle NULL in tags[i].
872
873 Fri Jan 11 17:27:24 1991 Richard Stallman (rms at mole.ai.mit.edu)
874
875 * bison.simple: On MSDOS, include malloc.h.
876
877 Sat Dec 29 19:59:55 1990 David J. MacKenzie (djm at wookumz.ai.mit.edu)
878
879 * files.c: Use `mallocate' instead of `xmalloc' so no extra decl is
880 needed.
881
882 Wed Dec 19 18:31:21 1990 Richard Stallman (rms at mole.ai.mit.edu)
883
884 * reader.c (readgram): Alternate YYSTYPE defn for MSDOS.
885 * files.c [MSDOS]: Declare xmalloc.
886
887 Thu Dec 13 12:45:54 1990 Richard Stallman (rms at mole.ai.mit.edu)
888
889 * output.c (output_rule_data): Put all symbols in yytname.
890
891 * bison.simple (yyparse): Delete extra fprintf arg
892 when printing a result of reduction.
893
894 Mon Dec 10 13:55:15 1990 Richard Stallman (rms at mole.ai.mit.edu)
895
896 * reader.c (packsymbols): Don't declare yylval if pure_parser.
897
898 Tue Oct 30 23:38:09 1990 Richard Stallman (rms at mole.ai.mit.edu)
899
900 * Version 1.12.
901
902 * LR0.c (augment_automaton): Fix bugs adding sp2 to chain of shifts.
903
904 Tue Oct 23 17:41:49 1990 Richard Stallman (rms at mole.ai.mit.edu)
905
906 * bison.simple: Don't define alloca if already defined.
907
908 Sun Oct 21 22:10:53 1990 Richard Stallman (rms at mole.ai.mit.edu)
909
910 * getopt.c: On VMS, use string.h.
911
912 * main.c (main): Return type int.
913
914 Mon Sep 10 16:59:01 1990 Richard Stallman (rms at mole.ai.mit.edu)
915
916 * output.c (output_headers): Output macro defs for -p.
917
918 * reader.c (readgram): Handle consecutive actions.
919
920 * getargs.c (getargs): Rename -a to -p.
921 * files.c (openfiles): Change names used for -b.
922
923 Mon Aug 27 00:30:15 1990 Richard Stallman (rms at mole.ai.mit.edu)
924
925 * reduce.c (reduce_grammar_tables): Don't map rlhs of disabled rule.
926
927 Sun Aug 26 13:43:32 1990 Richard Stallman (rms at mole.ai.mit.edu)
928
929 * closure.c (print_firsts, print_fderives): Use BITISSET to test bits.
930
931 Thu Aug 23 22:13:40 1990 Richard Stallman (rms at mole.ai.mit.edu)
932
933 * closure.c (print_firsts): vrowsize => varsetsize.
934 (print_fderives): rrowsize => rulesetsize.
935
936 Fri Aug 10 15:32:11 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
937
938 * bison.simple (alloca): Don't define if already defined.
939 (__yy_bcopy): Alternate definition for C++.
940
941 Wed Jul 11 00:46:03 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
942
943 * getargs.c (getargs): Mention +yacc in usage message.
944
945 Tue Jul 10 17:29:08 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
946
947 * reader.c (parse_token_decl, copy_action):
948 Set value_components_used if appropriate.
949 (readgram): Inhibit output of YYSTYPE definition in that case.
950
951 Sat Jun 30 13:47:57 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
952
953 * output.c (output_parser): Define YYPURE if pure, and not otherwise.
954 Don't define YYIMPURE.
955 * bison.simple: Adjust conditionals accordingly.
956 * bison.simple (YYLEX): If locations not in use, don't pass &yylloc.
957
958 Thu Jun 28 12:32:21 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
959
960 * getargs.c (longopts): Add `yacc'.
961
962 Thu Jun 28 00:40:21 1990 David J. MacKenzie (djm at apple-gunkies)
963
964 * getargs.c (getargs): Add long options.
965 * Makefile: Link with getopt1.o and add getopt1.c and getopt.h to
966 dist.
967
968 * Move version number and description back into version.c from
969 Makefile and getargs.c.
970 * Makefile (dist): Extract version number from version.c.
971
972 Tue Jun 26 13:16:35 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
973
974 * output.c (output): Always call output_gram.
975 * bison.simple (yyparse): Print rhs and lhs symbols of reduction rule.
976
977 Thu Jun 21 00:15:40 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
978
979 * main.c: New global var `program_name' to hold argv[0] for error
980 messages.
981 * allocate.c, files.c, getargs.c, reader.c: Use `program_name'
982 in messages instead of hardcoded "bison".
983
984 Wed Jun 20 23:38:34 1990 David J. MacKenzie (djm at albert.ai.mit.edu)
985
986 * Makefile: Specify Bison version here. Add rule to pass it to
987 version.c. Encode it in distribution directory and tar file names.
988 * version.c: Use version number from Makefile.
989 * getargs.c (getargs): Print additional text that used to be part of
990 version_string in version.c. Use -V instead of -version to print
991 Bison version info. Print a usage message and exit if given an
992 invalid option.
993
994 Tue Jun 19 01:15:18 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
995
996 * bison.simple: Fix a #line.
997
998 * Makefile (INSTALL): New parameter.
999 (install): Use that.
1000 (CFLAGS): Move definition to top.
1001
1002 Sun Jun 17 17:10:21 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1003
1004 * reader.c (parse_type_decl): Ignore semicolon.
1005 Remove excess % from error messages.
1006
1007 Sat Jun 16 19:15:48 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1008
1009 * Version 1.11.
1010
1011 * Makefile (install): Ensure installed files readable.
1012
1013 Tue Jun 12 12:50:56 EDT 1990 Jay Fenlason (hack@ai.mit.edu)
1014
1015 * getargs.c: Declare spec_file_prefix
1016
1017 * lex.c (lex): \a is '\007' instead of '007'
1018
1019 * reader.c: include machine.h
1020
1021 * files.h: Declare extern spec_name_prefix.
1022
1023 Trivial patch from Thorsten Ohl (td12@ddagsi3.bitnet)
1024
1025 Thu May 31 22:00:16 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1026
1027 * Version 1.10.
1028
1029 * bison.simple (YYBACKUP, YYRECOVERING): New macros.
1030 (YYINITDEPTH): This is what used to be YYMAXDEPTH.
1031 (YYMAXDEPTH): This is what used to be YYMAXLIMIT.
1032 If the value is 0, use the default instead.
1033 (yyparse): Return 2 on stack overflow.
1034
1035 Wed May 30 21:09:07 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1036
1037 * bison.simple (YYERROR): Jump to new label; don't print error message.
1038 (yyparse): Define label yyerrlab1.
1039
1040 Wed May 16 13:23:58 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1041
1042 * files.c (openfiles): Support -b.
1043 * getargs.c (getargs): Likewise.
1044
1045 * reader.c (readgram): Error if too many symbols.
1046
1047 * lex.c (lex): Handle \a. Make error msgs more reliable.
1048 * reader.c (read_declarations): Make error msgs more reliable.
1049
1050 Sun May 13 15:03:37 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1051
1052 * Version 1.09.
1053
1054 * reduce.c (reduce_grammar_tables): Fix backward test.
1055
1056 Sat May 12 21:05:34 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1057
1058 * Makefile (bison-dist.*): Rename targets and files to bison.*.
1059 (bison.tar): Make tar file to unpack into subdirectory named `bison'.
1060
1061 Mon Apr 30 03:46:58 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1062
1063 * reduce.c (reduce_grammar_tables): Set rlhs to -1 for useless rules.
1064 * nullable.c (set_nullable): Ignore those rules.
1065 * derives.c (set_derives): Likewise.
1066
1067 Mon Apr 23 15:16:09 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1068
1069 * bison.simple (yyparse): Mention rule number as well as line number.
1070
1071 Thu Mar 29 00:00:43 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1072
1073 * bison.simple (__yy_bcopy): New function.
1074 (yyparse): Use that, not bcopy.
1075
1076 Wed Mar 28 15:23:51 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1077
1078 * print.c (print_actions): Don't alter i and j spuriously when errp==0.
1079
1080 Mon Mar 12 16:22:18 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu)
1081
1082 * bison.simple [__GNUC__]: Use builtin_alloca.
1083
1084 Wed Mar 7 21:11:36 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1085
1086 * Makefile (install): Use mergedir.awk to process bison.simple
1087 for installation.
1088
1089 * bison.simple (yyparse): New feature to include possible valid
1090 tokens in parse error message.
1091
1092 Sat Mar 3 14:10:56 1990 Richard Stallman (rms at geech)
1093
1094 * Version 1.08.
1095
1096 Mon Feb 26 16:32:21 1990 Jim Kingdon (kingdon at pogo.ai.mit.edu)
1097
1098 * print.c (print_actions)
1099 conflicts.c (print_reductions): Change "shift %d" to
1100 "shift, and go to state %d" and "reduce %d" to "reduce using rule %d"
1101 and "goto %d" to "go to state %d".
1102 print.c (print_core): Change "(%d)" to "(rule %d)".
1103
1104 Tue Feb 20 14:22:47 EST 1990 Jay Fenlason (hack @ wookumz.ai.mit.edu)
1105
1106 * bison.simple: Comment out unused yyresume: label.
1107
1108 Fri Feb 9 16:14:34 EST 1990 Jay Fenlason (hack @ wookumz.ai.mit.edu)
1109
1110 * bison.simple : surround all declarations and (remaining) uses of
1111 yyls* and yylloc with #ifdef YYLSP_NEEDED This will significantly
1112 cut down on stack usage, and gets rid of unused-variable msgs from
1113 GCC.
1114
1115 Wed Jan 31 13:06:08 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1116
1117 * files.c (done) [VMS]: Don't delete files that weren't used.
1118 [VMS]: Let user override XPFILE and XPFILE1.
1119
1120 Wed Jan 3 15:52:28 1990 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1121
1122 * Version 1.07.
1123
1124 Sat Dec 16 15:50:21 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1125
1126 * gram.c (dummy): New function.
1127
1128 * reader.c (readgram): Detect error if two consec actions.
1129
1130 Wed Nov 15 02:06:08 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1131
1132 * reduce.c (reduce_grammar_tables): Update rline like other tables.
1133
1134 * Makefile (install): Install the man page.
1135
1136 Sat Nov 11 03:21:58 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1137
1138 * output.c (output_rule_data): Write #if YYDEBUG around yyrline.
1139
1140 Wed Oct 18 13:07:55 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1141
1142 * Version 1.06.
1143
1144 * vmsgetargs.c (getargs): Downcase specified output file name.
1145
1146 Fri Oct 13 17:48:14 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1147
1148 * reader.c (readgram): Warn if there is no default to use for $$
1149 and one is needed.
1150
1151 Fri Sep 29 12:51:53 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1152
1153 * Version 1.05.
1154
1155 * vmsgetargs.h (getargs): Process outfile option.
1156
1157 Fri Sep 8 03:05:14 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1158
1159 * Version 1.04.
1160
1161 * reader.c (parse_union_decl): Count newlines even in comments.
1162
1163 Wed Sep 6 22:03:19 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1164
1165 * files.c (openfiles): short_base_length was always == base_length.
1166
1167 Thu Aug 24 16:55:06 1989 Richard Stallman (rms at apple-gunkies.ai.mit.edu)
1168
1169 * Version 1.03.
1170
1171 * files.c (openfiles): Write output into same dir as input, by default.
1172
1173 Wed Aug 23 15:03:07 1989 Jay Fenlason (hack at gnu)
1174
1175 * Makefile: Include system.h in bison-dist.tar
1176
1177 Tue Aug 15 22:30:42 1989 Richard Stallman (rms at hobbes.ai.mit.edu)
1178
1179 * version 1.03.
1180
1181 * reader.c (reader): Output LTYPESTR to fdefines
1182 only after reading the grammar.
1183
1184 Sun Aug 6 16:55:23 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1185
1186 * reader.c (read_declarations): Put space before comment
1187 to avoid bug in Green Hills C compiler.
1188
1189 Mon Jun 19 20:14:01 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1190
1191 * allocate.c (xmalloc): New function.
1192
1193 Fri Jun 16 23:59:40 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1194
1195 * build.com: Compile and link reduce.c.
1196
1197 Fri Jun 9 23:00:54 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1198
1199 * reduce.c (reduce_grammar_tables): Adjust start_symbol when #s change.
1200
1201 Sat May 27 17:57:29 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1202
1203 * reader.c (copy_definition, copy_guard): Don't object to \-newline
1204 inside strings.
1205
1206 Mon May 22 12:30:59 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1207
1208 * files.c (openfiles): Alternate file names for MSDOS.
1209 (open_extra_files): Likewise.
1210 (done): On MSDOS, unlink temp files here, not in openfiles.
1211
1212 * machine.h (BITS_PER_WORD): 16 on MSDOS.
1213 (MAXTABLE): Now defined in this file.
1214
1215 * system.h: New file includes system-dependent headers.
1216 All relevant .c files include it.
1217
1218 Thu Apr 27 17:00:47 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1219
1220 * version.c: Version 1.01.
1221
1222 Tue Apr 18 12:46:05 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1223
1224 * conflicts.c (total_conflicts): Fixed typo in yacc style output;
1225 mention conflicts if > 0.
1226
1227 Sat Apr 15 17:36:18 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1228
1229 * reader.c (packsymbols): Start new symbols after 256.
1230
1231 Wed Apr 12 14:09:09 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1232
1233 * reader.c (reader): Always assign code 256 to `error' token.
1234 Always set `translations' to 1 so this code gets handled.
1235 * bison.simple (YYERRCODE): Define it.
1236
1237 Tue Apr 11 19:26:32 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1238
1239 * conflicts.c: If GNU C, use builtin alloca.
1240
1241 * Makefile (install): Delete parser files before copying them.
1242
1243 Thu Mar 30 13:51:17 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1244
1245 * getargs.c (getargs): Turn off checking of name Bison was invoked by.
1246
1247 * Makefile (dist): Include ChangeLog in distrib.
1248
1249 Thu Mar 23 15:19:41 1989 Jay Fenlason (hack at apple-gunkies.ai.mit.edu)
1250
1251 * LR0.c closure.c conflicts.c derives.c files.c getargs.c lalr.c
1252 lex.c main.c nullable.c output.c print.c reader.c reduce.c
1253 symtab.c warshall.c: A first pass at getting gcc -Wall to shut up.
1254 Mostly declared functions as void, etc.
1255
1256 * reduce.c moved 'extern int fixed_outfiles;' into print_notices
1257 where it belongs.
1258
1259 Wed Mar 1 12:33:28 1989 Randall Smith (randy at apple-gunkies.ai.mit.edu)
1260
1261 * types.h, symtab.h, state.h, new.h, machine.h, lex.h, gram.h,
1262 files.h, closure.c, vmsgetargs.c, warshall.c, symtab.c, reduce.c,
1263 reader.c, print.c, output.c, nullable.c, main.c, lex.c, lalr.c,
1264 gram.c, getargs.c, files.c, derives.c, conflicts.c, allocate.c,
1265 LR0.c, Makefile, bison.simple: Changed copyright notices to be in
1266 accord with the new General Public License.
1267 * COPYING: Made a link to the new copying file.
1268
1269 Wed Feb 22 06:18:20 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1270
1271 * new.h (FREE): Alternate definition for __STDC__ avoids error
1272 if `free' returns void.
1273
1274 Tue Feb 21 15:03:34 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1275
1276 * reader.c (read_declarations): Double a `%' in a format string.
1277 (copy_definition, parse_start_decl, parse_token_decl): Likewise.
1278 (parse_type_decl, parse_union_decl, copy_guard, readgram, get_type).
1279 (copy_action): change a `fatal' to `fatals'.
1280
1281 * lalr.c (map_goto): Initial high-end of binary search was off by 1.
1282
1283 Sat Feb 18 08:49:57 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1284
1285 * bison.simple [sparc]: Include alloca.h.
1286
1287 Wed Feb 15 06:24:36 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1288
1289 * reader.c (packsymbols): Write decl of yylval into .tab.h file.
1290
1291 Sat Jan 28 18:19:05 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1292
1293 * bison.simple: Avoid comments on `#line' lines.
1294
1295 * reader.c (LTYPESTR): Rearrange to avoid whitespace after \-newline.
1296
1297 Mon Jan 9 18:43:08 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1298
1299 * conflicts.c (total_conflicts): if -y, use output syntax POSIX wants.
1300 * reduce.c (print_notices): likewise.
1301
1302 * lex.c (lex): Handle \v, and \x hex escapes.
1303
1304 * reader.c (reader): Merge output_ltype into here.
1305 Don't output YYLTYPE definition to .tab.h file
1306 unless the @ construct is used.
1307
1308 * bison.simple: Define YYERROR, YYABORT, YYACCEPT here.
1309 * reader.c (output_ltype): Don't output them here.
1310
1311 * bison.simple: YYDEBUG now should be 0 or 1.
1312 * output.c (output): For YYDEBUG, output conditional to define it
1313 only if not previously defined.
1314
1315 Mon Jan 2 11:29:55 1989 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1316
1317 * bison.simple (yyparse) [YYPURE]: Add local yynerrs.
1318 (yydebug): Declare global, but don't initialize, regardless of YYPURE.
1319 (yyparse): Don't declare yydebug here.
1320
1321 Thu Dec 22 22:01:22 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1322
1323 * reduce.c (print_notices): Typo in message.
1324
1325 Sun Dec 11 11:32:07 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1326
1327 * output.c (pack_table): Free only nonzero the elts of froms & tos.
1328
1329 Thu Dec 8 16:26:46 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1330
1331 * gram.c (rprecsym): New vector indicates the %prec symbol for a rule.
1332 * reader.c (packgram): Allocate it and fill it in.
1333 * reduce.c (inaccessable_symbols): Use it to set V1.
1334 * reduce.c (print_results): Don't complain about useless token
1335 if it's in V1.
1336
1337 Mon Dec 5 14:33:17 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1338
1339 * machine.h (RESETBIT, BITISSET): New macros.
1340 (SETBIT, WORDSIZE): Change to use BITS_PER_WORD.
1341
1342 * reduce.c: New file, by David Bakin. Reduces the grammar.
1343 * Makefile: Compile it, link it, put it in dist.
1344
1345 * main.c (main): Call reduce_grammar (in reduce.c).
1346
1347 Thu Nov 17 18:33:04 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1348
1349 * conflicts.c: Don't declare alloca if including alloca.h.
1350
1351 * bison.cld: Define qualifiers `nolines', `debug'.
1352 * vmsgetargs.c (getargs): Handle them.
1353
1354 * output.c (output_program): Notice `nolinesflag'.
1355
1356 * output.c (output_parser): Simplify logic for -l and #line.
1357 Avoid writing EOF char into output.
1358
1359 Wed Oct 12 18:00:03 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1360
1361 * Implement `-l' option.
1362 * getopt.c: Set flag `nolinesflag'.
1363 * reader.c (copy_definition, parse_union_decl, copy_guard, copy_action)
1364 Obey that flag; don't generate #line.
1365 * output.c (output_parser): Discard #line's when copying the parser.
1366
1367 Mon Sep 12 16:33:17 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1368
1369 * reader.c (copy_guard): Fix brace-counting for brace-surrounded guard.
1370
1371 Thu Sep 8 20:09:53 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1372
1373 * bison.simple: Correct number in #line command.
1374 (yyparse): Call YYABORT instead of YYERROR, due to last change in
1375 output_ltype.
1376
1377 Mon Sep 5 14:55:30 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1378
1379 * Makefile: New variable LIBS. Alternatives for USG.
1380 * conflicts.c [USG]: Define bcopy.
1381 * symtab.c [USG]: Include string.h instead of strings.h.
1382
1383 * conflicts.c [sparc]: Include alloca.h.
1384
1385 Tue Aug 2 08:38:38 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1386
1387 * reader.c (parse_token_decl): Ignore commas.
1388
1389 Sat Jun 25 10:29:20 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1390
1391 * reader.c (output_ltype): Make YYERROR yacc-compatible (like YYFAIL).
1392
1393 Fri Jun 24 11:25:11 1988 Richard Stallman (rms at sugar-bombs.ai.mit.edu)
1394
1395 * getargs.c (getargs): -t sets debugflag.
1396 Eliminate upper case duplicate options.
1397 * output.c (output): If debugflag, output `#define YYDEBUG'.
1398
1399 Thu May 26 06:04:21 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
1400
1401 * allocate.c (mallocate): New name for `allocate' (which loses in VMS).
1402 Calls changed in LR0.c, conflicts.c, symtab.c, new.h.
1403
1404 * getargs.c (getargs): If argv[0] is "yacc", set fixed_outfiles.
1405
1406 Tue May 17 12:15:30 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
1407
1408 * conflicts.c: Declare alloca.
1409 * reader.c: Declare realloc.
1410 * warshall.c (TC): Fix one arithmetic op that was omitted last time.
1411
1412 Thu May 5 14:36:03 1988 Richard Stallman (rms at frosted-flakes.ai.mit.edu)
1413
1414 * bison.simple: Conditionalize most refs to yylsp on YYLSP_NEEDED.
1415 * reader.c (copy_guard, copy_action): Notice if `@' is used.
1416 (reader): If it was, output `#define YYLSP_NEEDED'.
1417
1418 Mon Apr 18 04:54:32 1988 Richard Stallman (rms at rice-krispies.ai.mit.edu)
1419
1420 * bison.simple: New variable yynerr counts calls to yyerror.
1421
1422 * lex.c (lex, case '='): Update lineno when skipping a newline.
1423
1424 * reader.c (parse_expect_decl): ungetc the char that ends the number;
1425 don't read any further. This handles multi-line comments right
1426 and avoids incorrect lineno.
1427
1428 * reader.c: Delete duplicate decl of symval.
1429
1430 * warshall.c (RTC, TC): Cast ptrs to char *, not unsigned, for arith.