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