Skip to content
Snippets Groups Projects
Commit 7907a9dd authored by Franck Dary's avatar Franck Dary
Browse files

Fixed a bug where movement left arc was declared possible even when we finished reading the buffer

parent fba42b89
No related branches found
No related tags found
No related merge requests found
......@@ -442,7 +442,7 @@ int movement_eos_is_applicable(config *c)
int movement_left_arc_is_applicable(config *c, int label)
{
if(stack_is_empty(config_get_stack(c))) return 0;
if(word_buffer_is_empty(config_get_buffer(c))) return 0;
if(word_buffer_end(config_get_buffer(c))) return 0;
/* word on top of the stack should not have a governor */ // com here bug ?
if(word_get_gov(stack_top(config_get_stack(c))) != WORD_INVALID_GOV) return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment