git@sv
/
enscript.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Small change to getopt stuff
[enscript.git]
/
states
/
hl
/
sh.st
diff --git
a/states/hl/sh.st
b/states/hl/sh.st
index c0b7d3c472227e9936d95afc9561114b2f08aed0..b034f16128e28df1aa23f090376c205c138ca9e3 100644
(file)
--- a/
states/hl/sh.st
+++ b/
states/hl/sh.st
@@
-22,6
+22,17
@@
state sh extends HighlightEntry
string_face (false);
}
string_face (false);
}
+ /* Ignore escaped quote marks */
+ /\\\"/ {
+ language_print ($0);
+ }
+ /\\\'/ {
+ language_print ($0);
+ }
+ /\\\`/ {
+ language_print ($0);
+ }
+
/* Excutable script. */
/^#!/ {
reference_face (true);
/* Excutable script. */
/^#!/ {
reference_face (true);