From 3daa9f095c721968eea54cad84790214819c92b7 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Mon, 11 Oct 2010 12:27:59 +0200 Subject: [PATCH] fixed typo in the doc --- doc/04-Extending-Twig.markdown | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/doc/04-Extending-Twig.markdown b/doc/04-Extending-Twig.markdown index c1222e4..e4b3f0b 100644 --- a/doc/04-Extending-Twig.markdown +++ b/doc/04-Extending-Twig.markdown @@ -460,7 +460,7 @@ Now, let's see the actual code of this class: { $lineno = $token->getLine(); $name = $this->parser->getStream()->expect(Twig_Token::NAME_TYPE)->getValue(); - $this->parser->getStream()->expect(Twig_Token::NAME_TYPE, '='); + $this->parser->getStream()->expect(Twig_Token::OPERATOR_TYPE, '='); $value = $this->parser->getExpressionParser()->parseExpression(); $this->parser->getStream()->expect(Twig_Token::BLOCK_END_TYPE); -- 1.7.2.5