浏览代码

Add debug information whenever possible

Yentl Van Tendeloo 8 年之前
父节点
当前提交
4cf65693f0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/compile.py

+ 1 - 1
scripts/compile.py

@@ -4,7 +4,7 @@ import urllib2
 import urllib
 import subprocess
 
-def do_compile(address, filename, username, modulename, mode, optionals=[], grammar="grammars/actionlanguage.g"):
+def do_compile(address, filename, username, modulename, mode, optionals=['--debug'], grammar="grammars/actionlanguage.g"):
     filename = os.path.realpath(filename)
     try:
         urllib2.urlopen(urllib2.Request(address, 'op=set_input&username=user_manager&value="%s"' % username)).read()