cmd-call-graph
cmd-call-graph copied to clipboard
The right parenthesis that signals the end of a codeblock is considered a part of the label
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.
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.
Some unofficial documentation here: https://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts