Explorar o código

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

Yentl Van Tendeloo %!s(int64=8) %!d(string=hai) anos
pai
achega
4998e5b904
Modificáronse 3 ficheiros con 1387 adicións e 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

A diferenza do arquivo foi suprimida porque é 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)