aboutsummaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.c b/parse.c
index 6f1d4b10..7e86d31a 100644
--- a/parse.c
+++ b/parse.c
@@ -1276,7 +1276,7 @@ PARSER(parse_text) {
++pos;
close_quote = closing[(int)open_quote] ? closing[(int)open_quote] : open_quote;
- if (!lang && open_quote == '/')
+ if (!lang && (open_quote == '/' || open_quote == '|'))
lang = "Pattern";
else if (!lang && open_quote == '(')
lang = "Shell";