Not sure myself - it might be coded for composite grammars I suppose. What you could do though is create a small grammar that imports your lexer and has a dummy parse rule, then test that grammar. This would be a workaround of course.
Jim From: [email protected] [mailto:[email protected]] On Behalf Of Cameron Ross Sent: Monday, November 23, 2009 6:06 AM To: [email protected] Subject: Re: [antlr-interest] Testing lexer grammars with gunit Anyone? On Wed, Nov 18, 2009 at 4:03 PM, Cameron Ross <[email protected]> wrote: Hi, I have a lexer grammar that I'd like to test using gunit. However, the way I have things configured, gunit assumes a composite grammar. Is there a way that I can tell gunit that the grammar being tested is a lexer grammar? Thanks, Cameron. -- Cameron Ross Director of Technology Kojeware Corporation 705-929-1492 -- 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=.
List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
