From f60047d4b013eb7f75ad4f5c63eda63153a4bf8e Mon Sep 17 00:00:00 2001 From: kartofen Date: Sun, 8 Sep 2024 20:02:06 +0300 Subject: value is now opaque --- src/lexer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lexer.h') diff --git a/src/lexer.h b/src/lexer.h index 6a14050..632811e 100644 --- a/src/lexer.h +++ b/src/lexer.h @@ -60,6 +60,8 @@ struct lexer { size_t acc_idx; }; +#define lexer_get_line(lexer) ((lexer)->line) + lexer_t lexer_create(FILE *fp); void lexer_destroy(lexer_t lexer); int lexer_clear_line(lexer_t lexer); -- cgit v1.2.3