From 6193ab1c9cee84b40ada875d3467fd838d0f455f Mon Sep 17 00:00:00 2001 From: Mark Story Date: Sun, 15 Aug 2010 23:49:29 -0400 Subject: [PATCH] Fixing a few small typos/grammatical errors. --- doc/04-Extending-Twig.markdown | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/04-Extending-Twig.markdown b/doc/04-Extending-Twig.markdown index 3851a84..f2836ce 100644 --- a/doc/04-Extending-Twig.markdown +++ b/doc/04-Extending-Twig.markdown @@ -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 @@ -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. -- 1.7.2.5