mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-13 15:37:24 +00:00
Revert r171140. We don't actually need to support #NAME. Because NAME by itself is interpreted just fine.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171695 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
df3bf55d49
commit
6a59f5ade8
@ -2406,11 +2406,7 @@ bool TGParser::ParseDefm(MultiClass *CurMultiClass) {
|
||||
|
||||
Init *DefmPrefix = 0;
|
||||
|
||||
Lex.Lex(); // eat the defm.
|
||||
|
||||
// Note that tgtok::paste is here to allow starting with #NAME.
|
||||
if (Lex.getCode() == tgtok::Id ||
|
||||
Lex.getCode() == tgtok::paste) {
|
||||
if (Lex.Lex() == tgtok::Id) { // eat the defm.
|
||||
DefmPrefix = ParseObjectName(CurMultiClass);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user