Add a patch from Josh Zenker to fix perl highlight
[enscript.git] / states / hl / bash.st
index a99eac08371b46660b6523b88daa2b6c1b0c2b48..6b6157761556be33d617821502562976d6e494f6 100644 (file)
@@ -22,6 +22,17 @@ state bash extends HighlightEntry
     string_face (false);
   }
 
+  /* Ignore escaped quote marks */
+  /\\\"/ {
+    language_print ($0);
+  }
+  /\\\'/ {
+    language_print ($0);
+  }
+  /\\\`/ {
+    language_print ($0);
+  }
+
   /* Excutable script. */
   /^#!/ {
     reference_face (true);