mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-26 11:52:25 +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:
@@ -1018,7 +1018,7 @@ FX *get_nextFX(FX *fx) {
|
||||
} /* get_nextFX end */
|
||||
|
||||
LispPTR MAKEATOM(char *string) {
|
||||
return (make_atom(string, 0, strlen(string), 0));
|
||||
return (make_atom(string, 0, strlen(string)));
|
||||
}
|
||||
|
||||
/************************************************************************/
|
||||
@@ -1032,7 +1032,7 @@ LispPTR MAKEATOM(char *string) {
|
||||
|
||||
LispPTR *MakeAtom68k(char *string) {
|
||||
LispPTR index;
|
||||
index = make_atom(string, 0, strlen(string), 0);
|
||||
index = make_atom(string, 0, strlen(string));
|
||||
if (index == 0xffffffff) {
|
||||
error("MakeAtom68k: no such atom found");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user