fixed run-tests and an issue about reversing the condition in AST_If

This commit is contained in:
Mihai Bazon
2012-09-12 13:00:13 +03:00
parent 9a629abe00
commit 2b4093ba83
3 changed files with 9 additions and 5 deletions

View File

@@ -885,7 +885,7 @@ function OutputStream(options) {
});
DEFPRINT(AST_Symbol, function(self, output){
var def = self.definition();
output.print_name(def.mangled_name || def.name);
output.print_name(def ? def.mangled_name || def.name : self.name);
});
DEFPRINT(AST_This, function(self, output){
output.print("this");