浏览代码

More useful message when actually also doing symbol linking with --fast

Yentl Van Tendeloo 9 年之前
父节点
当前提交
99964af0f8
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      interface/HUTN/hutn_compiler/linker.py

+ 2 - 1
interface/HUTN/hutn_compiler/linker.py

@@ -9,7 +9,7 @@ def link(username, objects, fast):
     if not fast:
         definers["main"] = None
         for obj in objects:
-            print("[LINK] %s" % (obj))
+            print("[SYMB] %s" % (obj))
             urllib2.urlopen(urllib2.Request("http://localhost:8001/", urllib.urlencode({"op": "set_input", "element_type": "V", "value": '3', "username": username}))).read()
             urllib2.urlopen(urllib2.Request("http://localhost:8001/", urllib.urlencode({"op": "set_input", "element_type": "V", "value": '"read_symbols"', "username": username}))).read()
             urllib2.urlopen(urllib2.Request("http://localhost:8001/", urllib.urlencode({"op": "set_input", "element_type": "V", "value": '"%s"' % obj, "username": username}))).read()
@@ -39,6 +39,7 @@ def link(username, objects, fast):
     # Ok, we know that all symbols can be defined with this set of files, now link their initializers together
     initializers = []
     for obj in objects:
+        print("[LINK] %s" % (obj))
         urllib2.urlopen(urllib2.Request("http://localhost:8001/", urllib.urlencode({"op": "set_input", "element_type": "V", "value": '3', "username": username}))).read()
         urllib2.urlopen(urllib2.Request("http://localhost:8001/", urllib.urlencode({"op": "set_input", "element_type": "V", "value": '"read_initializers"', "username": username}))).read()
         urllib2.urlopen(urllib2.Request("http://localhost:8001/", urllib.urlencode({"op": "set_input", "element_type": "V", "value": '"%s"' % obj, "username": username}))).read()