subst.c (get_subst_symbol): Add [0-9] to the list of valid characters
for a substitution symbol.
+1998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
+
+ * subst.c (get_subst_symbol): Add [0-9] to the list of valid
+ characters for a substitution symbol.
+
1998-08-01 Theodore Ts'o <tytso@rsts-11.mit.edu>
* subst.c: Add the ability to substitute apparent shell/make
start[len] = 0;
/*
- * The substitution variable must all be in the of [A-Za-z_].
+ * The substitution variable must all be in the of [0-9A-Za-z_].
* If it isn't, this must be an invalid symbol name.
*/
for (cp = start; *cp; cp++) {
if (!(*cp >= 'a' && *cp <= 'z') &&
!(*cp >= 'A' && *cp <= 'Z') &&
+ !(*cp >= '0' && *cp <= '9') &&
!(*cp == '_'))
return NULL;
}