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