Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix delimeter typo
  • Loading branch information
Jan-Olof Hendig committed Dec 17, 2016
1 parent 1ad734d commit 2146d99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Language/grammars.pod6
Expand Up @@ -137,7 +137,7 @@ name of the alternation is attached with C<< :sym<> >> adverb.
In the actions class, we now got rid of the ternary operator and simply take
the C<.made> value from the C<< $<calc-op> >> match object. And the actions for
individual alternations now follow the same naming pattern as in the grammar:
C<< method calc-op:sym<add> >> and C<method calc-op:sym<sub> >>.
C<< method calc-op:sym<add> >> and C<<method calc-op:sym<sub> >>.
The real beauty of this method can be seen when you subclass that grammar
and actions class. Let's say we want to add a multiplication feature to the
Expand Down

0 comments on commit 2146d99

Please sign in to comment.