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

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

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

Revision 5369 Revision 5370
208# 208#
209# Now build the new context that calls the 209# Now build the new context that calls the
210# above classes rather than the usual ones 210# above classes rather than the usual ones
211# 211#
212 212
213$context{LimitedVector} = Parser::Context->getCopy(undef,"Vector"); 213$context{LimitedVector} = Parser::Context->getCopy("Vector");
214$context{LimitedVector}->operators->set( 214$context{LimitedVector}->operators->set(
215 '+' => {class => 'LimitedVector::BOP::add'}, 215 '+' => {class => 'LimitedVector::BOP::add'},
216 '-' => {class => 'LimitedVector::BOP::subtract'}, 216 '-' => {class => 'LimitedVector::BOP::subtract'},
217 '*' => {class => 'LimitedVector::BOP::multiply'}, 217 '*' => {class => 'LimitedVector::BOP::multiply'},
218 '* ' => {class => 'LimitedVector::BOP::multiply'}, 218 '* ' => {class => 'LimitedVector::BOP::multiply'},

Legend:
Removed from v.5369  
changed lines
  Added in v.5370

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9