diff options
Diffstat (limited to 'parsing/lexer.sh')
-rw-r--r-- | parsing/lexer.sh | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/parsing/lexer.sh b/parsing/lexer.sh index 6e2c4f4..928021e 100644 --- a/parsing/lexer.sh +++ b/parsing/lexer.sh @@ -410,17 +410,8 @@ scan_wordexp() res="${res#*${RS}}" toks="${res%%${RS}*}" lineno=${ln_off} - wordexp="\$(${STX}${toks}${ETX}" - # Get ")" - case "${c}" in - ')') - wordexp="${wordexp}${c}" - pgetc - ;; - *) - synerr 'Missing ")"' - ;; - esac + wordexp="\$(${STX}${toks}${ETX})" + # ")" is recognized in parse_sub(). ;; esac ;; |