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

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

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

Revision 5048 Revision 5370
224# 224#
225# Now build the new context that calls the 225# Now build the new context that calls the
226# above classes rather than the usual ones 226# above classes rather than the usual ones
227# 227#
228 228
229$context{LimitedComplex} = Parser::Context->getCopy(undef,"Complex"); 229$context{LimitedComplex} = Parser::Context->getCopy("Complex");
230$context{LimitedComplex}->operators->set( 230$context{LimitedComplex}->operators->set(
231 '+' => {class => 'LimitedComplex::BOP::add'}, 231 '+' => {class => 'LimitedComplex::BOP::add'},
232 '-' => {class => 'LimitedComplex::BOP::subtract'}, 232 '-' => {class => 'LimitedComplex::BOP::subtract'},
233 '*' => {class => 'LimitedComplex::BOP::multiply'}, 233 '*' => {class => 'LimitedComplex::BOP::multiply'},
234 '* ' => {class => 'LimitedComplex::BOP::multiply'}, 234 '* ' => {class => 'LimitedComplex::BOP::multiply'},

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

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9