summaryrefslogtreecommitdiff
path: root/special-symbols.h
diff options
context:
space:
mode:
Diffstat (limited to 'special-symbols.h')
-rw-r--r--special-symbols.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/special-symbols.h b/special-symbols.h
index 2e80bf7..fa68ba7 100644
--- a/special-symbols.h
+++ b/special-symbols.h
@@ -19,7 +19,7 @@
#import "MLKSymbol.h"
#import "MLKPackage.h"
-static MLKPackage *cl;
+static MLKPackage *cl = nil;
static MLKPackage *sys;
static MLKPackage *keyword;
@@ -67,6 +67,8 @@ static MLKSymbol *MULTIPLE_VALUE_CALL;
static void
ensure_symbols ()
{
+ if (cl) return;
+
cl = [MLKPackage findPackage:@"COMMON-LISP"];
sys = [MLKPackage findPackage:@"TOILET-SYSTEM"];
keyword = [MLKPackage findPackage:@"KEYWORD"];