This commit is contained in:
Vitor Santos Costa
2019-03-28 14:06:16 +00:00
parent c50367325e
commit de153bd479
7 changed files with 81 additions and 48 deletions

View File

@@ -700,7 +700,6 @@ class YAPRun(InteractiveShell):
# can fill in the output value.
self.shell.displayhook.exec_result = result
(program,squery,_ ,howmany) = self.prolog_cell(cell)
print("program",program, "q", squery, "h",howmany)
if howmany <= 0 and not program:
return result
if self.syntaxErrors(program+squery+".\n") :