Skip to content

Commit 11fecff

Browse files
authored
Update ungrammar.ungram with proper labeled rule
Labels are followed by rules The ungrammar listed in https://rust-analyzer.github.io/blog/2020/10/24/introducing-ungrammar.html seems to be correct
1 parent 814f047 commit 11fecff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ungrammar.ungram

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ Rule =
1313
| Rule '?'
1414
| Rule '*'
1515
| '(' Rule ')'
16-
| label:'ident' ':'
16+
| label:'ident' ':' Rule

0 commit comments

Comments
 (0)