function yy_syntax_error($yymajor, $TOKEN)
{
#line 72 "lib/Haanga/Compiler/Parser.y"
$expect = array();
foreach ($this->yy_get_expected_tokens($yymajor) as $token) {
$expect[] = self::$yyTokenName[$token];
}
$this->Error('Unexpected ' . $this->tokenName($yymajor) . '(' . $TOKEN . ')');
#line 2266 "lib/Haanga/Compiler/Parser.php"
}