I'm trying to use GNU flex to write a lexical analyzer. Is it possible to have multiple definitions for the same name in Flex? Like this:
/* DEFINITIONS */
FRUITS "APPLE" | "ORANGE" | "LEMON"
Also, what can we do and not do with string constants in flex's regular expressions? Can we use symbols such as $ and *? Thank you!