Kaynağa Gözat

Fixed the MD5 hash not being present

Yentl Van Tendeloo 8 yıl önce
ebeveyn
işleme
7b02b92c54
3 değiştirilmiş dosya ile 122082 ekleme ve 122040 silme
  1. 122080 122039
      bootstrap/bootstrap.m
  2. 1 0
      bootstrap/bootstrap.py
  3. 1 1
      bootstrap/compilation_manager.alc

Dosya farkı çok büyük olduğundan ihmal edildi
+ 122080 - 122039
bootstrap/bootstrap.m


+ 1 - 0
bootstrap/bootstrap.py

@@ -265,6 +265,7 @@ def bootstrap():
                     md5.update(open(bootstrap_file, 'r').read())
                     f.write('Node hash_value("%s")\n' % md5.hexdigest(), both=False)
                     f.write("Edge _(elem, hash_value)\n", both=False)
+                    f.write("Edge _(_, hash)\n", both=False)
                     #TODO add the symbols as well!
 
                 # Create code for initial user

+ 1 - 1
bootstrap/compilation_manager.alc

@@ -52,7 +52,7 @@ Void function compilation_manager():
 		if (dict_in(root, object_name)):
 			output(root[object_name]["hash_md5"])
 		else:
-			output(0)
+			output(create_node())
 	else:
 		log("Failed to understand command")