]> git.saurik.com Git - bison.git/commitdiff
maint: disable sc_prohibit_test_backticks
authorAkim Demaille <akim@lrde.epita.fr>
Fri, 21 Dec 2012 17:11:34 +0000 (18:11 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Fri, 21 Dec 2012 17:12:47 +0000 (18:12 +0100)
* cfg.mk: here.
And fix typos.
Reported by Stefano Lattarini.

cfg.mk

diff --git a/cfg.mk b/cfg.mk
index 3036ee852051362597fd85b7a13f348abd92d91a..ea9806fdda84e96b280fe419f4b283e9c918336d 100644 (file)
--- 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)\)