ts.look(0).outData = ts.look(0).data+"\n";
}
// method call followed by name..
- if (tok.lookTok(1).data == "(") {
+ if (ts.lookTok(1).data == "(") {
var cu = ts.cursor;
ts.balance("(");
// although this var a=function(){},v,c; causes
- if (ts.lookTok(1).type == 'NAME' && ts.lookTok(1,true).name == "NEWLINE") {
+
+ if (ts.lookTok(1).type == 'NAME' && ts.look(1,true).name == "NEWLINE") {
+
ts.look(0).outData = ts.look(0).data+"\n";
}
// restore..
ts.cursor = cu;
+ continue;
}