From ef8b97e1b6623a99ab1c40565a2492981183f7f6 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Thu, 16 Apr 2015 14:03:55 -0400 Subject: [PATCH] Added clarifying comments --- runtime.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/runtime.h b/runtime.h index 4dfc48f4..c2d980e2 100644 --- a/runtime.h +++ b/runtime.h @@ -1236,6 +1236,9 @@ defprimitive(display, display, &_display); /* display */ object Cyc_exception_handler_stack = nil; // Special case, use this one instead since we need it in the runtime +// This also seems to "shadow" the corresponding C var definition, as +// subsequent instances of it are replaced during preprocessing. Is that +// behavior portable? If not, will have to modify cgen to not emit the var. #define __glo__85exception_91handler_91stack_85 Cyc_exception_handler_stack static object Cyc_default_exception_handler(int argc, closure _, object err) {