Hi Leon,

Augh! How could I be that blind. I also misinterpreted the "walks"  
keyword as I thought adding it to the heading of the testsuite would  
suffice.
Thank you very much for you help and keep on the good work with GUnit!

Tilman Bender
Student des Software Engineering
Hochschule Heilbronn
tben...@stud.hs-heilbronn.de



Am 03.04.2009 um 00:09 schrieb Leon Su:

> The main reason of the NPE is due to a syntax error in your  
> Optimizer.testsuite in which you should use "{tree-rule} walks  
> {rule}:" for defining the test target (tree grammar's rules). Try to  
> modify "expr:" to "expr walks expr:" in your testsuite, and it  
> should work. You can also reference the wiki page for the correct  
> syntax.
> However, gUnit does need a detection here for preventing the kind of  
> syntax error and provide a reminding message. I'll add this fix to  
> the next release.


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

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

Reply via email to