mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-18 10:32:48 +02:00
Make sure that llvm-ml uses MASM integer lexing when in --as-lex mode
This commit is contained in:
parent
d56113a35e
commit
6cecc11ec7
@ -175,6 +175,7 @@ static std::unique_ptr<ToolOutputFile> GetOutputStream(StringRef Path) {
|
||||
static int AsLexInput(SourceMgr &SrcMgr, MCAsmInfo &MAI, raw_ostream &OS) {
|
||||
AsmLexer Lexer(MAI);
|
||||
Lexer.setBuffer(SrcMgr.getMemoryBuffer(SrcMgr.getMainFileID())->getBuffer());
|
||||
Lexer.setLexMasmIntegers(true);
|
||||
|
||||
bool Error = false;
|
||||
while (Lexer.Lex().isNot(AsmToken::Eof)) {
|
||||
|
Loading…
Reference in New Issue
Block a user