[Zorba-coders] [Bug 867357] Re: Improved parser error message
** Changed in: zorba Status: New = Fix Committed -- 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: Fix Committed 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 -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [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 -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 867357] Re: Improved parser error message
** Changed in: zorba Milestone: None = 2.7 -- 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 -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp
[Zorba-coders] [Bug 867357] Re: Improved parser error message
** Branch linked: lp:~nbrinza/zorba/error-messages -- 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 -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp