Browse Source

Merge pull request #612 from decorator-factory/master

Fix typo in docs
tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.10.0
Erez Shinan 4 years ago
committed by GitHub
parent
commit
bc1a8c6ca5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      docs/grammar.md

+ 2
- 2
docs/grammar.md View File

@@ -101,9 +101,9 @@ some_rule: my_template{arg1, arg2, ...}

Example:
```ebnf
_seperated{x, sep}: x (sep x)* // Define a sequence of 'x sep x sep x ...'
_separated{x, sep}: x (sep x)* // Define a sequence of 'x sep x sep x ...'

num_list: "[" _seperated{NUMBER, ","} "]" // Will match "[1, 2, 3]" etc.
num_list: "[" _separated{NUMBER, ","} "]" // Will match "[1, 2, 3]" etc.
```

### Priority


Loading…
Cancel
Save