Skip to content

Commit 05fcaff

Browse files
authored
Merge pull request #182 from zargold/patch-1
Fix typo in documentation
2 parents 8b7b039 + 2828f45 commit 05fcaff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/documentation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ <h3 id="parsing-lists">Parsing Lists</h3>
721721
<p>One of the most frequent questions about Peggy grammars is how to parse a
722722
delimited list of items. The cleanest current approach is:</p>
723723

724-
<pre><code class="language-peggy">list = head:word tail:(_ "," _ @word)* { return [head, ...tail); }
724+
<pre><code class="language-peggy">list = head:word tail:(_ "," _ @word)* { return [head, ...tail]; }
725725
word = $[a-z]i+
726726
_ = [ \t]*</code></pre>
727727

0 commit comments

Comments
 (0)