mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Make error msg nicer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ee7cb29866
commit
36e4b8aec4
@ -103,8 +103,8 @@ void SymbolTable::insert(Value *N) {
|
||||
|
||||
// TODO: The typeverifier should catch this when its implemented
|
||||
if (lookup(N->getType(), N->getName())) {
|
||||
cerr << "SymbolTable WARNING: Name already in symbol table: '"
|
||||
<< N->getName() << "'\n";
|
||||
cerr << "SymbolTable ERROR: Name already in symbol table: '"
|
||||
<< N->getName() << "' for type '" << N->getType()->getName() << "'\n";
|
||||
abort(); // TODO: REMOVE THIS
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user