Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

really fix readme bug?

  • Loading branch information...
commit 71d93aa1c1a5f2bfa5a9153cf610ee2c9954b216 1 parent 8a467b3
Tom Davie authored June 26, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  README.md
2  README.md
Source Rendered
@@ -68,7 +68,7 @@ We construct parsers by specifying their grammar.  We can construct a grammar si
68 68
     CPParser *parser = [CPLALR1Parser parserWithGrammar:grammar];
69 69
     [parser setDelegate:self];
70 70
 
71  
-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:
  71
+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:
72 72
     
73 73
     - (id)initWithSyntaxTree:(CPSyntaxTree *)syntaxTree
74 74
     {

0 notes on commit 71d93aa

Please sign in to comment.
Something went wrong with that request. Please try again.