From 10a51ad996482d07ecfe4bcd3251b4e8701a30df Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 16 Sep 2024 00:15:54 -0400 Subject: Bugfix for string escaping in printouts --- parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'parse.c') 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"; -- cgit v1.2.3