head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.1.0.2 pkgsrc-2012Q3-base:1.1; locks; strict; comment @// @; 1.2 date 2012.10.30.12.46.30; author drochner; state dead; branches; next 1.1; 1.1 date 2012.07.31.13.59.55; author prlw1; state Exp; branches; next ; desc @@ 1.2 log @update to 1.10.1 this switches to the 1.10 release branch, no useful changelog available @ text @$NetBSD: patch-Source_WebCore_xml_XPathParser.cpp,v 1.1 2012/07/31 13:59:55 prlw1 Exp $ Fix for Bug 92264: Build fix with newer bison 2.6. https://bugs.webkit.org/show_bug.cgi?id=92264 --- Source/WebCore/xml/XPathParser.cpp.orig 2012-04-22 23:27:00.000000000 +0000 +++ Source/WebCore/xml/XPathParser.cpp @@@@ -32,24 +32,21 @@@@ #include "XPathEvaluator.h" #include "XPathException.h" #include "XPathNSResolver.h" +#include "XPathPath.h" #include "XPathStep.h" #include #include -int xpathyyparse(void*); - +using namespace WebCore; using namespace WTF; using namespace Unicode; +using namespace XPath; -namespace WebCore { -namespace XPath { - -class LocationPath; - -#include "XPathGrammar.h" +extern int xpathyyparse(WebCore::XPath::Parser*); +#include "XPathGrammar.h" Parser* Parser::currentParser = 0; - + enum XMLCat { NameStart, NameCont, NotPartOfName }; typedef HashMap AxisNamesMap; @@@@ -630,5 +627,3 @@@@ void Parser::deleteNodeTest(Step::NodeTe delete t; } -} -} @ 1.1 log @Fix build with bison 2.6 @ text @d1 1 a1 1 $NetBSD$ @