Browse Source

Fix reference to error_puppet example

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.11.2
Søren Fuglede Jørgensen 4 years ago
committed by GitHub
parent
commit
cbb78b262e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lark/lark.py

+ 1
- 1
lark/lark.py View File

@@ -500,7 +500,7 @@ class Lark(Serialize):
text (str): Text to be parsed.
start (str, optional): Required if Lark was given multiple possible start symbols (using the start option).
on_error (function, optional): if provided, will be called on UnexpectedToken error. Return true to resume parsing.
LALR only. See examples/error_puppet.py for an example of how to use on_error.
LALR only. See examples/advanced/error_puppet.py for an example of how to use on_error.

Returns:
If a transformer is supplied to ``__init__``, returns whatever is the


Loading…
Cancel
Save