Browse Source

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

Yentl Van Tendeloo 9 years ago
parent
commit
4b0ebb7e6e
2 changed files with 5 additions and 0 deletions
  1. 1 0
      .gitattributes
  2. 4 0
      bootstrap/modelling.alc

+ 1 - 0
.gitattributes

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

+ 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)