mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-08 06:43:01 +08:00
![Kevin Ballard](/assets/img/avatar_default.png)
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).
3 lines
16 B
Plaintext
3 lines
16 B
Plaintext
top level
|
|
block
|