diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2025-06-13 11:11:26 +0530 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2025-06-13 11:11:26 +0530 |
commit | 99f70b817ea14012dc4139c8f753e4cccdeb3376 (patch) | |
tree | 9a961cafe5cda0dd1775a0e52ee625a9664f9134 /include | |
parent | 6336bd5578e3d92f1ec34d10a96542ed429fdd21 (diff) |
lexer: add number parsing
Diffstat (limited to 'include')
-rw-r--r-- | include/lexer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/lexer.h b/include/lexer.h index d6936f3..8122848 100644 --- a/include/lexer.h +++ b/include/lexer.h @@ -21,10 +21,12 @@ private: bool at_end(void); char advance(void); char peek(void); + char peek_next(void); bool match(char c); private: void string(void); + void number(void); private: void add_token(token_type_e type); |