Structural C-code change: Merged yang_spec and yang_node types into yang_stmt

This commit is contained in:
Olof hagsand 2019-04-02 12:27:33 +02:00
parent 4f9e942103
commit b5f1f7346e
52 changed files with 492 additions and 496 deletions

View file

@ -79,7 +79,7 @@ usage(char *argv0)
int
main(int argc, char **argv)
{
yang_spec *yspec = NULL;
yang_stmt *yspec = NULL;
int c;
int logdst = CLICON_LOG_STDERR;
@ -109,7 +109,7 @@ main(int argc, char **argv)
fprintf(stderr, "yang parse error %s\n", clicon_err_reason);
return -1;
}
yang_print(stdout, (yang_node*)yspec);
yang_print(stdout, yspec);
done:
if (yspec)
yspec_free(yspec);