case "PUNC.LEFT_CURLY": // {
//println("<i>"+token.data+"</i>");
isObjectLitAr.push(false);
- print(">>>>>> OBJLIT PUSH(false)");
this.braceNesting++;
+
+ print(">>>>>> OBJLIT PUSH(false)" + this.braceNesting);
break;
case "PUNC.RIGHT_CURLY": // }
// then we are in an object lit.. -> we need to flag the brace as such...
isObjectLitAr.pop();
isObjectLitAr.push(true);
- print(">>>>>> OBJLIT PUSH(true)");
+ print(">>>>>> OBJLIT REPUSH(true)");
}
isInObjectLitAr = isObjectLitAr[isObjectLitAr.length-1];
if ((this.ts.lookTok(-1).data == "{") && (this.ts.lookTok(1).data == ":")) {
isObjectLitAr.pop();
isObjectLitAr.push(true);
- print(">>>>>> OBJLIT PUSH(true)");
+ print(">>>>>> OBJLIT REPUSH(true)");
//println("<i>"+token.data+"</i>");
break;
}