Browse Source

Update how_to_use.md

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.66
Jan Rydzewski 5 years ago
committed by GitHub
parent
commit
188e87c65b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      docs/how_to_use.md

+ 1
- 0
docs/how_to_use.md View File

@@ -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)



Loading…
Cancel
Save