Increased version of binding-generator to 0.5.5-SNAPSHOT.
[controller.git] / opendaylight / sal / yang-prototype / code-generator / binding-generator-impl / src / test / resources / bit_and_union_in_leaf.yang
index e254dd224f61bb0558c4462c9d5d41416b8c45cd..b5279b0b6a846c511c3eea72d4d49562d73ba534 100644 (file)
@@ -1,5 +1,5 @@
 module bit-and-union-in-leaf {
-    
+
     namespace "urn:bit:union:in:leaf";
     prefix "sbd";
 
@@ -7,25 +7,25 @@ module bit-and-union-in-leaf {
     contact "http://www.opendaylight.org/";
 
     revision 2013-06-26 {
-        
+
     }
-    
+
     typedef union-typedef {
         type union {
             type string {
                 pattern "[a-g]";
-            };
+            }
             type int16;
         }
     }
-    
+
     typedef union-typedef2 {
         type union {
             type string; 
             type int16;
         }
     }    
-    
+
     container parent-container {
         leaf bit-leaf {
             type bits {
@@ -34,20 +34,20 @@ module bit-and-union-in-leaf {
                 bit third-bit;
             }
         }
-        
+
         leaf union-leaf {
             type union {
                 type int32;
                 type string {
                     pattern "[a-z]";
-                };
+                }
                 type string {
-                    pattern "[0-9]*"
-                };
+                    pattern "[0-9]*";
+                }
                 type string {
                     pattern "[a-d]*";
                     pattern "[0-5]*";
-                };
+                }
                 type uint8;
             }
         }