Allow list elements to be interleaved
If a list node A is parsed then list node B and another list with A
is given after, it fails to parse as a duplicate.
Skip checking for duplicate nodes if the node being parsed is found
to correspond to ListEffectiveStatement.
JIRA: YANGTOOLS-1107
Change-Id: I4dae263a1e41444db7a6cce6eb958f397c801070
Signed-off-by: Jamo Luhrsen <jluhrsen@gmail.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit
eb4617a9867325921e0fd9660898c3fc4dfc8d11)