Browse Source

Removed debugging code

Yentl Van Tendeloo 8 years ago
parent
commit
c3fd91f447
2 changed files with 1 additions and 6 deletions
  1. 0 2
      bootstrap/modelling.alc
  2. 1 4
      core/core_formalism.mvc

+ 0 - 2
bootstrap/modelling.alc

@@ -64,8 +64,6 @@ String function model_add_edge(model : Element, name : String, source : String,
 		log("In link " + name)
 		log("ERROR: destination of link unknown: " + destination)
 		log("Source: " + source)
-		Integer i
-		i = 1/0
 		return ""!
 
 	new_edge = create_edge(model["model"][source], model["model"][destination])

+ 1 - 4
core/core_formalism.mvc

@@ -97,10 +97,7 @@ SimpleClassDiagrams CoreFormalism {
         target_upper_cardinality = 1
     }
 
-    Class Transformation : Model {
-        name : String
-        location : String
-    }
+    Class Transformation : Model {}
 
     Class ModelTransformation : Transformation {}