flex icon indicating copy to clipboard operation
flex copied to clipboard

Add enumsc and enumscstr.

Open phidebian opened this issue 5 years ago • 3 comments

Add enumsc and enumscstr, an enum for start cond instead of define and the optional enum to string array for easier debug printout.

phidebian avatar Nov 02 '20 15:11 phidebian

I am writting a lex scanner (actually many) with a good number of SC, beeing able to printout the SC in text is a good help in the debug print out. the cost of change is modest.

Note I did this quick'n'dirty, I didn't check if this exit already in other clones.....

Cheers.

phidebian avatar Nov 02 '20 15:11 phidebian

Can you see about the conflicts that have ben introduced from the merging in of #489?

westes avatar Jun 05 '21 16:06 westes

Flex allows bool type for the enumsc and enumscstr flags. Please use that instead of int. It helps readability.

Explorer09 avatar Apr 26 '24 01:04 Explorer09