Skip to content

Commit

Permalink
Update tutorial example grammar rule for 'do' blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
tcurtis committed Jul 17, 2010
1 parent 904b94a commit 65cf59a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions doc/tutorial_episode_5.pod
Expand Up @@ -30,9 +30,8 @@ For each individual scope, there's a separate symbol table.

Squaak has a so-called do-block statement, that is defined below.

rule do_block {
'do' <block> 'end'
{*}
rule statement:sym<do> {
<sym> <block> 'end'
}

Each do-block defines a new scope; local variables declared between the C<do>
Expand Down

0 comments on commit 65cf59a

Please sign in to comment.