Revision 1852
Added by darkviper over 11 years ago
Function.php | ||
---|---|---|
25 | 25 |
$message = sprintf('%s. Did you mean "%s"', $message, implode('", "', $alternatives)); |
26 | 26 |
} |
27 | 27 |
|
28 |
throw new Twig_Error_Syntax($message, $this->getLine()); |
|
28 |
throw new Twig_Error_Syntax($message, $this->getLine(), $compiler->getFilename());
|
|
29 | 29 |
} |
30 | 30 |
|
31 | 31 |
$compiler->raw($function->compile().'('); |
Also available in: Unified diff
updated Twig template engine to stable version 1.11.1 step2