Rework YANG lexer/parser
[yangtools.git] / yang / yang-parser-rfc7950 / src / test / resources / bugs / YT1089 / foo.yang
1 module foo {
2   namespace urn:foo;
3   prefix foo;
4
5   description +something;
6   contact contact++;
7   organization organiza++tion;
8
9   leaf foo {
10     type string;
11     default +;
12     description 'squot' + "dquot";
13     reference "+" + '+';
14   }
15
16   leaf bar {
17     type string;
18     default ++;
19     description "+ + ++";
20     reference "++ + +";
21   }
22
23   leaf baz {
24     type string;
25     default /;
26     description :;
27     reference *;
28   }
29
30   leaf xyzzy {
31     type string;
32     description "a weird" +" concat";
33     reference "another"+ " weird concat";
34   }
35 }