Is it possible to have different 'actions' in Flex, based on its state? That is,
Code:
if (Flex is in INITIAL state)
"do something"
else
"print macro statements in file"
This is for adding the
.macro ability to my lame assembler. I'll admit it is an ugly (and expensive) hack, but it'll work ... I think.
Any advice on making the
.macro function in Flex & Bison are
very welcome.