Skip to content

Commit 2c811e1

Browse files
authored
doc: Change erroneous emdash back to double dash (#499)
1 parent 039b6b3 commit 2c811e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/syntax-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ ident (an identifier)
229229

230230
#### Inline Rule Declarations
231231

232-
<pre><code><i>expr</i> <i>caseName</i></code></pre>
232+
<pre><code><i>expr</i> -- <i>caseName</i></code></pre>
233233

234234
When a parsing expression is followed by the characters `--` and a name, it signals an _inline rule declaration_. This is most commonly used in alternation expressions to ensure that each branch has the same arity. For example, the following declaration:
235235

0 commit comments

Comments
 (0)