#445 syntax hilighting incorrect for heredocs

open
nobody
None
5
2007-09-26
2007-09-26
Jack Tanner
No

In the following code, the apostrophes are not highlighted the same, and the contents of the heredoc are colored the same as a comment/

print <<'OUT';
</body>
</html>
OUT

First, the contents of the heredoc are a string and should be colored so. Second, the opening and closing 'OUT' and OUT markers act like quotation marks around a string, and should be colored the same.

Discussion


Log in to post a comment.