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

Diff of /trunk/pg/lib/Parser/BOP/equality.pm

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

Revision 5001 Revision 5024
95 95
96# 96#
97# Add/Remove the equality operator to/from a context 97# Add/Remove the equality operator to/from a context
98# 98#
99sub Allow { 99sub Allow {
100 my $self = shift; my $context = self->context; 100 my $self = shift || "Value"; my $context = shift || $self->context;
101 my $allow = shift; $allow = 1 unless defined($allow); 101 my $allow = shift; $allow = 1 unless defined($allow);
102 if ($allow) { 102 if ($allow) {
103 my $prec = $context->{operators}{','}{precedence}; 103 my $prec = $context->{operators}{','}{precedence};
104 $prec = 1 unless defined($prec); 104 $prec = 1 unless defined($prec);
105 $context->operators->add( 105 $context->operators->add(

Legend:
Removed from v.5001  
changed lines
  Added in v.5024

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9