vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit f197364f9ef332c5efc2e606b6ffeb5b645e3f4b parent 4b184f462a27379cf2690e564190023f14c70ed7 Author: Marc André Tanner <mat@brain-dump.org> Date: Sat, 4 Apr 2015 11:22:49 +0200 Mark some pointers in struct Action as const Diffstat:
| M | vis.c | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/vis.c b/vis.c @@ -130,9 +130,9 @@ typedef struct { typedef struct { /** collects all information until an operator is executed */ int count; bool linewise; - Operator *op; - Movement *movement; - TextObject *textobj; + const Operator *op; + const Movement *movement; + const TextObject *textobj; Register *reg; MarkIntern mark; Key key;