How do i implement If statement in Flex/bison
- by Imran
Hallo,
I need help in flex/bison. Im a beginner in flex/bison, and i hav already looked out these programs and somethings i inderstood, but im learning.
My problem is, i want to implement a If-statement via Flex/Bison and i dont know how to start how to do, someone any idea, im very thankful for all your help.
here is an example i want to implement:
:L1
IF FLAG AND X"0001"
EVT 23;
ELSE
WAIT 500 ms;
JMP L1;
END IF;
how do i implement JMP (jump), when JMP comes it has to jump to the Label L1.