From 188e87c65bfafb12c0fd12b11471fca31a7661a2 Mon Sep 17 00:00:00 2001 From: Jan Rydzewski Date: Fri, 26 Oct 2018 14:10:55 +0200 Subject: [PATCH] Update how_to_use.md --- docs/how_to_use.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/how_to_use.md b/docs/how_to_use.md index c1a8518..5113d27 100644 --- a/docs/how_to_use.md +++ b/docs/how_to_use.md @@ -57,6 +57,7 @@ new_tree = MyTransformer().transform(tree) By default Lark silently resolves Shift/Reduce conflicts as Shift. To enable warnings pass `debug=True`. To get the messages printed you have to configure `logging` framework beforehand. For example: ```python +from lark import Lark import logging logging.basicConfig(level=logging.DEBUG)