summaryrefslogtreecommitdiffhomepage
path: root/lexer.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-08-25 20:17:03 +0200
committerJo-Philipp Wich <jo@mein.io>2020-08-25 20:38:15 +0200
commitd63d8b6f0c0a43a14de9493f1683a209a0166889 (patch)
treea025491b84e629194b0b6b1b854606578f4d0079 /lexer.h
parent93902cd86f8244b2036a0e5bd910099da13b6885 (diff)
treewide: introduce this keyword
Support a new keyword `this` which allows functions to access the context they're called upon. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'lexer.h')
-rw-r--r--lexer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexer.h b/lexer.h
index de722ec..27039f9 100644
--- a/lexer.h
+++ b/lexer.h
@@ -19,7 +19,7 @@
#include "ast.h"
-#define __T_MAX 69
+#define __T_MAX 70
#define T_EXCEPTION (__T_MAX + 0)
#define T_CFUNC (__T_MAX + 1)
#define T_RESSOURCE (__T_MAX + 2)