public function getc()
    {
        if (!strlen($this->line) || $this->inputIndex >= strlen($this->line)) {
            if (null === ($line = $this->sqlReader->readLine())) {
                return false;
            }
            $project = $this->parent->getOwningTarget()->getProject();
            $this->line = $project->replaceProperties($line) . "\n";
            $this->inputIndex = 0;
        }

        return $this->line[$this->inputIndex++];
    }