Unnamed repository; edit this file 'description' to name the repository.
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
Eli Bendersky 2023-06-19
parent a974776 · commit f9536e9
-rw-r--r--lib/ungrammar/ungrammar.ungram2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ungrammar/ungrammar.ungram b/lib/ungrammar/ungrammar.ungram
index 6cb4e10fb1..856a6cede0 100644
--- a/lib/ungrammar/ungrammar.ungram
+++ b/lib/ungrammar/ungrammar.ungram
@@ -13,4 +13,4 @@ Rule =
| Rule '?'
| Rule '*'
| '(' Rule ')'
-| label:'ident' ':'
+| label:'ident' ':' Rule