]> git.saurik.com Git - bison.git/log
bison.git
20 years ago(GOTO_NUMBER_MAXIMUM): New macro.
Paul Eggert [Wed, 8 Dec 2004 05:53:55 +0000 (05:53 +0000)] 
(GOTO_NUMBER_MAXIMUM): New macro.

20 years ago2004-11-23 Akim Demaille <akim@epita.fr>
Akim Demaille [Tue, 23 Nov 2004 19:56:12 +0000 (19:56 +0000)] 
2004-11-23  Akim Demaille  <akim@epita.fr>

* data/lalr1.cc (YYSTYPE): Define it as is done for C, instead
of #defining from yystype.
Don't typedef yystype, C++ does not need it.
This lets it possible to forward declare it as union.

20 years ago* bootstrap (gnulib_modules): Add extensions.
Paul Eggert [Tue, 23 Nov 2004 08:50:37 +0000 (08:50 +0000)] 
* bootstrap (gnulib_modules): Add extensions.

20 years ago(gnulib_modules): Add extensions.
Paul Eggert [Tue, 23 Nov 2004 08:50:17 +0000 (08:50 +0000)] 
(gnulib_modules): Add extensions.

20 years agoXFREE -> free
Paul Eggert [Mon, 22 Nov 2004 21:05:25 +0000 (21:05 +0000)] 
XFREE -> free

20 years ago* data/lalr1.cc (symprint_): Use cdebug_ to avoid warnings.
Akim Demaille [Wed, 17 Nov 2004 16:48:45 +0000 (16:48 +0000)] 
* data/lalr1.cc (symprint_): Use cdebug_ to avoid warnings.

20 years ago Alexandre Duret-Lutz <adl@gnu.org>
Akim Demaille [Wed, 17 Nov 2004 16:17:50 +0000 (16:17 +0000)] 
Alexandre Duret-Lutz <adl@gnu.org>
* data/lalr1.cc (Parser::yycdebug_): New, a pointer, to allow
changes.
(YYCDEBUG): Adjust.
Use it instead of cdebug_.
(Parser::debug_stream, Parser::set_debug_stream): New.
(Parser::symprint_): Define cdebug_ for temporary backward
compatibility.
* tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Use
debug_stream ().

20 years agoRemove an entry that was not actually committed, yet.
Akim Demaille [Wed, 17 Nov 2004 16:12:46 +0000 (16:12 +0000)] 
Remove an entry that was not actually committed, yet.

20 years ago* data/lalr1.cc (Parser:print_): Remove, use %printer instead.
Akim Demaille [Wed, 17 Nov 2004 14:19:37 +0000 (14:19 +0000)] 
* data/lalr1.cc (Parser:print_): Remove, use %printer instead.
* tests/regression.at (_AT_DATA_DANCER_Y): Adjust.
* tests/calc.at (_AT_DATA_CALC_Y): Ditto.
* tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Likewise.

20 years agoThis ChangeLog entry belongs to the previous patch.
Akim Demaille [Wed, 17 Nov 2004 14:13:38 +0000 (14:13 +0000)] 
This ChangeLog entry belongs to the previous patch.

20 years agoFix wording problem in comment.
Paul Eggert [Wed, 27 Oct 2004 22:22:51 +0000 (22:22 +0000)] 
Fix wording problem in comment.

20 years ago* data/glr.c (yyloc_default): Remove; not used.
Paul Eggert [Wed, 27 Oct 2004 22:20:01 +0000 (22:20 +0000)] 
* data/glr.c (yyloc_default): Remove; not used.

20 years ago(yyloc_default): Remove; not used.
Paul Eggert [Wed, 27 Oct 2004 22:19:44 +0000 (22:19 +0000)] 
(yyloc_default): Remove; not used.

20 years agoGoto numbers are no longer arbitrarily limited to 16-bit counts.
Paul Eggert [Mon, 25 Oct 2004 16:26:20 +0000 (16:26 +0000)] 
Goto numbers are no longer arbitrarily limited to 16-bit counts.

