diff options
author | Carlos Maniero <carlosmaniero@gmail.com> | 2023-04-18 13:58:47 -0300 |
---|---|---|
committer | Johnny Richard <johnny@johnnyrichard.com> | 2023-04-18 19:04:13 +0200 |
commit | ea7ad4f94a99fbe480e2324e69b1095a11a256f7 (patch) | |
tree | c64c880f0e9532f0be6a7b493acc32750c6150f4 /src/lexer.c | |
parent | 8b9899bcf338d4aca95419dfd1006f7f822a16c9 (diff) |
style: Fix identation on lexer.c
Co-authored-by: Johnny Richard <johnny@johnnyrichard.com>
Signed-off-by: Carlos Maniero <carlosmaniero@gmail.com>
Link: https://lists.sr.ht/~johnnyrichard/pipalang-devel/%3C20230418165847.3798-1-carlosmaniero%40gmail.com%3E
Diffstat (limited to 'src/lexer.c')
-rw-r--r-- | src/lexer.c | 10 |
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 |