Commit eb94e6b6 authored by Camil Staps's avatar Camil Staps 🍃

Fix rendering of _cycle_in_spine in debugger

parent b9f78ecc
......@@ -322,7 +322,7 @@ void wprint_node(WINDOW *win, BC_WORD *node, int with_arguments) {
wprintw(win, "CHAR '%c'", node[1]);
else if ((node[0]&-4)==(BC_WORD)&REAL)
wprintw(win, "REAL %f", *(BC_REAL*)&node[1]);
else if ((node[0]&-4)==(BC_WORD)&__interpreter_cycle_in_spine)
else if ((node[0]&-4)==(BC_WORD)&__interpreter_cycle_in_spine[1])
wprintw(win, "_cycle_in_spine");
else {
char _tmp[256];
......@@ -510,7 +510,7 @@ void debugger_show_node_as_tree_(WINDOW *win, BC_WORD *node, int indent, uint64_
return;
}
if (node[0] == (BC_WORD) &__interpreter_cycle_in_spine) {
if (node[0] == (BC_WORD) &__interpreter_cycle_in_spine[1]) {
wprintw(win, " _cycle_in_spine");
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment