yang BUGFIX variable base in unres type
diff --git a/src/parser_yang.h b/src/parser_yang.h
index 1a1c496..1de5194 100644
--- a/src/parser_yang.h
+++ b/src/parser_yang.h
@@ -103,6 +103,7 @@
 
 struct yang_type {
     char flags;       /**< this is used to distinguish lyxml_elem * from a YANG temporary parsing structure */
+    LY_DATA_TYPE base;
     char *name;
     struct lys_type *type;
 };