20 years ago* data/glr.c (YYRHSLOC): Move its definition next to its uses.
Akim Demaille [Mon, 25 Oct 2004 10:37:35 +0000 (10:37 +0000)] 
* data/glr.c (YYRHSLOC): Move its definition next to its uses.
Introduce another definition to address simple location arrays.
(yyGLRStack): New member: yyerror_range.
(yyrecoverSyntaxError, yyparse): Update it.
(yyrecoverSyntaxError): Use it when shifting the error token to
have an accurate range, equivalent to the one computed by both
yacc.c and lalr1.cc.
* tests/cxx-type.at (_AT_TEST_GLR_CXXTYPES): Change its yylex so
that column numbers start at column 0, as per GNU Coding
Standards, the others tests, and the doc.
(_AT_RESOLVED_GLR_OUTPUT_WITH_LOC, _AT_AMBIG_GLR_OUTPUT_WITH_LOC):
Adjust to the above change (first column is 0).
And adjust the location of the "<error>", now covering the whole
line.

20 years agoRemove some arbitrary limits on goto numbers and relations.
Paul Eggert [Fri, 22 Oct 2004 23:35:17 +0000 (23:35 +0000)] 
Remove some arbitrary limits on goto numbers and relations.

20 years agoUse size_t rather than unsigned int in previous patch.
Paul Eggert [Fri, 22 Oct 2004 23:14:00 +0000 (23:14 +0000)] 
Use size_t rather than unsigned int in previous patch.

20 years ago(END_NODE): New macro.
Paul Eggert [Fri, 22 Oct 2004 23:10:39 +0000 (23:10 +0000)] 
(END_NODE): New macro.
(relation_node): Now unsigned int, not short int.

20 years ago(relation_print, traverse, relation_transpose):
Paul Eggert [Fri, 22 Oct 2004 23:10:07 +0000 (23:10 +0000)] 
(relation_print, traverse, relation_transpose):
Check for END_NODE rather than looking at sign.

20 years ago(goto_number): Now unsigned int, not short int.
Paul Eggert [Fri, 22 Oct 2004 23:09:27 +0000 (23:09 +0000)] 
(goto_number): Now unsigned int, not short int.
(GOTO_NUMBER_MAXIMUM): Remove.

20 years ago(goto_map, ngotos, from_state, to_state): Omit
Paul Eggert [Fri, 22 Oct 2004 23:08:33 +0000 (23:08 +0000)] 
(goto_map, ngotos, from_state, to_state): Omit
initial values, since they're never used.
(set_goto_map): ngotos is now unsigned, so test for overflow

20 years agodoc/bison.texinfo (Language and Grammar): In example, "int" is a
Paul Eggert [Fri, 22 Oct 2004 18:12:50 +0000 (18:12 +0000)] 
doc/bison.texinfo (Language and Grammar): In example, "int" is a
keyword, not an identifier.

20 years ago(Language and Grammar): In example, "int" is a keyword, not an identifier.
Paul Eggert [Fri, 22 Oct 2004 18:10:59 +0000 (18:10 +0000)] 
(Language and Grammar): In example, "int" is a keyword, not an identifier.

20 years ago* src/symtab.c (symbol_check_alias_consistency): Also check
Akim Demaille [Mon, 11 Oct 2004 09:03:55 +0000 (09:03 +0000)] 
* src/symtab.c (symbol_check_alias_consistency): Also check
type names, destructors, and printers.
Reported by Alexandre Duret-Lutz.
Recode the handling of associativity and precedence in terms
of symbol_precedence_set.
Accept no redeclaration at all, not even equal to the previous
value.
(redeclaration): New.
Use it to factor redeclaration complaints.
(symbol_make_alias): Don't set the type of the alias, let
symbol_check_alias_consistency do it as for other features.
* src/symtab.h (symbol): Add new member prec_location, and
type_location.
* src/symtab.c (symbol_precedence_set, symbol_type_set): Set them.
* tests/input.at (Incompatible Aliases): New.

20 years agoRegenerate.
Paul Eggert [Sat, 9 Oct 2004 18:08:21 +0000 (18:08 +0000)] 
Regenerate.

20 years ago.cvsignore fixes to accommodate gnulib changes,
Paul Eggert [Sat, 9 Oct 2004 17:59:04 +0000 (17:59 +0000)] 
.cvsignore fixes to accommodate gnulib changes,
and the practice of naming build directories "_build".

20 years agoAdd "*_gl.m4".
Paul Eggert [Sat, 9 Oct 2004 17:57:39 +0000 (17:57 +0000)] 
Add "*_gl.m4".

20 years agoAdd getopt_.h, xalloc-die.c.
Paul Eggert [Sat, 9 Oct 2004 17:57:21 +0000 (17:57 +0000)] 
Add getopt_.h, xalloc-die.c.

20 years agoAdd "_*". Sort.
Paul Eggert [Sat, 9 Oct 2004 17:57:06 +0000 (17:57 +0000)] 
Add "_*".  Sort.

20 years ago* src/parse-gram.y (add_param): Fix the truncation of trailing
Akim Demaille [Wed, 6 Oct 2004 15:52:24 +0000 (15:52 +0000)] 
* src/parse-gram.y (add_param): Fix the truncation of trailing
spaces.

20 years agoWord changes.
Akim Demaille [Tue, 5 Oct 2004 09:58:58 +0000 (09:58 +0000)] 
Word changes.

20 years agoRegen.
Akim Demaille [Tue, 5 Oct 2004 08:41:44 +0000 (08:41 +0000)] 
Regen.

20 years agoIn Bison 1.875's yacc.c, YYLLOC_DEFAULT was called regardless
Akim Demaille [Tue, 5 Oct 2004 08:39:17 +0000 (08:39 +0000)] 
In Bison 1.875's yacc.c, YYLLOC_DEFAULT was called regardless
whether the reducion was empty or not.  This leaves room to
improve the use of YYLLOC_DEFAULT in such a case.
lalr1.cc is still experimental, so changing this is acceptable.
And finally, there are probably not many users who changed the
handling of locations in GLR, so changing is admissible too.
* data/glr.c, data/lalr1.cc, data/yacc.c (YYLLOC_DEFAULT): On an
empty reduction, set @$ to an empty location ending the previously
stacked symbol.
Adjust uses to make sure the code is triggered on empty
reductions.
* tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Adjust the
expected output: empty reductions have empty locations.

20 years ago* data/lalr1.cc: Move towards a more standard C++ coding style
Akim Demaille [Wed, 29 Sep 2004 12:49:50 +0000 (12:49 +0000)] 
* data/lalr1.cc: Move towards a more standard C++ coding style
for templates: Class < T > -> Class<T>.

20 years ago* data/lalr1.cc: Reinstall the former ctor, for sake of
Akim Demaille [Wed, 29 Sep 2004 12:41:58 +0000 (12:41 +0000)] 
* data/lalr1.cc: Reinstall the former ctor, for sake of
compatibility, but warn it will be removed.
Move towards a more standard C++ coding style (i.e., type *var ->
type* var).

20 years agoFix comment in latest checkin; there wasn't a bug.
Paul Eggert [Mon, 27 Sep 2004 22:06:45 +0000 (22:06 +0000)] 
Fix comment in latest checkin; there wasn't a bug.

20 years ago* src/parse-gram.y (add_param): Fix bug where NUL was mishandled.
Paul Eggert [Mon, 27 Sep 2004 22:04:13 +0000 (22:04 +0000)] 
* src/parse-gram.y (add_param): Fix bug where NUL was mishandled.

20 years ago(add_param): Fix bug where NUL was mishandled.
Paul Eggert [Mon, 27 Sep 2004 22:03:42 +0000 (22:03 +0000)] 
(add_param): Fix bug where NUL was mishandled.
Avoid the use of strchr to avoid future recurrences.

20 years ago* data/yacc.c (YY_LOCATION_PRINT): Fix its default declaration.
Akim Demaille [Mon, 27 Sep 2004 07:47:47 +0000 (07:47 +0000)] 
* data/yacc.c (YY_LOCATION_PRINT): Fix its default declaration.

