On Mon, 2008-08-04 at 21:27 +0200, Benjamin Niemann wrote: > If I understand this correctly, then the Python target shouldn't be > effected
I think you mean affected ;-) > (the FOLLOW sets are immutable). Can someone provide a > testcase to verify this? As per all the other targets, you will need to start with the input followSet and construct a non-static bitset from which you can remove some token bits, in this case so you can remove the End of Rule token. Just how you get a bitset that you can change is up to you of course. As a test case you just need to deliberately feed invalid syntax to your parsers with missing and additional tokens in the stream. > > -Ben > > >>>>> follow.remove(Token.EOR_TOKEN_TYPE); Jim
_______________________________________________ antlr-dev mailing list [email protected] http://www.antlr.org:8080/mailman/listinfo/antlr-dev
