aboutsummaryrefslogtreecommitdiff
path: root/include/lexer.h
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2025-06-13 11:51:28 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2025-06-13 11:51:28 +0530
commit528b1e05c982e2625aa4b30d62dbfa7a4e69f269 (patch)
tree565b789c772333af37b3cb65490359eec34ad869 /include/lexer.h
parente119cb100dadf8b3e3b6660029abf73d14cf209b (diff)
lexer: move extract_lexeme() to its own function
Diffstat (limited to 'include/lexer.h')
-rw-r--r--include/lexer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/lexer.h b/include/lexer.h
index 4605142..86d1861 100644
--- a/include/lexer.h
+++ b/include/lexer.h
@@ -23,6 +23,7 @@ private:
char peek(void);
char peek_next(void);
bool match(char c);
+ char *extract_lexeme(void);
private:
void string(void);