- Added the missing continue token
This commit is contained in:
1 parent
7588748ebd
commit
67040db155
3 files changed
+16
-2
No files matched your search
@@ -8,7 +8,7 @@ class BlockToken implements ControlStructure {
|
||||
|
||||
public function parse(/*\Picae\Compiler\Context*/ &$context, ?string $arguments, string $token) {
|
||||
static $slotDefinitions = [];
|
||||
|
||||
|
||||
switch($token) {
|
||||
case "block":
|
||||
$slotDefinitions[] = $this->slotDefinitions();
|
||||
@@ -20,7 +20,7 @@ class BlockToken implements ControlStructure {
|
||||
|
||||
case "arguments":
|
||||
$class = static::class;
|
||||
|
||||
|
||||
return <<<PHP
|
||||
<?php
|
||||
try {
|
||||
|
||||
Reference in new issue
Block a user