From f259672f0995b56226b0b29317681a8aefe5eb85 Mon Sep 17 00:00:00 2001 From: Erez Shinan Date: Thu, 20 Jul 2023 21:28:12 +0200 Subject: [PATCH] Attempt to fix issue caused by lark 1.1.6 (issue #23) --- lark_cython/lark_cython.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lark_cython/lark_cython.pyx b/lark_cython/lark_cython.pyx index 6b977b6..1173cae 100644 --- a/lark_cython/lark_cython.pyx +++ b/lark_cython/lark_cython.pyx @@ -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