diff options
Diffstat (limited to 'parsing/egrammar.ml')
-rw-r--r-- | parsing/egrammar.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parsing/egrammar.ml b/parsing/egrammar.ml index 77ac447c9..ef3919c81 100644 --- a/parsing/egrammar.ml +++ b/parsing/egrammar.ml @@ -120,7 +120,7 @@ let find_position other assoc lev = Some (Gramext.Level (constr_level (n,a))), None, None let remove_levels n = - level_stack := snd (list_chop n !level_stack) + level_stack := list_skipn n !level_stack (* Interpretation of the right hand side of grammar rules *) |