Adding force_load_table to GLR parser.
@@ -40,7 +40,7 @@ class GLRParser(Parser):
tables=LALR, in_layout=False, return_position=False,
prefer_shifts=None, prefer_shifts_over_empty=None,
error_recovery=False, dynamic_filter=None,
- custom_token_recognition=None):
+ custom_token_recognition=None, force_load_table=False):
# The default for GLR is not to use any strategy preferring shifts
# over reduce thus investigating all possibilitites.
@@ -61,7 +61,8 @@ class GLRParser(Parser):
prefer_shifts=prefer_shifts,
prefer_shifts_over_empty=prefer_shifts_over_empty,
error_recovery=error_recovery, dynamic_filter=dynamic_filter,
- custom_token_recognition=custom_token_recognition)
+ custom_token_recognition=custom_token_recognition,
+ force_load_table=force_load_table)
def _check_parser(self):
"""
