warn about unreferenced symbols
This commit is contained in:
@@ -806,11 +806,8 @@ function OutputStream(options) {
|
||||
output.print_name(self.name);
|
||||
});
|
||||
DEFPRINT(AST_SymbolDeclaration, function(self, output){
|
||||
if (self.uniq) {
|
||||
self.uniq.print(output);
|
||||
} else {
|
||||
output.print_name(self.mangled_name || self.name);
|
||||
}
|
||||
var def = self.definition();
|
||||
output.print_name(def.mangled_name || def.name);
|
||||
});
|
||||
DEFPRINT(AST_SymbolRef, function(self, output){
|
||||
var def = self.symbol;
|
||||
|
||||
Reference in New Issue
Block a user