renamed several functions beginning with legal_; changed all callers

This commit is contained in:
Chet Ramey
2023-11-06 09:26:02 -05:00
parent fe24a6a55e
commit b30389070a
57 changed files with 3622 additions and 3516 deletions
+1 -1
View File
@@ -1294,7 +1294,7 @@ tokenize_array_reference (const char *name, int flags, char **subp)
if (t)
{
*t = '\0';
r = legal_identifier (name);
r = valid_identifier (name);
if (flags & VA_NOEXPAND) /* Don't waste a lookup if we don't need one */
isassoc = (entry = find_variable (name)) && assoc_p (entry);
*t = '[';