Multiple similar scanners with GNU Flex (stackoverflow.com)stack
22 points by Simon Richter in stackoverflow.com · 1h ago · stack
I have two similar but different enough inputs formats and would like to build two different scanners for these, using GNU Flex. My two options are make one big definition, with two separate start conditions. This requires me to keep track of what kind of file I'm scanning, beca…
filed under adviceflex-lexer