yin parser CHANGE add support for action element
diff --git a/src/parser_yin.h b/src/parser_yin.h
index 98fa8e4..3174abe 100644
--- a/src/parser_yin.h
+++ b/src/parser_yin.h
@@ -129,10 +129,16 @@
/* Meta information passed to yin_parse_grouping function */
struct inout_meta {
- struct lysp_node *parent; /**< Parent node. */
+ struct lysp_node *parent; /**< Parent node. */
struct lysp_action_inout *inout_p; /**< inout_p Input/output pointer to write to. */
};
+/* Meta information passed to yin_parse_action */
+struct action_meta {
+ struct lysp_node *parent; /**< Parent node. */
+ struct lysp_action **actions; /**< Actions to add to. */
+};
+
/**
* @brief Match argument name.
*