mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-25 19:46:21 +00:00
Rework make_atom() to allow removal of parse_number() (#404)
No calls to make_atom() depend on the ability to parse the atom's pname as a number. Additionally, the parse_number() implementation used here was non-functional. We remove parse_number() and adjust the parameter list of make_atom() to remove the non_numericp flag.
This commit is contained in:
@@ -286,7 +286,7 @@ LispPTR parse_atomstring(char *string)
|
||||
namelen = cnt - 1;
|
||||
|
||||
if ((packagelen == 0) || (strncmp(packageptr, "IL", packagelen) == 0)) { /* default IL: */
|
||||
aindex = make_atom(nameptr, 0, namelen, T);
|
||||
aindex = make_atom(nameptr, 0, namelen);
|
||||
if (aindex == 0xffffffff) {
|
||||
printf("trying IL:\n");
|
||||
aindex = get_package_atom(nameptr, namelen, "INTERLISP", 9, 0);
|
||||
|
||||
Reference in New Issue
Block a user