diff options
| author | gingerBill <bill@gingerbill.org> | 2022-02-18 16:07:06 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-02-18 16:07:06 +0000 |
| commit | 1843d522173a646786a226320e1443d43591fbca (patch) | |
| tree | 1f4eae3bb8da5a106af632551fa1627975731b2a /src/check_builtin.cpp | |
| parent | 454c92dc64b43934062a661c6e05ea4168b1b78e (diff) | |
Fix typo
Diffstat (limited to 'src/check_builtin.cpp')
| -rw-r--r-- | src/check_builtin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp index c6b7de506..f440aa4d5 100644 --- a/src/check_builtin.cpp +++ b/src/check_builtin.cpp @@ -249,7 +249,7 @@ bool check_builtin_objc_procedure(CheckerContext *c, Operand *operand, Ast *call if (build_context.metrics.os != TargetOs_darwin) { // allow on doc generation (e.g. Metal stuff) - if (!build_context.command_kind == Command_doc && !builtin_name.command_kind == Command_check) { + if (build_context.command_kind != Command_doc && build_context.command_kind != Command_check) { error(call, "'%.*s' only works on darwin", LIT(builtin_name)); } } |