More code refactoring.
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / util / ParserUtils.xtend
index ed54a6aa278e4dbd3c7863986d278672dc6defe9..124f8c701392a1f46f79fb4bebd20056f8e360f1 100644 (file)
@@ -233,6 +233,11 @@ public final class ParserUtils {
                 uses.setParentAugment(augment);
                 uses.setAugmenting(true);
             }
+        } else if (child instanceof ChoiceBuilder) {
+            val ChoiceBuilder choiceChild = child as ChoiceBuilder;
+            for (inner : choiceChild.cases) {
+                setNodeAugmenting(inner, augment);
+            }
         }
     }