diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2017-01-26 20:40:05 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2017-01-26 21:48:52 +0100 |
| commit | cdd8c4b9a1544b64f2176df64dd7e24a2e08b74a (patch) | |
| tree | f75685ce33cfc33870a8372ed2861852e1a12b89 /Makefile | |
| parent | b58b76bca867ee2a845c695faa3f1a5853cffc60 (diff) | |
| download | vis-cdd8c4b9a1544b64f2176df64dd7e24a2e08b74a.tar.gz vis-cdd8c4b9a1544b64f2176df64dd7e24a2e08b74a.tar.xz | |
sam: disallow destructive commands in groups and looping constructs
This should fix segfaults for commands like `:{ q i/foo/ }` or
`:x/pattern/ q` where a command invalidates the current window.
The checks are a bit too strict, for example a destructive command at the
end of a non-nested group would be fine, but is currently also rejected.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
