[system] / trunk / pg / macros / parserImplicitPlane.pl Repository:
ViewVC logotype

Diff of /trunk/pg/macros/parserImplicitPlane.pl

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

Revision 3679 Revision 3680
138sub create { 138sub create {
139 my $self = shift; my $f = shift; 139 my $self = shift; my $f = shift;
140 return $f if Value::isFormula($f); 140 return $f if Value::isFormula($f);
141 my $isEquals = ref($f) eq 'ImplicitPlane::equality'; 141 my $isEquals = ref($f) eq 'ImplicitPlane::equality';
142 $f = bless $f, 'Parser::BOP::equality' if $isEquals; # so Parser will recognize it 142 $f = bless $f, 'Parser::BOP::equality' if $isEquals; # so Parser will recognize it
143 my $f = Value::Formula->create($f,@_); 143 $f = Value::Formula->create($f,@_);
144 $f = $self->new($f) if $isEquals || ref($f->{tree}) eq 'ImplicitPlane::equality'; 144 $f = $self->new($f) if $isEquals || ref($f->{tree}) eq 'ImplicitPlane::equality';
145 return $f; 145 return $f;
146} 146}
147 147
148# 148#

Legend:
Removed from v.3679  
changed lines
  Added in v.3680

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9