headers FORMATTING exclude unsupported defines
... for uncrustify.
diff --git a/src/tree_data.h b/src/tree_data.h
index 5998751..809a1c9 100644
--- a/src/tree_data.h
+++ b/src/tree_data.h
@@ -61,6 +61,8 @@
*/
#define LYD_PARENT(node) ((struct lyd_node *)(node)->parent)
+/* *INDENT-OFF* */
+
/**
* @brief Macro to iterate via all elements in a data tree. This is the opening part
* to the #LYD_TREE_DFS_END - they always have to be used together.
@@ -133,6 +135,8 @@
(LYD_TREE_DFS_next) = (ELEM)->next; \
} } \
+/* *INDENT-ON* */
+
/**
* @brief Macro to get context from a data tree node.
*/
diff --git a/src/tree_schema.h b/src/tree_schema.h
index ed9bab3..38dedf1 100644
--- a/src/tree_schema.h
+++ b/src/tree_schema.h
@@ -41,6 +41,8 @@
* Data structures and functions to manipulate and access schema tree.
*/
+/* *INDENT-OFF* */
+
/**
* @brief Macro to iterate via all elements in a schema tree which can be instantiated in data tree
* (skips cases, input, output). This is the opening part to the #LYSC_TREE_DFS_END - they always have to be used together.
@@ -125,6 +127,8 @@
} \
} } \
+/* *INDENT-ON* */
+
#define LY_REV_SIZE 11 /**< revision data string length (including terminating NULL byte) */
#define LYS_UNKNOWN 0x0000 /**< uninitalized unknown statement node */
diff --git a/src/tree_schema_helpers.c b/src/tree_schema_helpers.c
index 5edbdd6..36e4779 100644
--- a/src/tree_schema_helpers.c
+++ b/src/tree_schema_helpers.c
@@ -1421,6 +1421,8 @@
* @param[in] CTX yang parser context to update its indent value.
* @param[in,out] IN input to move
* @param[in] COUNT number of items for which the DATA pointer is supposed to move on.
+ *
+ * *INDENT-OFF*
*/
#define MOVE_IN(CTX, IN, COUNT) ly_in_skip(IN, COUNT);if(CTX){(CTX)->indent+=COUNT;}
#define IF_KW(STR, LEN, STMT) if (!strncmp(in->current, STR, LEN)) {MOVE_IN(ctx, in, LEN);*kw=STMT;}
@@ -1620,6 +1622,7 @@
#undef IF_KW_PREFIX
#undef IF_KW_PREFIX_END
#undef MOVE_IN
+ /* *INDENT-ON* */
return result;
}