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)