fix bad order in arguments.

This commit is contained in:
Costa Vitor 2009-06-01 19:30:24 -05:00
parent 6a0d5c303d
commit 4363b53c4d

View File

@ -67,7 +67,7 @@ typedef struct list_ctx
static inline void
addSmallIntList(list_ctx *ctx, int value)
{
ctx->gstore = YAP_ExtendList(YAP_MkIntTerm(value),ctx->gstore);
ctx->gstore = YAP_ExtendList(ctx->gstore,YAP_MkIntTerm(value));
}
#else