Skip to content

Commit 659f8fa

Browse files
committed
printer yang BUGFIX missing parentheses
1 parent 76d78f1 commit 659f8fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/printer_yang.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ yprp_iffeatures(struct lys_ypr_ctx *pctx, struct lysp_qname *iffs, struct lysp_e
499499
ypr_open(pctx->out, flag);
500500
extflag = 0;
501501

502-
flags = LYS_YPR_TEXT_SINGLELINE | (iffs[u].flags & LYS_SINGLEQUOTED) ? LYS_YPR_TEXT_SINGLEQUOTED : 0;
502+
flags = LYS_YPR_TEXT_SINGLELINE | ((iffs[u].flags & LYS_SINGLEQUOTED) ? LYS_YPR_TEXT_SINGLEQUOTED : 0);
503503
ypr_text(pctx, "if-feature", iffs[u].str, flags);
504504

505505
/* extensions */

0 commit comments

Comments
 (0)