summaryrefslogtreecommitdiff
path: root/src/scheme/ao_scheme_frame.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-12-17 22:22:50 -0800
committerKeith Packard <keithp@keithp.com>2017-12-17 22:22:50 -0800
commite1a6b3bf458f311d832aea7eec34935d42f8efed (patch)
tree7141f7e4ae75f23969722f75517f4c39cb623263 /src/scheme/ao_scheme_frame.c
parent9d1131da911f7220ac8b6cb7ba5a0afd3deef657 (diff)
altos/scheme: Use memory manager mark code to note recursive print
This flags any object being printed and checks before recursing to avoid infinite loops. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/scheme/ao_scheme_frame.c')
-rw-r--r--src/scheme/ao_scheme_frame.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/scheme/ao_scheme_frame.c b/src/scheme/ao_scheme_frame.c
index 7f521863..3f4c9157 100644
--- a/src/scheme/ao_scheme_frame.c
+++ b/src/scheme/ao_scheme_frame.c
@@ -41,7 +41,6 @@ frame_vals_mark(void *addr)
ao_scheme_poly_atom(v->atom)->name,
MDBG_OFFSET(ao_scheme_ref(v->atom)),
MDBG_OFFSET(ao_scheme_ref(v->val)), f);
- MDBG_DO(ao_scheme_poly_write(v->val));
MDBG_DO(printf("\n"));
}
}