summaryrefslogtreecommitdiffstats
path: root/eshtrans/frontend/lexer.esh
diff options
context:
space:
mode:
Diffstat (limited to 'eshtrans/frontend/lexer.esh')
-rw-r--r--eshtrans/frontend/lexer.esh7
1 files changed, 7 insertions, 0 deletions
diff --git a/eshtrans/frontend/lexer.esh b/eshtrans/frontend/lexer.esh
index 6775bbc..d274076 100644
--- a/eshtrans/frontend/lexer.esh
+++ b/eshtrans/frontend/lexer.esh
@@ -498,6 +498,13 @@ scan_word()
;;
\')
word="${word}${c}"
+ if ${quoted}; then
+ case "${prev_c}" in
+ '') lgetc;;
+ *) c="${tmp_c}"; prev_c='';;
+ esac
+ continue
+ fi
while :; do
case "${prev_c}" in
'') lgetc;;