aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-04-15 16:16:16 +0100
committergingerBill <bill@gingerbill.org>2023-04-15 16:16:16 +0100
commite24315eed892aeb6c53da78c415455a80ccdf5e5 (patch)
tree5246bcb8233558a24ba8faa1e05e3fdb52ed072f /src/check_expr.cpp
parentdc55e885888a9d036dafea2036c1907306e69d14 (diff)
Improve grammar
Diffstat (limited to 'src/check_expr.cpp')
-rw-r--r--src/check_expr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp
index e55765ff8..de9a6b911 100644
--- a/src/check_expr.cpp
+++ b/src/check_expr.cpp
@@ -5050,7 +5050,7 @@ gb_internal bool check_no_copy_assignment(Operand const &o, String const &contex
if (expr->kind == Ast_CallExpr) {
// Okay
} else {
- error(o.expr, "Invalid use a #no_copy value in %.*s", LIT(context));
+ error(o.expr, "Invalid use of #no_copy value in %.*s", LIT(context));
return true;
}
}