Explorar el Código

Updated bootstrap with code for import_node; also made *.m files binary to git

Yentl Van Tendeloo hace 8 años
padre
commit
4998e5b904
Se han modificado 3 ficheros con 1387 adiciones y 1120 borrados
  1. 1 0
      .gitattributes
  2. 1382 1120
      bootstrap/bootstrap.m
  3. 4 0
      bootstrap/modelling.alc

+ 1 - 0
.gitattributes

@@ -0,0 +1 @@
+*.m binary

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1382 - 1120
bootstrap/bootstrap.m


+ 4 - 0
bootstrap/modelling.alc

@@ -411,5 +411,9 @@ Void function construct_model():
 			local_name = input()
 			location = input()
 			export_node(location, global_models[local_name])
+		elif (command == "import_node"):
+			Element m
+			m = import_node(input())
+			dict_add(global_models, input(), m)
 		else:
 			log("Modelling error: did not understand command " + command)