| 1708 | |
| 1709 | /** base class for errors */ |
| 1710 | struct Error { |
| 1711 | Error(const Location &loc, const std::string &s) : location(loc), what(s) {} |
| 1712 | const Location location; |
| 1713 | const std::string what; |
| 1714 | }; |
| 1715 | |
| 1716 | /** Struct that is thrown when macro is expanded with wrong number of parameters */ |
| 1717 | struct wrongNumberOfParameters : public Error { |
no outgoing calls
no test coverage detected