On 14/10/2005, at 22.35, Xavier Noria wrote:
On Oct 14, 2005, at 17:43, Kim Ahlström wrote:
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.
I don't understand the workaround, see the attached screenshot, where "and exit;" is colored as string. What do you mean?
I committed a patch to the Perl syntax which stops the here-doc token when it sees a ), and doesn't color the rest of the line as string -- though there's no normal syntax highlight for the rest of the line, since w/o the ability to re-apply patterns to captures (which is planned), this is a lot of work that I'm not the one who is going to make :)