Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix readme rendering bug.

  • Loading branch information...
commit a278972beaa1c2528672824a831a5b68cc1f14fa 1 parent 90f2c9a
@beelsebob beelsebob authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.md
View
2  README.md
@@ -68,7 +68,7 @@ We construct parsers by specifying their grammar. We can construct a grammar si
CPParser *parser = [CPLALR1Parser parserWithGrammar:grammar];
[parser setDelegate:self];
-When a rule is matched by the parser, the `initWithSyntaxTree:` method will be called on a new instance of the apropriate class. If no such class exists the parser delegate's `parser:didProduceSyntaxTree:` method is called. To deal with this cleanly, we implement 3 classes ÐÊExpression, Term and Factor. AddOp and MultOp non-terminals are dealt with by the parser delegate. Here we see the initWithSyntaxTree: method for the Expression class, these methods are similar for Term and Factor:
+When a rule is matched by the parser, the `initWithSyntaxTree:` method will be called on a new instance of the apropriate class. If no such class exists the parser delegate's `parser:didProduceSyntaxTree:` method is called. To deal with this cleanly, we implement 3 classes -ÊExpression, Term and Factor. AddOp and MultOp non-terminals are dealt with by the parser delegate. Here we see the initWithSyntaxTree: method for the Expression class, these methods are similar for Term and Factor:
- (id)initWithSyntaxTree:(CPSyntaxTree *)syntaxTree
{
Please sign in to comment.
Something went wrong with that request. Please try again.