summaryrefslogtreecommitdiff
path: root/include/lex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lex.h')
-rw-r--r--include/lex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/lex.h b/include/lex.h
index a712204..4b8b1ac 100644
--- a/include/lex.h
+++ b/include/lex.h
@@ -31,6 +31,8 @@
#define TOKEN_STAR 23
#define TOKEN_SLASH 24
+const char* lex_get_token_name(int id);
+
struct token {
int type;
// size_t line;