12012-10-03 Thomas E. Dickey <tom@invisible-island.net> 2 3 * package/debian/changelog, package/byacc.spec, VERSION: bump 4 5 * configure: regen 6 7 * configure.in: moved AC_PROG_CC_STDC call into CF_PROG_CC 8 9 * aclocal.m4: 10 moved AC_PROG_CC_STDC call into CF_PROG_CC and (for other uses than byacc) 11 the CF_PROG_CC macro provides the CF_ANSI_CC_REQD for the 2.13 flavor. 12 13 * aclocal.m4, configure.in: 14 Arian's change dropped my check for misused $CC variable - restore that with 15 alternate macro CF_PROG_CC. 16 172012-10-03 Adrian.Bunk 18 19 * aclocal.m4: 20 suggested patch: drop CF_ANSI_CC_REQD, CF_ANSI_CC_CHECK, CF_PROG_EXT since 21 they are not needed. 22 232012-10-03 Thomas E. Dickey <tom@invisible-island.net> 24 25 * aclocal.m4: 26 split-out CF_CC_ENV_FLAGS from CF_ANSI_CC_CHECK to avoid losing it in 27 Adrian's suggested changes. 28 29 * aclocal.m4: 30 CF_CLANG_COMPILER - check if the given compiler is really clang. 31 32 * aclocal.m4: 33 add check for clang to CF_GCC_WARNINGS. modify CF_GCC_WARNINGS to work around 34 old gcc warning: ncurses change to (try to) use gnatgcc exposed gnatgcc 2.8.1 35 on my Sarge system (versus 3.3.5 for the normal gcc). The 2.8.1's 36 pointer-arithmetic checks fell afoul of gcc's misuse of void* in string.h; work 37 around by excluding that check for pre-3.x compilers. 38 39 * aclocal.m4: 40 modify CF_GCC_ATTRIBUTES so that autoheader is able to see the definitions 41 provided by this macro. use AC_DEFINE_UNQUOTED() in CF_GCC_ATTRIBUTES rather 42 than appending to confdefs.h, since long-ago concern about the ability to 43 pass-through parameterized macros appears to be not a problem, testing with 44 2.13 and 2.52 45 462012-10-03 Adrian.Bunk 47 48 * aclocal.m4: 49 add parameter to AC_DEFINE_UNQUOTED() to allow it to be recognized by 50 autoheader, updated macros: 51 CF_CHECK_CACHE 52 CF_DISABLE_LEAKS 53 CF_MKSTEMP 54 CF_MIXEDCASE_FILENAMES 55 CF_NO_LEAKS_OPTION 56 572012-10-03 Thomas E. Dickey <tom@invisible-island.net> 58 59 * aclocal.m4: 60 move existence-check for mkstemp out of the AC_TRY_RUN, to help with 61 cross-compiles 62 632012-10-02 Thomas E. Dickey <tom@invisible-island.net> 64 65 * config_h.in: 66 Adrian Bunk request - replace this with the output from autoheader 67 682012-09-29 Adrian.Bunk 69 70 * configure.in: 71 suggested change: replace CF_ANSI_CC_REQD by AC_PROG_CC_STDC (since no 72 check is needed anymore for standard C compilers), drop AC_CONST (same 73 reason), modify AC_OUTPUT to rely upon template generated by autoheader. 74 bump requirement to autoconf 2.52.20011201 and drop check for CF_PROG_EXT 75 as being obsolete with autoconf 2.52x 76 77 * configure.in, main.c: drop check for atexit, because it is standard C 78 79 * makefile.in: add assignment for datarootdir variable. 80 812012-05-26 Thomas E. Dickey <tom@invisible-island.net> 82 83 * package/debian/changelog, package/byacc.spec, VERSION: bump 84 85 * reader.c: 86 some versions of gcc may warn that bp is not set in mark_symbol, e.g., 87 if GCC_NORETURN is not handled; appease the compiler. 88 89 * reader.c: 90 use the declared types Assoc_t and Value_t in some places where compiler only 91 cared about char versus short. 92 93 * reader.c: 94 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 95 (no object change) 96 97 * defs.h: 98 add fallbacks for GCC_NORETURN and GCC_UNUSED to make it simpler for *BSD 99 packagers to build without configure script. Also remove duplicate declaration 100 of pure_parser variable (prompted by patch by Baptiste Daroussin). 101 102 Also define new TMALLOC and TREALLOC macros to simplify/replace MALLOC and 103 REALLOC macros. 104 105 * symtab.c: 106 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 107 (no object change) 108 1092012-05-25 Thomas E. Dickey <tom@invisible-island.net> 110 111 * output.c, main.c, verbose.c, mkpar.c, lr0.c: 112 use TMALLOC() and TREALLOC() macros to simplify allocation/reallocation 113 (no object change) 114 1152012-01-15 Thomas E. Dickey <tom@invisible-island.net> 116 117 * package/debian/copyright: bump 118 119 * test/run_make.sh: workaround for breakage due to GNU make 3.82 120 121 * test/run_make.sh: 122 tested with Solaris 10 (bison 1.875) and added scripting to exercise 123 the /usr/ccs/bin/yacc executable 124 125 * test/grammar.tab.c: regen 126 127 * test/grammar.y: modify to also build with Solaris yacc 128 129 * VERSION, package/debian/changelog, package/byacc.spec: bump 130 131 * test/calc1.output, test/calc1.tab.c: regen 132 133 * test/calc1.y: 134 undo the change made to appease bison, since it was only a warning. 135 136 * test/pure_calc.tab.c, test/pure_error.tab.c: regen 137 138 * test/run_make.sh: another fix for running from top-level directory 139 140 * makefile.in: 141 ensure that check_make rule depends on having byacc built. 142 143 * test/run_make.sh: fixes for building from parent directory 144 145 * test/pure_error.y, test/pure_calc.y: bison-fixes 146 147 * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c, test/ftp.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c: 148 regen 149 150 * test/calc2.y, test/calc3.y, test/code_error.y, test/ftp.y: 151 byacc already declares yyerror 152 153 * test/pure_error.y, test/pure_calc.y: 154 modified to help make the files build with bison 155 156 * test/run_make.sh: 157 supply a "%pure-parser" directive when bison needs it. 158 159 * test/code_calc.code.c: regen 160 161 * test/code_calc.y: modified to help make the files build with bison 162 163 * yacc.1: 164 in testing, found that %expect did not work as documented for bison. 165 do not recommend it for portable code. 166 167 * test/run_make.sh: workaround breakage in bison's %expect directive 168 169 * test/grammar.y: modified to help make the files build with bison 170 171 * test/calc1.output, test/calc1.tab.c, test/grammar.tab.c: regen 172 173 * test/calc1.y: quiet a spurious warning from bison 2.3 174 175 * test/calc1.tab.c: regen 176 177 * test/calc1.y: modified to help make the files build with bison 178 179 * yacc.1: comment on "-y" and "-P" options. 180 181 * yacc.1: comment on portability 182 183 * test/ftp.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2-s.tab.c, test/quote_calc3-s.tab.c: 184 regen 185 186 * test/ftp.y: modified to help make the files build with bison 187 (bison's "-y" option is of no use in providing "yacc" compatibility) 188 189 * test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4-s.tab.c, test/quote_calc4.tab.c: 190 regen 191 192 * test/code_calc.y, test/quote_calc2.y, test/quote_calc.y, test/quote_calc4.y, test/quote_calc3.y: 193 modified to help make the files build with bison 194 195 * test/calc.tab.c: regen 196 197 * test/calc.y: modified to help make the files build with bison 198 199 * test/error.tab.c: regen 200 201 * test/error.y: modified to help make the files build with bison 202 203 * test/calc2.tab.c, test/calc3.tab.c, test/code_error.code.c: regen 204 205 * test/run_make.sh: 206 check for older bisons which (2.3 for instance) do not support pure parsers 207 208 * test/code_error.y, test/calc3.y, test/calc2.y: 209 modified to help make the files build with bison 210 211 * test/run_test.sh: use $opt2 in filenames of the generated files 212 213 * test/quote_calc2-s.tab.c, test/quote_calc3-s.tab.c, test/quote_calc4-s.tab.c, test/quote_calc-s.tab.c, test/quote_calc.tab.c, test/quote_calc2.tab.c, test/quote_calc3.tab.c, test/quote_calc4.tab.c: 214 regen 215 2162012-01-14 Thomas E. Dickey <tom@invisible-island.net> 217 218 * test/calc2.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/calc1.tab.c: 219 regen 220 221 * output.c: Several changes: 222 a) add YYLEX_PARAM_TYPE, like YYPARSE_PARAM_TYPE, but for yylex. 223 b) modify definitions for YYLEX_DECL to be more like YYPARSE_DECL, 224 using YYLEX_PARAM_TYPE and YYLEX_PARAM. 225 c) add ifdef's around #define's for YYERROR_DECL and YYERROR_CALL, 226 to help with redefinitions. 227 228 * test/pure_calc.tab.c: 229 modified to help make the files build with bison 230 231 * test/run_make.sh: 232 start work on followup, to check if the generated files build with bison. 233 234 * test/pure_calc.y, test/pure_error.tab.c: 235 modified to help make the files build with bison 236 237 * test/calc3.tab.c: regen 238 239 * test/quote_calc-s.output, test/quote_calc-s.tab.c, test/quote_calc-s.tab.h, test/quote_calc2-s.output, test/quote_calc2-s.tab.c, test/quote_calc2-s.tab.h, test/quote_calc3-s.output, test/quote_calc3-s.tab.c, test/quote_calc3-s.tab.h, test/quote_calc4-s.output, test/quote_calc4-s.tab.c, test/quote_calc4-s.tab.h: 240 RCS_BASE 241 242 * test/run_test.sh: generate/test with "-s" option applied. 243 2442012-01-13 Thomas E. Dickey <tom@invisible-island.net> 245 246 * package/debian/changelog, package/byacc.spec, VERSION: bump 247 248 * yacc.1: improve documentation of -s option 249 250 * yacc.1: note that yacc ignores -y 251 252 * main.c: add -s option to usage message. 253 254 * test/quote_calc3.output, test/quote_calc3.tab.c, test/quote_calc4.output, test/quote_calc4.tab.c, test/quote_calc4.tab.h, test/quote_calc3.y, test/quote_calc.tab.h, test/quote_calc.output, test/quote_calc.tab.c, test/quote_calc2.output, test/quote_calc2.tab.c, test/quote_calc2.tab.h, test/quote_calc3.tab.h, test/quote_calc4.y, test/quote_calc.y, test/quote_calc2.y: 255 RCS_BASE 256 257 * configure: regen 258 259 * aclocal.m4: resync with my-autoconf, i.e., fixes for CF_XOPEN_SOURCE 260 2612011-12-19 Thomas E. Dickey <tom@invisible-island.net> 262 263 * package/debian/changelog, package/byacc.spec, VERSION: bump 264 265 * yacc.1, output.c, main.c, defs.h: 266 add "-s" option to suppress generating #define's based on string contents 267 in a %token statement. For instance 268 %token EQLS "Equals" 269 would generate 270 #define EQLS 256 271 #define Equals 257 272 Simply suppressing the second #define makes the behavior closer to yacc. 273 (report by Paulo Andrade). 274 2752011-09-08 Thomas E. Dickey <tom@invisible-island.net> 276 277 * package/debian/changelog, package/byacc.spec, VERSION: bump 278 279 * output.c: 280 fix some more interaction between -i and -d flags to ensure YYERRCODE 281 and YYSTYPE are declared, tested with cproto. 282 2832011-09-07 Thomas E. Dickey <tom@invisible-island.net> 284 285 * yacc.1: document "-i" option. 286 287 * package/debian/changelog, package/byacc.spec, VERSION: bump 288 289 * output.c: fix an interaction between -i and -d 290 291 * test/code_error.code.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c: 292 regen - changes for "-i" option move the global/impure variables near the 293 macros that may add a prefix, etc. 294 295 * skeleton.c, output.c, defs.h: changes to support "-i" option. 296 2972011-09-06 Thomas E. Dickey <tom@invisible-island.net> 298 299 * reader.c: pass explicit file-pointer to write_section() 300 301 * main.c: 302 add "-i" option, to generate interface-file (suggested by Denis M. Wilson) 303 3042011-09-05 Thomas E. Dickey <tom@invisible-island.net> 305 306 * configure: regen 307 308 * aclocal.m4: 309 resync with my-autoconf: CF_ANSI_CC_CHECK (check for $CFLAGS in $CC) 310 and CF_XOPEN_SOURCE (update aix, cygwin and netbsd checks) 311 312 * defs.h, error.c, reader.c: 313 add check for missing "}" on %parse-param and %lex-param lines (report by Denis M Wilson) 314 3152011-04-01 Thomas E. Dickey <tom@invisible-island.net> 316 317 * config.sub: 2011-04-01 318 3192011-02-02 Thomas E. Dickey <tom@invisible-island.net> 320 321 * config.guess: 2011-01-01 322 3232010-12-29 Thomas E. Dickey <tom@invisible-island.net> 324 325 * defs.h, skeleton.c: 326 add const qualifier to skeleton data, per NetBSD changes (report by Christos Zoulas) 327 328 * defs.h: 329 mark all of the error-functions as non-returning (report by Christos Zoulas) 330 331 * test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c, test/ftp.tab.c: 332 regen 333 334 * skeleton.c: 335 use only realloc() rather than realloc+malloc, agree that systems needing this 336 are very rare (prompted by NetBSD change). 337 338 * test/ftp.tab.c: regen 339 3402010-12-29 Christos.Zoulas 341 342 * test/ftp.y: 343 improve example, which was stuck in 19XX and assumed file sizes were longs. 344 3452010-12-29 Thomas E. Dickey <tom@invisible-island.net> 346 347 * test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c: 348 regen 349 350 * test/pure_error.y, test/pure_calc.y, test/ftp.y, test/error.y, test/code_error.y, test/code_calc.y, test/calc.y, test/calc3.y, test/calc2.y, test/calc1.y: 351 use byacc's YYLEX_DECL/YYERROR_DECL symbols to prototype yylex/yyerror 352 353 * skeleton.c: 354 remove explicit prototype for yylex() via YYLEX_DECL() macro, since that 355 would prevent declaring yylex() static (request by Christos Zoulas). 356 357 * test/calc2.tab.c, test/calc3.tab.c: regen 358 3592010-12-29 Christos.Zoulas 360 361 * output.c: correct definition for YYERROR_DECL() 362 3632010-12-29 Thomas E. Dickey <tom@invisible-island.net> 364 365 * package/debian/changelog, package/byacc.spec, VERSION: bump 366 3672010-12-26 Thomas E. Dickey <tom@invisible-island.net> 368 369 * defs.h, main.c: 370 change return-type of allocate() to avoid warnings of alignment problems 371 372 * main.c: Solaris declares chmod() in <sys/stat.h> 373 374 * configure: regen 375 376 * main.c: ifdef'd use of fcntl.h 377 378 * configure.in: add configure checks for fcntl.h, atexit and mkstemp 379 380 * main.c: for cases where mkstemp() is not available, use tempnam/open 381 382 * aclocal.m4: add CF_MKSTEMP 383 384 * aclocal.m4: 385 improve quoting, deprecate ${name-value} in favor of standard ${name:-value} 386 3872010-12-25 Thomas E. Dickey <tom@invisible-island.net> 388 389 * main.c: 390 start revising use of tmpfile(), to make this work with MinGW. Start by 391 implementing a mkstemp() alternative - noting that mkstemp() also is broken 392 for MinGW. 393 394 * package/debian/changelog, package/byacc.spec, VERSION: bump 395 3962010-11-27 Thomas E. Dickey <tom@invisible-island.net> 397 398 * package/byacc.spec, package/debian/changelog, VERSION: bump 399 400 * test/calc2.tab.c, test/calc3.tab.c: regen 401 402 * output.c: 403 corrected use of %parse-param value in yyerror(); it doesn't use &yylval 404 (report by Clifford Yapp) 405 4062010-11-26 Thomas E. Dickey <tom@invisible-island.net> 407 408 * skeleton.c: typo 409 410 * output.c: 411 correct line-numbering when "-r" option is used; the 'outline' variable 412 should only be incremented when writing to the code-file. 413 414 * test/code_calc.code.c, test/code_error.code.c: regen 415 416 * yacc.1: bump date 417 418 * yacc.1: comment on -b option vs -r 419 420 * test/calc2.tab.c, test/calc2.y, test/calc3.tab.c, test/calc3.y, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c: 421 regen 422 423 * output.c: 424 improve on YYERROR_DECL(), adding dummy params which can be used for the 425 actual function declaration. Also add YYERROR_CALL(). The two macros 426 simplify maintaining sets of grammars which may/may not be pure. 427 428 * test/calc1.y, test/ftp.tab.c, test/grammar.tab.c, test/pure_calc.tab.c, test/pure_error.tab.c, test/calc.tab.c, test/calc1.tab.c, test/calc2.tab.c, test/calc3.tab.c, test/code_calc.code.c, test/code_error.code.c, test/error.tab.c: 429 regen 430 431 * output.c: generate yyerror() calls in output.c 432 This is for compatibility with bison, which passes the yylval to yyerror 433 when the %parse-param feature is used. 434 435 * skeleton.c, defs.h: generate yyerror() calls in output.c 436 437 * output.c: simplified a little, using putc_code() and putl_code() 438 439 * test/calc1.tab.h: regen 440 441 * reader.c: 442 improve ifdef for YYSTYPE union declaration (report by Clifford Yapp) 443 444 * reader.c: 445 accept underscore as a replacement for dash in command names, e.g., 446 "%pure_parser" vs "%pure-parser". 447 448 * test/calc1.tab.c: regen 449 450 * output.c, reader.c: 451 also ifdef YYSTYPE declaration in the generated code (report by Clifford Yapp) 452 453 * package/debian/changelog, package/byacc.spec, VERSION: bump 454 4552010-11-24 Thomas E. Dickey <tom@invisible-island.net> 456 457 * main.c, defs.h, symtab.c, error.c: reduce global variables 458 459 * package/debian/changelog, package/byacc.spec, VERSION: bump 460 461 * reader.c: 462 amend fix for Redhat #112617 to still call default_action_warning() for 463 empty rules (report by Bruce Cran). 464 4652010-11-22 Thomas E. Dickey <tom@invisible-island.net> 466 467 * output.c: 468 add ifdef to guard against redefinition of YYSTYPE union (request by Clifford Yapp). 469 470 * test/calc1.tab.c: regen 471 472 * test/calc1.y: cleanup compiler warnings 473 474 * test/grammar.y: add "%expect" 475 476 * test/calc1.tab.h: regen 477 478 * test/calc1.output, test/calc1.tab.c, test/calc1.tab.h: RCS_BASE 479 480 * test/calc2.tab.c, test/calc3.tab.c: regen 481 482 * test/calc1.y: 483 advanced example from Steve Johnson's paper, uses unions 484 485 * test/calc3.y, test/calc2.y: init 'base', so examples can run 486 487 * test/ftp.tab.c, test/ftp.y: tweaks to compile with g++ 488 489 * output.c: compensate for fix in reader.c 490 491 * reader.c: 492 add/use putc_both() and puts_both(), incidentally fixing a place where 493 a union copied to the union_file may be missing the end of the last line. 494 495 * package/debian/changelog, package/byacc.spec, VERSION: bump 496 4972010-09-28 Thomas E. Dickey <tom@invisible-island.net> 498 499 * config.guess: 2010-09-24 500 5012010-09-10 Thomas E. Dickey <tom@invisible-island.net> 502 503 * config.sub: 2010-09-11 504 5052010-06-10 Thomas E. Dickey <tom@invisible-island.net> 506 507 * yacc.1, package/debian/changelog, package/byacc.spec, VERSION: 508 bump to 2010/06/10 509 5102010-06-09 Thomas E. Dickey <tom@invisible-island.net> 511 512 * reader.c: free declarations in leak-testing code. 513 514 * main.c: close code_file if -r option used, for leak-testing 515 516 * defs.h, reader.c: 517 improve %lex-param / %parse-param implementation by allowing for arrays to 518 be passed as parameters, e.g., "int regs[26]". 519 520 * test/calc3.tab.c, test/calc3.y, test/calc3.output, test/calc3.tab.h, test/calc2.tab.c, test/calc2.y, test/calc2.tab.h, test/calc2.output: 521 RCS_BASE 522 523 * output.c: 524 improve %lex-param / %parse-param implementation by allowing for arrays to 525 be passed as parameters, e.g., "int regs[26]". 526 527 * test/calc.tab.c, test/calc.y: 528 test-cases and reference files for %lex-param / %parse-param 529 530 * makefile.in: add docs-rule, for html/pdf/txt form of manpage 531 532 * configure: regen 533 534 * aclocal.m4: add CF_XOPEN_SOURCE, etc. 535 536 * configure.in: 537 use CF_XOPEN_SOURCE check to ensure that strdup is in scope, e.g., for c89 538 539 * test/ftp.tab.c, test/ftp.y, reader.c, symtab.c, verbose.c, lr0.c, main.c, mkpar.c, output.c, defs.h, closure.c: 540 fix warnings from clang --analyze 541 5422010-06-08 Thomas E. Dickey <tom@invisible-island.net> 543 544 * output.c: fix to build with c89, etc. 545 546 * reader.c: gcc warning 547 548 * test/ftp.tab.c, test/ftp.y, test/calc.tab.c, test/code_calc.code.c, test/code_error.code.c, test/code_error.y, test/code_calc.y, test/calc.y, test/pure_error.tab.c, test/error.tab.c, test/error.y, test/pure_error.y, test/pure_calc.tab.c, test/pure_calc.y: 549 modified test-cases to allow them to compile, to validate pure-parser changes. 550 updated reference files to match. 551 552 * output.c: 553 move call for output_stype() earlier since it is used in pure-parser declarations 554 555 * test/grammar.tab.c, test/grammar.y: 556 modified test-cases to allow them to compile, to validate pure-parser changes. 557 updated reference files to match. 558 559 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 560 regen 561 562 * yacc.1: document %lex-param and %parse-param 563 564 * test/run_lint.sh, test/run_make.sh: RCS_BASE 565 566 * test/run_test.sh: 567 further modify to allow build-directory to be in a different location by 568 passing this directory's location as a parameter to the script. 569 570 * makefile.in: 571 add check_make and check_lint rules to help validate the generated files 572 in the test-directory 573 5742010-06-07 Thomas E. Dickey <tom@invisible-island.net> 575 576 * test/pure_calc.tab.c, test/pure_error.tab.c: RCS_BASE 577 578 * test/run_test.sh: 579 provide for testing -r and -P options by checking if the ".y" filename 580 begins with "code_" or "pure_", respectively. 581 582 * test/code_error.code.c, test/code_error.tab.c, test/code_error.tab.h, test/code_calc.code.c, test/code_calc.tab.c, test/code_calc.tab.h, test/pure_calc.output, test/pure_calc.tab.h, test/pure_error.output, test/pure_error.tab.h, test/code_calc.output, test/code_error.output: 583 RCS_BASE 584 585 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: regen 586 587 * test/run_test.sh: 588 changes to support running "make check" in a separate build-tree 589 590 * main.c: add "-P" to usage message 591 592 * reader.c: use UCH() macro to hide casts. 593 5942010-06-07 Andres.Mejia 595 596 * main.c, output.c, reader.c, defs.h, skeleton.c: 597 Fix the output order of the generated parse code file. This allows for 598 the use of YYPARSE_PARAM, by having the output that checks for 599 YYPARSE_PARAM to be defined come after the C code block in the 600 definitions section of a yacc file. 601 602 Implement support for YYLEX_PARAM, similar to bison. This is useful for 603 support for building reentrant lexers with flex. 604 605 Fix a compatibility issue with bison's pure-parser option. Bison 606 defines yylex as sending at least one parameter, &yylval, as the first 607 parameter and doesn't seem to have an easy way to remove that parameter. 608 This on the other hand is rather convenient to support saving to yylval 609 from flex when building reentrant lexers and parsers. 610 611 Add support for the %parse-param and %lex-param directives used in 612 bison. This change bears some similarity to NetBSD's changes to byacc 613 at http://www.mail-archive.com/source-changes-full@netbsd.org/msg08143.html 614 615 Bison allows for POSIX yacc emulation via a yacc directive in the yacc 616 file, and also via a command line switch. Implement this feature as a 617 no-op for byacc, since byacc is designed to be POSIX yacc compatible 618 anyway. This allows for better compatibility with yacc sources written 619 for bison. 620 6212010-06-07 Thomas E. Dickey <tom@invisible-island.net> 622 623 * VERSION: bump to 2010/06/07 624 6252010-06-06 Thomas E. Dickey <tom@invisible-island.net> 626 627 * test/calc.tab.c, configure: regen 628 629 * skeleton.c: 630 move #include's down into the generated code, to allow user-defined code 631 to override feature definitions, particularly with stdlib.h (request by 632 Marcus Kool). 633 634 * lr0.c, error.c, reader.c, defs.h: 635 strict gcc 3.4.6 warnings on 64-bit platform 636 637 * aclocal.m4, configure.in: add check for lint 638 639 * makefile.in: add lint rule 640 641 * defs.h, closure.c, lr0.c, warshall.c, main.c: 642 fix gcc warnings, mostly for 64-bit platform 643 644 * aclocal.m4: 645 add macros for checking ctags/etags, e.g., to work with NetBSD pkgsrc 646 647 * makefile.in: add etags/TAGS if available 648 649 * configure.in: add configure check for actual ctags and etags programs 650 651 * package/debian/copyright: add copyright notices for non-PD files 652 653 * package/debian/changelog: 654 incorporated scripts in upstream to use for test-builds 655 656 * makefile.in: drop mkdirs.sh, just use "mkdir -p" 657 658 * AUTHORS: nicknames for some contributors (see CHANGES for details) 659 660 * package/byacc.spec: RPM file for byacc 661 662 * VERSION: bump to 2010/06/06 663 664 * aclocal.m4: add copyright notice, from "my-autoconf" macros 665 http://invisible-island.net/autoconf/autoconf.html 666 667 * package/RCS, package/debian/RCS, package/debian/source/RCS, package/pkgsrc/RCS: 668 PERMIT FILE 669 670 * aclocal.m4: resync with my-autoconf. summary of changes: 671 a) CF_ADD_CFLAGS, etc., improve quoting of ifelse() parameter 672 b) CF_DISABLE_ECHO, change indent-convention for substituted makefile 673 c) CF_GCC_VERSION, ignore stderr 674 d) CF_GCC_WARNINGS, adjust options to work with c89 wrapper of gcc 675 6762010-04-20 Thomas E. Dickey <tom@invisible-island.net> 677 678 * package/debian/changelog, package/debian/compat, package/debian/control, package/debian/copyright, package/debian/docs, package/debian/postinst, package/debian/prerm, package/debian/rules, package/debian/watch: 679 scripts from Debian package 680 6812010-02-16 Thomas E. Dickey <tom@invisible-island.net> 682 683 * yacc.1: document -P and bison-extensions 684 685 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 686 regen 687 688 * output.c: implement %pure-parser 689 690 * skeleton.c: 691 implement %pure-parser, like bison. To help with this, changed the stack 692 variables, putting them into a struct. 693 694 * reader.c: implement %pure-parser 695 696 * defs.h: modified skeleton to support %pure-parser feature 697 698 * main.c: add -P option to set %pure-parser 699 700 * output.c: 701 make -r and -p options work together. The -r option splits the generated 702 parser into code/table files; for this case we cannot use static data. 703 Also, we have to repeat the #define's used for prefix (-p) as well as the 704 redeclaration of yyparse(). Finally, allow any of the prefixed names to 705 be overridden, e.g., by passing a -D option to the compiler. Make that 706 a little more readable by putting a blank line before each chunk. 707 708 * defs.h: add definitions for %pure-parser 709 710 * skeleton.c: 711 put blank line before/after the redeclaration of yyparse() 712 713 * output.c: allow for other program redefining yylex() 714 715 * skeleton.c: 716 split-off xdecls[] array, to move declaration of yyparse() after #define's 717 718 * defs.h: split-out xdecls[] 719 720 * VERSION: bump 721 722 * configure: regen 723 724 * aclocal.m4: add CF_REMOVE_DEFINE, needed by CF_ADD_CFLAGS 725 726 * aclocal.m4: 727 resync with my-autoconf CF_ADD_CFLAGS and CF_DISABLE_ECHO changes. 728 7292010-02-16 Ostap.Cherkashi 730 731 * skeleton.c: fix a memory leak in the generated skeleton 732 7332010-01-01 Thomas E. Dickey <tom@invisible-island.net> 734 735 * package/debian/source/format: scripts from Debian package 736 7372009-12-31 Thomas E. Dickey <tom@invisible-island.net> 738 739 * config.guess: 2009-12-30 740 741 * config.sub: 2009-12-31 742 7432009-10-27 Thomas E. Dickey <tom@invisible-island.net> 744 745 * VERSION: 20091027 746 747 * output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c, verbose.c, main.c, reader.c: 748 strict compiler warnings 749 7502009-10-26 Thomas E. Dickey <tom@invisible-island.net> 751 752 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 753 resync 754 755 * main.c, defs.h: introduce some typedefs for portability, etc. 756 757 * makefile.in: 758 don't remove "*.log" in mostlyclean rule since it interferes with regression 759 script. 760 761 * configure: regen 762 763 * aclocal.m4: resync with my-autoconf 764 7652009-08-25 Thomas E. Dickey <tom@invisible-island.net> 766 767 * config.guess, config.sub: 2009-08-19 768 7692009-02-21 Thomas E. Dickey <tom@invisible-island.net> 770 771 * VERSION: bump 772 773 * output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25 774 7752008-12-26 Thomas E. Dickey <tom@invisible-island.net> 776 777 * configure: regen with autoconf-2.52 (patched) 778 7792008-12-25 Thomas E. Dickey <tom@invisible-island.net> 780 781 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c: 782 regenerated 783 7842008-12-24 Thomas E. Dickey <tom@invisible-island.net> 785 786 * VERSION: bump 787 788 * skeleton.c: 789 remove ifdef-lint from goto yyerrlab, to quiet gcc warning 790 7912008-11-26 Thomas E. Dickey <tom@invisible-island.net> 792 793 * verbose.c, main.c, defs.h, mkpar.c, reader.c: 794 completed implementation of "%expect" (report by Perry E. Metzger). 795 add "%expect-rr", which is (unlike bison) allowable in LALR parsers. 796 7972008-11-24 Thomas E. Dickey <tom@invisible-island.net> 798 799 * closure.c, defs.h, error.c, graph.c, lalr.c, lr0.c, main.c, mkpar.c, output.c, reader.c, skeleton.c, symtab.c, verbose.c, warshall.c: 800 change indent-style (request by Perry E. Metzger) 801 8022008-08-27 Thomas E. Dickey <tom@invisible-island.net> 803 804 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 805 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro 806 807 * VERSION: bump 808 809 * skeleton.c: 810 better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro 811 812 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, skeleton.c: 813 change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's. 814 815 * configure: regen'd 816 817 * configure.in: add -Wwrite-strings to warnings 818 819 * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c: 820 add YYPARSE_PARAM and YYPARSE_PARAM_TYPE 821 822 * skeleton.c: 823 add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features. 824 825 * main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c: 826 fixes for gcc -Wwrite-strings 827 828 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 829 generate the tables as static-const (this is an interface change) 830 831 * output.c: realign columns in start_table() 832 833 * output.c: 834 generate the tables as static-const (this is an interface change) 835 836 * output.c: reorder functions to eliminate forward-references 837 838 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 839 remove 'register' keywords 840 8412008-08-26 Thomas E. Dickey <tom@invisible-island.net> 842 843 * warshall.c, verbose.c, symtab.c, skeleton.c, reader.c, output.c, mkpar.c, main.c, lr0.c, lalr.c, graph.c, error.c, closure.c: 844 remove 'register' keywords 845 8462008-08-25 Thomas E. Dickey <tom@invisible-island.net> 847 848 * test/ftp.tab.c: regen'd 849 850 * reader.c: 851 improve the left-curly fix by testing after blanks, to avoid having a 852 " {" at the beginning of a line. 853 854 * test/error.tab.c, test/grammar.tab.c: regen'd 855 856 * output.c: 857 move the remaining newline-counting into write_XXX functions. 858 859 * test/calc.tab.c: regen'd 860 861 * output.c: 862 simplify part of the output_file formatting using new functions, e.g., 863 start_int_table(), output_newline(). 864 865 * reader.c: 866 modify copy_action() to indent the first character, it if is is left-curly 867 brace. That makes the output look more like the original, as well as makes 868 it simpler to edit (not confuse editors which look for a left-curly in the 869 first column as if it were the beginning of a function). 870 871 * skeleton.c: minor fixes to avoid gcc -Wconversion warnings 872 873 * output.c: align the #define's produced for "-p" option 874 875 * test/run_test.sh: use the "-p" option for better coverage. 876 877 * output.c: simplify output_prefix() with new define_prefixed() 878 879 * skeleton.c: include string.h, for memset() 880 change stack size to unsigned to fix gcc -Wconversion warnings. 881 882 * VERSION: bump to 2008/8/25 883 884 * makefile.in: add dependency on VERSION file. 885 8862008-08-24 Thomas E. Dickey <tom@invisible-island.net> 887 888 * VERSION: bump 889 890 * lalr.c: improved memory-leak checking by freeing data in includes[] 891 892 * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c: 893 update to match skeleton-change 894 895 * configure: regen'd 896 897 * skeleton.c: Add fix for stack discussed 898 http://undeadly.org/cgi?action=article&sid=20080708155228 899 and applied 900 http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29 901 902 * aclocal.m4: resync with my-autoconf (no major changes) 903 9042008-07-24 Thomas E. Dickey <tom@invisible-island.net> 905 906 * package/pkgsrc/Makefile, package/pkgsrc/distinfo: 907 scripts from NetBSD pkgsrc, for test-builds 908 9092008-03-14 Thomas E. Dickey <tom@invisible-island.net> 910 911 * config.sub: update to 2008-03-08 912 913 * config.guess: update to 2008-03-12 914 9152007-05-09 Thomas E. Dickey <tom@invisible-island.net> 916 917 * main.c: close graph, verbose files if opened, on exit. 918 919 * main.c: 920 audit memory leaks - valgrind reported some memory still in use on exit. 921 922 * lalr.c, output.c, reader.c, mkpar.c, lr0.c: 923 add hook for auditing memory leaks 924 925 * defs.h: add hooks for auditing memory leaks 926 927 * configure: regen'd 928 929 * configure.in: 930 use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind, 931 --with-dbmalloc and --with-dmalloc 932 933 * aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND 934 935 * aclocal.m4: improve version-checking in CF_GCC_VERSION 936 rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro 937 938 * VERSION: 2007/5/9 939 940 * main.c: file_prefix did not always have a trailing null. 941 9422007-03-25 Thomas E. Dickey <tom@invisible-island.net> 943 944 * mkdirs.sh: improved version for "make -j" 945 9462006-12-22 Thomas E. Dickey <tom@invisible-island.net> 947 948 * config.guess: 2006/12/22 949 9502006-12-08 Thomas E. Dickey <tom@invisible-island.net> 951 952 * config.sub: 2006/12/08 953 9542005-08-13 Thomas E. Dickey <tom@invisible-island.net> 955 956 * main.c: add -V to usage message 957 958 * makefile.in: remove -t option from ctags 959 960 * VERSION: 2005/8/13 961 9622005-08-13 schmitz 963 964 * main.c: Sylvain Schmitz: 965 modify the '-o' option to work like bison's, which sets the file-prefix. 966 9672005-08-13 Matt.Kraai 968 969 * output.c: 970 Debian #322858 (don't close union_file, which contained data). 971 This feature is used in groff. 972 9732005-08-13 Thomas E. Dickey <tom@invisible-island.net> 974 975 * configure: regenerated 976 977 * aclocal.m4: improve checks for Intel compiler warnings 978 9792005-06-25 Thomas E. Dickey <tom@invisible-island.net> 980 981 * config.sub: 2005/6/2 982 983 * config.guess: 2005/5/27 984 9852005-05-05 Thomas E. Dickey <tom@invisible-island.net> 986 987 * defs.h: add a fallback for GCC_UNUSED 988 9892005-05-04 Thomas E. Dickey <tom@invisible-island.net> 990 991 * makefile.in: add "." to include-path to pickup config.h 992 993 * reader.c: 994 apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617. 995 996 * output.c: 997 correct a limit check in pack_vector() - report/analysis by William Evans 998 999 * main.c: 1000 exit after printing version. Otherwise "yacc -V" will exit with an erro 1001 after printing the usage message. 1002 1003 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 1004 regenerated after skeleton-changes 1005 1006 * skeleton.c: replace a few -1's with YYEMPTY 1007 1008 * skeleton.c: 1009 delete yynewerror (no one uses it any more, and it just makes compiler warnings) 1010 1011 * skeleton.c: adapt yygrowstack() and related definitions from FreeBSD 1012 1013 * test/run_test.sh: 1014 filter out lines with YYPATCH, since that will change with each update 1015 1016 * yacc.1: add -V option 1017 1018 * main.c: add -V option to print the version. 1019 simplify option-parsing by moving the duplicate logic for setting flags into 1020 new function setflag(). 1021 1022 * skeleton.c: 1023 move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers). 1024 add YYPATCH here so it can be tested by applications. 1025 1026 * defs.h: 1027 add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and 1028 YYPATCH symbols. 1029 1030 * lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c, verbose.c, graph.c, reader.c, main.c, symtab.c: 1031 reduce externs by making static the procedures that are not referenced outside 1032 the module in which they are defined. 1033 1034 * makefile.in: 1035 the VERSION file holds the patch-date. Define YYPATCH, so this will be 1036 compiled into the skeleton. 1037 1038 * VERSION: patch-level for byacc 1039 1040 * main.c: 1041 add "-o" to usage message. It is too long for a single line; rewrite usage() 1042 to show one option per line. 1043 10442005-05-03 Thomas E. Dickey <tom@invisible-island.net> 1045 1046 * main.c: add -o option, to work with scripts that assume bison. 1047 simplify create_file_names() with a macro. 1048 simplify done() with a macro. 1049 adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by 1050 onintr(), do not flush output via exit(), but use _exit() instead. 1051 1052 * defs.h: remove unnecessary externs for main.c 1053 1054 * yacc.1: add -o option 1055 1056 * graph.c: remove unused parameter 1057 1058 * mkpar.c, defs.h, reader.c: 1059 add support for "%expect", a bison feature from FreeBSD sources 1060 1061 * lr0.c, reader.c, main.c, skeleton.c, graph.c, symtab.c, closure.c, mkpar.c, lalr.c, error.c, warshall.c, verbose.c, output.c: 1062 indent'd 1063 1064 * configure: regenerated for 2005/5/5 1065 1066 * aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER) 1067 10682005-04-27 schmitz 1069 1070 * defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1: 1071 Sylvain Schmitz <schmitz@i3s.unice.fr>: 1072 add graphical output of the LALR(1) automaton for graphviz, 1073 associated with command-line option `-g' 1074 10752005-04-16 Thomas E. Dickey <tom@invisible-island.net> 1076 1077 * config.sub: 2005/2/10 1078 1079 * config.guess: 2005/3/24 1080 10812005-04-13 Thomas E. Dickey <tom@invisible-island.net> 1082 1083 * package/pkgsrc/PLIST: scripts from NetBSD pkgsrc, for test-builds 1084 10852005-03-21 Thomas E. Dickey <tom@invisible-island.net> 1086 1087 * package/pkgsrc/DESCR: scripts from NetBSD pkgsrc, for test-builds 1088 10892004-03-28 Thomas E. Dickey <tom@invisible-island.net> 1090 1091 * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c: 1092 updates due to adding yyparse() prototype 1093 1094 * configure: RCS_BASE 1095 1096 * configure.in: 1097 add AC_ARG_PROGRAM to make --program-prefix, etc., work. 1098 1099 * makefile.in: first cut of script to support --program-prefix 1100 1101 * configure.in: 1102 reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52 1103 1104 * makefile.in: modify so DESTDIR works 1105 1106 * makefile.in: use EXEEXT and OBJEXT 1107 1108 * configure.in: use CF_PROG_EXT 1109 generate a config.h 1110 1111 * defs.h: make this use the generated config.h 1112 1113 * skeleton.c: add a forward-reference for yyparse() 1114 1115 * aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT 1116 1117 * yacc.1: remove the discussion of TMPDIR since it is obsolete 1118 1119 * skeleton.c: fix a couple of minor compiler-warnings in the skeleton 1120 1121 * defs.h: remove action_file_name, etc., since we use tmpfile() now. 1122 1123 * main.c: 1124 use tmpfile() for opening the working files. This quiets a warning 1125 advising the use of mkstemp(). 1126 1127 * output.c: 1128 Do not close temporary-files here, since they are opened with tmpfile(). 1129 Just rewind them, and they're ready to read back the data stored in them. 1130 1131 * test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE 1132 1133 * makefile.in: turn on "make check" rule 1134 1135 * test/calc.output, test/run_test.sh, test/calc.tab.h: RCS_BASE 1136 1137 * test/ftp.tab.c: yyparse() is now yyparse(void) 1138 1139 * test/calc.tab.c: RCS_BASE 1140 1141 * test/error.tab.c: yyparse() is now yyparse(void) 1142 1143 * test/README: RCS_BASE 1144 1145 * yacc.1: various typography fixes prompted by Debian #100947 1146 1147 * aclocal.m4, makefile.in, configure.in: RCS_BASE 1148 1149 * README: updated to note that this is not the original 1150 11512004-03-24 Thomas E. Dickey <tom@invisible-island.net> 1152 1153 * test/grammar.y: RCS_BASE 1154 11552004-02-23 Thomas E. Dickey <tom@invisible-island.net> 1156 1157 * config.sub: RCS_BASE 1158 11592004-02-17 Thomas E. Dickey <tom@invisible-island.net> 1160 1161 * config.guess: RCS_BASE 1162 11632003-11-29 Thomas E. Dickey <tom@invisible-island.net> 1164 1165 * install-sh: improved quoting 1166 11672002-06-29 Thomas E. Dickey <tom@invisible-island.net> 1168 1169 * mkdirs.sh: 1170 don't use character range, since some locales don't work as expected 1171 11722001-06-22 Thomas E. Dickey <tom@invisible-island.net> 1173 1174 * install-sh: RCS_BASE 1175 11762000-11-20 Thomas E. Dickey <tom@invisible-island.net> 1177 1178 * test/calc.y: RCS_BASE 1179 1180 * test/code_calc.y, test/pure_calc.y: copy of calc.y 1181 1182 * vmsbuild.com: original version 1183 11842000-02-23 Thomas E. Dickey <dickey@invisible-island.net> 1185 1186 * test/RCS, RCS: PERMIT FILE 1187 11882000-02-14 Thomas E. Dickey <tom@invisible-island.net> 1189 1190 * main.c: fix for VMS port - making pathname for temp-file 1191 1192 * descrip.mms: original version 1193 11942000-02-13 Thomas E. Dickey <tom@invisible-island.net> 1195 1196 * defs.h, verbose.c, reader.c, main.c, skeleton.c, warshall.c, symtab.c, closure.c, mkpar.c, lalr.c, lr0.c, output.c, error.c: 1197 ansify 1198 11991999-11-30 Thomas E. Dickey <tom@invisible-island.net> 1200 1201 * mkdirs.sh: RCS_BASE 1202 12031995-01-01 Thomas E. Dickey <tom@invisible-island.net> 1204 1205 * config_h.in: RCS_BASE 1206 12071993-12-23 unknown 1208 1209 * README.DOS, main.c: MSDOS-port 1210 12111993-12-22 unknown 1212 1213 * reader.c, defs.h: MSDOS-port 1214 12151993-03-02 unknown 1216 1217 * README: original version 1218 12191993-02-22 unknown 1220 1221 * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h, test/error.output, test/error.tab.c, test/error.tab.h: 1222 RCS_BASE 1223 1224 * skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES: 1225 original version 1226 12271992-10-12 unknown 1228 1229 * yacc.1: original version 1230 12311992-10-11 unknown 1232 1233 * defs.h: original version 1234 12351991-01-20 unknown 1236 1237 * mkpar.c, verbose.c: original version 1238 12391991-01-14 unknown 1240 1241 * lr0.c, Makefile, Makefile.old: original version 1242 12431990-07-16 unknown 1244 1245 * NEW_FEATURES: original version 1246 12471990-06-03 unknown 1248 1249 * ACKNOWLEDGEMENTS: original version 1250 12511990-02-05 unknown 1252 1253 * symtab.c, lalr.c, error.c: original version 1254 12551990-01-16 Thomas E. Dickey <tom@invisible-island.net> 1256 1257 * test/code_error.y, test/pure_error.y: RCS_BASE 1258 12591990-01-16 unknown 1260 1261 * test/error.y: RCS_BASE 1262 12631989-11-22 unknown 1264 1265 * NO_WARRANTY: original version 1266 12671989-09-23 unknown 1268 1269 * test/ftp.y: RCS_BASE 1270 1271