Commented out superfluous debug

This commit is contained in:
Jonathan Turner 2009-06-07 01:34:29 +00:00
parent e64a1f6f68
commit cb2d221201
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
i = 0
var i = 0
if (i == 0) {
print("i is 0")
}

View File

@ -1,4 +1,4 @@
x = -(1 + 2 - 3 * 4 / 2)
var x = -(1 + 2 - 3 * 4 / 2)
print("Answer: " + x.to_string())
if (x >= 2 && x <= 4) {

View File

@ -1,4 +1,4 @@
i = 0
var i = 0
while (i < 10) {
print("i: " + i.to_string())
i = i + 1

View File

@ -150,7 +150,7 @@ Boxed_Value eval_token(BoxedCPP_System &ss, TokenPtr node) {
if (node->children.size() > 1) {
for (i = node->children.size()-3; ((int)i) >= 0; i -= 2) {
if ((node->children[i+1]->text == "=") && (node->children[i]->identifier == TokenType::Variable_Decl)) {
std::cout << "Setting: " << node->children[i]->text << std::endl;
//std::cout << "Setting: " << node->children[i]->text << std::endl;
ss.set_object(node->children[i]->children[0]->text, retval);
}
else {