CmdCalc
- The 'calc' command (and only the 'calc' command) propagates the rc.debug setting to Eval. This provides the means to debug expression problems.
This commit is contained in:
@@ -59,6 +59,7 @@ int CmdCalc::execute (std::string& output)
|
|||||||
e.addSource (namedDates);
|
e.addSource (namedDates);
|
||||||
e.addSource (domSource);
|
e.addSource (domSource);
|
||||||
e.ambiguity (false); // TODO Could/should be configurable.
|
e.ambiguity (false); // TODO Could/should be configurable.
|
||||||
|
e.debug (context.config.getBoolean ("debug"));
|
||||||
|
|
||||||
// Compile all the args into one expression.
|
// Compile all the args into one expression.
|
||||||
std::string expression;
|
std::string expression;
|
||||||
|
|||||||
Reference in New Issue
Block a user