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

The right parenthesis that signals the end of a codeblock is considered a part of the label #44

Open
ThePirate42 opened this issue Nov 24, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@ThePirate42
Copy link

ThePirate42 commented Nov 24, 2020

Example: when a batch file contains a line like this:

if foo==%var% (foo & goto :foo) ELSE (bar & goto :bar)

cmd-call-graph considers foo) and bar) as labels.

@ThePirate42 ThePirate42 changed the title The right parenthesis that signals the end of a codeblock is considered a part of the lable The right parenthesis that signals the end of a codeblock is considered a part of the label Nov 24, 2020
@lupino3
Copy link
Member

lupino3 commented Nov 24, 2020

Thanks for your bug report! Yes, that's definitely an issue and needs to be fixed!

I've been looking around for a cmd label definition, but wasn't able to find it. I'll search a bit more.

@lupino3 lupino3 added the bug Something isn't working label Nov 24, 2020
@lupino3
Copy link
Member

lupino3 commented Nov 24, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants