[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EOF during READ-DELIMITED-LIST



According to CLtL p.378, "it is always an error to hit end-of-file
during the operation of READ-DELIMITED-LIST."  This makes
READ-DELIMITED-LIST almost useless, because it means that some user
input to an application can cause undefined effects.

I think that this particular "is an error" was not intended this way.
READ-DELIMITED-LIST should be the function that the standard "(" macro
character uses, and the latter is defined to signal an error if an EOF
occurs before the matching delimiter is read.  Also, the previous
sentence says that this is the reason that there is no EOF-ERROR-P
argument; the implication is that READ-DELIMITED-LIST has an implicit
EOF-ERROR-P argument that is always non-NIL.

Has this already been cleaned up?

                                                barmar