I'm working on a large project, that uses a couple of flex-generated scanners. The project tries to use as much warning settings in the compiler as possible, including -Wswitch-default. However, the flex-generated scanner is missing some default cases in switch statements.
I am aware of the fact that such warnings are not high priority, but at the same time, if it's all the same for the functionality of flex, then it would be great if such default cases can be added.
I can provide a patch to fix this, so that minimal work needs to be done by the maintainers. Before spending time on fixing it, I would like to know whether it would be accepted.
thank you very much,