Skip to content

Making reference tags for external entities instead of definitions tags #2428

Open
@masatake

Description

@masatake

Some parsers capturing the tokens referring to external entities as definitions tags.
This should not[1]. Instead, it should capture as reference tags.
The modifications for solving this issue may break compatibility.
However, implementing multi-pass parsing in the future, we must fix them now.


let's call "tags referring to external entities" "dependency references" or "depedeny reference tags" as proposed in #3535 (comment).


  • using in C++
  • #include in C/C++
  • import in Python
  • \input and \include in Tex
  • require/require_relative/load in Ruby
  • autoload in Ruby
  • use in Perl
  • import in JavsScript
  • source and . in Shell
  • `include in SystemVerilog
  • import in Protobuf
  • import in Go
  • include:: in ReStructuredText
  • include::in asciidoc
    ...

[1] The following question illustrates the reason:
https://stackoverflow.com/questions/3609433/skip-python-import-statements-in-exuberant-ctags

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions