X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/b2983f3591981a916f748362d91ff0e2817552cb..26d71c7a759173543c9f0034ef5cfc22e588bad5:/src/module-parse.lisp diff --git a/src/module-parse.lisp b/src/module-parse.lisp index 35e07ea..83cc0ad 100644 --- a/src/module-parse.lisp +++ b/src/module-parse.lisp @@ -101,6 +101,7 @@ (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 @@ -369,6 +370,7 @@ (peek (seq ((ds (parse-c-type scanner)) (dc (parse-maybe-dotted-declarator ds)) + (nil (commit)) (nil (class-item-dispatch sub-pset ds (car dc)