0.pre8.16:
[sbcl.git] / src / runtime / parse.c
index bd5cc92..cb71dc4 100644 (file)
 #include "arch.h"
 #include "search.h"
 
+#include "genesis/simple-fun.h"
+#include "genesis/fdefn.h"
+#include "genesis/symbol.h"
+#include "genesis/static-symbols.h"
+
 static void skip_ws(char **ptr)
 {
     while (**ptr <= ' ' && **ptr != '\0')
@@ -246,7 +251,7 @@ static boolean lookup_symbol(char *name, lispobj *result)
        (lispobj *)SymbolValue(STATIC_SPACE_FREE_POINTER) -
        (lispobj *)STATIC_SPACE_START;
     if (search_for_symbol(name, &headerptr, &count)) {
-        *result = (lispobj)headerptr | OTHER_POINTER_LOWTAG;
+        *result = make_lispobj(headerptr,OTHER_POINTER_LOWTAG);
         return 1;
     }
 
@@ -262,7 +267,7 @@ static boolean lookup_symbol(char *name, lispobj *result)
        (lispobj *)DYNAMIC_SPACE_START;
 #endif
     if (search_for_symbol(name, &headerptr, &count)) {
-        *result = (lispobj)headerptr | OTHER_POINTER_LOWTAG;
+        *result = make_lispobj(headerptr, OTHER_POINTER_LOWTAG);
         return 1;
     }