android and python updates
This commit is contained in:
parent
6f6e294703
commit
676582fe4f
@ -1119,7 +1119,11 @@ Term Yap_scan_num(StreamDesc *inp) {
|
||||
LOCAL_Error_TYPE = RESOURCE_ERROR_TRAIL;
|
||||
return 0;
|
||||
}
|
||||
#if HAVE_ISWBLANK
|
||||
while (iswblank( ch = getchr(inp) ));
|
||||
#else
|
||||
while (isspace( ch = getchr(inp) ));
|
||||
#endif
|
||||
TokEntry *tokptr = (TokEntry *)AllocScannerMemory(sizeof(TokEntry));
|
||||
tokptr->TokPos = GetCurInpPos(inp);
|
||||
if (ch == '-') {
|
||||
|
3
C/text.c
3
C/text.c
@ -888,7 +888,8 @@ static unsigned char *concat(int n, unsigned char *sv[] USES_REGS) {
|
||||
buf = Malloc(room + 1);
|
||||
buf0 = (unsigned char *) buf;
|
||||
for (i = 0; i < n; i++) {
|
||||
buf = stpcpy(buf, (char *) sv[i]);
|
||||
buf = strcpy(buf, (char *) sv[i]);
|
||||
buf += strlen( sv[i] );
|
||||
}
|
||||
return buf0;
|
||||
}
|
||||
|
@ -106,8 +106,6 @@ add_library( # Sets the name of the library.
|
||||
include(libYap NO_POLICY_SCOPE)
|
||||
|
||||
|
||||
target_link_libraries(libYap m pthread)
|
||||
|
||||
if (USE_READLINE)
|
||||
target_link_libraries(libYap ${READLINE_LIBRARIES})
|
||||
endif (USE_READLINE)
|
||||
|
@ -254,6 +254,7 @@ check_symbol_exists(ffsll <string.h> HAVE_FFSLL)
|
||||
check_function_exists(__builtin_ffsll HAVE___BUILTIN_FFSLL)
|
||||
check_function_exists(fgetpos HAVE_FGETPOS)
|
||||
check_function_exists(finite HAVE_FINITE)
|
||||
check_function_exists(iswblank HAVE_ISWBLANK)
|
||||
check_symbol_exists(flsl <string.h> HAVE_FLSL)
|
||||
check_symbol_exists(flsll <string.h> HAVE_FLSLL)
|
||||
check_function_exists(fmemopen HAVE_FMEMOPEN)
|
||||
|
@ -581,6 +581,11 @@ function. */
|
||||
#cmakedefine HAVE_ISNAN ${HAVE_ISNAN}
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the `isnan' function. */
|
||||
#ifndef HAVE_ISWBLANK
|
||||
#cmakedefine HAVE_ISWBLANK ${HAVE_ISWBLANK}
|
||||
#endif
|
||||
|
||||
/* Define to 1 if you have the <Judy.h> header file. */
|
||||
#ifndef HAVE_JUDY_H
|
||||
#cmakedefine HAVE_JUDY_H ${HAVE_JUDY_H}
|
||||
|
@ -9,4 +9,3 @@ main :-
|
||||
Plt.ylabel(`some numbers`),
|
||||
Plt.show()
|
||||
).
|
||||
|
||||
|
Reference in New Issue
Block a user