Skip to content

Commit

Permalink
Attempt to fix issue caused by lark 1.1.6 (issue #23)
Browse files Browse the repository at this point in the history
  • Loading branch information
erezsh committed Jul 20, 2023
1 parent fffa767 commit f259672
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lark_cython/lark_cython.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -567,8 +567,8 @@ cdef class _Parser:


class LALR_Parser(Serialize):
def __init__(self, parser_conf, debug=False):
analysis = LALR_Analyzer(parser_conf, debug=debug)
def __init__(self, parser_conf, debug=False, strict=False):
analysis = LALR_Analyzer(parser_conf, debug=debug, strict=strict)
analysis.compute_lalr()
callbacks = parser_conf.callbacks

Expand Down

0 comments on commit f259672

Please sign in to comment.