| 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 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 %{ | 28 %{ |
| 29 | 29 |
| 30 #include "core/xml/XPathFunctions.h" | 30 #include "core/xml/XPathFunctions.h" |
| 31 #include "core/xml/XPathNSResolver.h" | 31 #include "core/xml/XPathNSResolver.h" |
| 32 #include "core/xml/XPathParser.h" | 32 #include "core/xml/XPathParser.h" |
| 33 #include "core/xml/XPathPath.h" | 33 #include "core/xml/XPathPath.h" |
| 34 #include "core/xml/XPathPredicate.h" | 34 #include "core/xml/XPathPredicate.h" |
| 35 #include "core/xml/XPathStep.h" | 35 #include "core/xml/XPathStep.h" |
| 36 #include "core/xml/XPathVariableReference.h" | 36 #include "core/xml/XPathVariableReference.h" |
| 37 #include "wtf/allocator/Partitions.h" | 37 #include "platform/wtf/allocator/Partitions.h" |
| 38 | 38 |
| 39 void* yyFastMalloc(size_t size) | 39 void* yyFastMalloc(size_t size) |
| 40 { | 40 { |
| 41 return WTF::Partitions::FastMalloc(size, nullptr); | 41 return WTF::Partitions::FastMalloc(size, nullptr); |
| 42 } | 42 } |
| 43 | 43 |
| 44 #define YYMALLOC yyFastMalloc | 44 #define YYMALLOC yyFastMalloc |
| 45 #define YYFREE WTF::Partitions::FastFree | 45 #define YYFREE WTF::Partitions::FastFree |
| 46 | 46 |
| 47 #define YYENABLE_NLS 0 | 47 #define YYENABLE_NLS 0 |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 UnionExpr | 477 UnionExpr |
| 478 | | 478 | |
| 479 MINUS UnaryExpr | 479 MINUS UnaryExpr |
| 480 { | 480 { |
| 481 $$ = new Negative; | 481 $$ = new Negative; |
| 482 $$->AddSubExpression($2); | 482 $$->AddSubExpression($2); |
| 483 } | 483 } |
| 484 ; | 484 ; |
| 485 | 485 |
| 486 %% | 486 %% |
| OLD | NEW |