wok view libwebkit/stuff/WebCore_xml_XPathParser.cpp_124099.diff @ rev 22834
webgames: add loderunner & digger
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 09 16:49:37 2020 +0100 (2020-02-09) |
parents | |
children |
line source
1 Index: trunk/Source/WebCore/xml/XPathParser.cpp
2 ===================================================================
3 --- trunk/Source/WebCore/xml/XPathParser.cpp (revision 97771)
4 +++ trunk/Source/WebCore/xml/XPathParser.cpp (revision 124099)
5 @@ -33,22 +33,19 @@
6 #include "XPathException.h"
7 #include "XPathNSResolver.h"
8 +#include "XPathPath.h"
9 #include "XPathStep.h"
10 #include <wtf/StdLibExtras.h>
11 #include <wtf/text/StringHash.h>
13 -int xpathyyparse(void*);
14 -
15 +using namespace WebCore;
16 using namespace WTF;
17 using namespace Unicode;
18 -
19 -namespace WebCore {
20 -namespace XPath {
21 -
22 -class LocationPath;
23 -
24 -#include "XPathGrammar.h"
25 +using namespace XPath;
26 +
27 +extern int xpathyyparse(WebCore::XPath::Parser*);
28 +#include "XPathGrammar.h"
30 Parser* Parser::currentParser = 0;
31 -
32 +
33 enum XMLCat { NameStart, NameCont, NotPartOfName };
35 @@ -631,4 +628,2 @@
36 }
38 -}
39 -}