Commit 256e0277 authored by Alexis Nasr's avatar Alexis Nasr
Browse files

added movement ignore

parent e12305ce
......@@ -81,6 +81,14 @@ int movement_right_arc_undo(config *c)
return 1;
int movement_ignore(config *c, int movement_code)
if(word_buffer_end(config_get_buffer(c))) return 0;
config_push_mvt(c, movement_code, b0, NULL);
return 1;
int movement_shift(config *c, int movement_code)
/* if(word_buffer_is_empty(config_get_buffer(c))) return 0; */
......@@ -12,6 +12,7 @@ int movement_left_arc(config *c, int movement_code, int label);
int movement_left_arc_undo(config *c);
int movement_right_arc(config *c, int movement_code, int label);
int movement_right_arc_undo(config *c);
int movement_ignore(config *c, int movement_code);
int movement_shift(config *c, int movement_code);
int movement_shift_undo(config *c);
int movement_reduce(config *c, int movement_code);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment