From bd04adb4c8d81f30d2cb80cdb6ea04bd4c08da6d Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Fri, 21 Dec 2012 18:11:34 +0100 Subject: [PATCH 1/1] maint: disable sc_prohibit_test_backticks * cfg.mk: here. And fix typos. Reported by Stefano Lattarini. --- cfg.mk | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/cfg.mk b/cfg.mk index 3036ee85..ea9806fd 100644 --- a/cfg.mk +++ b/cfg.mk @@ -81,10 +81,11 @@ sc_prohibit_tab_based_indentation: # Prohibit the use of `...` in tests/. Use $(...) instead. # Taken from Coreutils. -sc_prohibit_test_backticks: - @prohibit='`' in_vc_files='^tests/' \ - halt='use $$(...), not `...` in tests/' \ - $(_sc_search_regexp) +# Not ready for Bison yet. +#sc_prohibit_test_backticks: +# @prohibit='`' in_vc_files='^tests/' \ +# halt='use $$(...), not `...` in tests/' \ +# $(_sc_search_regexp) # Enforce recommended preprocessor indentation style. # Taken from Coreutils. @@ -98,7 +99,7 @@ sc_preprocessor_indentation: fi ########################################################### -# Taken from the Coreitil +# Taken from Coreutils. _p0 = \([^"'/]\|"\([^\"]\|[\].\)*"\|'\([^\']\|[\].\)*' _pre = $(_p0)\|[/][^"'/*]\|[/]"\([^\"]\|[\].\)*"\|[/]'\([^\']\|[\].\)*'\)* _pre_anchored = ^\($(_pre)\) -- 2.47.2