diff --git a/libzwerg/parser.yy b/libzwerg/parser.yy index ac712f47..dea15152 100644 --- a/libzwerg/parser.yy +++ b/libzwerg/parser.yy @@ -194,15 +194,11 @@ { std::unique_ptr ret; for (auto const &s: *ids) - if (builtins.find (s) == nullptr) - { - std::unique_ptr t {tree::create_str (s)}; - ret = tree::create_cat - (std::move (ret), std::move (t)); - } - else - throw std::runtime_error - (std::string ("Can't rebind a builtin: `") + s + "'"); + { + std::unique_ptr t {tree::create_str (s)}; + ret = tree::create_cat + (std::move (ret), std::move (t)); + } return ret; }