Project

General

Profile

« Previous | Next » 

Revision 1852

Added by darkviper almost 12 years ago

updated Twig template engine to stable version 1.11.1 step2

View differences:

Lexer.php
30 30
    protected $filename;
31 31
    protected $options;
32 32
    protected $regexes;
33
    protected $position;
34
    protected $positions;
33 35

  
34 36
    const STATE_DATA            = 0;
35 37
    const STATE_BLOCK           = 1;
......
73 75
    /**
74 76
     * Tokenizes a source code.
75 77
     *
76
     * @param  string $code     The source code
77
     * @param  string $filename A unique identifier for the source code
78
     * @param string $code     The source code
79
     * @param string $filename A unique identifier for the source code
78 80
     *
79 81
     * @return Twig_TokenStream A token stream instance
80 82
     */
......
330 332

  
331 333
            $this->popState();
332 334
            ++$this->cursor;
333

  
334
            return;
335 335
        }
336 336
    }
337 337

  

Also available in: Unified diff