var bn = this.braceNesting;
var nts = [];
while (true) {
- var n = this.ts.lookTok();
- print(n.toString());
- if (!n || n.data == ',') {
+ if (!token || token.type == 'VOID' || token.data == ',') {
break;
}
- nts.push(n);
- this.ts.nextTok();
+ nts.push(token);
+ token = this.ts.nextTok();
}
if (nts.length) {
var TS = this.ts;
break;
case "KEYW.CATCH":
- //print('SCOPE-CATCH:' + token.toString());
+ print('SCOPE-CATCH:' + token.toString());
//println("<i>"+token.data+"</i>");
this.parseCatch();
break;