defconstant !lambda-list-keywords
authorDavid Vázquez <davazp@gmail.com>
Sun, 5 May 2013 15:41:11 +0000 (16:41 +0100)
committerDavid Vázquez <davazp@gmail.com>
Sun, 5 May 2013 15:41:11 +0000 (16:41 +0100)
src/lambda-list.lisp

index 1b62075..e87b868 100644 (file)
@@ -13,8 +13,8 @@
 ;; You should have received a copy of the GNU General Public License
 ;; along with JSCL.  If not, see <http://www.gnu.org/licenses/>.
 
-;;; lambda-list-keywords
-;; '(&optional &rest &key &aux &allow-other-keys &body &optional)
+(defconstant !lambda-list-keywords
+  '(&optional &rest &key &aux &allow-other-keys &body &optional))
 
 ;;;; Lambda list parsing
 
            ;; position of the lambda list.
            (in-section-p ()
              (and (consp lambda-list)
-                  (not (find (first lambda-list) lambda-list-keywords)))))
+                  (not (find (first lambda-list) !lambda-list-keywords)))))
       
       ;; &whole var
       (when (lambda-section '&whole)