X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FSDCCsymt.c;h=8e0f402f0c80d5f55c46e027f7c99807a3c8b962;hb=2ac58d2f2ae483dd746bd9a3c70482c5cb654d0e;hp=0870e7e409d5c6eabf01e6b8f76d84d422430620;hpb=28e26703880560af06ad6fd7b1d0d123587de26e;p=fw%2Fsdcc diff --git a/src/SDCCsymt.c b/src/SDCCsymt.c index 0870e7e4..8e0f402f 100644 --- a/src/SDCCsymt.c +++ b/src/SDCCsymt.c @@ -1904,6 +1904,17 @@ computeType (sym_link * type1, sym_link * type2, switch (resultType) { + case RESULT_TYPE_IFX: + if (TARGET_IS_HC08) + break; + //fallthrough + case RESULT_TYPE_BIT: + if (op == ':') + { + SPEC_NOUN (reType) = V_BIT; + return rType; + } + break; case RESULT_TYPE_CHAR: if (IS_BITVAR (reType)) {