mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
maint: disable sc_prohibit_test_backticks
* cfg.mk: here. And fix typos. Reported by Stefano Lattarini.
This commit is contained in:
11
cfg.mk
11
cfg.mk
@@ -81,10 +81,11 @@ sc_prohibit_tab_based_indentation:
|
|||||||
|
|
||||||
# Prohibit the use of `...` in tests/. Use $(...) instead.
|
# Prohibit the use of `...` in tests/. Use $(...) instead.
|
||||||
# Taken from Coreutils.
|
# Taken from Coreutils.
|
||||||
sc_prohibit_test_backticks:
|
# Not ready for Bison yet.
|
||||||
@prohibit='`' in_vc_files='^tests/' \
|
#sc_prohibit_test_backticks:
|
||||||
halt='use $$(...), not `...` in tests/' \
|
# @prohibit='`' in_vc_files='^tests/' \
|
||||||
$(_sc_search_regexp)
|
# halt='use $$(...), not `...` in tests/' \
|
||||||
|
# $(_sc_search_regexp)
|
||||||
|
|
||||||
# Enforce recommended preprocessor indentation style.
|
# Enforce recommended preprocessor indentation style.
|
||||||
# Taken from Coreutils.
|
# Taken from Coreutils.
|
||||||
@@ -98,7 +99,7 @@ sc_preprocessor_indentation:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
###########################################################
|
###########################################################
|
||||||
# Taken from the Coreitil
|
# Taken from Coreutils.
|
||||||
_p0 = \([^"'/]\|"\([^\"]\|[\].\)*"\|'\([^\']\|[\].\)*'
|
_p0 = \([^"'/]\|"\([^\"]\|[\].\)*"\|'\([^\']\|[\].\)*'
|
||||||
_pre = $(_p0)\|[/][^"'/*]\|[/]"\([^\"]\|[\].\)*"\|[/]'\([^\']\|[\].\)*'\)*
|
_pre = $(_p0)\|[/][^"'/*]\|[/]"\([^\"]\|[\].\)*"\|[/]'\([^\']\|[\].\)*'\)*
|
||||||
_pre_anchored = ^\($(_pre)\)
|
_pre_anchored = ^\($(_pre)\)
|
||||||
|
|||||||
Reference in New Issue
Block a user