scope.declareIdentifier(token.data, token);
} else {
token.identifier = identifier;
- this.warn("The variable " + symbol + " has already been declared in the same scope...");
+ this.warn("The variable " + symbol + ' (line:' + token.line + ') has already been declared in the same scope...");
}
}
// We don't need to declare longer symbols since they won't cause
// any conflict with other munged symbols.
this.globalScope.declareIdentifier(symbol, token);
- this.warn("Found an undeclared symbol: " + symbol, true);
+ this.warn("Found an undeclared symbol: " + symbol + ' (line:' + token.line + ')', true);
}
//println("GOT IDENT IGNORE(3): <B>" + symbol + "</B><BR/>");
// We don't need to declare longer symbols since they won't cause
// any conflict with other munged symbols.
this.globalScope.declareIdentifier(symbol, token);
- this.warn("Found an undeclared symbol: " + symbol, true);
+ this.warn("Found an undeclared symbol: " + symbol + ' (line:' + token.line + ')', true);
} else {
//println("undeclared")
}