changeset 30:a93e4b07fdf3

unet-destar: pass attributes through
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sat, 08 Aug 2015 21:23:19 +0000
parents dcdf606dfaaa
children 61272ee5aadc
files ueda/unet-utils/unet-destar.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ueda/unet-utils/unet-destar.c	Sat Aug 08 21:19:24 2015 +0000
+++ b/ueda/unet-utils/unet-destar.c	Sat Aug 08 21:23:19 2015 +0000
@@ -112,6 +112,7 @@
 		switch(rdout.typecode) {
 		case UNETOBJ_PRIMITIVE:
 		case UNETOBJ_ALTNAME:
+		case UNETOBJ_ATTR:
 			continue;
 		case UNETOBJ_PIN:
 			if (!rdout.connect_to_net) {
@@ -180,6 +181,10 @@
 			fprintf(tempFILE, "  %s %s\n", rdout.keyword,
 				rdout.objname);
 			continue;
+		case UNETOBJ_ATTR:
+			fprintf(tempFILE, "  ATTR %s=%s\n", rdout.objname,
+				rdout.attr_value);
+			continue;
 		case UNETOBJ_PIN:
 		case UNETOBJ_PINMAP:
 			process_component_pin();