//print("<<<<<<<EXIT SCOPE ERR?" +this.scopes.length);
},
-
+ expN : 0,
parseExpression : function() {
// Parse the expression until we encounter a comma or a semi-colon
// Parse functions if any...
//println("<i>EXP</i><BR/>");
!this.debug || print("PARSE EXPR");
-
+ this.expN++;
// for printing stuff..
this.scopes.forEach(function() {
scopeIndent += ' ';
});
- print(scopeIndent + ">> ENTER EXPRESSION");
+ print(scopeIndent + ">> ENTER EXPRESSION" + this.expN);
while (token = this.ts.lookTok()) {
bracketNesting == 0 &&
parensNesting == 0) {
print(scopeIndent + "<< EXIT EXPRESSION");
+ this.expN--;
return;
}
break;