mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Make yylex() return int
This commit is contained in:
@@ -63,7 +63,7 @@ void lex_Init(void);
|
||||
void lex_AddStrings(const struct sLexInitString *lex);
|
||||
void lex_SetBuffer(char *buffer, uint32_t len);
|
||||
int yywrap(void);
|
||||
uint32_t yylex(void);
|
||||
int yylex(void);
|
||||
void yyunput(char c);
|
||||
void yyunputstr(char *s);
|
||||
void yyskipbytes(uint32_t count);
|
||||
|
||||
@@ -879,7 +879,7 @@ static uint32_t yylex_MACROARGS(void)
|
||||
fatalerror("Internal error in %s", __func__);
|
||||
}
|
||||
|
||||
uint32_t yylex(void)
|
||||
int yylex(void)
|
||||
{
|
||||
switch (lexerstate) {
|
||||
case LEX_STATE_NORMAL:
|
||||
|
||||
Reference in New Issue
Block a user