- A lot of bugfixes made for this release.
This commit is contained in:
1 parent
4e909b2840
commit
8df38b568c
13 files changed
+159
-71
No files matched your search
@@ -20,6 +20,10 @@ class ForToken implements ControlStructure {
|
||||
return "<?php for ($arguments): {$uid} = 1; ?>";
|
||||
|
||||
case "endfor":
|
||||
if ( $context->iterationStack === null ){
|
||||
|
||||
}
|
||||
|
||||
if ( end($context->iterationStack)['or'] === false ) {
|
||||
$output = "<?php endfor; ?>";
|
||||
}
|
||||
@@ -30,6 +34,9 @@ class ForToken implements ControlStructure {
|
||||
array_pop($context->iterationStack);
|
||||
|
||||
return $output;
|
||||
|
||||
case "continue":
|
||||
return "<?php continue; ?>";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user