From ab299eb39a077f70ffa1deb8cb7561482037c413 Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 8 Sep 2006 14:19:30 +0000 Subject: [PATCH] can break after }; too --- runoff1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runoff1 b/runoff1 index 67cb603..ed29ea5 100755 --- a/runoff1 +++ b/runoff1 @@ -42,7 +42,7 @@ for($i=0; $i<@lines; ){ $breakbefore = $j; $lines[$j] = ""; } - if($lines[$j] =~ /^}$/){ + if($lines[$j] =~ /^};?$/){ $breakbefore = $j+1; } if($lines[$j] =~ /^{$/){