Commit Graph

96 Commits

Author SHA1 Message Date
Richard M. Stallman
c245d0d38d (__yy_memcpy): Really reorder the args, as was supposedly done on Feb 14 1995.
(yyparse): Calls changed accordingly.
1996-05-11 19:19:55 +00:00
Richard M. Stallman
ba2e357c0d (output_rule_data): Test YYERROR_VERBOSE in the conditional
around the definition of ttyname.
1996-01-27 08:26:26 +00:00
Richard M. Stallman
a8a7082ea6 Fix line numbers in #line commands. 1995-12-29 04:29:18 +00:00
Richard M. Stallman
30f5b1ccd3 (YYPARSE_PARAM_DECL): In C++, make it always null.
(YYPARSE_PARAM_ARG): New macro.
(yyparse): Use YYPARSE_PARAM_ARG.
1995-12-27 12:43:49 +00:00
Daniel Hagerty
23ae3b48e4 Fixed update date 1995-11-29 01:26:22 +00:00
Richard M. Stallman
931c751390 Describe literal string tokens, %raw, %no_lines, %token_table. 1995-11-29 01:22:34 +00:00
Richard M. Stallman
333ccc01a4 Add new options. 1995-10-16 14:12:23 +00:00
Richard M. Stallman
a73039ebb7 Version 1.25. 1995-10-16 14:12:01 +00:00
Richard M. Stallman
df8878c59b *** empty log message *** 1995-10-16 14:10:22 +00:00
Richard M. Stallman
6dd6d21286 Added -n, -k, and -raw switches.
(noparserflag, toknumflag, rawtoknumflag): New variables.
1995-10-15 20:22:50 +00:00
Richard M. Stallman
984a8a8a40 (SALIAS): New #define for adding aliases to %token.
(struct bucket): Added `alias' field.
1995-10-15 20:19:02 +00:00
Richard M. Stallman
d129c2c0e7 (reduce_grammar): Revise error message.
(print_notices): Remove final `.' from error message.
1995-10-15 20:18:29 +00:00
Richard M. Stallman
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.
1995-10-15 20:17:23 +00:00
Richard M. Stallman
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.
1995-10-15 20:10:00 +00:00
Richard M. Stallman
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.
1995-10-15 20:08:17 +00:00
Richard M. Stallman
7da4d69f8a Added THONG and NOOP for alias processing.
Added SETOPT for the new code that allows setting options with %flags.
1995-10-15 20:07:08 +00:00
Richard M. Stallman
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.
1995-10-15 20:06:23 +00:00
Richard M. Stallman
9f69021105 Comment changes. 1995-10-15 20:02:41 +00:00
Richard M. Stallman
28683c5444 (openfiles, open_extra_files, done): Add faction flag
and actfile file.  Handle noparserflag.  Both for -n switch.
1995-10-15 20:02:02 +00:00
Richard M. Stallman
b65534e5a4 (resolve_sr_conflict): Remove use of alloca. 1995-10-15 20:01:09 +00:00
Jim Meyering
95e742f778 *** empty log message *** 1995-06-01 13:54:23 +00:00
Richard M. Stallman
cfeaeb52f5 Comment change. 1995-05-06 05:35:44 +00:00
Richard M. Stallman
a31239f1bb Rewrite "Conditions for Using Bison".
Update version to 1.24.
1995-05-03 15:13:10 +00:00
Richard M. Stallman
4eaeafc1a7 Version now 1.24. 1995-05-03 14:56:25 +00:00
Richard M. Stallman
c71f8bbaa3 Change distribution terms. 1995-05-03 07:13:20 +00:00
Richard M. Stallman
f67f8c02d2 Version now 1.23. 1995-05-03 07:12:53 +00:00
Richard M. Stallman
fcca25ad3c Test __VMS_POSIX as well as VMS. 1995-02-23 07:43:50 +00:00
Jim Meyering
ba39f603a6 (__yy_memcpy): Renamed from __yy_bcopy to avoid
confusion.  Reverse FROM and TO arguments to be consistent with
those of memcpy.
1995-02-14 16:49:32 +00:00
David MacKenzie
4d019228a4 reformat 1994-11-10 22:34:22 +00:00
David MacKenzie
6780ca7ab4 Initial revision 1994-11-10 22:31:09 +00:00
David MacKenzie
318476e1f1 (DISTFILES): Include NEWS. 1994-11-10 21:36:34 +00:00
David MacKenzie
ef3536eb3c (DISTFILES): Include install-sh, not install.sh. 1994-11-10 21:34:59 +00:00
David MacKenzie
f2939cd6bb Update to Autoconf v2 macro names. 1994-11-10 21:33:39 +00:00
David MacKenzie
2bb7b13a12 fix typo 1994-10-05 02:26:07 +00:00
David MacKenzie
f590489e28 (prefix, exec_prefix): Let configure set them. 1994-10-05 02:25:40 +00:00
David MacKenzie
22a1e99f80 Set datadir to $(prefix)/share. 1994-09-28 13:55:25 +00:00
Richard M. Stallman
21b14802aa Update copyright notice and GPL version. 1994-09-15 21:39:22 +00:00
Richard M. Stallman
572909b5db entered into RCS 1994-07-12 20:43:44 +00:00
David MacKenzie
02826fb8c8 entered into RCS 1994-05-05 18:41:55 +00:00
Richard M. Stallman
cc90caacec entered into RCS 1994-03-26 20:33:04 +00:00
Richard M. Stallman
fe01694d7c entered into RCS 1994-03-25 22:52:41 +00:00
Richard M. Stallman
808e202125 entered into RCS 1994-03-24 22:54:32 +00:00
Richard M. Stallman
57df1c8655 *** empty log message *** 1994-01-02 20:52:16 +00:00
Richard M. Stallman
c656404a43 entered into RCS 1993-11-21 22:03:08 +00:00
Richard M. Stallman
e425e87207 *** empty log message *** 1993-11-21 10:25:13 +00:00
David MacKenzie
2a2e87dbe0 *** empty log message *** 1993-10-25 23:45:06 +00:00
Richard M. Stallman
21b3ea1545 *** empty log message *** 1993-10-19 03:55:14 +00:00
Richard M. Stallman
b658bf92ac *** empty log message *** 1993-10-14 16:19:10 +00:00
David MacKenzie
5378c3e72c *** empty log message *** 1993-09-14 20:43:31 +00:00
Noah Friedman
d47a732aef *** empty log message *** 1993-09-13 22:17:10 +00:00