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
Fixed 'end_pos' for xearley, 2nd try (issue
#534
)
tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.8.3
Erez Sh
5 years ago
parent
a84788087b
commit
3a04f49860
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
lark/parsers/xearley.py
+ 1
- 1
lark/parsers/xearley.py
View File
@@ -93,7 +93,7 @@ class Parser(BaseParser):
if token is not None:
token.end_line = text_line
token.end_column = text_column + 1
token.end_pos = i
token.end_pos = i
+ 1
new_item = item.advance()
label = (new_item.s, new_item.start, i)
Write
Preview
Loading…
Cancel
Save