From 52f728f73914ab960389ff8afbf1a223f91f07e2 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Tue, 4 Jul 2017 08:39:39 +0200 Subject: [PATCH] core: cfg.y - fixed condition on case parsing --- src/core/cfg.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/cfg.y b/src/core/cfg.y index 59125a16592..067b0f0deea 100644 --- a/src/core/cfg.y +++ b/src/core/cfg.y @@ -2389,7 +2389,7 @@ single_case: } } | DEFAULT COLON actions { - if ((($$=mk_case_stm(0, 0, $3, &i_tmp))==0) && (i_tmp=-10)){ + if ((($$=mk_case_stm(0, 0, $3, &i_tmp))==0) && (i_tmp==-10)){ YYABORT; } }