- A lot of bugfixes made for this release.

This commit is contained in:
mcndave committed 2021-02-16 03:17:32 +00:00
1 parent 4e909b2840
commit 8df38b568c
13 files changed
+159 -71

No files matched your search

+7
View File
@@ -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; ?>";
}
}
}