[system] / trunk / pg / lib / Parser / Function.pm Repository:
ViewVC logotype

Diff of /trunk/pg/lib/Parser/Function.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 5508 Revision 5509
17 $name = $def->{alias}, $def = $context->{functions}{$name} if defined $def->{alias}; 17 $name = $def->{alias}, $def = $context->{functions}{$name} if defined $def->{alias};
18 my $fn = bless { 18 my $fn = bless {
19 name => $name, params => $params, 19 name => $name, params => $params,
20 def => $def, ref => $ref, equation => $equation, 20 def => $def, ref => $ref, equation => $equation,
21 }, $def->{class}; 21 }, $def->{class};
22 $fn->weaken;
22 $fn->{isConstant} = $constant; 23 $fn->{isConstant} = $constant;
23 $fn->_check; 24 $fn->_check;
24 return $fn->Item("Value")->new($equation,[$fn->eval]) 25 return $fn->Item("Value")->new($equation,[$fn->eval])
25 if $constant && $context->flag('reduceConstantFunctions'); 26 if $constant && $context->flag('reduceConstantFunctions');
26 $fn->{isConstant} = 0; 27 $fn->{isConstant} = 0;

Legend:
Removed from v.5508  
changed lines
  Added in v.5509

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9