[antlr-interest] How to judge the begin of current file?

QinPeng qinpeng at huawei.com
Fri Oct 25 22:31:06 PDT 2002


Hi,all!

When a file test.h is:
#include "test1.h"
unsigned int usTest;

the test1.h is:

unsigned int usTest;

and use lexer to construct a parer tree of test.h and test1.h,
but how can I judge where is the begin of test.h of the parer tree sine 
the parer tree is begin at test1.h£¿

thank you!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20021026/f9697860/attachment.html


More information about the antlr-interest mailing list