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

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

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

Revision 5051 Revision 5370
315# 315#
316# Now build the new context that calls the 316# Now build the new context that calls the
317# above classes rather than the usual ones 317# above classes rather than the usual ones
318# 318#
319 319
320$context{LimitedPolynomial} = Parser::Context->getCopy(undef,"Numeric"); 320$context{LimitedPolynomial} = Parser::Context->getCopy("Numeric");
321$context{LimitedPolynomial}->operators->set( 321$context{LimitedPolynomial}->operators->set(
322 '+' => {class => 'LimitedPolynomial::BOP::add'}, 322 '+' => {class => 'LimitedPolynomial::BOP::add'},
323 '-' => {class => 'LimitedPolynomial::BOP::subtract'}, 323 '-' => {class => 'LimitedPolynomial::BOP::subtract'},
324 '*' => {class => 'LimitedPolynomial::BOP::multiply'}, 324 '*' => {class => 'LimitedPolynomial::BOP::multiply'},
325 '* ' => {class => 'LimitedPolynomial::BOP::multiply'}, 325 '* ' => {class => 'LimitedPolynomial::BOP::multiply'},

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

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9