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