mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-20 14:29:27 +00:00
MC/AsmLexer: Raise LexUntilEndOfStatement to MCAsmLexer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108189 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
18f82a9a5d
commit
19ad3b88f7
@ -46,7 +46,7 @@ public:
|
|||||||
|
|
||||||
void setBuffer(const MemoryBuffer *buf, const char *ptr = NULL);
|
void setBuffer(const MemoryBuffer *buf, const char *ptr = NULL);
|
||||||
|
|
||||||
StringRef LexUntilEndOfStatement();
|
virtual StringRef LexUntilEndOfStatement();
|
||||||
|
|
||||||
bool isAtStartOfComment(char Char);
|
bool isAtStartOfComment(char Char);
|
||||||
|
|
||||||
|
@ -143,6 +143,8 @@ public:
|
|||||||
return CurTok = LexToken();
|
return CurTok = LexToken();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual StringRef LexUntilEndOfStatement() = 0;
|
||||||
|
|
||||||
/// getLoc - Get the current source location.
|
/// getLoc - Get the current source location.
|
||||||
SMLoc getLoc() const;
|
SMLoc getLoc() const;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user