marvin-zhao / pyang

Automatically exported from code.google.com/p/pyang
0 stars 0 forks source link

parser doesn't check for circular leafrefs #97

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. cat testref.yang
module testref {
  namespace "http://example.com/testref";
  prefix tr;

  leaf foo {
    type leafref {
      path "/foo";
    }
  }
}

2. pyang testref.yang

What is the expected output? What do you see instead?

Pyang's parser should issue an error message, but it doesn't.

Original issue reported on code.google.com by lada.lho...@gmail.com on 17 Dec 2013 at 1:53

GoogleCodeExporter commented 9 years ago

Original comment by mbj4...@gmail.com on 14 Nov 2014 at 1:58