Improve an error message.

This commit is contained in:
Giles Atkinson 2024-10-03 18:04:47 +01:00 committed by Holger Vogt
parent e658a0942b
commit e0079e1cd5
1 changed files with 1 additions and 1 deletions

View File

@ -721,7 +721,7 @@ op_ind(struct pnode *arg1, struct pnode *arg2)
v->v_numdims = 1;
v->v_dims[0] = v->v_length;
if (v->v_length <= 1) {
fprintf(cp_err, "Error: nostrchring on a scalar (%s)\n",
fprintf(cp_err, "Error: indexing a scalar (%s)\n",
v->v_name);
return (NULL);
}