Better nonconst diagnostic messages.

This commit is contained in:
Dianne Skoll
2025-05-22 09:38:06 -04:00
parent caa900d38d
commit b33a3191f5
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ int DoFset(ParsePtr p)
}
existing = FindUserFunc(DBufValue(&buf));
if (existing) {
nonconst_debug(!existing->is_constant, tr("Function definition considered non-constant because of context"));
nonconst_debug(!existing->is_constant, tr("Potential function definition considered non-constant because of context"));
existing->is_constant = 0;
}
DBufFree(&buf);