I want to select
"struct abc {
int a;
};"
struct_specifier in c does not include semicolon
I do not know if it's a bug or I don't know how to use the app or a feature lacks but :
((structspecifier ()) ";") @c
@c is not the struct with ";" but is the struct without semicolon
(structspecifier () ";") @c gives error impossible pattern
Expected behavior
((structspecifier ()) ";") @c to select struct with semicolo or something similar
Problem
I want to select "struct abc { int a; };" struct_specifier in c does not include semicolon I do not know if it's a bug or I don't know how to use the app or a feature lacks but : ((structspecifier ()) ";") @c @c is not the struct with ";" but is the struct without semicolon (structspecifier () ";") @c gives error impossible pattern
Expected behavior
((structspecifier ()) ";") @c to select struct with semicolo or something similar