20 years ago* data/lalr1.cc (b4_parse_param_decl_1): New.
Akim Demaille [Mon, 27 Sep 2004 07:45:09 +0000 (07:45 +0000)] 
* data/lalr1.cc (b4_parse_param_decl_1): New.
(b4_parse_param_decl): Use it to have different names bw attribute
and argument names.
(b4_cc_constructor_call): Likewise.

20 years ago* src/parse-gram.y (add_param): Strip the leading and trailing
Akim Demaille [Mon, 27 Sep 2004 07:42:04 +0000 (07:42 +0000)] 
* src/parse-gram.y (add_param): Strip the leading and trailing
blanks from a formal argument declaration.
(YY_LOCATION_PRINT): New.

20 years ago* data/c.m4 (b4_yysymprint_generate): Move the YYINPUT invocation
Akim Demaille [Fri, 24 Sep 2004 14:14:58 +0000 (14:14 +0000)] 
* data/c.m4 (b4_yysymprint_generate): Move the YYINPUT invocation
after the location.

20 years ago* doc/bison.texinfo (Table of Symbols): Sort.
Akim Demaille [Fri, 24 Sep 2004 11:55:40 +0000 (11:55 +0000)] 
* doc/bison.texinfo (Table of Symbols): Sort.

20 years ago* data/yacc.c, data/glr.c (b4_at_dollar, b4_dollar_dollar): Remove
Akim Demaille [Tue, 21 Sep 2004 06:59:19 +0000 (06:59 +0000)] 
* data/yacc.c, data/glr.c (b4_at_dollar, b4_dollar_dollar): Remove
the useless parentheses.
Suggested by Paul Eggert.

20 years agoLet the initial-action act on the look-ahead, and use it for the
Akim Demaille [Mon, 20 Sep 2004 15:25:25 +0000 (15:25 +0000)] 
Let the initial-action act on the look-ahead, and use it for the
"initial push" (corresponding to an hypothetical beginning-of-file).
And let lalr1.cc honor %initial-action.
* doc/bison.texinfo (Initial Action Decl): Clarify, and add an
example.
* data/lalr1.cc (Parser::initlocation_): Remove, bad experiment.
(Parser::Parser): Remove the ctor that used to initialize it.
(Parser::parse): Like in the other skeletons, issue the "starting
parse" message before any action.
Honor %initial-action.
Initialize the stacks with the lookahead.
* data/yacc.c: Let $$ and @$ in %initial-action designate the
look-ahead.
Push them in the stacks.
* tests/actions.at, tests/calc.at: Adjust the C++ ctor invocations.

20 years ago* doc/bison.texinfo (Initial Action Decl): New.
Akim Demaille [Mon, 20 Sep 2004 14:29:31 +0000 (14:29 +0000)] 
* doc/bison.texinfo (Initial Action Decl): New.

20 years ago* data/yacc.c (YY_LOCATION_PRINT): Use YYLTYPE_IS_TRIVIAL as a
Akim Demaille [Mon, 20 Sep 2004 12:24:45 +0000 (12:24 +0000)] 
* data/yacc.c (YY_LOCATION_PRINT): Use YYLTYPE_IS_TRIVIAL as a
clearer criterion to define it.
(parse): Initialize the initial location when YYLTYPE_IS_TRIVIAL.
When reducing on an empty RHS, use the latest stacked location as
location.
yylloc is not always available.
* data/glr.c: Likewise.
Also, honor initial-actions.

20 years ago* data/yacc.c (YY_LOCATION_PRINT): New.
Akim Demaille [Mon, 20 Sep 2004 09:32:55 +0000 (09:32 +0000)] 
* data/yacc.c (YY_LOCATION_PRINT): New.
Define when we know YYLTYPE's structure, i.e., when the default
YYLLOC_DEFAULT is used.
* data/c.m4 (b4_yysymprint_generate): Use it.
* data/lalr1.cc (YYLLOC_DEFAULT): Stop relying on the initial
value of the result.
(error_start_): Replace with...
(error_range_): this location array.
This allows to replace code relying on the implementation of
locations by portable code.
* data/yacc.c (yylerrsp): Replace with...
(yyerror_range): this.
Every time a token is popped, update yyerror_range[0], to have an
accurate location for the error token.
* data/glr.c (YY_LOCATION_PRINT): New.
(yyprocessOneStack): Fix an invocation of YY_SYMBOL_PRINT:
deference a pointer.
* tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): No longer
report the location in %printers.
* src/scan-skel.l: Instead of abort, report error messages to ease
understanding skeleton scanning failures.

