On Aug 9, 2006, at 1:22 PM, Zheng, Xiaoran wrote: > When I have a grammar defined as follows: > > A : B*C* > B : ... > C : ... > > why do I get an NoSuchElementException? what version? you missing a semicolon? A complete grammar please. Ter