mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Split the .peek() method into its next-char and lookahead cases
This commit is contained in:
@@ -100,7 +100,8 @@ struct LexerState {
|
||||
|
||||
~LexerState();
|
||||
|
||||
int peek(uint8_t distance);
|
||||
int peekChar();
|
||||
int peekCharAhead();
|
||||
|
||||
std::shared_ptr<char[]> makeSharedCaptureBufPtr() const {
|
||||
return std::shared_ptr<char[]>(captureBuf, captureBuf->data());
|
||||
|
||||
Reference in New Issue
Block a user