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
c0b7d3c
..
b034f16
100644
(file)
--- 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);