From 1a9ac9bdba716507e86ce69920260f132971bfa6 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Fri, 7 Dec 2012 11:34:51 +0100 Subject: [PATCH] build: fix syntax-check error. * cfg.mk: Exclude names-refs, it includes a "double" if (end of first line, first of second line below). test.y:43.12-44.59: symbol not found in production: if if-stmt-a: IF expr[cond] THEN stmt.list[then] ELSE stmt.list[else] FI ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --- cfg.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/cfg.mk b/cfg.mk index 3f244aab..e77312ee 100644 --- a/cfg.mk +++ b/cfg.mk @@ -83,6 +83,7 @@ $(call exclude, \ prohibit_always-defined_macros+=?|^src/(parse-gram.c|system.h)$$ \ prohibit_always-defined_macros+=?|^tests/regression.at$$ \ prohibit_defined_have_decl_tests=?|^lib/timevar.c$$ \ + prohibit_doubled_word=^tests/named-refs.at$$ \ prohibit_magic_number_exit=^doc/bison.texi$$ \ prohibit_magic_number_exit+=?|^tests/(conflicts|regression).at$$ \ require_config_h_first=^(lib/yyerror|data/(glr|yacc))\.c$$ \ -- 2.47.2