commit | 162165ef9fe848631939fa17511a4b31c788778d | [log] [tgz] |
---|---|---|
author | Václav Kubernát <kubernat@cesnet.cz> | Mon Feb 22 09:46:53 2021 +0100 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Thu Feb 25 12:11:38 2021 +0100 |
tree | 87bdc077b450537a639a27ec692df2254c50dd3f | |
parent | f5d75157ddaae906657fc78fa717939fc7324e19 [diff] [blame] |
Add `switch` command Change-Id: I5db53925f1710e29b49398621e6b634889f1df15
diff --git a/src/ast_commands.cpp b/src/ast_commands.cpp index fa2b56c..74aefd5 100644 --- a/src/ast_commands.cpp +++ b/src/ast_commands.cpp
@@ -56,3 +56,8 @@ { return this->m_path == other.m_path; } + +bool switch_::operator==(const switch_& other) const +{ + return this->m_target == other.m_target; +}