- Renamed Duration object to OldDuration so that the two implementations can
  coexist in a binary.
This commit is contained in:
Paul Beckingham
2014-01-02 01:06:48 -05:00
parent 9bfe40fac7
commit 18f03c25b4
20 changed files with 566 additions and 566 deletions

View File

@@ -1397,7 +1397,7 @@ bool A3::is_attmod (Nibbler& n, Arg& arg)
n.getQuoted ('\'', value) ||
// TODO Need more things recognized before it falls through to getUntilEOS.
// n.getDate (context.config.get ("dateformat"), date) ||
// need Duration too.
// need OldDuration too.
n.getUntilWS (value) ||
n.getName (value) ||
n.getUntilEOS (value) || // Redundant?
@@ -1599,7 +1599,7 @@ bool A3::is_duration (Nibbler& n, std::string& result)
double d;
std::string unit;
std::vector <std::string> units = Duration::get_units ();
std::vector <std::string> units = OldDuration::get_units ();
if (n.getUnsignedNumber (d) &&
n.getOneOf (units, unit))