From 66d9a79ab1e07d0c817b836c04e67f7bab2f6122 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 22 Mar 2012 13:08:30 -0700 Subject: [PATCH] fix syntax errors --- sweavealike.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sweavealike.pm b/sweavealike.pm index 7c92884..f802fa5 100644 --- a/sweavealike.pm +++ b/sweavealike.pm @@ -176,7 +176,7 @@ sub preprocess { } if (not exists $param{results} or (defined $param{results} and - $param{results} !~ /^(hide|false)$/i;)) { + $param{results} !~ /^(hide|false)$/i)) { $output .= $code_result; } if (exists $param{echo} or @@ -204,7 +204,6 @@ sub savestate { # make sure we never try to save an R process for my $page (keys %pagestate) { next unless exists $pagestate{$page}{$id}; - next unless ; if (exists $pagestate{$page}{$id}{R}) { if (defined $pagestate{$page}{$id}{R} and $pagestate{$page}{$id}{R}->is_started()) { -- 2.39.2