From c85ce38fbb02342d8ef00030d203ab6bcc690f73 Mon Sep 17 00:00:00 2001 From: A404M Date: Sat, 26 Apr 2025 15:14:45 +0330 Subject: add @isComptime to determine if code is running in comptime or not --- src/compiler/parser.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/compiler/parser.h') 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, -- cgit v1.2.3