From 96b5ec10fb8abdb8050a6af87330e6cf3d881d5a Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 3 Jan 2019 23:34:36 +0100 Subject: bc: fix "...; return}" to work, disallow "return ()" function old new delta zbc_parse_expr 24 1865 +1841 zbc_parse_stmt_possibly_auto 1425 1413 -12 bc_parse_expr_empty_ok 1843 - -1843 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/1 up/down: 1841/-1855) Total: -14 bytes Signed-off-by: Denys Vlasenko --- testsuite/bc_misc1.bc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'testsuite/bc_misc1.bc') diff --git a/testsuite/bc_misc1.bc b/testsuite/bc_misc1.bc index 7e9d96604..f666d701a 100644 --- a/testsuite/bc_misc1.bc +++ b/testsuite/bc_misc1.bc @@ -4,9 +4,7 @@ define x(x) { define y() { return; } -define z() { - return (); -} +define z() {return} scale = 0 x=2 x[0]=3 -- cgit v1.2.3