summaryrefslogtreecommitdiff
path: root/tabella.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tabella.pl')
-rw-r--r--tabella.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tabella.pl b/tabella.pl
index b30aac6..93c1123 100644
--- a/tabella.pl
+++ b/tabella.pl
@@ -11,6 +11,7 @@ while (my $line=<>) {
if ($state==1) {
if ($line=~/{/) {$state=2};
}
+ if ($line=~/\\end/) {$state=3}
if ($state==2) {
$line=~s[}\s*(&|\\\\|)\s*(%.*)?$][} $lineterm[$mline%3] $2\n]
and ++$mline;