[antlr-interest] Request for preinclude_c option

Gokulakannan Somasundaram gokul007 at gmail.com
Wed Jan 6 08:14:07 PST 2010

Hi Jim,
       One more request that would help people, who would develop parsers
for C++. As you might know, there is a requirement to include C++
Headers(atleast the ones with templates) before the C Headers, in order to
avoid lot of cumbersome errors. Currently we have the following options
a) to include something before the antlr headers in .h file (preinclude
b) to include something after the antlr headers in .h file
c) to include something after the headers in the .cpp file

So the fourth permutation might help people who develop with C++ and not
make the headers heavy.


More information about the antlr-interest mailing list