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

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

View file

@ -126,7 +126,7 @@ yang_schema_nodeid_subparse(char *str,
int retval = -1;
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_linenum = linenum;
ife.if_mainfile = mainfile;
@ -140,7 +140,7 @@ yang_schema_nodeid_subparse(char *str,
}
retval = 0;
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);
return retval;
}