summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lexer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lexer.c b/src/lexer.c
index 6c38f6e..77ae68e 100644
--- a/src/lexer.c
+++ b/src/lexer.c
@@ -39,11 +39,11 @@ lexer_init(lexer_t *lexer, char *filepath)
static void
lexer_define_literal_token_props(lexer_t *lexer, token_t *token, token_kind_t kind)
{
- token->kind = kind;
- token->value = string_view_new(lexer->src + lexer->cur, 1);
- token->filepath = lexer->filepath;
- token->row = lexer->row;
- token->col = lexer->cur - lexer->bol;
+ token->kind = kind;
+ token->value = string_view_new(lexer->src + lexer->cur, 1);
+ token->filepath = lexer->filepath;
+ token->row = lexer->row;
+ token->col = lexer->cur - lexer->bol;
}
static void