You can enclose the EOF and SQL after the << with ' or " to fix it.
Just keep in mind that that will cause the text in the here-doc to be interpreted as that particular string type with regards to interpolation.
Regards Kim Ahlström
On 14 okt 2005, at 15.54, Michael Irwin wrote:
Following are two Perl snippets that cause syntax highlighting to get wacky.
This first one causes everything that comes after for the remainder of the file to be colored as a string:
message(<<EOF) if $TT_PREFIX; EOF
And with this one, as well as the one above, anything after the first here-doc delimiter is colored as a string:
$sql .= <<SQL if $type eq 'com'; SQL
Regards,
Michael Irwin
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate