Log Message:
-----------
Load Parser::Legacy.
This change is needed for the current version of extraAnswerEvaluators.pl
to work out of the box. By default, one will still get the original
(non-Parser) versions of num_cmp and fun_cmp, but turning on the
Parser-based versions will be much easier (just one line to change, or
override on a course by course basis).
There will be a companion change in the pg directories.
Modified Files:
--------------
webwork-modperl/conf:
global.conf.dist
Revision Data
-------------
Index: global.conf.dist
===================================================================
RCS file: /webwork/cvs/system/webwork-modperl/conf/global.conf.dist,v
retrieving revision 1.130
retrieving revision 1.131
diff -Lconf/global.conf.dist -Lconf/global.conf.dist -u -r1.130 -r1.131
--- conf/global.conf.dist
+++ conf/global.conf.dist
@@ -678,6 +678,10 @@
# Size in pixels of dynamically-generated images, i.e. graphs.
$pg{specialPGEnvironmentVars}{onTheFlyImageSize} = 400,
+
+# To activate Parser-based versions of num_cmp and fun_cmp, change this
+# value to 0.
+$pg{specialPGEnvironmentVars}{useOldAnswerMacros} = 1;
# Strings to insert at the start and end of the body of a problem
# (at beginproblem() and ENDDOCUMENT) in various modes. More display modes
@@ -726,6 +730,7 @@
[qw(Units)],
[qw(VectorField)],
[qw(Parser Value)],
+ [qw(Parser::Legacy)],
[qw(Apache::Log)],
];
|