Skip to content
Snippets Groups Projects
Commit de8001bc authored by Henning Glawe's avatar Henning Glawe
Browse files

setup matched flags also for global coverageIgnore

parent d63f0664
No related branches found
No related tags found
No related merge requests found
......@@ -731,6 +731,12 @@ class CompiledMatcher(object):
result['coverageIgnore'] = 3
span = m_ci.span()
result['span'] = [[span]]
if span[0] == 0 and span[1] == len(line):
result['match'] = 3 # full match
else:
result['match'] = 1 # partial match
result['matcher_does_nothing'] = True
result['name'] = 'coverageIgnore'
result['match_flags'] = (
result['match'] | (result['coverageIgnore'] << 2) |
targetStartEnd << 5 | int(result['matcher_does_nothing']) << 6)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment