Paul Eggert
e476c87d93
Version 1.875d.
2004-05-21 21:03:41 +00:00
Paul Eggert
233a88ad11
Use size_t (not unsigned int) for hashes, since the gnulib hash module
...
now uses size_t.
2004-05-07 07:35:10 +00:00
Paul Eggert
9668e2be96
Don't DEFUN AM_INTL_SUBDIR twice.
2004-05-03 23:10:25 +00:00
Paul Eggert
a76ca26309
Regenerate.
2004-05-03 07:58:53 +00:00
Paul Eggert
12ffdd2835
* src/parse-gram.y: Put copyright notice inside %{ %} so it
...
gets copied to the output file.
2004-05-03 07:57:06 +00:00
Paul Eggert
4febdd9667
Reject unescaped newlines in strings.
2004-05-03 07:42:52 +00:00
Paul Eggert
e23d0dd71e
Remove more 'intl'-related files while bootstrapping.
2004-05-03 07:36:12 +00:00
Paul Eggert
1f65350a16
Get files from the gnulib and po repositories, instead of relying
...
on them being in our CVS. Upgrade to latest versions of gnulib and Automake.
2004-04-28 20:00:56 +00:00
Paul Eggert
f97de3247f
(GZIP_ENV): Don't use --rsyncable if gzip doesn't
...
support it. (The latest stable gzip doesn't.)
2004-04-28 19:52:27 +00:00
Paul Eggert
6e26ca8c27
Remove more K&R C support.
2004-04-28 06:52:51 +00:00
Paul Eggert
b970803c91
Rewrite so that subpipe.h can stand alone. Assume C89 or better.
2004-04-28 06:30:05 +00:00
Paul Eggert
126e375187
Remove PARAMS.
2004-04-28 06:22:58 +00:00
Paul Eggert
7d7d666369
Remove PARAMS and upgrade to latest obstack.h.
2004-04-28 06:15:34 +00:00
Paul Eggert
ca6f187f64
(_AT_CHECK_PRINTER_AND_DESTRUCTOR): Don't
...
declare yyerror when using lalr.cc, as GCC 3.4.0 warns about the
unused declaration.
2004-04-28 06:06:31 +00:00
Paul Eggert
0f53f2226d
(%union synch line): Put a dummy member in
...
the union, because empty unions aren't allowed in C.
Caught by GCC 3.4.0.
2004-04-28 06:03:54 +00:00
Paul Eggert
45d5982f04
(Parser::stos_) [! YYDEBUG]: Define even in this
...
case, as stos_ is now used by destructors due to the 2004-02-09
change.
2004-04-28 05:48:39 +00:00
Paul Eggert
1f916a78e6
Update copyright to 2004.
2004-04-13 17:43:15 +00:00
Paul Eggert
4f16766c00
* src/conflicts.c (conflicts_print): Correct format string typo:
...
use `%%' to produce literal `%'. (trivial change)
2004-04-13 17:42:59 +00:00
Paul Eggert
584bbcd839
Regenerate.
2004-03-31 00:41:30 +00:00
Paul Eggert
779e7ceb93
Use 'short int' rather than 'short', and similarly for 'long', 'unsigned', etc.
2004-03-31 00:37:21 +00:00
Paul Eggert
2ae64eed27
(version): Update copyright year to 2004.
2004-03-30 08:11:20 +00:00
Paul Hilfinger
d63282419d
* src/parse-gram.y: Define PERCENT_EXPECT_RR.
...
(declaration): Replace expected_conflicts with expected_sr_conflicts.
Add %expect-rr rule.
* src/scan-gram.l: Recognize %expect-rr.
* src/conflicts.h (expected_sr_conflicts): Rename from
expected_conflicts.
(expected_rr_conflicts): Declare.
* src/conflicts.c (expected_sr_conflicts): Rename from
expected_conflicts.
(expected_rr_conflicts): Define.
(conflicts_print): Check r/r conflicts against expected_rr_conflicts
for GLR parsers.
Use expected_sr_conflicts in place of expected_conflicts.
Warn if expected_rr_conflicts used in non-GLR parser.
* doc/bison.texinfo: Add documentation for %expect-rr.
2004-03-26 22:41:16 +00:00
Paul Eggert
1452af69b4
Add support for hex token numbers.
2004-03-08 20:49:34 +00:00
Paul Eggert
006d217ddd
(AT_COMPILE, AT_COMPILE_CXX): Ignore stdout from compilers.
2004-02-25 21:13:00 +00:00
Paul Eggert
6a60c4cf45
Add a marker for when 1.875c was published.
2004-02-25 20:23:33 +00:00
Alexandre Duret-Lutz
c2729758f2
Support %destructor and merge error locations in lalr1.cc.
...
* data/lalr1.cc (b4_cxx_destruct_def): New macro.
(Parser::stos_): Define unconditionally.
(Parser::destruct_): New method. Generate its body with
b4_yydestruct_generate.
(Parser::error_start_): New attribute.
(Parser::parse) <yyerrlab, yyerrlab1>: Call destruct_ on erroneous
token which are discarded.
(Parser::parse) <yyerrlab, yyerrorlab, yyerrlab1>: Update
error_start_ when erroneous token are discarded.
(Parser::parse) <yyerrlab1>: Compute the location of the error
token so that it covers all the discarded tokens.
* tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Adjust so
it can be called with `%skeleton "lalr1.cc"', and do that.
2004-02-09 21:31:42 +00:00
Paul Eggert
0b31edd3e1
Regenerate.
2004-02-02 22:52:54 +00:00
Paul Eggert
dd0e0635ec
Replace INCLUDES with AM_CPPFLAGS, fixing a bug in src/Makefile.am
...
reported by Paul Hilfinger.
2004-02-02 22:36:49 +00:00
Paul Eggert
d0d5aa6425
(yytokenName): Bullet-proof against YYEMPTY token.
...
(yyreportSyntaxError): Handle case where lookahead token is
YYEMPTY.
2004-02-02 22:35:53 +00:00
Paul Hilfinger
be16239bf7
data/glr.c: Put casts on uses of YYREALLOC and YYMALLOC so that
...
resulting parsers are compilable with C++.
2004-01-14 01:40:12 +00:00
Paul Eggert
5fa908329c
Log today's changes.
2003-12-24 08:33:39 +00:00
Paul Eggert
0ced3098fd
Add Makevars.template, stamp-po.
...
Remove stamp-cat-id.
2003-12-24 08:32:43 +00:00
Paul Eggert
dc8a217381
($(TESTSUITE)): Remove warning about ignoring
...
multiple inclusion warnings.
2003-12-24 08:30:45 +00:00
Paul Eggert
ce05140d9d
Require Autoconf 2.59, and don't include local.at twice since
...
Autoconf 2.59 yells about it for some reason.
2003-12-24 08:26:02 +00:00
Paul Eggert
3dc4c5faa9
(Torturing the Scanner): Don't use \x0 or \0 in
...
Bison tokens, as this runs afoul of the 2003-10-07 change that
disallowed NUL bytes in character constants or string literals.
2003-12-24 08:17:05 +00:00
Paul Eggert
eecf08fe94
(output_skeleton): Rename local var.
2003-12-24 07:55:25 +00:00
Paul Eggert
28f57d2ae3
Sync with Automake 1.8.
2003-12-24 07:52:17 +00:00
Akim Demaille
b165c324a3
* doc/bison.texinfo (How Can I Reset the Parser): More about start
...
conditions.
From Bruno Haible.
2003-12-02 17:08:31 +00:00
Alexandre Duret-Lutz
26e06a2157
* doc/bison.texinfo (Bison Options): Escape @' in $@'.
2003-11-18 19:14:05 +00:00
Paul Eggert
eda429346a
a -> an (minor typo fix)
2003-10-21 17:42:48 +00:00
Paul Eggert
6a5ecb38fc
Don't run 'testsuite --clean' if testsuite doesn't exist.
2003-10-07 23:34:20 +00:00
Paul Eggert
92ac370570
Do not allow NUL bytes in string literals or character constants.
2003-10-07 07:32:57 +00:00
Paul Eggert
91d2c560a8
Don't document %no-default-prec for now.
2003-10-05 07:34:36 +00:00
Paul Eggert
0cc3da3a4e
In GLR grammars, $N and @N now yield non-modifiable lvalues.
2003-10-05 06:46:53 +00:00
Paul Eggert
66ef8b9d65
Regenerate.
2003-10-01 22:00:13 +00:00
Paul Eggert
22fccf958f
Use "%no-default-prec" instead of "%default-prec 0".
2003-10-01 21:33:24 +00:00
Akim Demaille
fc8f296538
VCG no longer supports long_straight_phase.
...
* src/vcg.c, src/vcg.h: Remove the handling of long_straight_phase.
* src/print_graph.c (print_graph): Adjust.
2003-10-01 07:46:41 +00:00
Akim Demaille
92f5e991da
Update.
2003-10-01 07:46:02 +00:00
Paul Eggert
42db4e2b74
Describe %default-prec.
2003-09-30 20:20:25 +00:00
Paul Eggert
39a06c251a
Add %default-prec.
2003-09-30 20:11:29 +00:00