chiark / gitweb /
src/c-types-parse.lisp: Use the new `find-simple-c-type' function.
[sod] / src / module-parse.lisp
index 15a7d8f8ffd78e8fde8db41dc73e55c963486339..83cc0add4590593e6fc18709989d0eb669ee2add 100644 (file)
@@ -101,6 +101,7 @@ (defun read-module (pathname &key (truename nil truep) location)
   (define-module (pathname :location location :truename truename)
     (with-open-file (f-stream pathname :direction :input)
       (let* ((*readtable* (copy-readtable))
+            (*package* (find-package '#:sod-user))
             (char-scanner (make-instance 'charbuf-scanner
                                          :stream f-stream))
             (scanner (make-instance 'sod-token-scanner