-
Notifications
You must be signed in to change notification settings - Fork 620
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
C++: fully qualified return type breaks parsing prototypes #3693
Comments
About the reported case, the following change fixes the issue.
|
@masatake you rock, thanks! I'll test this in the coming days. It's really annoying me lately as I'm working a lot on code full of these kind of pure virtual prototypes, and it breaks autocompletion. |
masatake
added a commit
to masatake/ctags
that referenced
this issue
Apr 7, 2023
Close universal-ctags#3693. The original code could not extract "bar" in ::std::string bar(); Signed-off-by: Masatake YAMATO <[email protected]>
@b4n, thank you for testing. I opened the pull request. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The name of the parser:
C++
The command line you used to run ctags:
The content of input file:
The tags output you are not satisfied with:
The tags output you expect:
The version of ctags:
How do you get ctags binary:
Built it locally under Debian GNU/Linux Testing.
Details:
If you remove the leading
::
from the return type (e.g. remove the FQ property) for the prototype that is missing here, it is properly recognized:This seems to happen in any context (e.g. it's the same inside a class or such, and same with a pure virtual method using a FQ return type).
The text was updated successfully, but these errors were encountered: