- Nov 07, 2005
-
-
rtoy authored
given. We now compute the length more carefully, only checking if to see that the list has the desired minumum and maximum (if applicable) length. This bug was found with ironclad 0.10. (Remove DOTTED-LIST-LENGTH later. We need it now to make bootstrapping easier. I'm lazy.)
-
- Jul 12, 2005
-
-
rtoy authored
so.
-
- Jul 16, 2004
- Jul 16, 2003
-
-
gerd authored
so that we don't need its fdefn in cold init.
-
- Jul 15, 2003
-
-
gerd authored
(parse-defmacro-lambda-list): Use it for min/max argument count checks.
-
gerd authored
Reported by Edi Weitz on cmucl-help. * src/code/defmacro.lisp (restify-dotted-lambda-list): New function. (parse-defmacro-lambda-list): Use it to tranform dotted lambda-list to undotted lambda-lists with &rest. Remove special handling of dotted lambda-lists.
-
- Jun 01, 2003
- May 04, 2003
-
-
gerd authored
where it appears in the lambda list. Found by Paul Dietz. * src/code/defmacro.lisp (append-let-binding): New function. (parse-defmacro-lambda-list): Use it for &environment.
-
- May 03, 2003
-
-
gerd authored
Check for odd-length args if &key seen, instead of when a keyword variable was parsed.
-
- Apr 19, 2003
-
-
gerd authored
by Paul Dietz' ANSI tests. * src/code/defmacro.lisp (parse-defmacro-lambda-list): Add &parse-body, replacing &body (<body> <decls> <doc>). Add destructuring support to &rest, &body, &whole. * src/code/eval.lisp (lambda-list-keywords): Add &parse-body. * src/code/exports.lisp ("EXTENSIONS"): Export &parse-body. * src/hemlock/table.lisp (do-words, with-folded-string): * src/hemlock/macros.lisp (with-pop-up-display): * src/compiler/macros.lisp (deftransform): * src/compiler/ir1tran.lisp (symbol-macrolet, let, locally) (let*, flet, labels) <ir1-translator>: * src/code/package.lisp (do-symbols, do-external-symbols) (do-all-symbols): * src/code/macros.lisp (defun, prog, prog*, with-open-file) (with-open-stream, with-input-from-string) (with-output-to-string, do, do*): * src/code/mach.lisp (gr-bind): * src/code/extensions.lisp (do-anonymous, do-hash, defun-cached): Use &parse-body instead of &body.
-
- Feb 24, 2003
-
-
emarsden authored
number of arguments was being disabled in the presence of a dotted lambda-list or when a &rest keyword is present. Change this so that the test is only disabled for dotted lambda-lists. This modification fixes a number of bugs in source-transforms used by the compiler, since the macro lambda-list parsing code is used to determine whether a given source-transform can be applied to the form being compiled. When source-transforms were defined for functions with &rest parameters, the macro-lambda-list checking was not signalling an error when an inappropriate number of arguments were present in the form being compiled. This resulted in inappropriate use of the source-transform. This change reveals a problem in the gray-stream class definitions (now fixed).
-
- Nov 02, 2002
-
-
toy authored
Check that &rest is only followed by a single arg or other lambda-list-keywords.
-
- Aug 23, 2002
-
-
pmai authored
reporting in several places to be more specific and/or ANSI compliant. The patches have been modified to make use of the new common simple-programm-error function where applicable.
-
- Jul 30, 2002
-
-
toy authored
foo args). Make it so.
-
- Jan 18, 1997
-
-
ram authored
-
- May 08, 1996
-
-
ram authored
no keys.
-
- Oct 31, 1994
-
-
ram authored
-
- Feb 11, 1994
-
-
cvs2git authored
-
- Feb 04, 1994
-
-
wlott authored
-
- Aug 30, 1993
-
-
ram authored
-
- Aug 19, 1993
-
-
ram authored
-
- May 17, 1993
-
-
ram authored
space in macro definitions.
-
- Jan 13, 1993
-
-
cvs2git authored
-
- Aug 12, 1992
-
-
wlott authored
if it is a SYMBOL, because we want NIL to act like the empty list, and not an attempt to bind NIL.
-
- Feb 08, 1991
-
-
ram authored
-
- Jan 13, 1991
-
-
wlott authored
only test required destructured args, and tested them to be conses. Also, use the supplied error-fun to single violations of this, not error. And wrap (the list ...) around the args to calls to length to keep Scott happy.
-
- Dec 12, 1990
-
-
wlott authored
-
- Dec 11, 1990
-
-
wlott authored
list instead of the first key several times.
-
wlott authored
implemented. Fixed keyword-supplied-p to return T when the keyword is supplied irrespective of what the corresponding value is.
-
wlott authored
instead of repetativly over the first element.
-
wlott authored
actually appear in the defmacro expansion instead of it being passed as a closure to helping functions. Also, we don't worry about trying to ever signal continuable errors, 'cause both the interpreter and the compiler are going to pick off all errors with a handler-bind. Errors are signaled as conditions so that we can have wizzy messages and still keep the amount of code in the expansion limited.
-
- Nov 21, 1990
-
-
wlott authored
(body decls docs) extension.
-
- Nov 20, 1990
-
-
wlott authored
passed down to the arg count checker and keyword checker. The arg count checker and keyword checker funcall this error function, instead of just calling error directly. This allows people to use parse-defmacro to build destructuring things that throw instead of signaling errors.
-
- Nov 18, 1990
-
-
wlott authored
-
- May 30, 1990
-
-
cvs2git authored
-
- Apr 11, 1990
-
-
wlott authored
-
- Mar 05, 1990
-
-
cvs2git authored
-
- Feb 06, 1990
-
-
ram authored
-