aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
authorDudejoe870 <dudejoe870@gmail.com>2024-05-28 22:25:16 -0500
committerDudejoe870 <dudejoe870@gmail.com>2024-05-28 22:42:10 -0500
commit9b78061c8fb83202973d509b9af24f0a12786958 (patch)
tree3201955f96f7760e878f91c56e5a6ae85bd851fb /src/check_expr.cpp
parentba8672ad29b8c32afee761d5b00d4014bb591871 (diff)
Initial hash directive implementation
Diffstat (limited to 'src/check_expr.cpp')
-rw-r--r--src/check_expr.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp
index 8672941c1..2e008fe93 100644
--- a/src/check_expr.cpp
+++ b/src/check_expr.cpp
@@ -7414,7 +7414,8 @@ gb_internal ExprKind check_call_expr(CheckerContext *c, Operand *operand, Ast *c
name == "config" ||
name == "load" ||
name == "load_directory" ||
- name == "load_hash"
+ name == "load_hash" ||
+ name == "hash"
) {
operand->mode = Addressing_Builtin;
operand->builtin_id = BuiltinProc_DIRECTIVE;