[PATCH] php syntax single quote fix



Hi,

A small fix for single quoted strings that contain escaped single quotes
themselves.

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research

--- php.syntax.000	2004-12-27 21:11:43.000000000 +0100
+++ php.syntax	2005-03-17 12:05:23.000000000 +0100
@@ -3653,7 +3653,7 @@ context default
 
     keyword " green
 
-    keyword '*' brightgreen
+    keyword ' brightgreen
 
     keyword /\* brown
     keyword \*/ brown
@@ -3725,3 +3725,6 @@ context exclusive " " green
     keyword \\\\ brightgreen
     keyword \\' brightgreen
     keyword \\\{abtnvfr\} brightgreen
+
+context exclusive ' ' brightgreen
+    keyword \\\' brightgreen


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]