From 5cd83a66d3d6d8d1c6a2e8e814a89f726620df1c Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Tue, 21 May 2019 23:58:49 +0200 Subject: [PATCH] :shirt: Use macros --- src/parse/scan1.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) { -- 2.43.0