mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-24 08:24:33 +00:00
Use a comma after the unique keyword.
H.J. Lu noted that all .section options are separated by a comma. This patch changes the syntax of unique to require one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234174 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -470,6 +470,9 @@ bool ELFAsmParser::ParseSectionArguments(bool IsPush, SMLoc loc) {
|
||||
return TokError("expected identifier in directive");
|
||||
if (UniqueStr != "unique")
|
||||
return TokError("expected 'unique'");
|
||||
if (getLexer().isNot(AsmToken::Comma))
|
||||
return TokError("expected commma");
|
||||
Lex();
|
||||
if (getParser().parseAbsoluteExpression(UniqueID))
|
||||
return true;
|
||||
if (UniqueID < 0)
|
||||
|
Reference in New Issue
Block a user