mirror of
https://github.com/Interlisp/maiko.git
synced 2026-02-05 16:04:45 +00:00
Have "a" (GETTOPVAL) and "d" (GETDEFCELL) commands announce the atom index
of the atom they are working on. modified: src/uraid.c
This commit is contained in:
@@ -464,6 +464,8 @@ LispPTR uraid_commands() {
|
||||
if ((index = parse_atomstring(URaid_arg1)) == 0xffffffff) {
|
||||
printf("No such atom.\n");
|
||||
return (T);
|
||||
} else {
|
||||
printf("Atom: %s index %d\n", URaid_arg1, index);
|
||||
}
|
||||
print(*((LispPTR *)GetVALCELL68k(index)));
|
||||
break;
|
||||
@@ -475,6 +477,8 @@ LispPTR uraid_commands() {
|
||||
if ((index = parse_atomstring(URaid_arg1)) == 0xffffffff) {
|
||||
printf("No such atom.\n");
|
||||
return (T);
|
||||
} else {
|
||||
printf("Atom: %s index %d\n", URaid_arg1, index);
|
||||
}
|
||||
defcell68k = (DefCell *)GetDEFCELL68k(index);
|
||||
if (defcell68k->ccodep) {
|
||||
|
||||
Reference in New Issue
Block a user