-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: null chars in input stream #8
Comments
It seems that your ctags is old.
If the pattern
See also https://docs.ctags.io/en/latest/man/ctags-optlib.7.html#flags-for-mline-regex-lang-option about |
I have updated to Universal Ctags 6.1. and used your parameters (that all identical to mines) , with my file and there was still the missalignment. I will just pre-process the files to delete those null-terminator bytes, but should you want to check on the issue (don't know if you consider it as an issue or a bug) , I attach my documentation file so you can check what I said. (I dont know why is not letting me attach text-files through github attachments so I use google.drive) Thank you |
Thank you for trying the newer version. Oh, I see. I am not surprised if ctags cannot handle null chars in input because the internal of ctags highly depends on C strings, byte sequences terminated with '\0'. Ideally, this should be fixed, but we do not have enough time to fix it. |
I will change the title of this issue. |
I am indexing the Mozilla mdn CSS web documents , and making tags accordingly. I have the documentation related to the CSS properties and some other topics in one single file
localdocu.mdncssdan
, each topic starts with#
followed by a newline then the name of the topic.The following is a simplified view of the document.
What I have is the following rule
Which works , detecting the tags , but the regex is refering to as the destiny of the tags is shifted some lines up
So this is not accurate, when I open say
animation-delay
, it will go 3 lines up to theThis page was last modified....
, and the biggest issue is that, when this line is the same for other topics (say I have got other topic which its 3 lines upper is that sameThis page was last modified on Jun 26
, then the tag referecing system is completely messed up)The text was updated successfully, but these errors were encountered: