Status: Accepted
Owner: a...@chubot.org
Labels: Type-Defect Priority-Medium

New issue 35 by a...@chubot.org: {.end} should take an argument and assert  
that it closes the argument
http://code.google.com/p/json-template/issues/detail?id=35

This is optional, but some people might want this for readability in long
templates.

{.section foo}
   blah
{.end foo}

{.section @}
   blah
{.end @}

{.section bar}
   blah
{.end foo}  <-- throws an error, 'foo' is not closed here

{.singular?}
   1
{.plural?}
   2
{.end ?}  <-- Asserts that predicates are closed


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "JSON 
Template" group.
To post to this group, send email to json-template@googlegroups.com
To unsubscribe from this group, send email to 
json-template+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/json-template?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to