1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-27 21:53:21 +03:00
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 
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) {
}