Expressions
- Eliminated % modulus operator - who cares? - Found a potential problem with argv[0].
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
#include <sstream>
|
||||
#include <stdlib.h>
|
||||
#include <Context.h>
|
||||
#include <Lexer.h>
|
||||
#include <Date.h>
|
||||
#include <Duration.h>
|
||||
#include <Nibbler.h>
|
||||
@@ -336,11 +335,6 @@ bool Expression::eval (Task& task)
|
||||
value_stack.push_back (left);
|
||||
}
|
||||
|
||||
else if (arg->first == "%")
|
||||
{
|
||||
// TODO Implement modulus.
|
||||
}
|
||||
|
||||
else if (arg->first == "+")
|
||||
{
|
||||
left = left + right;
|
||||
|
||||
Reference in New Issue
Block a user