diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2020-04-29 08:44:27 +0200 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2020-04-29 08:47:04 +0200 |
commit | 52ababbc8988eacd38d2bc85d7ecdd8ec5725e52 (patch) | |
tree | c19666b44263f5384ba49497af88387c31fe68a8 | |
parent | 8e11933e41a7c2eb8231d96f56efbe5260583b03 (diff) | |
download | bison-52ababbc8988eacd38d2bc85d7ecdd8ec5725e52.tar.gz |
build: fix syntax-check issues
* cfg.mk: We do want to gettextize the examples.
* po/POTFILES.in: Adjust.
-rw-r--r-- | cfg.mk | 2 | ||||
-rw-r--r-- | po/POTFILES.in | 1 | ||||
-rw-r--r-- | src/i18n-strings.c | 3 |
3 files changed, 5 insertions, 1 deletions
@@ -156,7 +156,7 @@ exclude = \ $(call exclude, \ bindtextdomain=^lib/main.c$$ \ cast_of_argument_to_free=^src/muscle-tab.c$$ \ - po_check=^(examples|tests)/|(^po/POTFILES.in|.md)$$ \ + po_check=^tests|(^po/POTFILES.in|.md)$$ \ preprocessor_indentation=^data/|^lib/|^src/parse-gram.[ch]$$ \ program_name=^lib/main.c$$ \ prohibit_always-defined_macros=^data/skeletons/yacc.c$$ \ diff --git a/po/POTFILES.in b/po/POTFILES.in index 4f256b2c..f1a4285a 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,4 +1,5 @@ examples/c/bistromathic/parse.y +examples/java/calc/Calc.y src/complain.c src/conflicts.c src/files.c diff --git a/src/i18n-strings.c b/src/i18n-strings.c index ddf17063..05dee483 100644 --- a/src/i18n-strings.c +++ b/src/i18n-strings.c @@ -27,6 +27,9 @@ strings to gettextize by hand. */ +// Please syntax-check. +#include <config.h> + static const char *const msgid[] = { N_("end of file"), |