From 77391d367b0e76d4cd7c5d7dcff197e905b3768c Mon Sep 17 00:00:00 2001 From: Philip Kaludercic <philip.kaludercic@fau.de> Date: Mon, 15 Jan 2024 14:10:46 +0100 Subject: [PATCH] Don't terminate at just any one character line --- gen.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen.pl b/gen.pl index 8e250a9..d7699f1 100755 --- a/gen.pl +++ b/gen.pl @@ -42,7 +42,7 @@ sub add { while (<>) { if (/^\s*#/) { # ignore comments - } elsif (/^.$/) { + } elsif (/^\.$/) { add(); die "end of block without a question at line $ARGV:$.\n" -- GitLab