Log Message:
-----------
Backward port of minor corrections from HEAD
Tags:
----
rel-2-4-patches
Modified Files:
--------------
pg/macros:
contextCurrency.pl
parserAutoStrings.pl
parserMultiPart.pl
Revision Data
-------------
Index: parserAutoStrings.pl
===================================================================
RCS file: /webwork/cvs/system/pg/macros/parserAutoStrings.pl,v
retrieving revision 1.4.2.1
retrieving revision 1.4.2.1.2.1
diff -Lmacros/parserAutoStrings.pl -Lmacros/parserAutoStrings.pl -u -r1.4.2.1 -r1.4.2.1.2.1
--- macros/parserAutoStrings.pl
+++ macros/parserAutoStrings.pl
@@ -16,7 +16,7 @@
=head1 NAME
-parserAutoStrings.pl - Force String() to accpet any string.
+parserAutoStrings.pl - Force String() to accept any string.
=head1 DESCRIPTION
@@ -24,15 +24,16 @@
legal value. (It will add the string to the context if it isn't
already defined.)
-To acocmplish this, put the lines
+To accomplish this, put the lines
loadMacros("parserAutoStrings.pl");
AutoStrings();
-(You can also pass AutoStrings a context pointer if you wish to
-alter context other than the current one.)
+at the beginning of your problem file. (You can also pass AutoStrings
+a context pointer if you wish to alter context other than the current
+one.)
-There is also a routine to help making strings easier to predefine.
+There is also a routine to help make strings easier to predefine.
For example:
loadMacros("parserAutoStrings.pl");
Index: parserMultiPart.pl
===================================================================
RCS file: /webwork/cvs/system/pg/macros/parserMultiPart.pl,v
retrieving revision 1.7.2.2
retrieving revision 1.7.2.2.2.1
diff -Lmacros/parserMultiPart.pl -Lmacros/parserMultiPart.pl -u -r1.7.2.2 -r1.7.2.2.2.1
--- macros/parserMultiPart.pl
+++ macros/parserMultiPart.pl
@@ -30,7 +30,7 @@
loadMacros("parserMultiAnswer.pl");
sub MultiPart {
- warn "The MultiPart object has been depricated.${BR}You should use MultiAnswer object instead";
+ warn "The MultiPart object has been deprecated.${BR}You should use MultiAnswer object instead";
MultiAnswer->new(@_);
}
Index: contextCurrency.pl
===================================================================
RCS file: /webwork/cvs/system/pg/macros/contextCurrency.pl,v
retrieving revision 1.15.2.1
retrieving revision 1.15.2.1.2.1
diff -Lmacros/contextCurrency.pl -Lmacros/contextCurrency.pl -u -r1.15.2.1 -r1.15.2.1.2.1
--- macros/contextCurrency.pl
+++ macros/contextCurrency.pl
@@ -125,7 +125,7 @@
ANS(Compute('$10.95')->cmp(forceDecimals=>1));
By default, if the monitary value includes decimals digits, it
-must have exactly two. You can weaken this requirement to all
+must have exactly two. You can weaken this requirement to allow
any number of decimals by using noExtraDecimals=>0.
ANS(Compute('$10.23372')->cmp(noExtraDecimals=>0);
@@ -142,7 +142,7 @@
It can also be set on an individual currency value:
- $m = Compute("$50")->with(trimtrailingZeros=>1);
+ $m = Compute('$50')->with(trimtrailingZeros=>1);
so that this $m will print as $50 rather than $50.00.
|