From 23e25133096b7009d20ceeaddcd816fe1afc7683 Mon Sep 17 00:00:00 2001 From: Paul Crowley Date: Sun, 2 Sep 2018 20:03:17 -0700 Subject: [PATCH] Fix typo in sample code: gramamr -> grammar --- docs/how_to_use.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/how_to_use.md b/docs/how_to_use.md index c0b7159..95041e4 100644 --- a/docs/how_to_use.md +++ b/docs/how_to_use.md @@ -27,7 +27,7 @@ Here is some mock usage of them. You can see a real example in the [[examples]] ```python from lark import Lark, Transformer -gramamr = """start: rules and more rules +grammar = """start: rules and more rules rule1: other rules AND TOKENS | rule1 "+" rule2 -> add