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
Use accepts in default example (even though it's not necessary)
tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.10.0
Erez Sh
4 years ago
parent
02d57bc32a
commit
00e736fda3
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
examples/error_reporting_lalr.py
+ 1
- 1
examples/error_reporting_lalr.py
View File
@@ -52,7 +52,7 @@ def parse(json_text):
'[1,2,]',
'{"foo":1,}',
'{"foo":false,"bar":true,}']
})
}
, use_accepts=True
)
if not exc_class:
raise
raise exc_class(u.get_context(json_text), u.line, u.column)
Write
Preview
Loading…
Cancel
Save