refactor: remove unused func, combinator::pattern

because it is not human-readable (too long and redundant)
This commit is contained in:
ToruNiina
2019-05-30 18:05:47 +09:00
parent d352c9e66f
commit b13e727b90
2 changed files with 3 additions and 44 deletions

View File

@@ -18,7 +18,7 @@ do { \
BOOST_CHECK_EQUAL(static_cast<std::size_t>(std::distance( \
loc.begin(), loc.iter())), region.size()); \
} else { \
std::cerr << "lexer " << lxr::pattern() << " failed with input `"; \
std::cerr << "lexer failed with input `"; \
std::cerr << token << "`. expected `" << expected << "`\n"; \
std::cerr << "reason: " << result.unwrap_err() << '\n'; \
} \