Fix reference to ->errors

master
Vitaliy Filippov 2013-04-20 14:07:16 +04:00
parent 4d36b778a9
commit 1b4a4c6d5c
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ class parse_engine {
if ($this->debug) echo "Possibilities before error fixing: {" . implode(', ', $expected) . "}\n";
if ($this->enter_error_tolerant_state() || $this->has_step_for('error')) {
$this->eat('error', end($this->errors));
$this->eat('error', end($this->parser->errors));
if ($this->has_step_for($type)) {
$this->eat($type, $semantic);
}