I am new to compiler business and using ANTLR grammar (open source) to parse C source files that have many external header files i.e. include files and library files etc.
What is the way the define grammar for these header files? Is there some way to parse these include files as simple source files?
Is it possible to integrate all these source +include files into a package and parse it using ANTLR or other C parser (JavaCC).
Waiting for your kind suggestions.