mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-06 20:25:34 +00:00
Implement opt b and opt g
This commit is contained in:
1 parent
b7b03ee451
commit
ece6853e0f
10 files changed
+50
-14
No files matched your search
@@ -30,6 +30,19 @@ static inline void lexer_SetStateAtEOL(struct LexerState *state)
|
||||
lexerStateEOL = state;
|
||||
}
|
||||
|
||||
extern char const *binDigits;
|
||||
extern char const *gfxDigits;
|
||||
|
||||
static inline void lexer_SetBinDigits(char const *digits)
|
||||
{
|
||||
binDigits = digits;
|
||||
}
|
||||
|
||||
static inline void lexer_SetGfxDigits(char const *digits)
|
||||
{
|
||||
gfxDigits = digits;
|
||||
}
|
||||
|
||||
struct LexerState *lexer_OpenFile(char const *path);
|
||||
struct LexerState *lexer_OpenFileView(char *buf, size_t size, uint32_t lineNo);
|
||||
void lexer_RestartRept(uint32_t lineNo);
|
||||
|
||||
Reference in new issue
Block a user