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

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

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

Revision 2652 Revision 2653
115# 115#
116# Determine if the operand is an infinity and set the type 116# Determine if the operand is an infinity and set the type
117# 117#
118sub checkInfinite { 118sub checkInfinite {
119 my $self = shift; 119 my $self = shift;
120 my $uop = $self->{def}{$self->{uop}}; 120 my $uop = $self->{def};
121 return 0 unless $self->{op}->{isInfinite} && $uop->{allowInfinite}; 121 return 0 unless $self->{op}->{isInfinite} && $uop->{allowInfinite};
122 $self->{type} = $self->{op}->typeRef; 122 $self->{type} = $self->{op}->typeRef;
123 return 1; 123 return 1;
124} 124}
125 125

Legend:
Removed from v.2652  
changed lines
  Added in v.2653

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9