Hey everyone, I try to use custom TreeNodes and a custom TreeAdaptor so I can annotate my AST with information for typechecking. (Thanks for your example in the new Book, Terr!) Unfortunately this breaks the GUnit-Tests for my TreeWalker, because I cannot tell GUnit what custom Adaptor to use for testing . I tried to set the adaptor in the @init-Block of my main-parsing method, but taht does not seems to have the desired effect. Does GUnit create a new instance of the Parser for each rule it tests?
I have read about this problem here: http://markmail.org/message/k6nzsuphzusezy5v Unfortunately this does not seem to be fixed yet. Does anyone know a good workaround for this so I can use my custom TreeNodes without losing my tests? Tilman Bender Student des Software Engineering Hochschule Heilbronn tben...@stud.hs-heilbronn.de --~--~---------~--~----~------------~-------~--~----~ 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