/* Parses a "property" as specified by the css2 spec at : property : IDENT S*; */
static enum CRStatus cr_parser_parse_property(CRParser *a_this, CRString **a_property)
/* Parses a "property" as specified by the css2 spec at : property : IDENT S*; */
static enum CRStatus cr_parser_parse_property(CRParser *a_this, CRString **a_property)
{
        enum CRStatus status = CR_OK;
        CRInputPos init_pos;
        g_return_val_if_fail (a_this && PRIVATE (a_this)
                              && PRIVATE (a_this)->tknzr
                              && a_property, 
                              CR_BAD_PARAM_ERROR);
        RECORD_INITIAL_POS (a_this, &init_pos);
        status = cr_parser_parse_ident (a_this, a_property);
        CHECK_PARSING_STATUS (status, TRUE);
        cr_parser_try_to_skip_spaces_and_comments (a_this);
        cr_parser_clear_errors (a_this);
        return CR_OK;
      error:
        cr_tknzr_set_cur_pos (PRIVATE (a_this)->tknzr, &init_pos);
        return status;
}