]> git.saurik.com Git - bison.git/blobdiff - cfg.mk
news: restructure, document variants for C++
[bison.git] / cfg.mk
diff --git a/cfg.mk b/cfg.mk
index 3036ee852051362597fd85b7a13f348abd92d91a..7fbad01b3e9f33f23ced316c1a3cca3c8cc08930 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -1,5 +1,5 @@
 # Customize maint.mk                           -*- makefile -*-
-# Copyright (C) 2008-2012 Free Software Foundation, Inc.
+# Copyright (C) 2008-2013 Free Software Foundation, Inc.
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -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)\)
@@ -171,9 +172,8 @@ $(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$$                                   \
+  prohibit_strcmp=^doc/bison\.texi|tests/local\.at$$                   \
   prohibit_tab_based_indentation=\.(am|mk)$$|^djgpp/|^\.git            \
   require_config_h_first=^(lib/yyerror|data/(glr|yacc))\.c$$           \
-  space_tab=^tests/(input|c\+\+)\.at$$                                 \
   unmarked_diagnostics=^(djgpp/|doc/bison.texi$$|tests/c\+\+\.at$$)    \
 )