zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #11154
[Bug 867357] Re: Improved parser error message
This branch has some conflicts with the current trunk. Also, if I merge
the trunk, I get the following compile error:
/home/mbrantner/zorba/sandbox/src/compiler/parser/xquery_parser.y: In member function ‘virtual int zorba::xquery_parser::parse()’:
/home/mbrantner/zorba/sandbox/src/compiler/parser/xquery_parser.y:2653:94: error: ‘class zorba::VarInDecl’ has no member named ‘get_name’
/home/mbrantner/zorba/sandbox/src/compiler/parser/xquery_parser.y:2679:75: error: ‘class zorba::VarInDecl’ has no member named ‘get_name’
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/867357
Title:
Improved parser error message
Status in Zorba - The XQuery Processor:
New
Bug description:
Provide an improved error message for a syntax error reported by the
parser:
Given:
for sm1 in $x/match
I get:
> line 23, column 7: [XPST0003] syntax error, unexpected "'QName'",
expecting end of file
A better error message would be:
> unexpected QName (missing '$'?)
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867357/+subscriptions