]> git.saurik.com Git - bison.git/log
bison.git
19 years ago* data/yacc.c (yyparse): Undo previous patch. Instead,
Paul Eggert [Sat, 9 Jul 2005 08:26:29 +0000 (08:26 +0000)] 
* data/yacc.c (yyparse): Undo previous patch.  Instead,
set yylsp[0] and yyvsp[0] only if the initial action
sets yylloc and yylval, respectively.

19 years ago* data/yacc.c (yyparse): In the initial action, set
Paul Eggert [Sat, 9 Jul 2005 07:14:18 +0000 (07:14 +0000)] 
* data/yacc.c (yyparse): In the initial action, set
yylsp[0] and yyvsp[0] rather than yylloc and yylval.
This avoids the use of undefined variables if the initial
action does not set yylloc and/or yylval.

19 years agoAdd *.ll.
Paul Eggert [Thu, 7 Jul 2005 23:18:32 +0000 (23:18 +0000)] 
Add *.ll.

19 years ago* examples/calc++/calc++-driver.cc, examples/calc++/calc++-driver.hh:
Paul Eggert [Thu, 7 Jul 2005 23:16:46 +0000 (23:16 +0000)] 
* examples/calc++/calc++-driver.cc, examples/calc++/calc++-driver.hh:
* examples/calc++/calc++-scanner.ll, examples/calc++/calc++.cc:
Remove from CVS.  These files are automatically generated.
* examples/extexi: Clarify that this file is now part of Bison,
not GNU M4, and that it works with any POSIX-compatible Awk.
* examples/calc++/Makefile.am (run_extexi): Remove; not used.
($(calc_extracted)): Renamed from $(calc_sources_extracted),
so that we also get calc++-parser.yy.  Geneate it.
Use $(AWK), not gawk, since any conforming Awk will do.
Put comment before action, since older 'make' can't handle comment
in action.
$(BUILT_SOURCES): List all built sources, not just some of them.
$(MAINTAINERCLEANFILES): Remove *.stamp, and all built sources.
$($(srcdir)/calc++-parser.stamp): Work even if POSIXLY_CORRECT.
$($(calc_sources_generated)): Remove unnecessary test for existence
of target.  (This had a shell syntax error anyway; a stray "x".)
(calc_extracted): List $(srcdir)/calc++-parser.yy, not
calc++-parser.yy.
* examples/.cvsignore, examples/calc++/.cvsignore: New files.

19 years ago* bootstrap (gnulib_modules): Add gettext, now that it's no longer
Paul Eggert [Thu, 7 Jul 2005 16:06:50 +0000 (16:06 +0000)] 
* bootstrap (gnulib_modules): Add gettext, now that it's no longer
implied by the other modules.

19 years agoBind examples/calc++ to the package.
Akim Demaille [Wed, 6 Jul 2005 07:49:25 +0000 (07:49 +0000)] 
Bind examples/calc++ to the package.
* examples/calc++/Makefile: Remove, replaced by...
* examples/calc++/Makefile.am: ... this new file.
* examples/calc++/test: Remove input.
* examples/calc++/compile: Remove.
* examples/Makefile.am: New.
* configure.ac, Makefile.am: Adjust.
* doc/Makefile.am (clean-local): New, for more recent texi2dvis.

19 years ago* data/glr.c (yyFail): Drastically simplify; since the format argument
Paul Eggert [Wed, 6 Jul 2005 04:12:23 +0000 (04:12 +0000)] 
* data/glr.c (yyFail): Drastically simplify; since the format argument
never had any % directives, we can simply pass it to yyerror.
(yyparse): Use "t a; a=b;" rather than "t a = b;" when a will
be modified later, as that is the usual style in glr.c.

