Finished up the keyword resolution issue and fixed for, while and until. Other tags still need work.
This commit is contained in:
1 parent
93a520f152
commit
6da620971e
8 files changed
+61
-47
No files matched your search
+3
-6
@@ -117,7 +117,6 @@ namespace jet {
|
||||
if(in.ifNext("<")) {
|
||||
Operand op(in);
|
||||
if(isNumber && op.isNumber) {
|
||||
std::cout << doubleValue << " < " << op.doubleValue << std::endl;
|
||||
if(doubleValue < op.doubleValue) {
|
||||
boolean = true;
|
||||
isNumber = false;
|
||||
@@ -279,11 +278,9 @@ namespace jet {
|
||||
throw coreutils::Exception("operand is not a number.");
|
||||
} else
|
||||
throw coreutils::Exception("operand is not a number.");
|
||||
} else {
|
||||
// std::cout << ">" << string << std::endl;
|
||||
return;
|
||||
}
|
||||
|
||||
} else
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user