}
                break;
            case self::RESYNC_AFTER_RULE_ERROR:
                /*      if ($x[0] == '.') $this->state = self::WAITING_FOR_DECL_OR_RULE;
                 **      break; */
            /*      if ($x[0] == '.') $this->state = self::WAITING_FOR_DECL_OR_RULE;
             **      break; */
            case self::RESYNC_AFTER_DECL_ERROR:
                if ($x[0] == '.') {
                    $this->state = self::WAITING_FOR_DECL_OR_RULE;
                }
                if ($x[0] == '%') {
                    $this->state = self::WAITING_FOR_DECL_KEYWORD;
                }
                break;
        }
    }
    function _printmulti($a, $b)
    {
        if (!$a) {
            $a = '';
        }
        $a .= $b->name . '|';
        return $a;
    }
}
$a = new Lemon();
$_SERVER['argv'] = array('lemon', '-s', '/development/lemon/PHP_Parser.y');
//$_SERVER['argv'] = array('lemon', '-s', '/development/File_ChessPGN/ChessPGN/Parser.y');
$a->main();