toke.c:S_scan_heredoc: Add comment about <<\FOO
authorDavid Nicol <davidnicol@gmail.com>
Mon, 20 Aug 2012 06:05:40 +0000 (23:05 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 21 Aug 2012 21:11:01 +0000 (14:11 -0700)
toke.c

diff --git a/toke.c b/toke.c
index 7592453..ff19bdc 100644 (file)
--- a/toke.c
+++ b/toke.c
@@ -9504,6 +9504,7 @@ S_scan_heredoc(pTHX_ register char *s)
     }
     else {
        if (*s == '\\')
+            /* <<\FOO is equivalent to <<'FOO' */
            s++, term = '\'';
        else
            term = '"';