aboutsummaryrefslogtreecommitdiff
path: root/src/check_builtin.cpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-10-09 10:36:50 +0100
committergingerBill <gingerBill@users.noreply.github.com>2025-10-09 10:36:50 +0100
commitadc44312bf78b1842f568d0bac3170898688007b (patch)
treea206817aecfe5019aa3d87dcc88240d470cfcf0f /src/check_builtin.cpp
parenta60058259d9ae6bbff37fff49e53d542354c90c1 (diff)
`const string` -> `constant string`
Diffstat (limited to 'src/check_builtin.cpp')
-rw-r--r--src/check_builtin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/check_builtin.cpp b/src/check_builtin.cpp
index 5d1016bba..a19fb15ec 100644
--- a/src/check_builtin.cpp
+++ b/src/check_builtin.cpp
@@ -6525,7 +6525,7 @@ gb_internal bool check_builtin_procedure(CheckerContext *c, Operand *operand, As
check_expr(c, &x, ce->args[1]);
if (!is_type_string(x.type) || x.mode != Addressing_Constant || x.value.kind != ExactValue_String) {
- error(ce->args[1], "Expected a const string for field argument");
+ error(ce->args[1], "Expected a constant string for field argument");
return false;
}
@@ -6605,7 +6605,7 @@ gb_internal bool check_builtin_procedure(CheckerContext *c, Operand *operand, As
check_expr(c, &x, ce->args[1]);
if (!is_type_string(x.type) || x.mode != Addressing_Constant || x.value.kind != ExactValue_String) {
- error(ce->args[1], "Expected a const string for field argument");
+ error(ce->args[1], "Expected a constant string for field argument");
return false;
}
@@ -7242,7 +7242,7 @@ gb_internal bool check_builtin_procedure(CheckerContext *c, Operand *operand, As
check_expr(c, &x, ce->args[1]);
if (!is_type_string(x.type) || x.mode != Addressing_Constant || x.value.kind != ExactValue_String) {
- error(ce->args[1], "Expected a const string for field argument");
+ error(ce->args[1], "Expected a constant string for field argument");
return false;
}