also accept @end as closing an @if(debug)