Skip to content
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

Support for C/C++ Labels and goto statements. #18

Open
ZIGLJO opened this issue Sep 16, 2021 · 1 comment
Open

Support for C/C++ Labels and goto statements. #18

ZIGLJO opened this issue Sep 16, 2021 · 1 comment

Comments

@ZIGLJO
Copy link

ZIGLJO commented Sep 16, 2021

Feature Request

Name:
Support for C/C++ Labels and goto statements.

Description:
I would like to be able to map out the labels in a C/C++ program. For example: I'm working
through some legacy code and the in the main function there are labels and goto
statements embedded into some of the logic. The Logic flow isn't very well documented and
so I'm attempting to use your tool to solve that issue.

Potential solutions:

  • Add a customized lexer through the use of a python module pyl to lex out any labels and
    goto's.
  • Inform users on how to accomplish this if this feature is already implemented.

Postscript

I appreciate the extension you have built thus far, and I look forward to any optimizations and
features it may have in the future.

@league1991
Copy link
Owner

league1991 commented Sep 24, 2021

Sorry, I am afraid I cannot fully implement your request because that requires to change doxygen's analysis feature, which may cause a lot of work.

However, you can actually select one line and then press Alt+G to add a "label". I know that's imperfect, but hopefully it can help a little bit...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants