removed all unnecessary traces
This commit is contained in:
@@ -448,10 +448,6 @@ class Interp {
|
||||
#end
|
||||
switch (e) {
|
||||
case EClass(name, fields, extend, interfaces):
|
||||
trace(fields);
|
||||
for(field in fields) {
|
||||
trace(Printer.toString(field));
|
||||
}
|
||||
if (customClasses.exists(name))
|
||||
error(EAlreadyExistingClass(name));
|
||||
customClasses.set(name, new CustomClassHandler(this, name, fields, extend, interfaces));
|
||||
|
||||
@@ -741,7 +741,6 @@ class Parser {
|
||||
var inf = parseFunctionDecl();
|
||||
|
||||
var tk = token();
|
||||
trace(tk);
|
||||
push(tk);
|
||||
mk(EFunction(inf.args, inf.body, name, inf.ret, nextIsPublic, nextIsStatic, nextIsOverride),p1,pmax(inf.body));
|
||||
case "import":
|
||||
@@ -817,7 +816,6 @@ class Parser {
|
||||
error(ECustom('Cannot extend a class twice.'), 0, 0);
|
||||
}
|
||||
extend = path.join(".");
|
||||
trace(extend);
|
||||
default:
|
||||
error(ECustom('${Std.string(e)} is not a valid path.'), 0, 0);
|
||||
}
|
||||
@@ -866,21 +864,10 @@ class Parser {
|
||||
while( !maybe(TBrClose) ) {
|
||||
if(token() == TSemicolon) continue;
|
||||
var a = parseExpr();
|
||||
//while( !maybe(TSemicolon) ) {
|
||||
// token();
|
||||
//}
|
||||
trace(Printer.toString(a));
|
||||
fields.push(a);
|
||||
}
|
||||
|
||||
trace("Parse Body", fields);
|
||||
|
||||
//trace(token());
|
||||
|
||||
//var body = parseExpr();
|
||||
//ensure(TBrClose);
|
||||
var tk = token();
|
||||
trace(tk);
|
||||
push(tk);
|
||||
mk(EClass(name, fields, extend, interfaces), p1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user