]> git.saurik.com Git - bison.git/commit - cfg.mk
build: avoid possibly-replaced fprintf in liby-source, yyerror.c
authorJim Meyering <meyering@redhat.com>
Mon, 23 Jan 2012 10:47:46 +0000 (11:47 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 23 Jan 2012 12:52:21 +0000 (13:52 +0100)
commitfb9eea88856d73a5f25295a52f6d4df7fabc565b
treef2a794d46cd67e923bb4d206aed79d8b17988b6e
parent219139f52178b3e020be1952c59b1ba76009c386
build: avoid possibly-replaced fprintf in liby-source, yyerror.c

* lib/yyerror.c (yyerror): Use fputs and fputc rather than fprintf
with a mere "%s\n" format.  Always return 0 now, on the assumption
that the return value was never used anyway.
Don't include <config.h> after all.  This avoids a problem
reported by Thiru Ramakrishnan in
http://lists.gnu.org/archive/html/help-bison/2011-11/msg00000.html
* cfg.mk: Exempt lib/yyerror.c from the sc_require_config_h_first test.
* THANKS: Update.
THANKS
cfg.mk
lib/yyerror.c