mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Fix a bug that caused stuff like this:
main at ./eh.cpp:1414 -> printf("a\n"); to be printed, instead of this: main at ./eh.cpp:14 14 -> printf("a\n"); git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18005 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2f95ed65e0
commit
fd80b5c260
@ -119,7 +119,8 @@ void CLIDebugger::printProgramLocation(bool PrintLocation) {
|
||||
CurrentFile = &FileDesc->getSourceText();
|
||||
|
||||
std::cout << " at " << CurrentFile->getFilename() << ":" << LineNo;
|
||||
if (ColNo) std::cout << ":" << ColNo << "\n";
|
||||
if (ColNo) std::cout << ":" << ColNo;
|
||||
std::cout << "\n";
|
||||
}
|
||||
|
||||
if (printSourceLine(LineNo))
|
||||
|
Loading…
Reference in New Issue
Block a user