Update of /cvsroot/e-p-i-c/org.epic.perleditor/src/org/epic/core/parser
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24530/src/org/epic/core/parser
Modified Files:
expectStringEnd.g
Log Message:
Fixed a bug demonstrated by the new syntax highlighting test case: backslashes preceding \n within string literals would cause problems with the syntax highlighting by messing up line counting.
Index: expectStringEnd.g
===================================================================
RCS file: /cvsroot/e-p-i-c/org.epic.perleditor/src/org/epic/core/parser/expectStringEnd.g,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- expectStringEnd.g 27 Dec 2005 02:02:33 -0000 1.2
+++ expectStringEnd.g 12 Apr 2006 19:17:55 -0000 1.3
@@ -54,7 +54,7 @@
protected
ESCAPE:
- '\\' ('\uFFFF'!|.)
+ '\\' ('\uFFFF'!|~('\r' | '\n'))
;
protected
|