Skip to content

Commit

Permalink
Fixed a typo in the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
cjheath committed Aug 21, 2009
1 parent 684883c commit fd3caff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/semantic_interpretation.markdown
Expand Up @@ -45,7 +45,7 @@ Methods can be added to the nodes instantiated by the successful match of an exp
end
end

Note that each alternative expression is followed by a block containing a method definition. A `depth` method is defined on both expressions. The recursive `depth` method defined in the block following the first expression determines the depth of the nested parentheses and adds one two it. The base case is implemented in the block following the second expression; a single character has a depth of 0.
Note that each alternative expression is followed by a block containing a method definition. A `depth` method is defined on both expressions. The recursive `depth` method defined in the block following the first expression determines the depth of the nested parentheses and adds one to it. The base case is implemented in the block following the second expression; a single character has a depth of 0.


###Custom `SyntaxNode` Subclass Declarations
Expand Down Expand Up @@ -186,4 +186,4 @@ The module containing automatically defined element accessor methods is an ances
Available only on nonterminal nodes, returns the nodes parsed by the elements of the matched sequence.
</td>
</tr>
</table>
</table>

0 comments on commit fd3caff

Please sign in to comment.