summaryrefslogtreecommitdiffstats
path: root/eshtrans/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'eshtrans/frontend')
-rw-r--r--eshtrans/frontend/parser.esh5
1 files changed, 5 insertions, 0 deletions
diff --git a/eshtrans/frontend/parser.esh b/eshtrans/frontend/parser.esh
index eb82666..e993221 100644
--- a/eshtrans/frontend/parser.esh
+++ b/eshtrans/frontend/parser.esh
@@ -404,6 +404,11 @@ do_group()
simple_command()
{
ptrace_begn simple_command
+ if accept T_RETURN; then
+ cmd_suffix
+ ptrace_pass simple_command
+ return 0
+ fi
accept T_STATIC
if cmd_prefix; then
if cmd_word; then