mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Fix tokenizing for %%
This commit is contained in:
+1
-1
@@ -1065,7 +1065,7 @@ void tokenizer_get_token(Tokenizer *t, Token *token) {
|
|||||||
token->kind = Token_Mod;
|
token->kind = Token_Mod;
|
||||||
if (t->curr_rune == '=') {
|
if (t->curr_rune == '=') {
|
||||||
token->kind = Token_ModEq;
|
token->kind = Token_ModEq;
|
||||||
} else if (t->curr_rune == '&') {
|
} else if (t->curr_rune == '%') {
|
||||||
token->kind = Token_ModMod;
|
token->kind = Token_ModMod;
|
||||||
advance_to_next_rune(t);
|
advance_to_next_rune(t);
|
||||||
if (t->curr_rune == '=') {
|
if (t->curr_rune == '=') {
|
||||||
|
|||||||
Reference in New Issue
Block a user