Packages icon indicating copy to clipboard operation
Packages copied to clipboard

[C] Cannot goto functions defined after a very long function.

Open absop opened this issue 1 year ago • 1 comments

Expected behavior

The symbols after the function JS_CallInternal like JS_Call have a scope named entity.name.function.c which make them be indexed by Sublime Text. image

Actual behavior

The symbols after the function JS_CallInternal does not have the entity.name.function.c scope and cannot be indexed by Sublime Text. image image

Steps to reproduce

The source code repository (direct link to the file).

absop avatar Jan 02 '24 13:01 absop

The issue is not related with length of functions, but used syntax within the code block. It seems to unable to find function block's end due to kind of macros being used.

It appears a preprocessor if statement is causing it.

deathaxe avatar Feb 09 '24 18:02 deathaxe