aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/SyntaxTest.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/libsolidity/SyntaxTest.h')
-rw-r--r--test/libsolidity/SyntaxTest.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/libsolidity/SyntaxTest.h b/test/libsolidity/SyntaxTest.h
index dddd86ef..6159e789 100644
--- a/test/libsolidity/SyntaxTest.h
+++ b/test/libsolidity/SyntaxTest.h
@@ -40,9 +40,14 @@ struct SyntaxTestError
{
std::string type;
std::string message;
+ int locationStart;
+ int locationEnd;
bool operator==(SyntaxTestError const& _rhs) const
{
- return type == _rhs.type && message == _rhs.message;
+ return type == _rhs.type &&
+ message == _rhs.message &&
+ locationStart == _rhs.locationStart &&
+ locationEnd == _rhs.locationEnd;
}
};