Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
Merge 9984844 into 54d5665
Browse files Browse the repository at this point in the history
  • Loading branch information
hikari-no-yume committed Oct 15, 2014
2 parents 54d5665 + 9984844 commit f43934b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ReckiCT/Compiler/PHP/Compiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public function compileInstruction(array $instruction, \StdClass $ctx)
$var = $ctx->scope[$instruction[1]];

if (!isset($ctx->labels[$instruction[2]])) {
$ctx->labels[$instruction[2]] = 'label_' . (count($ctx->labels) + 2);
$ctx->labels[$instruction[2]] = 'label_' . (count($ctx->labels) + 1);
}
$ctx->function .= "if (!" . $var . ") { goto " . $ctx->labels[$instruction[2]] . "; }\n";

Expand Down

0 comments on commit f43934b

Please sign in to comment.