[antlr-interest] Problem using code from ANTLR 3 FAQ How do I implement include files?

Gavin Lambert antlr at mirality.co.nz
Sat Oct 6 13:18:15 PDT 2007


At 06:46 7/10/2007, Rob Finneran wrote:
 >I have modified someone's code example to enhance the C-style
 >include file example to support reading all include files in
 >a directory in a similar fashion to C# "using" statements.

You know that C# "using" statements are the equivalent of C++ 
"using namespace" statements, and don't actually involve including 
any extra code, right?  In fact it's perfectly valid to have a C# 
file that refers to symbols in other files/assemblies without a 
single "using" statement ever being used....



More information about the antlr-interest mailing list