Factor some aspects out of VARIFY-LAMBDA-ARG
commit0ecd1ef7326e0692b5e359d189c49dd80a6b8847
authorJan Moringen <jmoringe@techfak.uni-bielefeld.de>
Sat, 15 Jul 2017 16:24:52 +0000 (15 18:24 +0200)
committerJan Moringen <jmoringe@techfak.uni-bielefeld.de>
Sun, 16 Jul 2017 01:14:06 +0000 (16 03:14 +0200)
tree025814a9ab0d4882e89c81f659a6f288c1842137
parent879a304666eef00c6858a0bc2386fd8961f0fd25
Factor some aspects out of VARIFY-LAMBDA-ARG

* Check for variable name validity is performed by new function
  CHECK-VARIABLE-NAME-FOR-BINDING

* Check for repeated names is performed by new function
  MAKE-REPEATED-NAME-CHECK

* MAKE-KEYWORD-FOR-ARG is no longer needed

The intention of this change is to make the new smaller parts reusable
in contexts such as lambda list processing in PCL.
src/compiler/ir1-translators.lisp
src/compiler/ir1tran-lambda.lisp