فهرست منبع

Add debug information to bootstrap

Yentl Van Tendeloo 9 سال پیش
والد
کامیت
e3143d602e
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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)