diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2024-05-30 11:30:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-30 11:30:26 +0100 |
| commit | 7058d6f320d4a136a0b9de92b3e3bcb9e791b2ef (patch) | |
| tree | e6e1dc18da14d0d2ca5ceeeb6de6b70746a31737 /src/check_expr.cpp | |
| parent | f86bb11f84839c3e40727272e999e9ce1436f44a (diff) | |
| parent | 9b78061c8fb83202973d509b9af24f0a12786958 (diff) | |
Merge pull request #3652 from Dudejoe870/compile-time-hash
Add #hash built-in directive for compile-time string hashing
Diffstat (limited to 'src/check_expr.cpp')
| -rw-r--r-- | src/check_expr.cpp | 3 |
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; |