Debug: Added PARSE debug flag
This commit is contained in:
parent
03a9c03b1c
commit
c353c6dcab
21 changed files with 45 additions and 31 deletions
|
|
@ -1010,7 +1010,7 @@ _text_syntax_parse(char *str,
|
|||
int failed = 0; /* yang assignment */
|
||||
cxobj *xc;
|
||||
|
||||
clixon_debug(CLIXON_DBG_DEFAULT, "%d %s", yb, str);
|
||||
clixon_debug(CLIXON_DBG_PARSE, "%s", str);
|
||||
if (yb != YB_MODULE && yb != YB_MODULE_NEXT){
|
||||
clixon_err(OE_YANG, EINVAL, "yb must be YB_MODULE or YB_MODULE_NEXT");
|
||||
return -1;
|
||||
|
|
@ -1067,7 +1067,7 @@ _text_syntax_parse(char *str,
|
|||
goto done;
|
||||
retval = 1;
|
||||
done:
|
||||
clixon_debug(CLIXON_DBG_DEFAULT, "retval:%d", retval);
|
||||
clixon_debug(CLIXON_DBG_PARSE, "retval:%d", retval);
|
||||
if (cberr)
|
||||
cbuf_free(cberr);
|
||||
clixon_text_syntax_parsel_exit(&ts);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue