Hi Som, compile again your grammar file with -traceParser option then try run your program using file as input, then see how it goes. Cheers jagad Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/