diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-10-06 14:40:16 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-10-06 14:41:03 +0200 |
commit | d29fed213caccc7bf2f66ed7a11b94b4bbcac3d1 (patch) | |
tree | 04f96da9e5a4ea6572db9700907959eae295305b /python/common.py | |
parent | 969812724912512740dbf037940a9e6770df19ed (diff) |
Python: add support for auxiliary code (like for Prolog)
Diffstat (limited to 'python/common.py')
-rw-r--r-- | python/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/common.py b/python/common.py index a07b87e..36896e1 100644 --- a/python/common.py +++ b/python/common.py @@ -19,7 +19,7 @@ hint_type = { 'no_func_name': Hint('no_func_name') } -def hint(python, program): +def hint(python, program, aux_code=''): # Check program for syntax errors. try: tree = ast.parse(program, filename='user') |