I changed EndOfFile to EmptyQuery. The English error messages in xquery_driver.cpp have functions that return ZorbaParserError*. That should probably be derived from XQueryException and then you can re-use all the error-parameter and localization machinery.
I'm assigning the bug to you now for that. The bazaar branch is: lp :~paul-lucas/zorba/bug-856545 ** Changed in: zorba Assignee: Paul J. Lucas (paul-lucas) => Nicolae Brinza (nbrinza) -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/856545 Title: Parser grammar still has English error messages Status in Zorba - The XQuery Processor: New Bug description: Migrated from SourceForge bug 3408951. To manage notifications about this bug go to: https://bugs.launchpad.net/zorba/+bug/856545/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : firstname.lastname@example.org Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp