From ef009ffde9b2e078511c944d841f71a11c18ac0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 16 Sep 2013 13:40:25 +0200 Subject: [PATCH] Small fix to check_doxy_blocks script --- scripts/check_doxy_blocks.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/check_doxy_blocks.pl b/scripts/check_doxy_blocks.pl index c90143bf2..d547a624f 100755 --- a/scripts/check_doxy_blocks.pl +++ b/scripts/check_doxy_blocks.pl @@ -16,8 +16,8 @@ use File::Basename; my @directories = qw(include/polarssl library doxygen/input); # very naive pattern to find directives: -# everything with a backslach except '\0' -my $doxy_re = qr/\\(?!0)/; +# everything with a backslach except '\0' and backslash at EOL +my $doxy_re = qr/\\(?!0|\n)/; sub check_file { my ($fname) = @_;