From the question https://stackoverflow.com/questions/66197941/defining-lex-include-files-for-flexers we are already knowing that there is no lex distribution known that has an include file facility for e.g. rules into a lex file.

The suggestion there was to write one's own pre-processor and that there might be some around.

  • Does there exist a (f)lex pre-processor to include files?
  • Does this work together with CMake as now there are some dependencies on the include file.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.