X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/5ce911a098f10e0ac2d5917ed09c4c1114abad47..32f9ec0f9e8f5f5c5cef7f41c9d4609c20a47eb3:/src/c-types-parse.lisp?ds=inline diff --git a/src/c-types-parse.lisp b/src/c-types-parse.lisp index 53fc811..15d942a 100644 --- a/src/c-types-parse.lisp +++ b/src/c-types-parse.lisp @@ -240,7 +240,8 @@ ;; Turns out to be easier to do this by hand. (let ((ds (and (eq (token-type scanner) :id) (let ((kw (token-value scanner))) - (or (gethash kw *module-type-map*) + (or (and (boundp '*module-type-map*) + (gethash kw *module-type-map*)) (gethash kw *declspec-map*)))))) (cond ((or (not ds) (and predicate (not (funcall predicate ds)))) (values (list indicator) nil nil))