projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Yaffs site version 1.1
[yaffs-website]
/
vendor
/
twig
/
twig
/
test
/
Twig
/
Tests
/
Fixtures
/
tags
/
macro
/
reserved_name.test
1
--TEST--
2
"macro" tag with reserved name
3
--TEMPLATE--
4
{% macro parent(arg1, arg2) %}
5
parent
6
{% endmacro %}
7
--DATA--
8
return array()
9
--EXCEPTION--
10
Twig_Error_Syntax: "parent" cannot be used as a macro name as it is a reserved keyword in "index.twig" at line 2.