From: Marcelo V. <va...@us...> - 2007-10-29 01:39:46
|
Me again: new patch! A cleaned up version of the last one, now with all mode files modified for the new "escape" handling. Doc also updated. NO_ESCAPE is now deprecated since it's not needed anymore. It would be nice if people tested this, especially with languages I'm not familiar with (such as Ruby, which seems to have a whole bunch of rules for literals). I'd really like to check this patch in since it fixes a few bugs and simplifies the code a lot, but more testing is always good. On 10/19/07, Marcelo Vanzin <va...@us...> wrote: > If someone still thinks that I might just maybe not be out of my mind, > here's an updated patch that implements option (iii) in my original > e-mail, with a few mode files modified to work with it (C, C++, PHP > and JavaScript - aside from the Perl one that needs no modification). > > As a bonus, this also fixes this bug, aside from the 3 bugs I > mentioned initally: > http://sourceforge.net/tracker/index.php?func=detail&aid=1600458&group_id=588&atid=100588 > > But the reason the highlighting is correct now is not the reason the > bug states - but rather that the escape rule is now declared in the > right place - the rule that defines how to parse the literal. -- Marcelo Vanzin mmv...@gm... "Life's too short to drink cheap beer." |