mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +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
@ -62,6 +62,8 @@ int EDInst::stringify() {
|
||||
|
||||
if (Disassembler.printInst(String, *Inst))
|
||||
return StringifyResult.setResult(-1);
|
||||
|
||||
String.push_back('\n');
|
||||
|
||||
return StringifyResult.setResult(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user