Share logic between READ-LIST/READ-DELIMITED-LIST and tweak the reader a bit.
commitc787e5324e80f13beeca33f630f194981ac0dd9e
authorDouglas Katzman <dougk@google.com>
Tue, 11 Nov 2014 03:25:14 +0000 (10 22:25 -0500)
committerDouglas Katzman <dougk@google.com>
Tue, 11 Nov 2014 04:39:41 +0000 (10 23:39 -0500)
tree99d43a5d36eb41707cd991a26ffaea4dbeb672de
parent543e931a2cc50821f8ce6ecf4d6b33ff05566635
Share logic between READ-LIST/READ-DELIMITED-LIST and tweak the reader a bit.

*READ-SUPPRESS* doesn't cons lists any more. It used to cons but return NIL.
This change should be invisible to users. CLHS says of *READ-SUPPRESS*
"The standard syntax and its associated reader macros will not construct
any new objects." It then somewhat contradictorily says
"No matter what the value of *read-suppress*, parentheses still continue
to delimit and construct lists" which should be construed to mean that
parentheses syntactically construct lists, not allocate them.
contrib/sb-cover/cover.lisp
src/code/backq.lisp
src/code/reader.lisp
tests/reader.pure.lisp