19 years agoRewrite GLR parser to catch more buffer overrun, storage exhaustion,
Paul Eggert [Tue, 5 Jul 2005 21:58:37 +0000 (21:58 +0000)] 
Rewrite GLR parser to catch more buffer overrun, storage exhaustion,
and size overflow errors.
* data/glr.c: Include <stdio.h> etc. after user prolog, not before,
in case the user prolog sets feature-test macros like _GNU_SOURCE.
(YYSIZEMAX): New macro.
(yystpcpy): New function, taken from yacc.c.
(struct yyGLRStack.yyspaceLeft): Now size_t, not int.
(yyinitGLRStack, yyfreeGLRstack): Remove unnecessary forward decls,
so that we don't have to maintain their signatures.
(yyFail): Check for buffer overflow, by using vsnprintf rather
than vsprintf.  Allocate a bigger buffer if possible.
Report an error if buffer allocation fails.
(yyStackOverflow): New function.
(yyinitStateSet, yyinitGLRStack): Return a boolean indicating whether
the initialization was successful.  It might fail if storage was
exhausted.
(yyexpandGLRStack): Add more checks for storage allocation failure.
Use yyStackOverflow to report failures.
(yymarkStackDeleted, yyglrShift, yyglrShiftDefer, yydoAction):
(yysplitStack, yyprocessOneStack, yyparse, yypstack):
Don't assume stack number fits in int.
(yysplitStack): Check for storage allocation failure.
(yysplitStack, yyprocessOneStack): Add pure_formals, so that we
can print diagnostics on storage allocation failure.  All callers
changed.
(yyresolveValue): Use yybool for boolean.
(yyreportSyntaxError): Check for size-calculation overflow.
This code is taken from yacc.c.
(yyparse): Check for storage allocation errors when allocating
the initial stack.

19 years agoExtract calc++ from the documentation.
Akim Demaille [Tue, 5 Jul 2005 07:21:30 +0000 (07:21 +0000)] 
Extract calc++ from the documentation.
* doc/bison.texinfo (Calc++): Add the extraction marks.
* examples/extexi: New, from the aborted GNU Programming 2E.
Separate the different paragraph of a file with empty lines.
* examples/Makefile: Use it to extract the whole calc++ example.

19 years ago* doc/bison.texinfo (C++ Parser Interface): Use defcv to define
Akim Demaille [Fri, 24 Jun 2005 14:56:11 +0000 (14:56 +0000)] 
* doc/bison.texinfo (C++ Parser Interface): Use defcv to define
class typedefs.

19 years ago* doc/bison.texinfo (C++ Language Interface): First stab.
Akim Demaille [Wed, 22 Jun 2005 16:49:19 +0000 (16:49 +0000)] 
* doc/bison.texinfo (C++ Language Interface): First stab.
(C++ Parsers): Remove.

19 years ago* data/lalr1.cc (yylex_): Honor %lex-param.
Akim Demaille [Wed, 22 Jun 2005 15:37:22 +0000 (15:37 +0000)] 
* data/lalr1.cc (yylex_): Honor %lex-param.

19 years agoStart a set of simple examples.
Akim Demaille [Wed, 22 Jun 2005 15:32:10 +0000 (15:32 +0000)] 
Start a set of simple examples.
* examples/calc++/Makefile, examples/calc++/calc++-driver.cc,
* examples/calc++/calc++-driver.hh,
* examples/calc++/calc++-parser.yy,
* examples/calc++/calc++-scanner.ll, examples/calc++/calc++.cc,
* examples/calc++/compile, examples/calc++/test: New.

19 years ago* data/yacc.c (malloc, free) [defined __cplusplus]: Wrap inside extern "C" {}.
Paul Eggert [Thu, 9 Jun 2005 20:44:28 +0000 (20:44 +0000)] 
* data/yacc.c (malloc, free) [defined __cplusplus]: Wrap inside extern "C" {}.

