| 12 | |
| 13 | template <typename T> |
| 14 | auto expectEq(T const& l, T const& r) |
| 15 | { |
| 16 | if (l != r) |
| 17 | { |
| 18 | std::stringstream ss; |
| 19 | ss << l << " != " << r; |
| 20 | throw std::runtime_error{ss.str()}; |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | using namespace hspp; |
| 25 | using namespace hspp::parser; |