Commit Graph

  • e569a4351c Added bison.simple' to list of files removed by make distclean'. Jesse Thilo 1999-02-16 11:05:16 +00:00
  • 9eceb6c6d3 Defined locations of parser files in config.h instead of Makefile. Jesse Thilo 1999-02-12 15:18:12 +00:00
  • 315f05ae6c Removed inappropriate use of $< macro. Jesse Thilo 1999-02-09 03:51:09 +00:00
  • f35167cb24 # Jesse Thilo 1999-02-05 15:06:29 +00:00
  • 8cd0d0f2ce Add `po' directory skeleton. Jesse Thilo 1999-02-05 15:05:15 +00:00
  • f51dbca105 #updated. GNU_1_26 Jesse Thilo 1999-01-27 03:35:18 +00:00
  • 97088b85c5 Document help-bison list. Jesse Thilo 1999-01-27 03:34:47 +00:00
  • 8d57fff0a9 Add check for mkstemp(). Jesse Thilo 1999-01-27 03:26:56 +00:00
  • cbbe75051d #Remove static from dummy(). Jesse Thilo 1999-01-20 22:56:40 +00:00
  • 2686a6e713 Hush a few compiler warnings. Jesse Thilo 1999-01-20 22:55:06 +00:00
  • a693bf18ef Add tryclose(), which verifies that fclose was successful. Hush a couple of compiler warnings. Jesse Thilo 1999-01-20 22:53:23 +00:00
  • 29620c5d9c ChangeLog is now automatically generated. Include the old version as OChangeLog. Jesse Thilo 1999-01-20 22:45:49 +00:00
  • 2d97f5ccb7 Fix formatting glitch. Jesse Thilo 1999-01-14 15:08:17 +00:00
  • c49a8e71ce Update FSF address. Jesse Thilo 1999-01-14 14:58:38 +00:00
  • c9c4ffaa5d Don't define PACKAGE here, since config.h defines it. Jesse Thilo 1999-01-08 21:17:26 +00:00
  • 74a53b4b48 Update copyright date. Jesse Thilo 1998-12-30 06:54:16 +00:00
  • a889d44ce2 Ditch sprintf to statically-sized buffers in fatal/warn functions in favor of output directly to stderr (avoids buffer overruns). Jesse Thilo 1998-12-30 06:29:42 +00:00
  • e6011337c3 Some checks for premature EOF. Jesse Thilo 1998-12-30 06:07:25 +00:00
  • d2729d44ab Use prototypes if the compiler understands them. Jesse Thilo 1998-12-30 05:27:11 +00:00
  • 4be07551f5 Document 1.26 highlights. Jesse Thilo 1998-12-30 05:24:36 +00:00
  • 0308924772 Delete comment "consider using @set for edition number, etc..." since we now are doing so. Jesse Thilo 1998-12-30 05:24:00 +00:00
  • 3202e65182 Require Automake 1.3 or later. Jesse Thilo 1998-12-30 05:23:22 +00:00
  • bd088c911c Honor TMPDIR on Unix hosts. Use prototypes if the compiler understands them. Jesse Thilo 1998-12-30 05:22:02 +00:00
  • 118fb2053c Fix a couple of buffer overrun bugs. Use prototypes if the compiler understands them. Jesse Thilo 1998-12-30 05:21:02 +00:00
  • 7bb4d91420 Include unistd.h and ctype.h. Use #ifdef instead of #if for NLS symbols. Jesse Thilo 1998-12-30 05:19:09 +00:00
  • bd2a2393ed Use VERSION symbol from automake for version number. Jesse Thilo 1998-12-29 21:54:26 +00:00
  • bd773d7399 Add info dir entry. Jesse Thilo 1998-11-28 21:44:16 +00:00
  • de4d0c7525 Distribute original version of simple parser (bison.s1), not built version (bison.simple). Jesse Thilo 1998-11-28 21:31:37 +00:00
  • 792d6b7cda # Jesse Thilo 1998-11-28 21:30:44 +00:00
  • df1af54c81 Let automake put version number into documentation. Jesse Thilo 1998-11-28 21:30:44 +00:00
  • c55c697eb1 Add non-RCS files from /gd/gnu/bison. Jesse Thilo 1998-11-26 00:44:18 +00:00
  • 9e4e995adb Document the BISON_HAIRY and BISON_SIMPLE variables. Jesse Thilo 1998-11-26 00:14:37 +00:00
  • 604cc97b12 # Jesse Thilo 1998-11-25 23:52:35 +00:00
  • 5b2a15fd2f # Jesse Thilo 1998-11-25 23:40:54 +00:00
  • f310d2132a Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1). Jesse Thilo 1998-11-25 23:18:48 +00:00
  • 6f82addcd5 Build version.c automatically. Jesse Thilo 1998-11-25 23:17:35 +00:00
  • 4562bb7764 # Jesse Thilo 1998-11-25 23:17:05 +00:00
  • 341a3cfb10 Add AUTHORS file. Jesse Thilo 1998-11-25 22:13:23 +00:00
  • 5b2e3c8982 Fix token numbering (used to start at 258, not 257). Jesse Thilo 1998-11-25 22:13:09 +00:00
  • d968a24b6e Include config.h. Jesse Thilo 1998-11-25 22:12:45 +00:00
  • 6f515a274e Clean up some formatting. Jesse Thilo 1998-11-25 22:11:01 +00:00
  • 5c9ba6311a Update bug report address. Jesse Thilo 1998-11-25 22:09:19 +00:00
  • bc77bc1cd2 Rename bison.simple to bison.s1 (bison.simple is then built from bison.s1). Jesse Thilo 1998-11-25 21:55:23 +00:00
  • 11443f4acf Get latest copies of alloca.c, getopt.c, getopt.h, getopt1.c from gnu.org. Jesse Thilo 1998-11-25 21:40:21 +00:00
  • ab1375029c Add automake stuff. Jesse Thilo 1998-11-25 21:36:05 +00:00
  • b059f9990f # Jesse Thilo 1998-11-25 21:36:05 +00:00
  • 70811b851d Explain better why to make a pure parser. GNU_ORIG Richard M. Stallman 1998-05-05 22:18:45 +00:00
  • e0672a6170 (openfiles): [_WIN32 && !__CYGWIN32__] Use TEMP or Temp to find a temporary directory, if possible. Do not unlink files while they are open. Richard M. Stallman 1998-01-05 00:25:39 +00:00
  • aba5ca6dea (stack_offset;): Change some warni to warns. Richard M. Stallman 1997-08-25 19:40:12 +00:00
  • b0180c64a5 (literalchar): Use warns, not warni. Richard M. Stallman 1997-08-25 19:38:57 +00:00
  • 1099cdc0aa (bison_version): New variable. (dist): Use that variable. (bison.s1): Substitute the Bison version into bison.simple. Richard M. Stallman 1997-06-28 19:43:05 +00:00
  • 7d369561eb Add a Bison version comment. Richard M. Stallman 1997-06-28 19:41:24 +00:00
  • 319ce53328 (fatal, warn, berror): Use program_name. Richard M. Stallman 1997-06-28 19:31:35 +00:00
  • 3d05a5de82 (fatal, warn, berror): Make error messages standard. (toomany): Improve error message text. Richard M. Stallman 1997-06-18 17:09:27 +00:00
  • 7612000cb0 new.h renamed to alloc.h. Richard M. Stallman 1997-06-18 06:40:45 +00:00
  • 5ce94c2964 (literalchar): Fix the code for escaping \, " and '. Richard M. Stallman 1997-05-24 08:04:42 +00:00
  • 70ddf8972a Use malloc, if using alloca is troublesome. (YYSTACK_USE_ALLOCA): New flag macro. Define it for some systems and compilers. (YYSTACK_ALLOC): New macro. (yyparse): Use YYSTACK_ALLOC to allocate stack. If it was malloc'd, free it. Richard M. Stallman 1997-05-17 18:44:24 +00:00
  • 3054a9cdfb (alloca) [__hpux]: Always define as __builtin_alloca. Richard M. Stallman 1997-04-23 18:01:25 +00:00
  • 009b94d421 [__hpux]: Include alloca.h (right for HPUX 10) instead of declaring alloca (right for HPUX 9). Richard M. Stallman 1997-04-22 22:23:48 +00:00
  • 5e02f2ada1 (__yy_memcpy): Declare arg `count' as unsigned int. (yyparse): Cast third arg to __yy_memcpy to unsigned int. Richard M. Stallman 1997-04-22 22:19:12 +00:00
  • 8f047e5ecf [__STDC__ or _MSC_VER]: Declare calloc and realloc to return void *. Richard M. Stallman 1997-01-03 01:24:27 +00:00
  • 01aed9a741 (dist): Explicitly check for symlinks, and copy them. Richard M. Stallman 1997-01-02 07:13:01 +00:00
  • d36e30d8c2 [_MSC_VER]: Include stdlib.h and process.h. [_MSC_VER] (getpid): Define as macro--translate it to _getpid. Richard M. Stallman 1997-01-02 07:03:45 +00:00
  • 42f95d63c2 (main): Return FAILURE as a value. (printable_version): Declare arg as int, not char. Richard M. Stallman 1997-01-02 06:59:56 +00:00
  • 6a5705cfe8 [_MSC_VER] (XPFILE, XPFILE1): Define, if not already defined. Richard M. Stallman 1996-12-19 08:24:56 +00:00
  • 1b1816515e (yyparse): If __GNUC__ and YYPARSE_PARAM are both defined, declare yyparse to have a void * argument. Paul Eggert 1996-12-18 02:18:10 +00:00
  • 2f9040d9ba (nbits): Add some casts. Richard M. Stallman 1996-12-17 06:20:27 +00:00
  • 32d5c018d8 Test _MSDOS as well as _MSDOS_. Richard M. Stallman 1996-08-12 22:17:15 +00:00
  • b6287af6f6 [__sun && __i386]: Include alloca.h. Richard M. Stallman 1996-07-31 19:18:57 +00:00
  • 444fbf65fb Comment change. Richard M. Stallman 1996-07-30 04:37:37 +00:00
  • db245ba812 Test _MSDOS_, not MSDOS. Richard M. Stallman 1996-07-30 04:37:16 +00:00
  • a083fbbf22 Insert `_' macro around many string constants. Richard M. Stallman 1996-06-01 22:10:15 +00:00
  • 2934057149 Insert `_' macro around many string constants. Richard M. Stallman 1996-06-01 22:07:27 +00:00
  • f2d78a995d [HAVE_LOCALE_H]: Include locale.h. [! HAVE_LOCALE_H] (setlocale): Define as no-op. [ENABLE_NLS]: Include libintl.h. [ENABLE_NLS] (gettext): Define. [! ENABLE_NLS] (bintextdomain, textdomain, _): Consolation definitions. (N_, PACKAGE, LOCALEDIR): New macros. Richard M. Stallman 1996-06-01 22:06:24 +00:00
  • 5049f457bf Initial revision Richard M. Stallman 1996-06-01 22:00:33 +00:00
  • 55bcd09a24 (allocate.o): Define target explicitly. Richard M. Stallman 1996-06-01 22:00:14 +00:00
  • ac89deb718 (CFLAGS): Set to @CFLAGS@. (LDFLAGS): Set to @LDFLAGS@. (configure): Run autoconf only if preceding `cd' succeeds. (bison.s1): Redirect output to temporary file then move the temporary to the target, rather than redirecting directly to bison.s1. (clean): Remove config.status and config.log. (distclean): Don't remove config.status here. Richard M. Stallman 1996-06-01 21:53:20 +00:00
  • 4cf401b28e (__yy_memcpy) [__cplusplus]: Reorder declarations of variables f and t. Richard M. Stallman 1996-05-12 22:17:15 +00:00
  • 687621a5c5 (dist): Don't use $(srcdir). Richard M. Stallman 1996-05-11 19:20:49 +00:00
  • c245d0d38d (__yy_memcpy): Really reorder the args, as was supposedly done on Feb 14 1995. (yyparse): Calls changed accordingly. Richard M. Stallman 1996-05-11 19:19:55 +00:00
  • ba2e357c0d (output_rule_data): Test YYERROR_VERBOSE in the conditional around the definition of ttyname. Richard M. Stallman 1996-01-27 08:26:26 +00:00
  • a8a7082ea6 Fix line numbers in #line commands. Richard M. Stallman 1995-12-29 04:29:18 +00:00
  • 30f5b1ccd3 (YYPARSE_PARAM_DECL): In C++, make it always null. (YYPARSE_PARAM_ARG): New macro. (yyparse): Use YYPARSE_PARAM_ARG. Richard M. Stallman 1995-12-27 12:43:49 +00:00
  • 23ae3b48e4 Fixed update date Daniel Hagerty 1995-11-29 01:26:22 +00:00
  • 931c751390 Describe literal string tokens, %raw, %no_lines, %token_table. Richard M. Stallman 1995-11-29 01:22:34 +00:00
  • 333ccc01a4 Add new options. Richard M. Stallman 1995-10-16 14:12:23 +00:00
  • a73039ebb7 Version 1.25. Richard M. Stallman 1995-10-16 14:12:01 +00:00
  • df8878c59b *** empty log message *** Richard M. Stallman 1995-10-16 14:10:22 +00:00
  • 6dd6d21286 Added -n, -k, and -raw switches. (noparserflag, toknumflag, rawtoknumflag): New variables. Richard M. Stallman 1995-10-15 20:22:50 +00:00
  • 984a8a8a40 (SALIAS): New #define for adding aliases to %token. (struct bucket): Added `alias' field. Richard M. Stallman 1995-10-15 20:19:02 +00:00
  • d129c2c0e7 (reduce_grammar): Revise error message. (print_notices): Remove final `.' from error message. Richard M. Stallman 1995-10-15 20:18:29 +00:00
  • 943819bf46 (reader_output_yylsp): New function. (readgram): Use #if 0' around code that accepted %command inside grammar rules: The documentation doesn't allow it, and it will fail since the %command processors scan for the next %. (parse_token_decl): Extended the %token declaration to allow a multi-character symbol as an alias. (parse_thong_decl): New function. (read_declarations): Added %thong declarations. (read_declarations): Handle NOOP to deal with allowing % declarations as another means to specify the flags. (readgram): Allow %prec prior to semantics embedded in a rule. (skip_to_char, read_declarations, copy_definition) (parse_token_decl, parse_start_decl, parse_type_decl) (parse_assoc_decl, parse_union_decl, parse_expect_decl) (get_type_name, copy_guard, copy_action, readgram) (get_type, packsymbols): Revised most error messages. Changed fatal' to `warnxxx' to avoid aborting for error. Revised and use multiple warnxxx functions to avoid using VARARGS1. (read_declarations): Improve the error message for an invalid character. Do not abort. (read_declarations, copy_guard, copy_action): Use printable_version to avoid unprintable characters in printed output. (parse_expect_decl): Error if argument to %expect exceeds 10 digits. (parse_token_decl, parse_assoc_decl, parse_type_decl, get_type): Allow the type of a non-terminal can be given more than once, as long as all specifications give the same type. Richard M. Stallman 1995-10-15 20:17:23 +00:00
  • e372befafa (output_headers, output_trailers, output, output_gram) (output_rule_data): Implement noparserflag variable. Implement toknumflag variable. (output): Call reader_output_yylsp to output LTYPESTR. Richard M. Stallman 1995-10-15 20:10:00 +00:00
  • a98ad01e46 (main): If reader sees an error, don't process the grammar. (fatals): Updated to not use VARARGS1. (printable_version, int_to_string, warn, warni, warns, warnss) (warnsss): New error reporting functions. Avoid abort for error. Richard M. Stallman 1995-10-15 20:08:17 +00:00
  • 7da4d69f8a Added THONG and NOOP for alias processing. Added SETOPT for the new code that allows setting options with %flags. Richard M. Stallman 1995-10-15 20:07:08 +00:00
  • a44c227773 Include getopt.h. Add some extern decls. (safegetc): New function to deal with EOF gracefully. (literalchar); new function to deal with reading \ escapes. (lex): Use literalchar. (lex): Implemented "..." tokens. (literalchar, lex, parse_percent_token): Made tokenbuffer always contain the token. This includes growing the token buffer while reading an integer. (parse_percent_token): Replaced if-else statement with percent_table. (parse_percent_token): Added % declarations as another way to specify the flags -n, -l, and -r. Also added hooks for -d, -k, -y, -v, -t, -p, -b, -o, but implementation requires major changes to files.c. (lex) Retain in the incoming stream a character following an incorrect '/'. (skip_white_space, lex): Revised most error messages and changed fatal to warn to avoid aborting. (percent_table): Added %thong declarations. Richard M. Stallman 1995-10-15 20:06:23 +00:00
  • 9f69021105 Comment changes. Richard M. Stallman 1995-10-15 20:02:41 +00:00
  • 28683c5444 (openfiles, open_extra_files, done): Add faction flag and actfile file. Handle noparserflag. Both for -n switch. Richard M. Stallman 1995-10-15 20:02:02 +00:00
  • b65534e5a4 (resolve_sr_conflict): Remove use of alloca. Richard M. Stallman 1995-10-15 20:01:09 +00:00
  • 95e742f778 *** empty log message *** Jim Meyering 1995-06-01 13:54:23 +00:00