commit 002b45ed210932a36aaf086f22b0c003dddfe9d1
parent 7bc89af72a4a34678aff8ffeab9913736b77dcf9
Author: Jan Pobrislo <ccx@te2000.cz>
Date: Tue, 26 Jul 2022 20:17:33 +0200
Slightly more friendly debugging info for ? command parse error
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/fileset.awk b/bin/fileset.awk
@@ -110,7 +110,7 @@ function process_statement() {
# check before the command is processed if we have dangling "?"
if(cchar != "!" && has_cond != "") {
printf "%s:%s: ? is not followed by ! (superfluous condition): %s\n", FILENAME, FNR, \
- cchar crest statement >"/dev/stderr"
+ cchar crest " '" statement "'" >"/dev/stderr"
if(!WARN_ONLY) {
exit 1
}