Browse Source

Fixed some typos

Yentl Van Tendeloo 7 years ago
parent
commit
f3ff47d6ae

+ 1 - 0
bootstrap/initial_code_task.alc

@@ -25,5 +25,6 @@ Void mutable function __main():
 	exec(root["bootstrap/typing.alc"]["initializers"])
 	exec(root["bootstrap/compiler.alc"]["initializers"])
 	exec(root["bootstrap/json.alc"]["initializers"])
+	exec(root["bootstrap/files.alc"]["initializers"])
 	new_task()
 	return!

+ 0 - 1
bootstrap/semi_primitives.alc

@@ -176,7 +176,6 @@ String function string_replace(a : String, b : String, c : String):
 	String result
 
 	lst = string_split(a, b)
-	log("Split string " + cast_string(a))
 	result = cast_string(list_pop_final(lst))
 	while (set_len(lst) > 0):
 		result = cast_string(list_pop_final(lst)) + c + result

+ 1 - 1
kernel/rules/to_graphviz.alc

@@ -14,7 +14,7 @@ Boolean function main(model : Element):
         rule = set_pop(rules)
         content = print_rule(model, rule)
 
-		file = instantiate_node(model, "Files/file", "")
+		file = instantiate_node(model, "Files/File", "")
 		instantiate_attribute(model, file, "name", rule + ".dot")
 		instantiate_attribute(model, file, "content", content)
 

+ 2 - 0
services/files/main.py

@@ -12,6 +12,8 @@ login("file", "file")
 def file_service(port):
     filename = service_get(port)
     content = service_get(port)
+    import os
+    print(os.getcwd())
     try:
         with open(filename, 'w') as f:
             f.write(content)

+ 1 - 1
wrappers/modelverse_SCCD.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Thu Nov 23 14:08:42 2017
+Date:   Thu Nov 23 14:30:28 2017
 
 Model author: Yentl Van Tendeloo
 Model name:   MvK Server