[r6rs-discuss] Linefeed and Line Endings
I think I see what is confusing us.
In the list of valid escapes in 4.2.7 we have "\<linefeed>". Then second
next paragraph says:
"Any other character in a string after a backslash is an error. Except
for a line ending, any character outside of an escape sequence and not a
doublequote stands for itself in the string literal. [...] A line ending
stands for a linefeed character."
I think you believe that the last sentence of this paragraph means that
"\<line ending>" should be interpreted as "\<linefeed>", and this in
turn is defined as a valid escape (for nothing).
However, I interpret this as referring only to line endings that are
"outside an escape sequence". Therefore, I do not see a definition for,
for example, "\<next line>", and so I interpret this as an error
according to the first sentence of the paragraph I quoted above.
Is this any clearer?
Regards,
Alan
Received on Thu Jun 28 2007 - 12:54:56 UTC
This archive was generated by hypermail 2.3.0
: Wed Oct 23 2024 - 09:15:01 UTC