Bug 2366 - Effective statements impl for new yang parser.
[yangtools.git] / yang / yang-parser-impl / src / main / java / org / opendaylight / yangtools / yang / parser / stmt / rfc6020 / effective / GroupingEffectiveStatementImpl.java
index e7cbe4ca0307f1683aa8cb7bc7e4c29dae9dcef5..ea01448a56e635d9a4ec5344a017ff6a95001ace 100644 (file)
@@ -1,5 +1,7 @@
 package org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective;
 
+import org.opendaylight.yangtools.yang.parser.stmt.rfc6020.Utils;
+
 import java.util.Collection;
 import java.util.LinkedList;
 import org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement;
@@ -25,8 +27,8 @@ public class GroupingEffectiveStatementImpl extends
         super(ctx);
 
         qname = ctx.getStatementArgument();
+        path = Utils.getSchemaPath(ctx);
         // :TODO init other fields
-        path = null;
 
         initSubstatementCollections();
     }