Fix unique argument parser 33/75233/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:21 +0000 (13:45 +0000)
commitc4cd74c47ac464f364881d201a45fd6d06580cc5
tree858ff42efa2f2427cccffee209f25eebedc4d4ea
parentd644c06325b0e0d1199eee08605e5147bc542efb
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]