Skip to content

Symbols in "additional C code" section of YACC file are not always handled correctly #50

@thoni56

Description

@thoni56

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions