mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(cpp): improve function.call to support any level of nesting for qualified identifiers
This commit is contained in:
parent
f7e8b7420c
commit
dad0864fa3
2 changed files with 80 additions and 43 deletions
|
|
@ -1,12 +1,14 @@
|
|||
// Issue #2396
|
||||
|
||||
int main()
|
||||
{
|
||||
B::foo();
|
||||
int main()
|
||||
{
|
||||
B::foo();
|
||||
// ^ @function.call
|
||||
Foo::A::foo();
|
||||
Foo::A::foo();
|
||||
// ^ @function.call
|
||||
Foo::a::A::foo();
|
||||
Foo::a::A::foo();
|
||||
// ^ @function.call
|
||||
return 0;
|
||||
}
|
||||
Foo::a::A::B::foo();
|
||||
// ^ @function.call
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue