Fix unique argument parser 27/75227/3
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 16 Aug 2018 12:30:11 +0000 (14:30 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 16 Aug 2018 13:17:59 +0000 (15:17 +0200)
commit68de00c780737c1844f7d045d6f1ecfd0e83f957
tree9e0baf59401e20debc5787789d2efadef23e1a34
parent41cd74eff8a48f5437e76990319c97fd7bdd5df2
Fix unique argument parser

Unique argument can use horizontal tabs and line-breaks as separators
in addition to spaces. Deal with them instead of rejecting input.

Change-Id: I5fb6137b9b73c5c844a05cc59fb9261868834a24
JIRA: YANGTOOLS-893
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/unique/UniqueStatementSupport.java
yang/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/YT893Test.java [new file with mode: 0644]
yang/yang-parser-rfc7950/src/test/resources/bugs/YT893/cr.yang [new file with mode: 0644]
yang/yang-parser-rfc7950/src/test/resources/bugs/YT893/crlf.yang [new file with mode: 0644]
yang/yang-parser-rfc7950/src/test/resources/bugs/YT893/ht.yang [new file with mode: 0644]
yang/yang-parser-rfc7950/src/test/resources/bugs/YT893/lf.yang [new file with mode: 0644]