Closed killerswin2 closed 1 year ago
Thanks for the feedback and details. I will take a closer look soon.
I will merge the pull request and make the modest change on my end. Thanks for making reflex better!
Ah sorry. I just got busy in life. Thanks for the review and the merge. I really like using RE-flex, thank you for provide this wonderful tool.
Class redefinition can be introduced in the lexer cpp by including the class again in the user code section. This pr provides logic to fix redefinition by not generating the lexer class in cpp, but instead by including the generated header file.
Attached is some code that does redefinition, with the include fix and non include breaking code. Debug.zip