blob: 13cb14e3dc8cbd83a071449f775c2985ba5696ea [file] [log] [blame]
alokp@chromium.org3a01d1b2011-08-30 05:10:53 +00001//
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
alokp@chromium.org98d04ec2012-05-21 22:47:20 +00009#include "Token.h"
alokp@chromium.org3a01d1b2011-08-30 05:10:53 +000010
11namespace pp
12{
13
Zhenyao Mod526f982014-05-13 14:51:19 -070014bool Macro::equals(const Macro &other) const
alokp@chromium.org3a01d1b2011-08-30 05:10:53 +000015{
alokp@chromium.org98d04ec2012-05-21 22:47:20 +000016 return (type == other.type) &&
17 (name == other.name) &&
18 (parameters == other.parameters) &&
19 (replacements == other.replacements);
alokp@chromium.org3a01d1b2011-08-30 05:10:53 +000020}
21
22} // namespace pp
23