> Does it matter that the enum 
> [here](https://github.com/geany/geany/blob/ae1f499e3b2fa108d749942008431ec1aaf0294b/ctags/parsers/asciidoc.c#L43)
>  does not go to level 5?

This is probably "correct" but extremely ugly. Those `K_CHAPTER` up to 
`K_LEVEL4SECTION` aren't used anywhere in the code, they are there just do 
define `SECTION_COUNT` which is used for

https://github.com/geany/geany/blob/ae1f499e3b2fa108d749942008431ec1aaf0294b/ctags/parsers/asciidoc.c#L62

and thanks to `SECTION_COUNT` (and missing `K_LEVEL5SECTION`) the following 
`K_ANCHOR` has the right index too. This thing would really deserve some 
cleanup.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3411#issuecomment-1443679525
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/3411/1443679...@github.com>

Reply via email to