mirror of
https://github.com/Interlisp/maiko.git
synced 2026-05-02 22:43:33 +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) {
|
if ((index = parse_atomstring(URaid_arg1)) == 0xffffffff) {
|
||||||
printf("No such atom.\n");
|
printf("No such atom.\n");
|
||||||
return (T);
|
return (T);
|
||||||
|
} else {
|
||||||
|
printf("Atom: %s index %d\n", URaid_arg1, index);
|
||||||
}
|
}
|
||||||
print(*((LispPTR *)GetVALCELL68k(index)));
|
print(*((LispPTR *)GetVALCELL68k(index)));
|
||||||
break;
|
break;
|
||||||
@@ -475,6 +477,8 @@ LispPTR uraid_commands() {
|
|||||||
if ((index = parse_atomstring(URaid_arg1)) == 0xffffffff) {
|
if ((index = parse_atomstring(URaid_arg1)) == 0xffffffff) {
|
||||||
printf("No such atom.\n");
|
printf("No such atom.\n");
|
||||||
return (T);
|
return (T);
|
||||||
|
} else {
|
||||||
|
printf("Atom: %s index %d\n", URaid_arg1, index);
|
||||||
}
|
}
|
||||||
defcell68k = (DefCell *)GetDEFCELL68k(index);
|
defcell68k = (DefCell *)GetDEFCELL68k(index);
|
||||||
if (defcell68k->ccodep) {
|
if (defcell68k->ccodep) {
|
||||||
|
|||||||
Reference in New Issue
Block a user