Browse Source

Update how_to_use.md

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.66
Jan Rydzewski 6 years ago
committed by GitHub
parent
commit
d36a6dbec2
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
      docs/how_to_use.md

+ 1
- 1
docs/how_to_use.md View File

@@ -56,7 +56,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: 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
import logging import logging
logging.basicConfig(level=logging.DEBUG) logging.basicConfig(level=logging.DEBUG)




Loading…
Cancel
Save