This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

NHET IDE bug when using conditional compilation

Hello,

lets take the following simple NHET code:

DEF_SYNC .equ 0
; Simple PWM
L00 CNT { reg=A, irq=OFF, max=300 }
.if DEF_SYNC == 1
L01 MOV32 { z_cond=ON, type=IMTOREG&REM, reg=NONE, remote=L01, data=150 }
.endif
L02 ECMP { en_pin_action=ON, pin=24, action=PULSELO, reg=A, data=0, hr_data=0 }
L03 BR { next=L00, cond_addr=L00, event=NOCOND }

When DEF_SYNC is set to 0, the HET IDE doesn't evaluate the .if condition correctly, which results to incorrect assignment of labels to addresses in Memory tab as well as in Dissasembly window. Also the labels are incorretly parsed, there is no label .if or .endifL02. Screenshot follows.