commit | 07869a530c76d6f20cc96d6d200760a893ab0f0b | [log] [tgz] |
---|---|---|
author | David Sedlák <xsedla1d@stud.fit.vutbr.cz> | Fri Jul 12 14:28:19 2019 +0200 |
committer | David Sedlák <xsedla1d@stud.fit.vutbr.cz> | Fri Jul 12 14:28:19 2019 +0200 |
tree | a23fcccdac02e6a9719bf04933c0a769c6ba11ad | |
parent | 129a09cf2ef2e2bd2967a4015601979a5ed5e556 [diff] [blame] |
yin parser CHANGE add support for enum element
diff --git a/src/tree_schema_helpers.c b/src/tree_schema_helpers.c index 2118af7..d5e42c5 100644 --- a/src/tree_schema_helpers.c +++ b/src/tree_schema_helpers.c
@@ -425,7 +425,7 @@ } LY_ERR -lysp_check_enum_name(struct lys_parser_ctx *ctx, char *name, size_t name_len) +lysp_check_enum_name(struct lys_parser_ctx *ctx, const char *name, size_t name_len) { if (!name_len) { LOGVAL_PARSER(ctx, LYVE_SYNTAX_YANG, "Enum name must not be zero-length.");