I am working on a project that is a mix of assembly and C. I have a custom syntax for my assembly language. I’m having a problem with the Goto Anything functionality because of a difference in convention between assembly and C.
If I have a function in C called “abc()”, the actual symbol exported to the linker is “_
abc” (with a leading underscore). If I want to call that function directly from assembly, I need to jump to the label “_
abc”, not “abc”.
The problem is that Goto Anything doesn’t recognize “_
abc” and “abc” as the same symbol. I have tried changing the syntax file to make sure that just “abc” (and not the underscore) is scoped as variable.function (even though that makes the highlighting look weird), but Goto Anything seems to include the leading underscore as part of the symbol either way.
Is there a way to do this?