diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-08-25 20:17:03 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-08-25 20:38:15 +0200 |
commit | d63d8b6f0c0a43a14de9493f1683a209a0166889 (patch) | |
tree | a025491b84e629194b0b6b1b854606578f4d0079 /lexer.h | |
parent | 93902cd86f8244b2036a0e5bd910099da13b6885 (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |