chore(library/match): remove unused procedure

This commit is contained in:
Leonardo de Moura 2015-02-03 15:20:26 -08:00
parent f79f43c702
commit 790fd9c24b
2 changed files with 0 additions and 9 deletions

View file

@ -445,11 +445,6 @@ static pair<unsigned, unsigned> get_idx_meta_univ_ranges(expr const & e) {
return mk_pair(rlvl, rexp);
}
expr substitute(expr const & e, buffer<optional<expr>> & esubst, buffer<optional<level>> & lsubst) {
// TODO(Leo)
return e;
}
DECL_UDATA(match_plugin)
static const struct luaL_Reg match_plugin_m[] = {

View file

@ -97,10 +97,6 @@ bool match(expr const & p, expr const & t,
name const * prefix = nullptr, name_map<name> * name_subst = nullptr,
match_plugin const * plugin = nullptr, bool * assigned = nullptr);
/** \brief Replace special meta-variables (created using #mk_idx_meta_univ and #mk_idx_meta) with the values
provided in \c esubst and \c lsubst */
expr substitute(expr const & e, buffer<optional<expr>> & esubst, buffer<optional<level>> & lsubst);
void open_match(lua_State * L);
void initialize_match();
void finalize_match();