blob: b2e3088e32b8c96abdcc8d044adf9f2583ab0b8c [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
alokp@chromium.org98d04ec2012-05-21 22:47:20 +000014bool 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