]> Nishi Git Mirror - gwion.git/commitdiff
:shirt: Use macros
authorfennecdjay <astor.jeremie@wanadoo.fr>
Tue, 21 May 2019 21:58:49 +0000 (23:58 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Tue, 21 May 2019 21:58:49 +0000 (23:58 +0200)
src/parse/scan1.c

index 68b83bee32b65b8353ff4863b1af05646a2ee52b..88ae8fca8b755132b20efd2f118bc16e5cebfdda 100644 (file)
@@ -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) {