Skip to content

Commit

Permalink
Ep8: add remark about renaming term:sym<string_constant>.
Browse files Browse the repository at this point in the history
  • Loading branch information
tcurtis committed Jul 20, 2010
1 parent e979de7 commit 7e86e34
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/tutorial_episode_8.pod
Expand Up @@ -67,6 +67,12 @@ below:
<string_constant> '=>' <EXPR>
}

# We need to rename our existing string_constant term to a separate rule
# so that we can use it specifically.
token term:sym<string_constant> { <string_constant> }

token string_constant { <quote> }

Some examples are shown below:

foo = {}
Expand Down

0 comments on commit 7e86e34

Please sign in to comment.