Describe the bug
The addition of wenyan language via #465 highlights an issue in how scc matches. If you run it against any wenyan file it will not count the complexity. This is down to how the scc state machine works where it is matching on characters not runes.
To Reproduce
go run . ./examples/language/wenyan.wy
from inside the scc directory on a recent checkout.
Expected behavior
It is expected that there will be some complexity counted here.
Describe the bug
The addition of wenyan language via #465 highlights an issue in how scc matches. If you run it against any wenyan file it will not count the complexity. This is down to how the scc state machine works where it is matching on characters not runes.
To Reproduce
go run . ./examples/language/wenyan.wyfrom inside the scc directory on a recent checkout.
Expected behavior
It is expected that there will be some complexity counted here.