Did you try using the debugger?

Jim

> -----Original Message-----
> From: [email protected] [mailto:antlr-interest-
> [email protected]] On Behalf Of Aravinda Dassanayake
> Sent: Friday, June 04, 2010 5:31 AM
> To: [email protected]
> Subject: [antlr-interest] CommonToknStream creation hangs
> 
> Hi all,
> 
> I am parsing a file using the following Java syntax.
> 
> ANTLRFileStream afs = new ANTLRFileStream(file.getPath());
> CSLexer lexer = new CSLexer(afs);
> CommonTokenStream tokens = new CommonTokenStream(lexer);
> CSParser parser = new CSParser(tokens);
> 
> However, for some files, the application hangs at the point where it
> has to
> create the 'tokens' object.
> 
> What are the possible reasons for this?
> 
> Regards,
> Aravinda
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address




List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to