diff --git a/grammar/src/notation.grm b/grammar/src/notation.grm index aadfaa71edb..4fdf87f4680 100644 --- a/grammar/src/notation.grm +++ b/grammar/src/notation.grm @@ -6,7 +6,7 @@ This section informally explains the grammar notation used below. ## Symbols and naming _Terminal symbol_ names start with an uppercase letter, e.g. **SimpleName**.
-_Nonterminal symbol_ names start with lowercase letter, e.g. **kotlinFile**.
+_Nonterminal symbol_ names start with a lowercase letter, e.g. **kotlinFile**.
Each _production_ starts with a colon (**:**).
_Symbol definitions_ may have many productions and are terminated by a semicolon (**;**).
Symbol definitions may be prepended with _attributes_, e.g. `start` attribute denotes a start symbol. @@ -18,7 +18,7 @@ Operator `*` denotes _iteration_ (zero or more).
Operator `+` denotes _iteration_ (one or more).
Operator `?` denotes _option_ (zero or one).
alpha`{`beta`}` denotes a nonempty _beta_-separated list of _alpha_'s.
-Operator `++` means that no space or comment allowed between operands. +Operator `++` means that no space or comment is allowed between operands. # Semicolons