From cbb78b262e3493b489b03aca6fe54d41ef4f12e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Fuglede=20J=C3=B8rgensen?= Date: Sat, 19 Dec 2020 12:55:13 +0100 Subject: [PATCH] Fix reference to error_puppet example --- lark/lark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lark/lark.py b/lark/lark.py index 715eb60..3e0a51f 100644 --- a/lark/lark.py +++ b/lark/lark.py @@ -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