YANG: added extension/unknown-stmt to rpc/input+output

This commit is contained in:
Olof hagsand 2025-01-28 10:43:19 +01:00
parent 1580aa7a2c
commit bf3451c8ed
3 changed files with 4 additions and 2 deletions

View file

@ -48,6 +48,7 @@ Developers may need to change their code
### Corrected Bugs ### Corrected Bugs
* Fixed: YANG: added extension/unknown-stmt to rpc/input+output
* Fixed: [Incorrect fields displayed for "show compare" and "commit diff"](https://github.com/clicon/clixon-controller/issues/177) * Fixed: [Incorrect fields displayed for "show compare" and "commit diff"](https://github.com/clicon/clixon-controller/issues/177)
* Fixed: [Documentation corresponding to specific release](https://github.com/clicon/clixon-controller/issues/178) * Fixed: [Documentation corresponding to specific release](https://github.com/clicon/clixon-controller/issues/178)
* https://clixon-docs.readthedocs.io/en/stable points to lastest release, starting with 7.2.0 * https://clixon-docs.readthedocs.io/en/stable points to lastest release, starting with 7.2.0

View file

@ -1812,6 +1812,7 @@ input_substmts : input_substmts input_substmt
input_substmt : typedef_stmt { _PARSE_DEBUG("input-substmt -> typedef-stmt"); } input_substmt : typedef_stmt { _PARSE_DEBUG("input-substmt -> typedef-stmt"); }
| grouping_stmt { _PARSE_DEBUG("input-substmt -> grouping-stmt"); } | grouping_stmt { _PARSE_DEBUG("input-substmt -> grouping-stmt"); }
| data_def_stmt { _PARSE_DEBUG("input-substmt -> data-def-stmt"); } | data_def_stmt { _PARSE_DEBUG("input-substmt -> data-def-stmt"); }
| unknown_stmt { _PARSE_DEBUG("input-substmt -> unknown-stmt");}
| { _PARSE_DEBUG("input-substmt -> "); } | { _PARSE_DEBUG("input-substmt -> "); }
; ;

View file

@ -126,7 +126,7 @@ yang_schema_nodeid_subparse(char *str,
int retval = -1; int retval = -1;
clixon_yang_schemanode_yacc ife = {0,}; clixon_yang_schemanode_yacc ife = {0,};
clixon_debug(CLIXON_DBG_PARSE, "%s", str); clixon_debug(CLIXON_DBG_PARSE | CLIXON_DBG_DETAIL, "%s", str);
ife.if_parse_string = str; ife.if_parse_string = str;
ife.if_linenum = linenum; ife.if_linenum = linenum;
ife.if_mainfile = mainfile; ife.if_mainfile = mainfile;
@ -140,7 +140,7 @@ yang_schema_nodeid_subparse(char *str,
} }
retval = 0; retval = 0;
done: done:
clixon_debug(CLIXON_DBG_PARSE, "retval:%d", retval); clixon_debug(CLIXON_DBG_PARSE | CLIXON_DBG_DETAIL, "retval:%d", retval);
clixon_yang_schemanode_parsel_exit(&ife); clixon_yang_schemanode_parsel_exit(&ife);
return retval; return retval;
} }