Is it possible to tell antlr c++ generator to create library export tokens?
Zeks opened this issue · comments
Zeks commented
So that instead of class ReportGrammarLexer
it will generate class EXPORT_TOKEN ReportGrammarLexer
?
It's possible to do it with sed, but I remember grpc generator having an option like that so I am wondering if I am missing something.
Mike Lischke commented
You can specify your own macro. Read the C++ target documentation for details.