Bug 3670 (part 1/5): Use of new statement parser in yang-maven-plugin
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / stmt / rfc6020 / effective / AugmentEffectiveStatementImpl.java
index 425ab74123d97d1da966b219f6cf3d695b554fb4..9b790100db5ace1d21f567437c83d5de3fba0752 100644 (file)
@@ -59,7 +59,7 @@ public class AugmentEffectiveStatementImpl
         this.namespace = rootModuleQName.getNamespace();
         this.revision = rootModuleQName.getRevision();
 
-        this.order = 1;
+        this.order = ctx.getOrder();
 
         initCopyOf(ctx);
         initSubstatementCollections();