20 years ago* data/lalr1.cc (Stack::Iterator, Stack::ConstIterator): Rename as...
Akim Demaille [Thu, 16 Sep 2004 14:41:18 +0000 (14:41 +0000)] 
* data/lalr1.cc (Stack::Iterator, Stack::ConstIterator): Rename as...
(iterator, const_iterator): these, to be more in the C++ spirit.
Also, return reverse iterators so that when displaying the stack
we display its bottom first.
(Parser::stack_print_, Parser::reduce_print_): Match the messages
from yacc.c.
We should probably use vector here though.

20 years agoHave more complete shift traces.
Akim Demaille [Thu, 16 Sep 2004 14:14:27 +0000 (14:14 +0000)] 
Have more complete shift traces.
* data/yacc.c, data/lalr1.c, data/glr.c: Use YY_SYMBOL_PRINT
to report Shifts instead of ad hoc YYDPRINTF invocations,
including for the error token.
* data/lalr1.cc (symprint_): Output the location.
* tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): In C++, don't
output the location within the %printer.
Activate GLR tests, at least to make sure they compile properly.
They still don't pass though.
* tests/calc.at: Adjust expect verbose output, since now "Entering
state..." is on a different line than the "Shifting" message.

20 years ago* tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Move the
Akim Demaille [Wed, 8 Sep 2004 14:36:25 +0000 (14:36 +0000)] 
* tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Move the
Bison directive from the Bison file to the invocation of this
macro, so that these directives are passed to
AT_BISON_OPTION_PUSHDEFS to get correct help macros.
Use these helping macros (e.g., AT_LOC, AT_VAL and so forth).
Move the AT_SETUP/AT_CLEANUP outside, to report as test title
the extra Bison directives instead of the whole series.
Change the grammar so that there are recoverable errors, and
unrecoverable errors.  Now we can have the parser give up before
consuming the whole input.  As a result we now can observe that
the lookahead is freed when needed.
Change the parser source to parse argv[1] instead of a hard coded
string.
Simplify yylex, and give a value and location to EOF.
Simplify some invocations of AT_CHECK_PRINTER_AND_DESTRUCTOR that
passed directives already coded in the file.
Add some tests to check the location of "error".
For some tests, the C++ parser is correct, and not yacc.c.
For other tests, they provide different, but unsatisfying, values,
so keep the C++ value so that at least one parser is "correct"
according to the test suite.
(Actions after errors): Remove, this is subsumed by the
AT_CHECK_PRINTER_AND_DESTRUCTOR series.

20 years ago* data/lalr1.cc: Adjust the indentation of the labels.
Akim Demaille [Mon, 6 Sep 2004 14:32:05 +0000 (14:32 +0000)] 
* data/lalr1.cc: Adjust the indentation of the labels.
Use it.

20 years ago* data/yacc.cc, data/glr.cc (yydestruct): Accept an additional
Akim Demaille [Mon, 6 Sep 2004 10:29:52 +0000 (10:29 +0000)] 
* data/yacc.cc, data/glr.cc (yydestruct): Accept an additional
argument, an informative message.
Call YY_SYMBOL_PRINT.
Adjust all callers: integrate the associated YY_SYMBOL_PRINT.
* data/lalr1.cc (destruct_): Likewise.
In addition, no longer depend on b4_yysymprint_generate and
b4_yydestruct_generate to generate these functions, do it "by
hand".

20 years ago* data/glr.c, data/lalr1.cc, data/yacc.c: When YYABORT was
Akim Demaille [Mon, 6 Sep 2004 07:48:20 +0000 (07:48 +0000)] 
* data/glr.c, data/lalr1.cc, data/yacc.c: When YYABORT was
invoked, yydestruct the lookahead.
* tests/calc.at (Calculator $1): Update the expected lengths of
traces: there is an added line for the discarded lookahead.
* doc/bison.texinfo (Destructor Decl): Some rewording.
Define "discarded" symbols.

