diff options
Diffstat (limited to 'eshtrans/backend')
-rw-r--r-- | eshtrans/backend/codegen.esh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eshtrans/backend/codegen.esh b/eshtrans/backend/codegen.esh index dea169b..1b2d168 100644 --- a/eshtrans/backend/codegen.esh +++ b/eshtrans/backend/codegen.esh @@ -35,7 +35,11 @@ codegen_sub() for t in ${array}; do toktext "${t}" case "${t%${US}*}" in - T_NEWLINE) + T_NEWLINE|T_LPAREN) + # Indenting lines can mess up here-documents. + # Adding a space after "(" can mess up function + # definitions (on zsh at least, while other + # shells accept the space). ;; *) printf ' ' |