schema tree BUGFIX add missing string keyword
Refs
@@ -130,8 +130,12 @@ struct stmt_info_s stmt_attr_info[] = {
API const char *
ly_stmt2str(enum ly_stmt stmt)
{
+ if (stmt == LY_STMT_EXTENSION_INSTANCE) {
+ return "extension instance";
+ } else {
return stmt_attr_info[stmt].name;
}
+}
const char * const ly_devmod_list[] = {
[LYS_DEV_NOT_SUPPORTED] = "not-supported",
