X-Git-Url: http://git.savannah.gnu.org/gitweb/?p=enscript.git;a=blobdiff_plain;f=states%2Fhl%2Fsh.st;h=b034f16128e28df1aa23f090376c205c138ca9e3;hp=c0b7d3c472227e9936d95afc9561114b2f08aed0;hb=refs%2Fheads%2Fgetopt-stuff;hpb=cee050d75d296ea9420e3885fddaae2d43f2521c diff --git a/states/hl/sh.st b/states/hl/sh.st index c0b7d3c..b034f16 100644 --- a/states/hl/sh.st +++ b/states/hl/sh.st @@ -22,6 +22,17 @@ state sh extends HighlightEntry string_face (false); } + /* Ignore escaped quote marks */ + /\\\"/ { + language_print ($0); + } + /\\\'/ { + language_print ($0); + } + /\\\`/ { + language_print ($0); + } + /* Excutable script. */ /^#!/ { reference_face (true);