//this.log("EXP:" + token.data);
switch (token.type) {
case 'PUNC':
- print("EXPR-PUNC:" + JSON.stringify(token, null, 4));
+ print("EXPR-PUNC:" + token.toString());
switch(token.data) {
case ';':
case ',':
- if (this.braceNesting == expressionBraceNesting &&
- bracketNesting == 0 &&
- parensNesting == 0) {
- print("<< EXIT EXPRESSION");
- this.expN--;
- return;
- }
+
+ print("<< EXIT EXPRESSION");
break;
// key value..
this.ts = new TokenStream(token.props[prop].val);
- this.parseScope(scope);
+ this.parseScope(currentScope);
}
this.ts = curTS;
var _this = this;
token.items.forEach(function(expr) {
_this.ts = new TokenStream(expr);
- _this.parseExpression(scope)
+ _this.parseExpression()
});
this.ts = curTS;