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
Copy exc state when converting UnexpectedCharacters to UnexpectedToken exc.
Fixes
#462
tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.7.8
Timo Furrer
5 years ago
parent
f3714a572f
commit
9f218f85b6
No known key found for this signature in database
GPG Key ID:
96704219D3304F22
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
lark/lexer.py
+ 1
- 1
lark/lexer.py
View File
@@ -384,6 +384,6 @@ class ContextualLexer(Lexer):
value, type_ = root_match
t = Token(type_, value, e.pos_in_stream, e.line, e.column)
raise UnexpectedToken(t, e.allowed)
raise UnexpectedToken(t, e.allowed
, state=e.state
)
###}
Write
Preview
Loading…
Cancel
Save