20 years ago* data/lalr1.cc (translate_, destruct_): No reason to be static.
Akim Demaille [Thu, 2 Sep 2004 14:30:55 +0000 (14:30 +0000)] 
* data/lalr1.cc (translate_, destruct_): No reason to be static.

20 years ago* data/glr.c, yacc.c (YYDSYMPRINT): Remove, not used.
Akim Demaille [Thu, 2 Sep 2004 14:27:02 +0000 (14:27 +0000)] 
* data/glr.c, yacc.c (YYDSYMPRINT): Remove, not used.
(YYDSYMPRINTF): Rename as...
(YY_SYMBOL_PRINT): this.
* data/lalr1.cc (YY_SYMBOL_PRINT): New, modeled after the previous
two.
Use it instead of direct symprint_ calls.
(yybackup): Tweak the "Now at end of input" case to match yacc.c's
one.

20 years agoFix ChangeLog.
Akim Demaille [Thu, 2 Sep 2004 13:25:23 +0000 (13:25 +0000)] 
Fix ChangeLog.

20 years ago* tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Adjust
Akim Demaille [Thu, 2 Sep 2004 13:04:11 +0000 (13:04 +0000)] 
* tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Adjust
%printer calls to use cdebug_ when using lalr1.cc.
* data/lalr1.cc (b4_yysymprint_generate): New.

20 years ago* data/glr.c: Guard the declarations of yypstack and yypdumpstack
Akim Demaille [Mon, 30 Aug 2004 07:50:08 +0000 (07:50 +0000)] 
* data/glr.c: Guard the declarations of yypstack and yypdumpstack
with #ifdef YYDEBUG.

20 years ago* doc/bison.texinfo (Implementing Loops): Rename as...
Akim Demaille [Thu, 26 Aug 2004 13:05:41 +0000 (13:05 +0000)] 
* doc/bison.texinfo (Implementing Loops): Rename as...
(Implementing Gotos/Loops): this.

20 years agoRegenerate.
Paul Eggert [Wed, 18 Aug 2004 20:35:31 +0000 (20:35 +0000)] 
Regenerate.

20 years agoAdjust to latest gnulib.
Paul Eggert [Fri, 13 Aug 2004 14:29:05 +0000 (14:29 +0000)] 
Adjust to latest gnulib.

20 years agoAdjust to latest gnulib.
Paul Eggert [Fri, 13 Aug 2004 14:28:43 +0000 (14:28 +0000)] 
Adjust to latest gnulib.
(gnulib_modules): Add xalloc-die.
Set LC_ALL=C so that file names sort consistently.
Prefer the gnulib copies of gettext.m4, glibc21.m4,
inttypes_h.m4, lib-ld.m4, lib-prefix.m4, po.m4, stdint_h.m4,
uintmax_t.m4, ulonglong.m4.
(intl_files_to_remove): Add gettext.m4, lib-ld.m4, lib-prefix.m4,
po.m4 since we are now using _gl.m4 instead.

20 years agoRemove src/scan-action.l.
Paul Eggert [Wed, 11 Aug 2004 04:19:14 +0000 (04:19 +0000)] 
Remove src/scan-action.l.

20 years agouniqstr wasn't being used for handle_syncline like it should.
Paul Eggert [Sun, 8 Aug 2004 04:57:06 +0000 (04:57 +0000)] 
uniqstr wasn't being used for handle_syncline like it should.

20 years agoFix bug with non-%union parsers that have printers or destructors,
Paul Eggert [Thu, 22 Jul 2004 14:42:11 +0000 (14:42 +0000)] 
Fix bug with non-%union parsers that have printers or destructors,
which led to a Bison core dump.

20 years ago(_AT_CHECK_PRINTER_AND_DESTRUCTOR,
Paul Eggert [Thu, 22 Jul 2004 14:40:21 +0000 (14:40 +0000)] 
(_AT_CHECK_PRINTER_AND_DESTRUCTOR,
AT_CHECK_PRINTER_AND_DESTRUCTOR): New argument
UNION-FLAG.  All callers changed.
(_AT_CHECK_PRINTER_AND_DESTRUCTOR): Don't assume %union.
Use type char, not unsigned int, when declaring an array of char;
this lets us remove a cast.
(Printers and Destructors): Add non-%union test cases.

20 years ago(symbol_destructors_output, symbol_printers_output):
Paul Eggert [Thu, 22 Jul 2004 14:39:58 +0000 (14:39 +0000)] 
(symbol_destructors_output, symbol_printers_output):
Don't assume %union.

20 years ago(yystype) [defined YYSTYPE]: Define to YYSTYPE, not to our own type.
Paul Eggert [Thu, 22 Jul 2004 14:39:34 +0000 (14:39 +0000)] 
(yystype) [defined YYSTYPE]: Define to YYSTYPE, not to our own type.

20 years ago(b4_symbol_actions): Don't assume %union was used.
Paul Eggert [Thu, 22 Jul 2004 14:39:03 +0000 (14:39 +0000)] 
(b4_symbol_actions): Don't assume %union was used.

20 years agoReorganize GLR section a bit.
Paul Eggert [Tue, 22 Jun 2004 06:50:29 +0000 (06:50 +0000)] 
Reorganize GLR section a bit.

20 years agoOne more "lookahead" -> "look-ahead" change.
Paul Eggert [Mon, 21 Jun 2004 21:01:42 +0000 (21:01 +0000)] 
One more "lookahead" -> "look-ahead" change.

20 years agoNew section "Simple GLR Parsers".
Paul Eggert [Mon, 21 Jun 2004 20:55:20 +0000 (20:55 +0000)] 
New section "Simple GLR Parsers".

20 years agoRegenerate.
Paul Eggert [Mon, 21 Jun 2004 20:51:32 +0000 (20:51 +0000)] 
Regenerate.

20 years agoUse "look-ahead" instead of "lookahead", consistently.
Paul Eggert [Mon, 21 Jun 2004 20:20:31 +0000 (20:20 +0000)] 
Use "look-ahead" instead of "lookahead", consistently.

20 years agoUpdate location of patched M4 distribution.
Paul Eggert [Thu, 3 Jun 2004 22:38:23 +0000 (22:38 +0000)] 
Update location of patched M4 distribution.

20 years agoUpdate location of patched M4 version.
Paul Eggert [Thu, 3 Jun 2004 22:28:57 +0000 (22:28 +0000)] 
Update location of patched M4 version.

20 years agoDon't assume the C++ compiler takes the same arguments as the C compiler.
Paul Eggert [Sun, 30 May 2004 18:58:00 +0000 (18:58 +0000)] 
Don't assume the C++ compiler takes the same arguments as the C compiler.

20 years agoFix some "make check" problems with Tru64 C++.
Paul Eggert [Sun, 30 May 2004 00:56:57 +0000 (00:56 +0000)] 
Fix some "make check" problems with Tru64 C++.

20 years agoWorkaround for SGI C++ compiler.
Paul Eggert [Sat, 29 May 2004 07:16:29 +0000 (07:16 +0000)] 
Workaround for SGI C++ compiler.

20 years agoIncrease prerequisite version numbers to match what the code really needs.
Paul Eggert [Thu, 27 May 2004 20:51:16 +0000 (20:51 +0000)] 
Increase prerequisite version numbers to match what the code really needs.

20 years agoRegenerate.
Paul Eggert [Thu, 27 May 2004 07:40:12 +0000 (07:40 +0000)] 
Regenerate.

20 years ago* src/parse-gram.y (lloc_default): Rewrite to avoid compiler bug.
Paul Eggert [Thu, 27 May 2004 07:38:17 +0000 (07:38 +0000)] 
* src/parse-gram.y (lloc_default): Rewrite to avoid compiler bug.
* configure.ac (AC_PREREQ): Bump to 2.58.

20 years ago* configure.ac (AM_GNU_GETTEXT_VERSION): Lower it from 0.14.1 to 0.11.5.
Paul Eggert [Wed, 26 May 2004 19:25:21 +0000 (19:25 +0000)] 
* configure.ac (AM_GNU_GETTEXT_VERSION): Lower it from 0.14.1 to 0.11.5.
* bootstrap: Remove gettext version checking.

20 years agoAlso mention that %union can depend on prerequisite types.
Paul Eggert [Wed, 26 May 2004 17:45:45 +0000 (17:45 +0000)] 
Also mention that %union can depend on prerequisite types.

20 years ago* README: Mention GNU m4 1.4 bugs and Akim's patched version.
Paul Eggert [Wed, 26 May 2004 07:20:06 +0000 (07:20 +0000)] 
* README: Mention GNU m4 1.4 bugs and Akim's patched version.
* README-alpha: Don't tell people not to package this.

20 years ago* bootstrap: Don't assume $(...) works; use `...` instead.
Paul Eggert [Wed, 26 May 2004 06:46:02 +0000 (06:46 +0000)] 
* bootstrap: Don't assume $(...) works; use `...` instead.

20 years ago* doc/bison.texinfo (Decl Summary, Bison Options): Clarify what's put into
Paul Eggert [Tue, 25 May 2004 19:09:01 +0000 (19:09 +0000)] 
* doc/bison.texinfo (Decl Summary, Bison Options): Clarify what's put into
the -d output file.

20 years agoUndo change made earlier today: it caused autopoint to not bring
Paul Eggert [Tue, 25 May 2004 05:43:14 +0000 (05:43 +0000)] 
Undo change made earlier today: it caused autopoint to not bring
in ABOUT-NLS.  Ouch.  Instead, substitute our own diagnostic for
autopoint's.

20 years agoThe gettext version checking is causing more trouble than it's curing;
Paul Eggert [Mon, 24 May 2004 20:08:54 +0000 (20:08 +0000)] 
The gettext version checking is causing more trouble than it's curing;
remove it.

20 years agoEnsure that the C++ compiler used for testing actually works on a
Paul Eggert [Mon, 24 May 2004 06:58:02 +0000 (06:58 +0000)] 
Ensure that the C++ compiler used for testing actually works on a
simple test program; if not, skip the C++-related tests.

20 years agoOutput yylloc macro defn in glr.c even if locations are not being generated.
Paul Eggert [Fri, 21 May 2004 22:23:04 +0000 (22:23 +0000)] 
Output yylloc macro defn in glr.c even if locations are not being generated.

20 years ago* configure.ac (AC_INIT): Update to 1.875e.
Paul Eggert [Fri, 21 May 2004 22:12:21 +0000 (22:12 +0000)] 
* configure.ac (AC_INIT): Update to 1.875e.

20 years agoVersion 1.875d.
Paul Eggert [Fri, 21 May 2004 21:03:41 +0000 (21:03 +0000)] 
Version 1.875d.

20 years agoUse size_t (not unsigned int) for hashes, since the gnulib hash module
Paul Eggert [Fri, 7 May 2004 07:35:10 +0000 (07:35 +0000)] 
Use size_t (not unsigned int) for hashes, since the gnulib hash module
now uses size_t.

20 years agoDon't DEFUN AM_INTL_SUBDIR twice.
Paul Eggert [Mon, 3 May 2004 23:10:25 +0000 (23:10 +0000)] 
Don't DEFUN AM_INTL_SUBDIR twice.

20 years agoRegenerate.
Paul Eggert [Mon, 3 May 2004 07:58:53 +0000 (07:58 +0000)] 
Regenerate.

20 years ago* src/parse-gram.y: Put copyright notice inside %{ %} so it
Paul Eggert [Mon, 3 May 2004 07:57:06 +0000 (07:57 +0000)] 
* src/parse-gram.y: Put copyright notice inside %{ %} so it
gets copied to the output file.

20 years agoReject unescaped newlines in strings.
Paul Eggert [Mon, 3 May 2004 07:42:52 +0000 (07:42 +0000)] 
Reject unescaped newlines in strings.

20 years agoRemove more 'intl'-related files while bootstrapping.
Paul Eggert [Mon, 3 May 2004 07:36:12 +0000 (07:36 +0000)] 
Remove more 'intl'-related files while bootstrapping.