added @continue

like @break - as of request issue #1001
This commit is contained in:
Tobsn 2012-07-25 00:23:31 +02:00
parent 6cb2ddad64
commit 34c746b4f8
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ function($matches) use (&$value)
*/
protected static function compile_structure_closings($value)
{
$pattern = '/@(endif|endforeach|endfor|endwhile|break)/';
$pattern = '/@(endif|endforeach|endfor|endwhile|break|continue)/';
return preg_replace($pattern, '<?php $1; ?>', $value);
}