1// 2// Copyright (c) 2011 The ANGLE Project Authors. All rights reserved. 3// Use of this source code is governed by a BSD-style license that can be 4// found in the LICENSE file. 5// 6 7#include "Macro.h" 8 9#include "Token.h" 10 11namespace pp 12{ 13 14bool Macro::equals(const Macro &other) const 15{ 16 return (type == other.type) && 17 (name == other.name) && 18 (parameters == other.parameters) && 19 (replacements == other.replacements); 20} 21 22} // namespace pp 23 24