Paul Eggert
1ce590705a
* NEWS: Bison-generated C parsers now use the _ macro to
...
translate strings.
* data/yacc.c (_) [!defined _]: New macro.
All English strings wrapped inside this macro.
* doc/bison.texinfo (Bison Parser): Document _.
* po/POTFILES.in: Include src/parse-gram.c, since it now
includes translateable strings that parse-gram.y doesn't.
2005-04-14 00:08:56 +00:00
Paul Eggert
a749a69501
Fix aliases bug reported by Tim Van Holder.
2005-04-12 22:38:43 +00:00
Paul Eggert
e8fd72d5bb
(symbol_make_alias): Call symbol_type_set,
...
reverting the 2004-10-11 change to this function.
(symbol_check_alias_consistency): Don't call symbol_type_set
if the type name is already correct.
2005-04-12 22:38:20 +00:00
Paul Eggert
e59adf8f04
(Typed symbol aliases): New test.
2005-04-12 22:35:53 +00:00
Paul Eggert
8fb1053bfe
* tests/regression.at (Token definitions): Don't use a token named c.
2005-03-26 01:13:13 +00:00
Paul Eggert
4f136612d9
(Token definitions): Don't use a token named c, as that generates a
...
"#define c ..." that runs afoul of buggy stdlib.h that uses the
identifier c as a member of struct drand48_data.
2005-03-26 01:12:59 +00:00
Paul Eggert
ff498c4aed
* bootstrap: Change translation URL.
2005-03-21 22:36:41 +00:00
Paul Eggert
65211d70bc
* tests/local.at (AT_COMPILE, AT_COMPILE_CXX): Don't put options
...
after operands; POSIX says this isn't portable for the c99 command.
2005-03-21 06:58:31 +00:00
Paul Eggert
72d848c21d
(AT_COMPILE, AT_COMPILE_CXX): Don't put options
...
after operands; POSIX says this isn't portable for the c99 command.
2005-03-21 06:58:11 +00:00
Paul Eggert
9577fb1f47
* tests/glr-regression.at (glr-regr2a.y): Try to dump core
...
immediately if a data overrun has occurred.
2005-03-18 20:57:37 +00:00
Paul Eggert
f508a6a0d6
(glr-regr2a.y): Try to dump core
...
immediately if a data overrun has occurred; this may help us track
down what may be a spurious failure on MacOS.
2005-03-18 20:57:19 +00:00
Paul Eggert
a2599d0fc2
Respond to problems reported by twlevo@xs4all.nl.
2005-03-17 23:42:57 +00:00
Paul Eggert
727e8b0bde
Use "trap - 0" rather than the unportable "trap 0".
2005-03-17 23:41:38 +00:00
Paul Eggert
4b3017faf2
Regenerate.
2005-03-17 19:22:00 +00:00
Paul Eggert
78b178f716
* src/vcg.h: Comment fix.
...
* src/vcg_defaults.h: Parenthesize macro bodies to make them safe.
(G_CMAX): Change to -1 instead of INT_MAX.
2005-03-17 19:20:15 +00:00
Paul Eggert
baf073c6c5
(yyparse): Omit spaces before #line.
...
Problem reported by twlevo@xs4all.nl .
2005-03-17 19:19:44 +00:00
Paul Eggert
7296e729ce
* src/tables.c (state_number_to_vector_number): Put it inside an
...
"#if 0".
2005-03-15 23:53:47 +00:00
Paul Eggert
7cf96b1a9e
(state_number_to_vector_number): Put it inside an
...
"#if 0", since it's not currently used.
2005-03-15 23:53:27 +00:00
Paul Eggert
05ac60f348
* src/output.c (escaped_output): Renamed from
...
escaped_file_name_output, since we now use it for symbol tags as
well. All uses changed.
(symbol_destructors_output, symbol_printers_output):
Escape symbol tags too.
Problem reported by Matyas Forstner in
<http://lists.gnu.org/archive/html/bug-bison/2005-03/msg00009.html >.
* src/muscle_tab.c (muscle_code_grow): Don't quote numbers; it's
not needed.
* src/output.c (user_actions_output, token_definitions_output,
symbol_destructors_output, symbol_printers_output): Likewise.
* src/reader.c (prologue_augment): Likewise.
* src/scan-gram.l (handle_action_dollar, handle_action_at): Likewise.
2005-03-07 06:41:39 +00:00
Paul Eggert
080e734812
(output_edge): Don't quote linestyle arg.
2005-03-07 06:35:31 +00:00
Paul Eggert
7eb453acd5
* doc/bison.texinfo (Semantic Tokens): Fix scoping problem in
...
example, reported by Derek M Jones.
2005-03-01 00:41:58 +00:00
Paul Eggert
3a4f411faa
(Semantic Tokens): Fix scoping problem in
...
example, reported by Derek M Jones. Also, make the example even
more outrageous, to better illustrate how bad the problem is.
2005-03-01 00:41:33 +00:00
Paul Eggert
4c04c52a9d
* doc/bison.texinfo (Mfcalc Symtab): Correct the prototype for putsym.
2005-02-24 17:24:23 +00:00
Paul Eggert
a730d142be
(Mfcalc Symtab): Correct the prototype for putsym.
2005-02-24 17:23:57 +00:00
Paul Eggert
a61e1620e7
* doc/bison.texinfo: minor typo fixes
2005-02-23 09:15:27 +00:00
Paul Eggert
e4f85c39b2
(Language and Grammar): some -> same
...
(Epilogue): int he -> in the
2005-02-23 09:15:09 +00:00
Paul Eggert
9ec93868c1
Fix $ in test names.
2005-02-08 00:37:43 +00:00
Paul Eggert
d46c3fc694
Renamed from "Invalid \$n", to work around an Autoconf bug with dollar
...
signs in test names.
2005-02-07 23:14:55 +00:00
Paul Eggert
d6d67dbdcb
(Improper handling of embedded actions and dollar(-N) in GLR parsers):
...
Renamed from "Improper handling of embedded actions and $-N in GLR
parsers", work around an Autoconf bug with dollar signs in test names.
2005-02-07 23:14:22 +00:00
Paul Eggert
73ce7e7e63
* src/vcg.c (output_graph): G_VIEW -> normal_view.
2005-01-28 22:07:09 +00:00
Paul Eggert
f8b30d02ec
(output_graph): G_VIEW -> normal_view in case someone
...
wants to redefine G_VIEW.
2005-01-28 22:06:55 +00:00
Paul Eggert
2e72b98ed8
* src/vcg.c (get_view_str): Remove case for normal_view.
2005-01-27 22:03:21 +00:00
Paul Eggert
a8999f947d
(get_view_str): Remove case for normal_view.
2005-01-27 22:03:07 +00:00
Paul Eggert
ccf830a458
* configure.ac (O0CFLAGS, O0CXXFLAGS): Fix quoting bug.
2005-01-24 23:48:11 +00:00
Paul Eggert
9b9642fca4
(O0CFLAGS, O0CXXFLAGS): Fix quoting bug.
2005-01-24 23:47:49 +00:00
Paul Eggert
e0d634e5c3
* doc/bison.texinfo: Change @dircategory from "GNU programming
...
tools" to "Software development".
2005-01-24 23:26:33 +00:00
Paul Eggert
e62f1a8991
Change @dircategory from "GNU programming tools" to "Software development".
2005-01-24 23:26:17 +00:00
Paul Eggert
7bbc8cb035
* tests/c++.at (AT_CHECK_DOXYGEN): Don't use options after operands.
2005-01-23 08:38:33 +00:00
Paul Eggert
38989c080e
(AT_CHECK_DOXYGEN): Don't use options after operands.
2005-01-23 08:37:35 +00:00
Paul Eggert
b4fb989f02
Regenerate.
2005-01-21 19:29:25 +00:00
Paul Eggert
08b770bc1b
* data/yacc.c (YYCOPY, yystpcpy, yyparse): Remove "register".
2005-01-21 19:12:51 +00:00
Paul Eggert
cb530ce9e2
(YYCOPY, yystpcpy, yyparse): Remove "register".
2005-01-21 19:12:32 +00:00
Paul Eggert
e105489549
Regenerate.
2005-01-17 09:35:41 +00:00
Paul Eggert
95f22ad2a7
* data/glr.c (yyuserAction): Add "default: break;" case to pacify
...
gcc -Wswitch-default.
* data/lalr1.cc (yy::]b4_parser_class_name[::parse): Likewise.
* data/yacc.c (yyparse): Likewise.
2005-01-17 09:33:57 +00:00
Paul Eggert
d229d15c76
* src/system.h (OUTPUT_EXT, TAB_EXT): Define only if not defined
...
already. Let config.h define any nonstandard values.
2005-01-13 00:13:37 +00:00
Paul Eggert
deb63d8117
(OUTPUT_EXT, TAB_EXT): Define only if not defined
...
already. Let config.h define any nonstandard values.
2005-01-13 00:13:21 +00:00
Paul Eggert
ecadd90f94
* tests/calc.at (_AT_DATA_CALC_Y): Use alarm (100), not alarm (10).
2005-01-10 18:22:30 +00:00
Paul Eggert
419ab1055e
(_AT_DATA_CALC_Y): Use alarm (100), not alarm (10).
2005-01-10 18:22:11 +00:00
Paul Eggert
213744b51e
* data/yacc.c (yyparse): Pacify non-GCC compilers about yyerrorlab
...
being defined and not used.
* data/lalr1.cc (yyparse): Likewise.
Use "if (false)" rather than "if (0)".
2005-01-08 05:22:36 +00:00
Paul Eggert
b47217154a
(yyparse): Pacify non-GCC compilers about yyerrorlab
...
being defined and not used.
Use "if (false)" rather than "if (0)".
2005-01-08 05:22:19 +00:00