From: fennecdjay Date: Tue, 21 May 2019 21:58:49 +0000 (+0200) Subject: :shirt: Use macros X-Git-Tag: nightly~2452 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=5cd83a66d3d6d8d1c6a2e8e814a89f726620df1c;p=gwion.git :shirt: Use macros --- diff --git a/src/parse/scan1.c b/src/parse/scan1.c index 68b83bee..88ae8fca 100644 --- a/src/parse/scan1.c +++ b/src/parse/scan1.c @@ -114,9 +114,8 @@ ANN static m_bool scan1_exp_post(const Env env, const Exp_Postfix* post) { CHECK_BB(scan1_exp(env, post->exp)) if(post->exp->meta == ae_meta_var) return GW_OK; - env_err(env, post->exp->pos, "post operator '%s' cannot be used" + ERR_B(post->exp->pos, "post operator '%s' cannot be used" " on non-mutable data-type...", op2str(post->op)); - return GW_ERROR; } ANN static m_bool scan1_exp_call(const Env env, const Exp_Call* exp_call) {