Add closing semicolons (;) to C structures in docstrings.
authorW. Trevor King <wking@tremily.us>
Sat, 21 Jul 2012 19:39:21 +0000 (15:39 -0400)
committerW. Trevor King <wking@tremily.us>
Sat, 21 Jul 2012 19:39:21 +0000 (15:39 -0400)
igor/struct.py

index 6a19e2ca790b9f60ff1ae8bfb2699035e52ffa26..a50ede52966fe322883821dcf5d06d96e483f121 100644 (file)
@@ -373,12 +373,12 @@ class Structure (_struct.Struct):
         struct run {
           unsigned int time;
           short data[2][3];
         struct run {
           unsigned int time;
           short data[2][3];
-        }
+        };
 
         struct experiment {
           unsigned short version;
           struct run runs[2];
 
         struct experiment {
           unsigned short version;
           struct run runs[2];
-        }
+        };
 
     As:
 
 
     As:
 
@@ -632,7 +632,7 @@ class DynamicStructure (Structure):
         struct vector {
           unsigned int length;
           short data[length];
         struct vector {
           unsigned int length;
           short data[length];
-        }
+        };
 
     You can generate a Python version of this structure in two ways,
     with a dynamic ``length``, or with a dynamic ``data``.  In both
 
     You can generate a Python version of this structure in two ways,
     with a dynamic ``length``, or with a dynamic ``data``.  In both