You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having comments between concatenated strings does not seem to work w.r.t. serialization.
Here is an example, original file:
list l1 {
key id;
leaf id {
type string;
}
leaf x {
type int32;
}
leaf y {
type int32;
}
must "x > y" +
/* notice this comment in between */
" and x * y < 100";
}
After serialization, the following is produced (notice must statement is now syntactically incorrect plus comment is gone):
list l1 {
key id;
leaf id {
type string;
}
leaf x {
type int32;
}
leaf y {
type int32;
}
must "x > y" and x * y < 100";
}
Thanks,
Andreas
The text was updated successfully, but these errors were encountered:
Hello,
Having comments between concatenated strings does not seem to work w.r.t. serialization.
Here is an example, original file:
After serialization, the following is produced (notice must statement is now syntactically incorrect plus comment is gone):
Thanks,
Andreas
The text was updated successfully, but these errors were encountered: