From: rsc Date: Fri, 8 Sep 2006 14:19:30 +0000 (+0000) Subject: can break after }; too X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=ab299eb39a077f70ffa1deb8cb7561482037c413;p=cs3210-lab0.git can break after }; too --- 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] =~ /^{$/){