;; You should have received a copy of the GNU General Public License
;; along with JSCL. If not, see <http://www.gnu.org/licenses/>.
+(/debug "loading lambda-list.lisp!")
+
+
(defvar !lambda-list-keywords
'(&optional &rest &key &aux &allow-other-keys &body &optional))
:initform initform)))))
(defun parse-destructuring-lambda-list (lambda-list)
- (let (;; Destructured lambda list structure where we accumulate the
+ (let (;; Destructure lambda list structure where we accumulate the
;; results of the parsing.
(ll (make-lambda-list))
;; List of lambda list keywords which we have already seen.
(lambda-keywords nil))
(flet (;; Check if we are in the beginning of the section NAME in
- ;; the lambda list. It checks also if the section is in the
+ ;; the lambda list. It also checks if the section is in the
;; proper place and it is new.
(lambda-section (name)
(let ((section (first lambda-list)))
(apply #'!expand-destructuring-bind lambda-list expression body))
#+jscl
-(eval-when-compile
+(eval-when (:compile-toplevel)
(let ((macroexpander
'#'(lambda (form &optional environment)
(declare (ignore environment))