Skip to content

Commit ae8477a

Browse files
committed
Fix typo in lexer
1 parent 9255b9c commit ae8477a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

parser/metac_lexer.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ metac_token_t* MetaCLexerLexNextToken(metac_lexer_t* self,
874874
}
875875
int32_t eatenChars = 0;
876876
char c = *text++;
877-
LcontinueLexnig:
877+
LcontinueLexing:
878878
{
879879
uint32_t column = state->Column;
880880
uint32_t line = state->Line;
@@ -1205,13 +1205,13 @@ metac_token_t* MetaCLexerLexNextToken(metac_lexer_t* self,
12051205
c = *text++;
12061206
state->Line++;
12071207
state->Column = 0;
1208-
goto LcontinueLexnig;
1208+
goto LcontinueLexing;
12091209
}
12101210
else if (c == '\r')
12111211
{
12121212
c = *text++;
12131213
state->Column = 0;
1214-
goto LcontinueLexnig;
1214+
goto LcontinueLexing;
12151215
}
12161216
else
12171217
{
@@ -1321,7 +1321,7 @@ metac_token_t* MetaCLexerLexNextToken(metac_lexer_t* self,
13211321
c = '\0';
13221322
token.TokenType = tok_eof;
13231323
}
1324-
goto LcontinueLexnig;
1324+
goto LcontinueLexing;
13251325
}
13261326
#endif
13271327
else

0 commit comments

Comments
 (0)