$this->sourceLine += substr_count($this->source, "\n", $this->sourceOffset);
}
$this->sourceOffset = strlen($this->source);
- $this->debugInfo[$this->sourceLine] = $node->getLine();
+ $this->debugInfo[$this->sourceLine + 2] = $node->getLine();
$this->lastLine = $node->getLine();
$this->write("// line {$node->getLine()}\n");
public function getDebugInfo()
{
- return array ( 17 => 1,);
+ return array ( 19 => 1,);
}
}
EOF
public function getDebugInfo()
{
- return array ( 22 => 1,);
+ return array ( 24 => 1,);
}
}
EOF
public function getDebugInfo()
{
- return array ( 18 => 1,);
+ return array ( 20 => 1,);
}
}
EOF