Commits (22)
tarball=libgap-VERSION.tar.gz
sha1=24cc0c739ef2bb809ac5f182d889cc84b3f99ade
md5=2b4e3adcd6e21feeeb9475e80f4e3581
cksum=1990698227
sha1=143fc6bf29b3b2abc3bfa9f2563bcb932fc08bec
md5=c946345d25450173bd494722e53d215a
cksum=1187588801
......@@ -131,7 +131,7 @@ cdef extern from "gap/objects.h":
cdef int libGAP_LAST_TESTING_TNUM
cdef extern from "gap/read.h":
void* libGAP_ReadEvalCommand(libGAP_Obj context)
void* libGAP_ReadEvalCommand(libGAP_Obj context, libGAP_UInt *dualSemicolon)
void* libGAP_ReadEvalFile()
void* libGAP_ReadEvalResult
bint libGAP_READ_ERROR()
......
......@@ -273,6 +273,7 @@ cdef libGAP_Obj gap_eval(str gap_string) except? NULL:
"""
initialize()
cdef libGAP_ExecStatus status
cdef libGAP_UInt dualsemicol
cmd = gap_string + ';\n'
try:
......@@ -280,7 +281,7 @@ cdef libGAP_Obj gap_eval(str gap_string) except? NULL:
libgap_start_interaction(cmd)
try:
sig_on()
status = libGAP_ReadEvalCommand(libGAP_BottomLVars)
status = libGAP_ReadEvalCommand(libGAP_BottomLVars, &dualsemicol)
if status != libGAP_STATUS_END:
libgap_call_error_handler()
sig_off()
......@@ -457,6 +458,7 @@ def command(command_string):
"""
initialize()
cdef libGAP_ExecStatus status
cdef libGAP_UInt dualsemicol
cmd = command_string + ';\n'
try:
......@@ -464,7 +466,7 @@ def command(command_string):
libgap_start_interaction(cmd)
try:
sig_on()
status = libGAP_ReadEvalCommand(libGAP_BottomLVars)
status = libGAP_ReadEvalCommand(libGAP_BottomLVars, &dualsemicol)
if status != libGAP_STATUS_END:
libgap_call_error_handler()
sig_off()
......