From: Akim Demaille Date: Mon, 12 Nov 2012 08:39:41 +0000 (+0100) Subject: maint: address syntax-check errors. X-Git-Tag: v2.6.90~43 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/bfdcc3a0b273c116e01d289ce52d400f22e4da14 maint: address syntax-check errors. * cfg.mk: Ignore the "error" call in tests/c++.at, it is not to be translated. * doc/bison.texi: Fix incorrect @pxref use. * po/POTFILES.in: Add missing file. * src/print_graph.c: Remove useless include. --- diff --git a/cfg.mk b/cfg.mk index 7e46324f..3f244aab 100644 --- a/cfg.mk +++ b/cfg.mk @@ -88,5 +88,5 @@ $(call exclude, \ require_config_h_first=^(lib/yyerror|data/(glr|yacc))\.c$$ \ space_tab=^tests/(input|c\+\+)\.at$$ \ trailing_blank=^src/parse-gram.[ch]$$ \ - unmarked_diagnostics=^(djgpp/|doc/bison.texi$$) \ + unmarked_diagnostics=^(djgpp/|doc/bison.texi$$|tests/c\+\+\.at$$) \ ) diff --git a/doc/bison.texi b/doc/bison.texi index 8f98aa5e..7b900b27 100644 --- a/doc/bison.texi +++ b/doc/bison.texi @@ -8525,8 +8525,8 @@ a PDF or PNG file from it will take very long, and more often than not it will fail due to memory exhaustion). This option was rather designed for beginners, to help them understand LR parsers. -This file is generated when the @option{--graph} option is specified (see -@pxref{Invocation, , Invoking Bison}). Its name is made by removing +This file is generated when the @option{--graph} option is specified +(@pxref{Invocation, , Invoking Bison}). Its name is made by removing @samp{.tab.c} or @samp{.c} from the parser implementation file name, and adding @samp{.dot} instead. If the grammar file is @file{foo.y}, the Graphviz output file is called @file{foo.dot}. diff --git a/po/POTFILES.in b/po/POTFILES.in index 0908f506..ee34879a 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -9,6 +9,7 @@ src/main.c src/muscle-tab.c src/parse-gram.y src/print.c +src/print_graph.c src/reader.c src/reduce.c src/scan-code.l diff --git a/src/print_graph.c b/src/print_graph.c index d5ec5fb4..5ce0aa98 100644 --- a/src/print_graph.c +++ b/src/print_graph.c @@ -18,7 +18,6 @@ along with this program. If not, see . */ #include -#include #include "system.h" #include "LR0.h"