} else {
//print("EXPR-NAME:" + token.toString());
}
- symbol = token.data;
+ var symbol = token.data;
//print("in NAME = " + token.toString());
//print("in NAME 0: " + this.ts.look(0).toString());
//print("in NAME 2: " + this.ts.lookTok(2).toString());
if (this.mode == ScopeParserMode.PASS2_SYMBOL_TREE) {
- identifier = this.getIdentifier(symbol, scope, token);
+ var identifier = this.getIdentifier(symbol, scope, token);
//println("<B>??</B>");
if (identifier == false) {
}
- symbol = token.data;
- if (this.mode == 'BUILDING_SYMBOL_TREE') {
+ var symbol = token.data;
+ if (this.mode == ScopeParserMode.BUILDING_SYMBOL_TREE) {
if (token.name == "EVAL") {
//print(JSON.stringify(token,null,4));
}
//print("<< EXIT EXPRESSION");
this.expN--;
- },
+ }
parseCatch : function(scope) {