mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-09 22:38:06 -05:00
add unit tests for not consuming matchers
This commit is contained in:
@ -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;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user