Fix unique argument parser 32/75232/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 16 Aug 2018 12:30:11 +0000 (14:30 +0200)
committerRobert Varga <nite@hq.sk>
Thu, 16 Aug 2018 13:45:08 +0000 (13:45 +0000)
commit5eda1057f1a1ada0b154c8029debf0effbb269e9
treed7cf74a65683181438c8e8ba47f65914e15fd949
parent1245ef029c85151edb730ca5178c76d2f6dcb71b
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>
(cherry picked from commit 68de00c780737c1844f7d045d6f1ecfd0e83f957)
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]