[system] Repository:
ViewVC logotype

Revision 5939


Jump to revision: Previous Next
Author: dpvc
Date: Tue Oct 14 12:41:28 2008 UTC (5 years, 6 months ago)
Log Message:
BACKPORT:  changes from 1.51 and 1.52:

1.52: The copy() method now does not copy values listed by the noinherit()
method (e.g., correct_ans, test_values, etc). This resolves bug #1528.

1.51: Allow the perlFunction method to produce functions that return
formulas when not all the variables are used as arguments.

For example:

    Formula("x+y")->perlFunction('f',['x']);
    $f = f(2);

would produce the equivalent of

    $f = Formula("2+y");

Using the substitute method is more efficient, but this now does the
right thing rather than generate error messages.

Changed paths:

Path Details
Directorybranches/rel-2-4-patches/pg/lib/Parser.pm modified , text changed

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9