about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xxlint2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlint b/xlint
index 194269e..7a3165f 100755
--- a/xlint
+++ b/xlint
@@ -38,7 +38,7 @@ exists_once() {
 
 explain_make_check() {
 	awk "-vtemplate=$template" -vOFS=: '
-		/make_check=[^#]*$/ && !match(prev, /^[:blank:]*#/) {print(template, FNR, " explain why the tests fail")}
+		/make_check=[^#]*$/ && prev !~ /^[[:blank:]]*#/ {print(template, FNR, " explain why the tests fail"); print prev}
 		{prev=$0}
 	' $template
 }