From 76fefaf9e2dc0f4aeaa453e4e1c2c1395af4702f Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 16 Jan 2015 08:41:27 +0100 Subject: [PATCH] Make argument for the return keyword optional fixes #8237 --- lib/config/config_parser.yy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config/config_parser.yy b/lib/config/config_parser.yy index 2abebd6f7..91eb317a4 100644 --- a/lib/config/config_parser.yy +++ b/lib/config/config_parser.yy @@ -591,7 +591,7 @@ lterm: type $$ = MakeLiteral(); } - | T_RETURN rterm + | T_RETURN optional_rterm { $$ = new ReturnExpression($2, @$); } -- 2.40.0