Yentl Van Tendeloo пре 7 година
родитељ
комит
53c24a4da8
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      bootstrap/mini_modify.alc
  2. 1 1
      wrappers/modelverse_SCCD.py

+ 1 - 1
bootstrap/mini_modify.alc

@@ -414,7 +414,7 @@ String function cmd_read_attrs(model : Element, element_name : String):
 		attr_keys = dict_keys(attr_list)
 		while (0 < set_len(attr_keys)):
 			attr_key = set_pop(attr_keys)
-			result = string_join(result, attr_key) + " : " + cast_value(attr_list[attr_key]) + " = " + cast_value(read_attribute(model, element_name, attr_key)) + "\n"
+			result = string_join(result, attr_key) + " : " + cast_value(attr_list[attr_key]) + " = " + cast_string(read_attribute(model, element_name, attr_key)) + "\n"
 		return result!
 	else:
 		return "Element not found: " + element_name!

+ 1 - 1
wrappers/modelverse_SCCD.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Fri Apr  6 10:27:34 2018
+Date:   Fri Apr 20 09:02:14 2018
 
 Model author: Yentl Van Tendeloo
 Model name:   MvK Server