]> mj.ucw.cz Git - temple.git/commitdiff
Fixed calling of multi-parameter functions
authorMartin Mares <mj@ucw.cz>
Tue, 5 Oct 2010 17:02:17 +0000 (19:02 +0200)
committerMartin Mares <mj@ucw.cz>
Tue, 5 Oct 2010 17:02:17 +0000 (19:02 +0200)
Thanks to Mosquitoe for the fix.

UCW/Temple.pm

index 6efa0905f45353d855f13ce7c4b81229bae5c11f..ff7c4cffc3d264b913b690a519ae5a5ab6e06e81 100644 (file)
@@ -84,7 +84,7 @@ sub eval_func($$) {
                }
                # print "Cond stack: @cond\n";
        } else {
-               my $res = eval_if_ok("$f($a)");
+               my $res = eval_if_ok("$f $a");
                out $res if defined $res;
        }
 }