kakoune/test/indent/c-family/close-function-with-struct-param/out
Maxime Coste 5696ed02e4 Fix invalid insertion of ; after } closing some functions
Function taking a parameter with a struct tag on the last line
before the opening { were wrongly treated as structs. Add some
additional regex logic to try to catch those cases.

Fixes #4136
2021-04-08 20:14:02 +10:00

11 lines
77 B
Plaintext

void f(int i,
struct S s)
{
}
void g(int i,
struct S s) {
}