summaryrefslogtreecommitdiffstats
path: root/parsing/lexer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'parsing/lexer.sh')
-rw-r--r--parsing/lexer.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/parsing/lexer.sh b/parsing/lexer.sh
index 3f6f52f..a7fbb80 100644
--- a/parsing/lexer.sh
+++ b/parsing/lexer.sh
@@ -467,7 +467,8 @@ scan_wordexp()
res="${res#*${RS}}"
toks="${res%%${RS}*}"
lineno=${ln_off}
- wordexp="\$(${STX}${toks}${ETX})"
+ wordexp="\$(${SOH}C${STX}${toks}"
+ wordexp="${wordexp}${ETX})"
# ")" is recognized in run_sublexer().
;;
esac