From 88099fdaf55a24854508b7a75d690fa76be6f44a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 5 Sep 2020 14:25:38 +0200 Subject: treewide: refactor internal AST structures - unify operand and value tag structures - use a contiguous array for storing opcodes - use relative offsets for next and children ops - defer function creation to runtime - rework "this" context handling by storing context pointer in scope tags Signed-off-by: Jo-Philipp Wich --- lexer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lexer.h') diff --git a/lexer.h b/lexer.h index 7a5726b..4d46ad0 100644 --- a/lexer.h +++ b/lexer.h @@ -29,7 +29,7 @@ extern const char *tokennames[__T_MAX]; bool utf8enc(char **out, int *rem, int code); -struct ut_opcode * +uint32_t ut_get_token(struct ut_state *s, const char *input, int *mlen); #endif /* __LEXER_H_ */ -- cgit v1.2.3