Code Review
/
yangtools.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
YANGTOOLS-706: Split out yang-parser-rfc7950
[yangtools.git]
/
yang
/
yang-parser-rfc7950
/
src
/
test
/
resources
/
rfc7950
/
bug6887
/
foo10-invalid-2.yang
1
module foo {
2
namespace foo;
3
prefix foo;
4
5
revision 2017-02-02;
6
7
typedef my-base-enumeration-type {
8
type enumeration {
9
enum white {
10
value 1;
11
}
12
enum yellow;
13
enum red {
14
value 3;
15
}
16
enum black {
17
value 4;
18
}
19
}
20
}
21
22
leaf my-enumeration-leaf {
23
type my-base-enumeration-type {
24
enum yellow;
25
enum red {
26
value 3;
27
}
28
}
29
}
30
}