| OLD | NEW | 
|    1 /* |    1 /* | 
|    2  * Copyright 2005 Frerich Raabe <raabe@kde.org> |    2  * Copyright 2005 Frerich Raabe <raabe@kde.org> | 
|    3  * Copyright (C) 2006 Apple Inc. All rights reserved. |    3  * Copyright (C) 2006 Apple Inc. All rights reserved. | 
|    4  * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> |    4  * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> | 
|    5  * |    5  * | 
|    6  * Redistribution and use in source and binary forms, with or without |    6  * Redistribution and use in source and binary forms, with or without | 
|    7  * modification, are permitted provided that the following conditions |    7  * modification, are permitted provided that the following conditions | 
|    8  * are met: |    8  * are met: | 
|    9  *  |    9  *  | 
|   10  * 1. Redistributions of source code must retain the above copyright |   10  * 1. Redistributions of source code must retain the above copyright | 
| (...skipping 11 matching lines...) Expand all  Loading... | 
|   22  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |   22  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 
|   23  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |   23  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 
|   24  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |   24  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 
|   25  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |   25  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 
|   26  */ |   26  */ | 
|   27  |   27  | 
|   28 %{ |   28 %{ | 
|   29  |   29  | 
|   30 #include "config.h" |   30 #include "config.h" | 
|   31  |   31  | 
|   32 #include "XPathFunctions.h" |   32 #include "core/xml/XPathFunctions.h" | 
|   33 #include "XPathNSResolver.h" |   33 #include "core/xml/XPathNSResolver.h" | 
|   34 #include "XPathParser.h" |   34 #include "core/xml/XPathParser.h" | 
|   35 #include "XPathPath.h" |   35 #include "core/xml/XPathPath.h" | 
|   36 #include "XPathPredicate.h" |   36 #include "core/xml/XPathPredicate.h" | 
|   37 #include "XPathStep.h" |   37 #include "core/xml/XPathStep.h" | 
|   38 #include "XPathVariableReference.h" |   38 #include "core/xml/XPathVariableReference.h" | 
|   39 #include <wtf/FastMalloc.h> |   39 #include <wtf/FastMalloc.h> | 
|   40  |   40  | 
|   41 #define YYMALLOC fastMalloc |   41 #define YYMALLOC fastMalloc | 
|   42 #define YYFREE fastFree |   42 #define YYFREE fastFree | 
|   43  |   43  | 
|   44 #define YYENABLE_NLS 0 |   44 #define YYENABLE_NLS 0 | 
|   45 #define YYLTYPE_IS_TRIVIAL 1 |   45 #define YYLTYPE_IS_TRIVIAL 1 | 
|   46 #define YYDEBUG 0 |   46 #define YYDEBUG 0 | 
|   47 #define YYMAXDEPTH 10000 |   47 #define YYMAXDEPTH 10000 | 
|   48  |   48  | 
| (...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  545     MINUS UnaryExpr |  545     MINUS UnaryExpr | 
|  546     { |  546     { | 
|  547         $$ = new Negative; |  547         $$ = new Negative; | 
|  548         $$->addSubExpression($2); |  548         $$->addSubExpression($2); | 
|  549         parser->unregisterParseNode($2); |  549         parser->unregisterParseNode($2); | 
|  550         parser->registerParseNode($$); |  550         parser->registerParseNode($$); | 
|  551     } |  551     } | 
|  552     ; |  552     ; | 
|  553  |  553  | 
|  554 %% |  554 %% | 
| OLD | NEW |