mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
Clarified error message
* Since the file pattern matches RNG schemas as well as C sources, the error message should mention both.
This commit is contained in:
parent
5dac5970a5
commit
1bbe12de44
8
cfg.mk
8
cfg.mk
@ -133,13 +133,13 @@ sc_prohibit_ctype_h:
|
|||||||
halt="don't use ctype.h; instead, use c-ctype.h" \
|
halt="don't use ctype.h; instead, use c-ctype.h" \
|
||||||
$(_sc_search_regexp)
|
$(_sc_search_regexp)
|
||||||
|
|
||||||
# Ensure that no C source file uses TABs for indentation.
|
# Ensure that no C source file or rng schema uses TABs for
|
||||||
# Also match *.h.in files, to get libvirt.h.in.
|
# indentation. Also match *.h.in files, to get libvirt.h.in. Exclude
|
||||||
# Exclude files in gnulib, since they're imported.
|
# files in gnulib, since they're imported.
|
||||||
sc_TAB_in_indentation:
|
sc_TAB_in_indentation:
|
||||||
@prohibit='^ * ' \
|
@prohibit='^ * ' \
|
||||||
in_vc_files='\.(rng|[ch](\.in)?)$$' \
|
in_vc_files='\.(rng|[ch](\.in)?)$$' \
|
||||||
halt='use spaces, not TAB, for indentation in C sources' \
|
halt='use spaces, not TAB, for indentation in C sources and RNG schemas' \
|
||||||
$(_sc_search_regexp)
|
$(_sc_search_regexp)
|
||||||
|
|
||||||
ctype_re = isalnum|isalpha|isascii|isblank|iscntrl|isdigit|isgraph|islower\
|
ctype_re = isalnum|isalpha|isascii|isblank|iscntrl|isdigit|isgraph|islower\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user