aboutsummaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-16 00:15:54 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-16 00:15:54 -0400
commit10a51ad996482d07ecfe4bcd3251b4e8701a30df (patch)
treea4f39a3d771dcf9a2a3f4c026054cc3b56dbb6ad /parse.c
parentb1f882af91ca17703f57589b88191dabe2c42f78 (diff)
Bugfix for string escaping in printouts
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";