Prechádzať zdrojové kódy

Fixed the MD5 hash not being present

Yentl Van Tendeloo 8 rokov pred
rodič
commit
7b02b92c54
3 zmenil súbory, kde vykonal 122082 pridanie a 122040 odobranie
  1. 122080 122039
      bootstrap/bootstrap.m
  2. 1 0
      bootstrap/bootstrap.py
  3. 1 1
      bootstrap/compilation_manager.alc

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 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")