1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/angle/src/compiler/preprocessor/Macro.cpp Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,23 @@ 1.4 +// 1.5 +// Copyright (c) 2011 The ANGLE Project Authors. All rights reserved. 1.6 +// Use of this source code is governed by a BSD-style license that can be 1.7 +// found in the LICENSE file. 1.8 +// 1.9 + 1.10 +#include "Macro.h" 1.11 + 1.12 +#include "Token.h" 1.13 + 1.14 +namespace pp 1.15 +{ 1.16 + 1.17 +bool Macro::equals(const Macro& other) const 1.18 +{ 1.19 + return (type == other.type) && 1.20 + (name == other.name) && 1.21 + (parameters == other.parameters) && 1.22 + (replacements == other.replacements); 1.23 +} 1.24 + 1.25 +} // namespace pp 1.26 +