aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/hashtab.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/hashtab.h')
-rw-r--r--src/nvim/hashtab.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/nvim/hashtab.h b/src/nvim/hashtab.h
index c82a6cc121..7740a3e431 100644
--- a/src/nvim/hashtab.h
+++ b/src/nvim/hashtab.h
@@ -77,18 +77,18 @@ typedef struct hashtable_S {
/// @param hi Name of the variable with current hashtab entry.
/// @param code Cycle body.
#define HASHTAB_ITER(ht, hi, code) \
- do { \
- hashtab_T *const hi##ht_ = (ht); \
- size_t hi##todo_ = hi##ht_->ht_used; \
- for (hashitem_T *hi = hi##ht_->ht_array; hi##todo_; hi++) { \
- if (!HASHITEM_EMPTY(hi)) { \
- hi##todo_--; \
- { \
- code \
- } \
+ do { \
+ hashtab_T *const hi##ht_ = (ht); \
+ size_t hi##todo_ = hi##ht_->ht_used; \
+ for (hashitem_T *hi = hi##ht_->ht_array; hi##todo_; hi++) { \
+ if (!HASHITEM_EMPTY(hi)) { \
+ hi##todo_--; \
+ { \
+ code \
} \
} \
- } while (0)
+ } \
+ } while (0)
#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "hashtab.h.generated.h"