add unit tests for not consuming matchers

This commit is contained in:
Jan committed 2021-02-13 16:18:53 +01:00
1 parent 32f815c378
commit f14357537e
2 files changed
+56 -1

No files matched your search

@@ -95,6 +95,9 @@ public:
result.m_captures.emplace_back(m_capture_id, match);
}
if (m_no_consume)
result.m_consumed_token_count = 0;
return result;
}
};