Skip to content

Commit 0288dd4

Browse files
authored
Merge pull request tree-sitter#1295 from nokome/master
docs(Using parsers): Fix spelling, remove unusual keyword
2 parents ec87df2 + 12d3e1b commit 0288dd4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/section-2-using-parsers.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,6 @@ This pattern would match a set of possible keyword tokens, capturing them as `@k
572572
```
573573
[
574574
"break"
575-
" atch"
576575
"delete"
577576
"else"
578577
"for"
@@ -630,7 +629,7 @@ The restrictions placed on a pattern by an anchor operator ignore anonymous node
630629

631630
#### Predicates
632631

633-
You can also specify arbitrary metadata and conditions associed with a pattern by adding _predicate_ S-expressions anywhere within your pattern. Predicate S-expressions start with a _predicate name_ beginning with a `#` character. After that, they can contain an arbitrary number of `@`-prefixed capture names or strings.
632+
You can also specify arbitrary metadata and conditions associated with a pattern by adding _predicate_ S-expressions anywhere within your pattern. Predicate S-expressions start with a _predicate name_ beginning with a `#` character. After that, they can contain an arbitrary number of `@`-prefixed capture names or strings.
634633

635634
For example, this pattern would match identifier whose names is written in `SCREAMING_SNAKE_CASE`:
636635

0 commit comments

Comments
 (0)