diff options
| author | gingerBill <bill@gingerbill.org> | 2021-11-04 16:29:41 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-11-04 16:29:41 +0000 |
| commit | bc2bf1caeba5cca828318d1547e214f785e2d71a (patch) | |
| tree | f0c48a0521ce33c84874ee1d97b3ddae7be450c2 /src/check_expr.cpp | |
| parent | d551144841f7dfd61e22e9dbed2b1b35d8736ffb (diff) | |
Add `#load_hash(<filepath>, <string-hash-kind>)`
Diffstat (limited to 'src/check_expr.cpp')
| -rw-r--r-- | src/check_expr.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp index 2139cd777..6c85ae43a 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -6108,6 +6108,7 @@ ExprKind check_call_expr(CheckerContext *c, Operand *operand, Ast *call, Ast *pr name == "defined" || name == "config" || name == "load" || + name == "load_hash" || name == "load_or" ) { operand->mode = Addressing_Builtin; @@ -6943,6 +6944,7 @@ ExprKind check_expr_base_internal(CheckerContext *c, Operand *o, Ast *node, Type name == "defined" || name == "config" || name == "load" || + name == "load_hash" || name == "load_or" ) { error(node, "'#%.*s' must be used as a call", LIT(name)); |