Next: , Previous: , Up: scheme lex syntax   [Index]


3.4.3.2 Line endings

Line endings are significant in Scheme in single–line comments (scheme lex syntax whitespace and comments) and within string literals. In Scheme source code, any of the line endings in ?line-ending marks the end of a line. Moreover, the two–character line endings ?carriage-return ?linefeed and ?carriage-return ?next-line each count as a single line ending.

In a string literal, a ?line-ending not preceded by a \ stands for a linefeed character, which is the standard line–ending character of Scheme.