Skip to content

Commit

Permalink
Fixing a few small typos/grammatical errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory authored and fabpot committed Aug 17, 2010
1 parent 9a9679b commit 6193ab1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/04-Extending-Twig.markdown
Expand Up @@ -401,7 +401,7 @@ already registered:
Defining new Tags
-----------------

One of the most exiting feature of a template engine like Twig is the
One of the most exciting feature of a template engine like Twig is the
possibility to define new language constructs.

Let's create a simple `set` tag that allows the definition of simple variables
Expand Down Expand Up @@ -491,7 +491,7 @@ from the token stream (`$this->parser->getStream()`):
token).

* `look()`: Looks a the next token. This is how you can have a look at the
next token without consume it.
next token without consuming it.

Parsing expressions is done by calling the `parseExpression()` like we did for
the `set` tag.
Expand Down

0 comments on commit 6193ab1

Please sign in to comment.