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

Re: [Scheme-reports] inconsistent use of \| escape



On Sat, Sep 28, 2013 at 2:35 AM, Per Bothner <per@x> wrote:
Section 6.7 "Strings" lists '\|' as an escape sequence valid in strings.
However, 7.1.1 "Lexical structure" does *not* show '\|' as valid syntax
in <string element> - it does not match <mnemonic escape>.
OTOH <symbol element> explicitly lists '\|'.

I assume the formal syntax is correct, and 6.7 needs some editorial
tweaking.

Yes, the formal syntax is correct.  There's no reason
to use \| in a string since | by itself is perfectly valid.

-- 
Alex

_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports