Code Review
/
yangtools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c5e71e33f647f86b692b969327a78f82da2b2907
[yangtools.git]
/
yang
/
yang-parser-impl
/
src
/
test
/
resources
/
rfc7950
/
bug6901
/
invalid-foo-enum.yang
1
module invalid-foo-enum {
2
namespace "foo";
3
prefix foo;
4
yang-version 1.1;
5
6
feature f;
7
8
typedef enum-typedef {
9
type enumeration {
10
enum one;
11
enum two {
12
if-feature f;
13
}
14
enum three;
15
}
16
}
17
18
typedef enum-typedef-2 {
19
type enum-typedef;
20
}
21
22
leaf enum-leaf {
23
type enum-typedef-2;
24
default two;
25
}
26
}