- Added while/endwhile and do/while syntaxes

- Fix the abstractclass requirement of parse() function
This commit is contained in:
mcndave committed 2022-12-19 19:36:39 +00:00
1 parent 33298ff2e4
commit bb29a56077
36 files changed
+115 -73

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ class JsonExtension implements Extension, FunctionExtension {
public int $flags = JSON_HEX_TAG | \JSON_HEX_QUOT | \JSON_THROW_ON_ERROR | \JSON_UNESCAPED_UNICODE;
public function parse(/*\Picae\Compiler\Context*/ &$context, ?string $arguments, string $token)
public function parse(\Picea\Compiler\Context &$context, ?string $arguments, string $token)
{
$flag = $this->flags;