From f689cbe3b9425c285ddb7e2cd5b9db24811fead8 Mon Sep 17 00:00:00 2001 From: Martin Taibr Date: Fri, 22 Sep 2017 05:40:26 +0200 Subject: [PATCH] semis after LAMBDA for uncrustify --- qcsrc/lib/intrusivelist.qh | 2 +- qcsrc/lib/iter.qh | 12 ++++++------ qcsrc/server/utils.qh | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/qcsrc/lib/intrusivelist.qh b/qcsrc/lib/intrusivelist.qh index 9b721a9ba..05021d534 100644 --- a/qcsrc/lib/intrusivelist.qh +++ b/qcsrc/lib/intrusivelist.qh @@ -172,7 +172,7 @@ void IL_REMOVE(IntrusiveList this, entity it) { \ const noref entity it = _it; \ _next = it.(il_next); \ - if (cond) { LAMBDA(body) } \ + if (cond) { LAMBDA(body); } \ } \ MACRO_END diff --git a/qcsrc/lib/iter.qh b/qcsrc/lib/iter.qh index 798d85874..7a284e2de 100644 --- a/qcsrc/lib/iter.qh +++ b/qcsrc/lib/iter.qh @@ -12,7 +12,7 @@ { \ const noref int i = _i; \ ITER_CONST noref entity it = arr[i]; \ - if (cond) { LAMBDA(body) } \ + if (cond) { LAMBDA(body); } \ } \ MACRO_END @@ -26,7 +26,7 @@ const noref int i = _i; \ ITER_CONST noref entity it = _it; \ _next = _it.next; \ - if (cond) { LAMBDA(body) } \ + if (cond) { LAMBDA(body); } \ } \ MACRO_END @@ -38,7 +38,7 @@ { \ const noref int i = _i; \ const noref string it = _it; \ - if (cond) { LAMBDA(body) } \ + if (cond) { LAMBDA(body); } \ } \ MACRO_END @@ -66,7 +66,7 @@ while ((_it = STRING_ITERATOR_GET(iter)) > 0) \ { \ const noref int it = _it; \ - if (cond) { LAMBDA(body) } \ + if (cond) { LAMBDA(body); } \ } \ MACRO_END @@ -116,7 +116,7 @@ { \ const noref int i = _i; \ ITER_CONST noref entity it = _it; \ - if (cond) LAMBDA(body) \ + if (cond) LAMBDA(body); \ } \ MACRO_END #define MUTEX_LOCK(this) MACRO_BEGIN \ @@ -142,7 +142,7 @@ MACRO_END { \ const noref int i = _i; \ ITER_CONST noref entity it = _it; \ - if (cond) LAMBDA(body) \ + if (cond) LAMBDA(body); \ } \ MACRO_END /** marker field, always NULL */ diff --git a/qcsrc/server/utils.qh b/qcsrc/server/utils.qh index 092b21a78..abc156ae0 100644 --- a/qcsrc/server/utils.qh +++ b/qcsrc/server/utils.qh @@ -37,7 +37,7 @@ const string STR_OBSERVER = "observer"; { \ const noref int i = _i; \ ITER_CONST noref entity it = ftoe(i); \ - if(cond) { LAMBDA(body) } \ + if(cond) { LAMBDA(body); } \ } \ MACRO_END @@ -69,7 +69,7 @@ bool _FCR_entered = false; { \ const noref int i = _i; \ ITER_CONST noref entity it = _FCR_clients[i]; \ - if (cond) { LAMBDA(body) } \ + if (cond) { LAMBDA(body); } \ } \ _FCR_entered = false; \ MACRO_END -- 2.39.2