This is not a valid thing to do. Not everyone WANTs a rule to end in EOF. Jim > -----Original Message----- > From: Guntis Ozols [mailto:guntiso at latnet.lv] > Sent: Wednesday, February 20, 2008 12:38 PM > To: antlr-interest at antlr.org > Subject: [antlr-interest] RFE: warn if root rule is missing (no EOF) > > >