mush

git clone git://git.lin.moe/mush.git

1#include <catch2/catch_message.hpp>
2
3#define CAPTURE_PARSER_ERROR(p)                                                \
4	CHECKED_IF((p).error != nullptr)                                       \
5	{                                                                      \
6		CAPTURE((p).error->what());                                    \
7		CAPTURE((p).error->position.offset);                           \
8		REQUIRE(false);                                                \
9	}