Skip to content

Commit

Permalink
remove macro distinction #7270
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Jul 8, 2024
1 parent 18b6087 commit 6e069c1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cmd_context/cmd_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1070,9 +1070,11 @@ void cmd_context::insert_rec_fun(func_decl* f, expr_ref_vector const& binding, s
}

func_decl * cmd_context::find_func_decl(symbol const & s) const {
#if 0
if (contains_macro(s)) {
throw cmd_exception("invalid function declaration reference, named expressions (aka macros) cannot be referenced ", s);
}
#endif
func_decls fs;
if (m_func_decls.find(s, fs)) {
if (fs.more_than_one())
Expand Down

0 comments on commit 6e069c1

Please sign in to comment.