Open space-jam- opened 1 year ago
If a C function is declared like:
struct point { int x; int y; }; int foo(struct point p) { return p.x + p.y; }
ts-docstr-at-point will fail with the error:
ts-docstr-at-point
user-error: Multiple declarations are invalid, 2.
user-error: Multiple declarations are invalid, 2
I think this is triggered by the use of the struct keyword, as a basic or typedef name won't cause this issue.
struct
Ah, yes. You probably right. struct is caught as the declarations...
This might be hard to solve. 🤔
If a C function is declared like:
ts-docstr-at-point
will fail with the error:user-error: Multiple declarations are invalid, 2
.I think this is triggered by the use of the
struct
keyword, as a basic or typedef name won't cause this issue.