(INTEGER *) and other type names made of lists are now allowed as declaration names.
authorJuanjo Garcia-Ripoll <jjgarcia@users.sf.net>
Tue, 29 Oct 2013 21:25:42 +0000 (22:25 +0100)
committerJuanjo Garcia-Ripoll <jjgarcia@users.sf.net>
Tue, 29 Oct 2013 21:25:42 +0000 (22:25 +0100)
src/cmp/cmpenv-declare.lsp

index f0c96f9..54c5466 100644 (file)
@@ -72,7 +72,10 @@ and a possible documentation string (only accepted when DOC-P is true)."
        for decl in all-declarations
        for decl-name = (first decl)
        for decl-args = (rest decl)
-       do (cmpassert (and (valid-form-p decl-args) (symbolp decl-name))
+       do (cmpassert (and (valid-form-p decl-args)
+                         (or (symbolp decl-name)
+                             (and (consp decl-name)
+                                  (valid-type-specifier decl-name))))
                      "Syntax error in declaration ~s" decl)
        do (case decl-name
             (SPECIAL)