diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-04-26 15:14:45 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-04-26 15:14:45 +0330 |
commit | c85ce38fbb02342d8ef00030d203ab6bcc690f73 (patch) | |
tree | 00974fe5bd6611eafa1b44bd226e7b3b75e99c0d /src/compiler/parser.h | |
parent | 03796c59c8e0d7140c85eeb23dc3341837fe54b4 (diff) |
add @isComptime to determine if code is running in comptime or not
Diffstat (limited to 'src/compiler/parser.h')
-rw-r--r-- | src/compiler/parser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/parser.h b/src/compiler/parser.h index f0d8372..271cc13 100644 --- a/src/compiler/parser.h +++ b/src/compiler/parser.h @@ -12,6 +12,7 @@ typedef enum ParserToken { PARSER_TOKEN_BUILTIN_CAST, PARSER_TOKEN_BUILTIN_TYPE_OF, PARSER_TOKEN_BUILTIN_IMPORT, + PARSER_TOKEN_BUILTIN_IS_COMPTIME, PARSER_TOKEN_VALUE_INT, PARSER_TOKEN_VALUE_FLOAT, |