Added support for 'type' data types in sprint_varx.

Change-Id: I356d39d952e8d130de978769fb213a6a0634e632
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/lib/gen_print.py b/lib/gen_print.py
index 7cfd503..52e41ba 100755
--- a/lib/gen_print.py
+++ b/lib/gen_print.py
@@ -602,6 +602,9 @@
         format_string = "%" + str(loc_col1_indent) + "s%-" \
             + str(loc_col1_width) + "s" + value_format + trailing_char
         return format_string % ("", str(var_name) + ":", var_value)
+    elif type(var_value) is type:
+        return sprint_varx(var_name, str(var_value).split("'")[1], hex,
+                           loc_col1_indent, loc_col1_width, trailing_char)
     else:
         # The data type is complex in the sense that it has subordinate parts.
         format_string = "%" + str(loc_col1_indent) + "s%s\n"