diff options
Diffstat (limited to 'eshtrans/backend/main.esh')
-rw-r--r-- | eshtrans/backend/main.esh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/eshtrans/backend/main.esh b/eshtrans/backend/main.esh index 8851053..60bc622 100644 --- a/eshtrans/backend/main.esh +++ b/eshtrans/backend/main.esh @@ -25,9 +25,8 @@ sh_codegen() sh_set_tu_id "${toks}" sh_start_tu - if printf '%s' "${toks}" | sh_parse_stack; then - return 0 - else + if ! printf '%s' "${toks}" | sh_parse_stack; then return 1 fi + sh_end_tu } |