Explorar o código

Add debug information to bootstrap

Yentl Van Tendeloo %!s(int64=9) %!d(string=hai) anos
pai
achega
e3143d602e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      bootstrap/bootstrap.py

+ 1 - 1
bootstrap/bootstrap.py

@@ -295,7 +295,7 @@ try:
 
                 with open("bootstrap.al", "w") as f:
                     f.write(code)
-                code = compile_code("bootstrap.al", "../interface/HUTN/grammars/actionlanguage.g", "BS", [])
+                code = compile_code("bootstrap.al", "../interface/HUTN/grammars/actionlanguage.g", "BS", ["--debug"])
                 os.remove("bootstrap.al")
                 return code.replace("auto_initial_IP", target)