PHPCfg\Parser::throwUndefinedLabelError PHP Method

throwUndefinedLabelError() protected method

protected throwUndefinedLabelError ( )
    protected function throwUndefinedLabelError()
    {
        foreach ($this->ctx->unresolvedGotos as $name => $_) {
            throw new \RuntimeException("'goto' to undefined label '{$name}'");
        }
    }
Parser