Hint to {interpolate} names when EQUS expanding does not occur (#1692)

This commit is contained in:
Rangi
2025-05-18 11:53:34 -04:00
committed by GitHub
parent 063d284cbf
commit 4f2400c15b
7 changed files with 41 additions and 1 deletions

View File

@@ -141,6 +141,13 @@ static void alreadyDefinedError(Symbol const &sym, char const *asType) {
}
fputs(" at ", stderr);
dumpFilename(sym);
if (sym.type == SYM_EQUS) {
fprintf(
stderr,
" (should it be {interpolated} to define its contents \"%s\"?)\n",
sym.getEqus()->c_str()
);
}
}
}