diff options
author | Kevin Ballard <kevin@sb.org> | 2014-09-30 20:58:45 -0700 |
---|---|---|
committer | Kevin Ballard <kevin@sb.org> | 2014-09-30 20:58:45 -0700 |
commit | 3616dd588949b3c8f5d238c315b43b65439bf119 (patch) | |
tree | 7b9e6ab0f0fc3a3a29f66f49744e2a1c8fbdfcc7 /fish_version.cpp | |
parent | 489fb7ec3f13e21d0dd157c0d589e07dfb6ee271 (diff) |
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).
Diffstat (limited to 'fish_version.cpp')
0 files changed, 0 insertions, 0 deletions