Open
Description
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