19 years agodata/glr.c: Modify treatment of unused parameters to permit use
Paul Hilfinger [Tue, 7 Jun 2005 02:47:12 +0000 (02:47 +0000)] 
data/glr.c: Modify treatment of unused parameters to permit use
  of g++ (which doesn't allow __attribute__ ((unused)) for parameters).

19 years agoRegenerate.
Paul Eggert [Mon, 30 May 2005 17:25:18 +0000 (17:25 +0000)] 
Regenerate.

19 years agoFix infringement on user name space reported by Janos Zoltan Szabo.
Paul Eggert [Mon, 30 May 2005 17:23:52 +0000 (17:23 +0000)] 
Fix infringement on user name space reported by Janos Zoltan Szabo.

19 years ago(yyparse): strlen -> yystrlen.
Paul Eggert [Mon, 30 May 2005 17:22:55 +0000 (17:22 +0000)] 
(yyparse): strlen -> yystrlen.

19 years ago* data/lalr1.cc (_): New.
Akim Demaille [Mon, 30 May 2005 07:02:40 +0000 (07:02 +0000)] 
* data/lalr1.cc (_): New.
Translate the various messages.

19 years agoRegenerate.
Paul Eggert [Fri, 27 May 2005 23:22:19 +0000 (23:22 +0000)] 
Regenerate.

19 years agoFix infringement on user name space reported by Bruno Haible.
Paul Eggert [Fri, 27 May 2005 23:22:10 +0000 (23:22 +0000)] 
Fix infringement on user name space reported by Bruno Haible.
* data/yacc.c (YYSIZE_T): Define first, so that later decls can use it.
Prefer GCC's __SIZE_TYPE__ if available, so that we don't infringe on
the user's name space.
(alloca): Include <stdlib.h> to get it, if it's not built in.
(YYMALLOC, YYFREE): Define only if needed.
(malloc, free): Declare, but only if needed, as this infringes on
the user name space.

19 years agoFix BeOS, FreeBSD, MacOS porting problems reported by Bruno Haible.
Paul Eggert [Wed, 25 May 2005 19:48:00 +0000 (19:48 +0000)] 
Fix BeOS, FreeBSD, MacOS porting problems reported by Bruno Haible.
* lib/bitset.c (bitset_print): Don't assume size_t can be printed
with %d format.
* lib/ebitset.c (min, max): Undef before defining.
* lib/vbitset.c (min, max): Likewise.
* lib/subpipe.c (create_subpipe): Save local variables in case
vfork clobbers them.
* tests/synclines.at (AT_SYNCLINES_COMPILE): Add support for the
error message syntax used by gcc-4.0.

19 years ago* README: Mention m4 1.4.3. Remove obsolete advice about
Paul Eggert [Mon, 23 May 2005 23:19:55 +0000 (23:19 +0000)] 
* README: Mention m4 1.4.3.  Remove obsolete advice about
Sun Forte Developer 6 update 2, VMS, and MS-DOS.

19 years ago* bootstrap: Remove workaround for problem I encountered with
Paul Eggert [Mon, 23 May 2005 18:43:08 +0000 (18:43 +0000)] 
* bootstrap: Remove workaround for problem I encountered with
gettext 0.14.1; it seems to be fixed now.

19 years agoVersion 2.0a.
Paul Eggert [Mon, 23 May 2005 06:48:08 +0000 (06:48 +0000)] 
Version 2.0a.

19 years ago* src/files.c: Include "stdio-safer.h"; this fixes a typo in
Paul Eggert [Sun, 22 May 2005 17:52:12 +0000 (17:52 +0000)] 
* src/files.c: Include "stdio-safer.h"; this fixes a typo in
the previous change.

19 years agoVarious maintainer cleanups.
Paul Eggert [Sun, 22 May 2005 17:45:28 +0000 (17:45 +0000)] 
Various maintainer cleanups.
* .cvsignore: Add a.exe, a.out, b.out,, conf[0-9]*, confdefs*,
conftest*, for benefit of CVS commands run at the same time as
"configure".  Add build-aux, since "bootstrap" now creates it and
its subfiles.
* Makefile.cfg (move_if_change): Remove.
* Makefile.maint: Remove the update stuff; we now use "bootstrap".
(ftp-gnu, www-gnu, move_if_change, local_updates, update):
(po_repo, do-po-update, po-update, wget_files, get-targets):
(config.guess-url_prefix, config.sub-url_prefix):
(ansi2knr.c-url_prefix, texinfo.tex-url_prefix):
(standards.texi-url_prefix, make-stds.texi-url_prefix, taget, url):
($(get-targets), cvs-files, automake_repo, wget-update, cvs-update):
Remove.
* configure.ac (AC_CONFIG_AUX_DIR): Change from config to build-aux;
this is now the recommended name.
* config/.cvsignore: Remove config.guess, config.rpath, config.sub,
depcomp, install-sh, mdate-sh, missing, mkinstalldirs, texinfo.tex,
ylwrap.  These files now go into build-aux.
* config/move-if-change: Remove.
* config/prev-version.txt: Bump from 1.75 to 2.0.

19 years ago* bootstrap: Add stdio-safer, unistd-safer modules.
Paul Eggert [Sun, 22 May 2005 08:04:06 +0000 (08:04 +0000)] 
* bootstrap: Add stdio-safer, unistd-safer modules.
Remove m4/glibc2.m4 (introduced by latest gnulib, but
we don't need it).
* lib/.cvsignore: Add dup-safer.c, fd-safer.c,
fopen-safer.c, stdio-safer.h, unistd-safer.h.
* lib/subpipe.c: Include "unistd-safer.h".
(create_subpipe): Make sure all the newly-created
file descriptors are > 2, so that diagnostics don't
get sent down them (which might cause Bison to hang, in theory).
* m4/.cvsignore: Add stdio-safer.m4, unistd-safer.m4.
* src/files.c (xfopen): Use fopen_safer, not fopen.

19 years ago* data/lalr1.cc (yy::]b4_parser_class_name[::parse): Port
Paul Eggert [Sun, 22 May 2005 07:31:41 +0000 (07:31 +0000)] 
* data/lalr1.cc (yy::]b4_parser_class_name[::parse): Port
yesterday's yacc.c fix.

19 years ago(yy::]b4_parser_class_name[::parse): Port
Paul Eggert [Sun, 22 May 2005 07:31:24 +0000 (07:31 +0000)] 
(yy::]b4_parser_class_name[::parse): Port
yesterday's yacc.c fix.

19 years agoUpdate copyright date.
Paul Eggert [Sun, 22 May 2005 06:26:13 +0000 (06:26 +0000)] 
Update copyright date.

19 years agoRegenerate.
Paul Eggert [Sun, 22 May 2005 05:20:48 +0000 (05:20 +0000)] 
Regenerate.

19 years agoFix a destructor bug reported by Wolfgang Spraul in
Paul Eggert [Sun, 22 May 2005 05:20:01 +0000 (05:20 +0000)] 
Fix a destructor bug reported by Wolfgang Spraul in
<http://lists.gnu.org/archive/html/bug-bison/2005-05/msg00042.html>.
* data/yacc.c (yyabortlab): Don't call destructor, and
don't set yychar to EMPTY.
(yyoverflowlab): Don't call destructor.
(yyreturn): Call destructor, if yychar is neither YYEOF nor YYEMPTY.
* tests/calc.at (AT_CHECK_CALC): Expect one fewer output lines,
since we no longer output the message "discarding lookahead token
end of input ()".

19 years ago* data/glr.c (YY_SYMBOL_PRINT): Don't print newline at end to
Paul Hilfinger [Sat, 21 May 2005 08:35:51 +0000 (08:35 +0000)] 
* data/glr.c (YY_SYMBOL_PRINT): Don't print newline at end to
fix a small glitch in debugging output.
(yyprocessOneStack, yyrecoverSyntaxError, yyparse): Print newline
after YY_SYMBOL_PRINT where needed.

(struct yyGLRState): Add some comments.
(struct yySemanticOption): Add some comments.
(union yyGLRStackItem): Add comment.

(yymergeOptionSets): Correct this to properly perform the union,
avoiding infinite reported by Michael Rosien.
Update comment.

* tests/glr-regression.at: Add test for GLR merging error reported
by M. Rosien.

19 years agoUpdate FSF postal mail address.
Paul Eggert [Sat, 14 May 2005 06:49:48 +0000 (06:49 +0000)] 
Update FSF postal mail address.

19 years ago* tests/local.at (AT_COMPILE_CXX): Treat LDFLAGS like AT_COMPILE does.
Paul Eggert [Wed, 11 May 2005 19:38:24 +0000 (19:38 +0000)] 
* tests/local.at (AT_COMPILE_CXX): Treat LDFLAGS like AT_COMPILE does.
Problem reported by Ralf Menzel.

19 years agoRegenerate.
Paul Eggert [Mon, 2 May 2005 04:56:45 +0000 (04:56 +0000)] 
Regenerate.

19 years ago* tests/actions.at: Test that stack overflow invokes destructors.
Paul Eggert [Mon, 2 May 2005 04:52:33 +0000 (04:52 +0000)] 
* tests/actions.at: Test that stack overflow invokes destructors.
From Marcus Holland-Moritz.
* data/yacc.c (yyerrlab): Move the code that destroys the stack
from here....
(yyreturn): to here.  That way, destructors are called properly
even if the stack overflows, or the user calls YYACCEPT or
YYABORT.  Stack-overflow problem reported by Marcus Holland-Moritz.
(yyoverflowlab): Destroy the lookahead.

19 years ago(YYSTACK_ALLOC_MAXIMUM): Add more-descriptive comment.
Paul Eggert [Mon, 25 Apr 2005 03:14:22 +0000 (03:14 +0000)] 
(YYSTACK_ALLOC_MAXIMUM): Add more-descriptive comment.

19 years agoRegenerate.
Paul Eggert [Sun, 17 Apr 2005 08:14:52 +0000 (08:14 +0000)] 
Regenerate.

19 years ago* tests/input.at (Torturing the Scanner): Adjust to lack of quotes
Paul Eggert [Sun, 17 Apr 2005 08:13:37 +0000 (08:13 +0000)] 
* tests/input.at (Torturing the Scanner): Adjust to lack of quotes
in diagnostics.

19 years ago(Torturing the Scanner): Adjust to lack of quotes in diagnostics.
Paul Eggert [Sun, 17 Apr 2005 08:12:56 +0000 (08:12 +0000)] 
(Torturing the Scanner): Adjust to lack of quotes in diagnostics.

19 years ago* NEWS: Bison-generated C parsers no longer quote literal strings
Paul Eggert [Sun, 17 Apr 2005 08:07:15 +0000 (08:07 +0000)] 
* NEWS: Bison-generated C parsers no longer quote literal strings
associated with tokens.
* src/output.c (prepare_symbols): Don't escape strings,
since users don't want to see C escapes.
* tests/calc.at (AT_CHECK_CALC): Adjust to lack of quotes
in diagnostics.
* tests/regression.at (Token definitions, Web2c Actions): Likewise.

19 years ago* tests/torture.at (AT_INCREASE_DATA_SIZE): Skip the test if
Paul Eggert [Sat, 16 Apr 2005 08:11:52 +0000 (08:11 +0000)] 
* tests/torture.at (AT_INCREASE_DATA_SIZE): Skip the test if
the data size is known to be too small and we can't increase it.

19 years ago(AT_INCREASE_DATA_SIZE): Skip the test if
Paul Eggert [Sat, 16 Apr 2005 08:11:33 +0000 (08:11 +0000)] 
(AT_INCREASE_DATA_SIZE): Skip the test if
the data size is known to be too small and we can't increase it.

19 years agoRegenerate.
Paul Eggert [Sat, 16 Apr 2005 06:34:20 +0000 (06:34 +0000)] 
Regenerate.

19 years ago* src/parse-gram.y: Include quotearg.h.
Paul Eggert [Sat, 16 Apr 2005 06:32:51 +0000 (06:32 +0000)] 
* src/parse-gram.y: Include quotearg.h.
(string_as_id): Quote $1 before using it as a key, since the
lexer no longer quotes it for us.
(string_content): Don't strip quotes, since lexer no longer
quotes it for us.
* src/scan-gram.l: Include quotearg.h.
("\""): Omit quote.
("'"<SC_ESCAPED_CHARACTER>): Quote symbol before using it as
a key, since the rest of the lexer doesn't quote it.
* src/symtab.c (symbol_get): Don't quote symbol; caller does it now.
* tests/regression.at (Token definitions): Check for backslashes
in token strings.

19 years ago(YYSTACK_ALLOC_MAXIMUM): New macro.
Paul Eggert [Sat, 16 Apr 2005 06:25:03 +0000 (06:25 +0000)] 
(YYSTACK_ALLOC_MAXIMUM): New macro.
(YYSIZE_T): Define to unsigned long int when using an older compiler.
(yyparse): Revamp code to generate long syntax error message, to
make it easier to translate, and to avoid problems with arithmetic
overflow.  Change "virtual memory" to "memory" in diagnostic, since
we don't know whether the memory is virtual.

19 years agoRegenerate.
Paul Eggert [Thu, 14 Apr 2005 00:09:11 +0000 (00:09 +0000)] 
Regenerate.

19 years ago* NEWS: Bison-generated C parsers now use the _ macro to
Paul Eggert [Thu, 14 Apr 2005 00:08:56 +0000 (00:08 +0000)] 
* 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.

19 years agoFix aliases bug reported by Tim Van Holder.
Paul Eggert [Tue, 12 Apr 2005 22:38:43 +0000 (22:38 +0000)] 
Fix aliases bug reported by Tim Van Holder.

19 years ago(symbol_make_alias): Call symbol_type_set,
Paul Eggert [Tue, 12 Apr 2005 22:38:20 +0000 (22:38 +0000)] 
(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.

19 years ago(Typed symbol aliases): New test.
Paul Eggert [Tue, 12 Apr 2005 22:35:53 +0000 (22:35 +0000)] 
(Typed symbol aliases): New test.

19 years ago* tests/regression.at (Token definitions): Don't use a token named c.
Paul Eggert [Sat, 26 Mar 2005 01:13:13 +0000 (01:13 +0000)] 
* tests/regression.at (Token definitions): Don't use a token named c.

19 years ago(Token definitions): Don't use a token named c, as that generates a
Paul Eggert [Sat, 26 Mar 2005 01:12:59 +0000 (01:12 +0000)] 
(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.

19 years ago* bootstrap: Change translation URL.
Paul Eggert [Mon, 21 Mar 2005 22:36:41 +0000 (22:36 +0000)] 
* bootstrap: Change translation URL.

19 years ago* tests/local.at (AT_COMPILE, AT_COMPILE_CXX): Don't put options
Paul Eggert [Mon, 21 Mar 2005 06:58:31 +0000 (06:58 +0000)] 
* tests/local.at (AT_COMPILE, AT_COMPILE_CXX): Don't put options
after operands; POSIX says this isn't portable for the c99 command.

19 years ago(AT_COMPILE, AT_COMPILE_CXX): Don't put options
Paul Eggert [Mon, 21 Mar 2005 06:58:11 +0000 (06:58 +0000)] 
(AT_COMPILE, AT_COMPILE_CXX): Don't put options
after operands; POSIX says this isn't portable for the c99 command.

19 years ago* tests/glr-regression.at (glr-regr2a.y): Try to dump core
Paul Eggert [Fri, 18 Mar 2005 20:57:37 +0000 (20:57 +0000)] 
* tests/glr-regression.at (glr-regr2a.y): Try to dump core
immediately if a data overrun has occurred.

19 years ago(glr-regr2a.y): Try to dump core
Paul Eggert [Fri, 18 Mar 2005 20:57:19 +0000 (20:57 +0000)] 
(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.

19 years agoRespond to problems reported by twlevo@xs4all.nl.
Paul Eggert [Thu, 17 Mar 2005 23:42:57 +0000 (23:42 +0000)] 
Respond to problems reported by twlevo@xs4all.nl.

19 years agoUse "trap - 0" rather than the unportable "trap 0".
Paul Eggert [Thu, 17 Mar 2005 23:41:38 +0000 (23:41 +0000)] 
Use "trap - 0" rather than the unportable "trap 0".

19 years agoRegenerate.
Paul Eggert [Thu, 17 Mar 2005 19:22:00 +0000 (19:22 +0000)] 
Regenerate.

19 years ago* src/vcg.h: Comment fix.
Paul Eggert [Thu, 17 Mar 2005 19:20:15 +0000 (19:20 +0000)] 
* 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.

19 years ago(yyparse): Omit spaces before #line.
Paul Eggert [Thu, 17 Mar 2005 19:19:44 +0000 (19:19 +0000)] 
(yyparse): Omit spaces before #line.
Problem reported by twlevo@xs4all.nl.

19 years ago* src/tables.c (state_number_to_vector_number): Put it inside an
Paul Eggert [Tue, 15 Mar 2005 23:53:47 +0000 (23:53 +0000)] 
* src/tables.c (state_number_to_vector_number): Put it inside an
"#if 0".

19 years ago(state_number_to_vector_number): Put it inside an
Paul Eggert [Tue, 15 Mar 2005 23:53:27 +0000 (23:53 +0000)] 
(state_number_to_vector_number): Put it inside an
"#if 0", since it's not currently used.

19 years ago* src/output.c (escaped_output): Renamed from
Paul Eggert [Mon, 7 Mar 2005 06:41:39 +0000 (06:41 +0000)] 
* 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.

19 years ago(output_edge): Don't quote linestyle arg.
Paul Eggert [Mon, 7 Mar 2005 06:35:31 +0000 (06:35 +0000)] 
(output_edge): Don't quote linestyle arg.

19 years ago* doc/bison.texinfo (Semantic Tokens): Fix scoping problem in
Paul Eggert [Tue, 1 Mar 2005 00:41:58 +0000 (00:41 +0000)] 
* doc/bison.texinfo (Semantic Tokens): Fix scoping problem in
example, reported by Derek M Jones.

19 years ago(Semantic Tokens): Fix scoping problem in
Paul Eggert [Tue, 1 Mar 2005 00:41:33 +0000 (00:41 +0000)] 
(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.

19 years ago* doc/bison.texinfo (Mfcalc Symtab): Correct the prototype for putsym.
Paul Eggert [Thu, 24 Feb 2005 17:24:23 +0000 (17:24 +0000)] 
* doc/bison.texinfo (Mfcalc Symtab): Correct the prototype for putsym.

19 years ago(Mfcalc Symtab): Correct the prototype for putsym.
Paul Eggert [Thu, 24 Feb 2005 17:23:57 +0000 (17:23 +0000)] 
(Mfcalc Symtab): Correct the prototype for putsym.

19 years ago* doc/bison.texinfo: minor typo fixes
Paul Eggert [Wed, 23 Feb 2005 09:15:27 +0000 (09:15 +0000)] 
* doc/bison.texinfo: minor typo fixes

19 years ago(Language and Grammar): some -> same
Paul Eggert [Wed, 23 Feb 2005 09:15:09 +0000 (09:15 +0000)] 
(Language and Grammar): some -> same
(Epilogue): int he -> in the

19 years agoFix $ in test names.
Paul Eggert [Tue, 8 Feb 2005 00:37:43 +0000 (00:37 +0000)] 
Fix $ in test names.

19 years agoRenamed from "Invalid \$n", to work around an Autoconf bug with dollar
Paul Eggert [Mon, 7 Feb 2005 23:14:55 +0000 (23:14 +0000)] 
Renamed from "Invalid \$n", to work around an Autoconf bug with dollar
signs in test names.

19 years ago(Improper handling of embedded actions and dollar(-N) in GLR parsers):
Paul Eggert [Mon, 7 Feb 2005 23:14:22 +0000 (23:14 +0000)] 
(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.

19 years ago* src/vcg.c (output_graph): G_VIEW -> normal_view.
Paul Eggert [Fri, 28 Jan 2005 22:07:09 +0000 (22:07 +0000)] 
* src/vcg.c (output_graph): G_VIEW -> normal_view.

19 years ago(output_graph): G_VIEW -> normal_view in case someone
Paul Eggert [Fri, 28 Jan 2005 22:06:55 +0000 (22:06 +0000)] 
(output_graph): G_VIEW -> normal_view in case someone
wants to redefine G_VIEW.

19 years ago* src/vcg.c (get_view_str): Remove case for normal_view.
Paul Eggert [Thu, 27 Jan 2005 22:03:21 +0000 (22:03 +0000)] 
* src/vcg.c (get_view_str): Remove case for normal_view.

19 years ago(get_view_str): Remove case for normal_view.
Paul Eggert [Thu, 27 Jan 2005 22:03:07 +0000 (22:03 +0000)] 
(get_view_str): Remove case for normal_view.

19 years ago* configure.ac (O0CFLAGS, O0CXXFLAGS): Fix quoting bug.
Paul Eggert [Mon, 24 Jan 2005 23:48:11 +0000 (23:48 +0000)] 
* configure.ac (O0CFLAGS, O0CXXFLAGS): Fix quoting bug.

19 years ago(O0CFLAGS, O0CXXFLAGS): Fix quoting bug.
Paul Eggert [Mon, 24 Jan 2005 23:47:49 +0000 (23:47 +0000)] 
(O0CFLAGS, O0CXXFLAGS): Fix quoting bug.

19 years ago* doc/bison.texinfo: Change @dircategory from "GNU programming
Paul Eggert [Mon, 24 Jan 2005 23:26:33 +0000 (23:26 +0000)] 
* doc/bison.texinfo: Change @dircategory from "GNU programming
tools" to "Software development".

19 years agoChange @dircategory from "GNU programming tools" to "Software development".
Paul Eggert [Mon, 24 Jan 2005 23:26:17 +0000 (23:26 +0000)] 
Change @dircategory from "GNU programming tools" to "Software development".

19 years ago* tests/c++.at (AT_CHECK_DOXYGEN): Don't use options after operands.
Paul Eggert [Sun, 23 Jan 2005 08:38:33 +0000 (08:38 +0000)] 
* tests/c++.at (AT_CHECK_DOXYGEN): Don't use options after operands.

19 years ago(AT_CHECK_DOXYGEN): Don't use options after operands.
Paul Eggert [Sun, 23 Jan 2005 08:37:35 +0000 (08:37 +0000)] 
(AT_CHECK_DOXYGEN): Don't use options after operands.

19 years agoRegenerate.
Paul Eggert [Fri, 21 Jan 2005 19:29:25 +0000 (19:29 +0000)] 
Regenerate.

19 years ago* data/yacc.c (YYCOPY, yystpcpy, yyparse): Remove "register".
Paul Eggert [Fri, 21 Jan 2005 19:12:51 +0000 (19:12 +0000)] 
* data/yacc.c (YYCOPY, yystpcpy, yyparse): Remove "register".

19 years ago(YYCOPY, yystpcpy, yyparse): Remove "register".
Paul Eggert [Fri, 21 Jan 2005 19:12:32 +0000 (19:12 +0000)] 
(YYCOPY, yystpcpy, yyparse): Remove "register".

19 years agoRegenerate.
Paul Eggert [Mon, 17 Jan 2005 09:35:41 +0000 (09:35 +0000)] 
Regenerate.

19 years ago* data/glr.c (yyuserAction): Add "default: break;" case to pacify
Paul Eggert [Mon, 17 Jan 2005 09:33:57 +0000 (09:33 +0000)] 
* 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.

19 years ago* src/system.h (OUTPUT_EXT, TAB_EXT): Define only if not defined
Paul Eggert [Thu, 13 Jan 2005 00:13:37 +0000 (00:13 +0000)] 
* src/system.h (OUTPUT_EXT, TAB_EXT): Define only if not defined
already.  Let config.h define any nonstandard values.

19 years ago(OUTPUT_EXT, TAB_EXT): Define only if not defined
Paul Eggert [Thu, 13 Jan 2005 00:13:21 +0000 (00:13 +0000)] 
(OUTPUT_EXT, TAB_EXT): Define only if not defined
already.  Let config.h define any nonstandard values.

19 years ago* tests/calc.at (_AT_DATA_CALC_Y): Use alarm (100), not alarm (10).
Paul Eggert [Mon, 10 Jan 2005 18:22:30 +0000 (18:22 +0000)] 
* tests/calc.at (_AT_DATA_CALC_Y): Use alarm (100), not alarm (10).

19 years ago(_AT_DATA_CALC_Y): Use alarm (100), not alarm (10).
Paul Eggert [Mon, 10 Jan 2005 18:22:11 +0000 (18:22 +0000)] 
(_AT_DATA_CALC_Y): Use alarm (100), not alarm (10).

19 years ago* data/yacc.c (yyparse): Pacify non-GCC compilers about yyerrorlab
Paul Eggert [Sat, 8 Jan 2005 05:22:36 +0000 (05:22 +0000)] 
* 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)".

19 years ago(yyparse): Pacify non-GCC compilers about yyerrorlab
Paul Eggert [Sat, 8 Jan 2005 05:22:19 +0000 (05:22 +0000)] 
(yyparse): Pacify non-GCC compilers about yyerrorlab
being defined and not used.
Use "if (false)" rather than "if (0)".

19 years ago(yyparse): Pacify non-GCC compilers about yyerrorlab
Paul Eggert [Sat, 8 Jan 2005 05:21:46 +0000 (05:21 +0000)] 
(yyparse): Pacify non-GCC compilers about yyerrorlab
being defined and not used.