Skip to content
Snippets Groups Projects
Commit 77391d36 authored by Philip Kaluđerčić's avatar Philip Kaluđerčić :u7121:
Browse files

Don't terminate at just any one character line

parent 37297a42
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment