Changeset 1101:7273894e61b8 for inc/libs/twig/TokenStream.php
- Timestamp:
- 02/15/13 08:35:19 (12 years ago)
- Branch:
- twig
- Children:
- 1106:a4487f3ca4b4, 1147:2e5cb79e4782
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/libs/twig/TokenStream.php
r991 r1101 59 59 { 60 60 if (!isset($this->tokens[++$this->current])) { 61 throw new Twig_Error_Syntax('Unexpected end of template', $this->token [$this->current - 1]->getLine(), $this->filename);61 throw new Twig_Error_Syntax('Unexpected end of template', $this->tokens[$this->current - 1]->getLine(), $this->filename); 62 62 } 63 63 … … 98 98 { 99 99 if (!isset($this->tokens[$this->current + $number])) { 100 throw new Twig_Error_Syntax('Unexpected end of template', $this->token [$this->current + $number - 1]->getLine(), $this->filename);100 throw new Twig_Error_Syntax('Unexpected end of template', $this->tokens[$this->current + $number - 1]->getLine(), $this->filename); 101 101 } 102 102
Note: See TracChangeset
for help on using the changeset viewer.