From 8637f2c7d6905a5344e3d10421df498598896b86 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Mon, 10 Feb 2020 20:46:56 +0100 Subject: build: pacify syntax-check * src/complain.c: Fix indentation. * cfg.mk: Using strcmp is ok in the tests. Test cases and examples don't need Bison's PO support. --- cfg.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cfg.mk') diff --git a/cfg.mk b/cfg.mk index 0e5716cf..8b22f03b 100644 --- a/cfg.mk +++ b/cfg.mk @@ -156,7 +156,7 @@ exclude = \ $(call exclude, \ bindtextdomain=^lib/main.c$$ \ cast_of_argument_to_free=^src/muscle-tab.c$$ \ - po_check=(^po/POTFILES.in|.md)$$ \ + po_check=^(examples|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$$ \ @@ -165,7 +165,7 @@ $(call exclude, prohibit_doubled_word=^tests/named-refs.at$$ \ prohibit_magic_number_exit=^doc/bison.texi$$ \ prohibit_magic_number_exit+=?|^tests/(conflicts|regression).at$$ \ - prohibit_strcmp=^doc/bison\.texi|examples|tests/local\.at$$ \ + prohibit_strcmp=^doc/bison\.texi|examples|tests \ prohibit_tab_based_indentation=install-icc.sh|\.(am|mk)$$|^\.git|tests/input.at|Makefile$$ \ require_config_h=^(lib/yyerror|data/skeletons/(glr|yacc))\.c$$ \ require_config_h_first=^(lib/yyerror|data/skeletons/(glr|yacc))\.c$$ \ -- cgit v1.2.1