summaryrefslogtreecommitdiff
path: root/runoff1
diff options
context:
space:
mode:
authorrsc <rsc>2006-09-08 14:19:30 +0000
committerrsc <rsc>2006-09-08 14:19:30 +0000
commitab299eb39a077f70ffa1deb8cb7561482037c413 (patch)
treef2db84282e1fa89e344860fe482ed5b5833a960f /runoff1
parentd911d83ca1ff002f170f2c77975c1a6d705856a6 (diff)
downloadxv6-labs-ab299eb39a077f70ffa1deb8cb7561482037c413.tar.gz
xv6-labs-ab299eb39a077f70ffa1deb8cb7561482037c413.tar.bz2
xv6-labs-ab299eb39a077f70ffa1deb8cb7561482037c413.zip
can break after }; too
Diffstat (limited to 'runoff1')
-rwxr-xr-xrunoff12
1 files changed, 1 insertions, 1 deletions
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] =~ /^{$/){