]> mj.ucw.cz Git - temple.git/commitdiff
Squash a warning
authorMartin Mares <mj@ucw.cz>
Tue, 5 Oct 2010 17:02:36 +0000 (19:02 +0200)
committerMartin Mares <mj@ucw.cz>
Tue, 5 Oct 2010 17:02:36 +0000 (19:02 +0200)
Thanks to Mosquitoe for the patch.

UCW/Temple.pm

index ff7c4cffc3d264b913b690a519ae5a5ab6e06e81..ff7141072483e62abb191fdf2c062e2d432f2387 100644 (file)
@@ -109,7 +109,7 @@ sub parse_string($) {
                        $x =~ s/^\[//;
                        $x =~ s/\]$//;
                        eval_if_ok($x);
-               } elsif ($t =~ /\G@\(/cgs) {
+               } elsif ($t =~ /\G\@\(/cgs) {
                        my $x = get_nested(\$t, '\(', '\)');
                        $x =~ s/^\(//;
                        $x =~ s/\)$//;