PREV INDEX NEXT

Author: Unknown
Subject: Precedence of line splices v. escape sequences
Date: Friday, 31 Jan 2020, 15:23:49

I'm a little confused on the logic for this example in a previous post.

=====

    > Case 1:
    > "example\\
    > \
    > \
    > "end"

After the three line splices are removed, the input is

  "example\"end"

which is a string.  Thus Cxref outputs nothing.

=====

Is the \\ in "example\\ not treated as an escape sequence? Why does the line splice take precedence? In Sublime, it detects that \\ is an escape character and thus treats

"example\\
\
\
"

as a string, and end" as an identifier with a starting quote at the end.
PREV INDEX NEXT