diff --git a/src/frontend/com_let.c b/src/frontend/com_let.c index 37117be1e..6be08c4ce 100644 --- a/src/frontend/com_let.c +++ b/src/frontend/com_let.c @@ -123,7 +123,7 @@ com_let(wordlist *wl) *++q = '\0'; /* sanity check */ - if (eq(p, "all") ||strchr(p, '@')) { + if (eq(p, "all") || strchr(p, '@') || isdigit(*p)) { fprintf(cp_err, "Error: bad variable name %s\n", p); tfree(p); return;