We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3a2644 commit 4b89d19Copy full SHA for 4b89d19
1 file changed
sly/yacc.py
@@ -2028,6 +2028,8 @@ def __build_lrtables(cls):
2028
lr_dump = json.load(open(build_file, 'r'))
2029
except Exception:
2030
pass
2031
+ if lr_dump is None:
2032
+ print('Unable to load lr_table dump, parsing initialization might be slower')
2033
2034
lrtable = LRTable(cls._grammar, lr_dump=lr_dump)
2035
num_sr = len(lrtable.sr_conflicts)
0 commit comments