From 71f69788f64bdc17caece676b5f0ee8ded9e29d5 Mon Sep 17 00:00:00 2001
From: P. J. McDermott <pj@pehjota.net>
Date: Mon, 22 Feb 2016 15:06:26 -0500
Subject: eshtrans/frontend: Accept T_RETURN

---
(limited to 'eshtrans')

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
--
cgit v0.9.1