You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have a grammar with some function declared in the last ("additional C code") section (Outline of a Bison grammar) the symbols inside a function is handled correctly (in that a goto-definition works as expected).
But a static or non-static function defined in that section does not seem to have a symbol table entry ("Definition not found"). This works as expected in the generated C file.
An example is the cgram.y in c-xrefactory itself.
The effect of this is also that renaming such a function will only change the references and not the definition.
The text was updated successfully, but these errors were encountered:
thoni56
changed the title
Symbols in "additional C code" section of YACC file are not handled correctly
Symbols in "additional C code" section of YACC file are not always handled correctly
Mar 7, 2020
If you have a grammar with some function declared in the last ("additional C code") section (Outline of a Bison grammar) the symbols inside a function is handled correctly (in that a goto-definition works as expected).
But a static or non-static function defined in that section does not seem to have a symbol table entry ("Definition not found"). This works as expected in the generated C file.
An example is the
cgram.y
inc-xrefactory
itself.The effect of this is also that renaming such a function will only change the references and not the definition.
The text was updated successfully, but these errors were encountered: