mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-05 12:31:33 +00:00
Fixed a crash in the enhanced disassembler where
because of the lack of a newline, AsmToken::Eof was being found instead of AsmToken::EndOfStatement. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114621 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
be2d4e77b5
commit
38a9288f78
@ -63,6 +63,8 @@ int EDInst::stringify() {
|
|||||||
if (Disassembler.printInst(String, *Inst))
|
if (Disassembler.printInst(String, *Inst))
|
||||||
return StringifyResult.setResult(-1);
|
return StringifyResult.setResult(-1);
|
||||||
|
|
||||||
|
String.push_back('\n');
|
||||||
|
|
||||||
return StringifyResult.setResult(0);
|
return StringifyResult.setResult(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user