Преглед изворни кода

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

Yentl Van Tendeloo пре 8 година
родитељ
комит
4998e5b904
3 измењених фајлова са 1387 додато и 1120 уклоњено
  1. 1 0
      .gitattributes
  2. 1382 1120
      bootstrap/bootstrap.m
  3. 4 0
      bootstrap/modelling.alc

+ 1 - 0
.gitattributes

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

Разлика између датотеке није приказан због своје велике величине
+ 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)