From 3616dd588949b3c8f5d238c315b43b65439bf119 Mon Sep 17 00:00:00 2001 From: Kevin Ballard Date: Tue, 30 Sep 2014 20:58:45 -0700 Subject: Base `status -b` off the parser execution stack Instead of globally marking the state as "in block" when evaluating blocks/functions, update the "in block" status when pushing/popping blocks on the parser stack. Fixes #1729. On a side note, `status -b` is actually pretty useless, because it always returns 0 inside of a function (even without this patch). --- tests/status.out | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/status.out') diff --git a/tests/status.out b/tests/status.out index e69de29b..a6546ffd 100644 --- a/tests/status.out +++ b/tests/status.out @@ -0,0 +1,2 @@ +top level +block -- cgit v1.2.3