summaryrefslogtreecommitdiffstats
path: root/eshtrans
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-02-27 00:37:53 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-02-27 00:37:53 (EST)
commit91f2617a9bbb8ee114ea6ef630996737f8fd2c59 (patch)
tree0d64f82cab5bc6062f3dcbfe46c9c4cfd876adc1 /eshtrans
parent645030ce070d32f6965a772956149fc8b6c99bce (diff)
downloadeggshell-91f2617a9bbb8ee114ea6ef630996737f8fd2c59.zip
eggshell-91f2617a9bbb8ee114ea6ef630996737f8fd2c59.tar.gz
eggshell-91f2617a9bbb8ee114ea6ef630996737f8fd2c59.tar.bz2
eshtrans/frontend: Fix string length param expansions
Diffstat (limited to 'eshtrans')
-rw-r--r--eshtrans/frontend/lexer.esh2
1 files changed, 1 insertions, 1 deletions
diff --git a/eshtrans/frontend/lexer.esh b/eshtrans/frontend/lexer.esh
index 0c13836..a9aaa6d 100644
--- a/eshtrans/frontend/lexer.esh
+++ b/eshtrans/frontend/lexer.esh
@@ -630,7 +630,7 @@ scan_wordexp_param_brace()
res="${res#*${RS}}"
c="${res%%${RS}*}"
res="${res#*${RS}}"
- param="${res}"
+ param="#${res}"
lineno=$((${lineno} + ${ln_off}))
# Disable modifications.
mod=false