This website works better with JavaScript.
Home
Explore
Help
Sign In
jmg
/
gitmirror
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
39
Wiki
Activity
Browse Source
A minor style fix (a possible memory usage improvement)
tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.6.0
Erez Shinan
6 years ago
parent
b9e1e444c9
commit
61afbed17a
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
lark/parsers/grammar_analysis.py
+ 2
- 1
lark/parsers/grammar_analysis.py
View File
@@ -136,7 +136,8 @@ class GrammarAnalyzer(object):
if not is_terminal(new_r):
yield new_r
_ = list(bfs([rule], _expand_rule))
for _ in bfs([rule], _expand_rule):
pass
return fzset(init_ptrs)
Write
Preview
Loading…
Cancel
Save