diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-10-23 09:18:23 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2014-10-23 09:18:23 +0200 |
commit | 6f0594f4474c97cf52d74e0e9a024cb3c3a57844 (patch) | |
tree | a77742c4bbfe95a0695fe48d557f4a364cd199f8 /maint.mk | |
parent | 4c594405f7ecac074a38d4c40344308324d3f77b (diff) | |
download | gnutls-6f0594f4474c97cf52d74e0e9a024cb3c3a57844.tar.gz |
updated gnulib
Diffstat (limited to 'maint.mk')
-rw-r--r-- | maint.mk | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -996,6 +996,14 @@ sc_prohibit_undesirable_word_seq: | grep -vE '$(ignore_undesirable_word_sequence_RE_)' | grep . \ && { echo '$(ME): undesirable word sequence' >&2; exit 1; } || : +# Except for shell files and for loops, double semicolon is probably a mistake +sc_prohibit_double_semicolon: + @prohibit='; *;[ {} \]*(/[/*]|$$)' \ + in_vc_files='\.[chly]$$' \ + exclude='\bfor *\(.*\)' \ + halt="Double semicolon detected" \ + $(_sc_search_regexp) + _ptm1 = use "test C1 && test C2", not "test C1 -''a C2" _ptm2 = use "test C1 || test C2", not "test C1 -''o C2" # Using test's -a and -o operators is not portable. |