=================================================================== RCS file: /home/cvs/OpenXM/src/kan96xx/Kan/primitive.c,v retrieving revision 1.14 retrieving revision 1.15 diff -u -p -r1.14 -r1.15 --- OpenXM/src/kan96xx/Kan/primitive.c 2004/09/12 08:55:36 1.14 +++ OpenXM/src/kan96xx/Kan/primitive.c 2004/09/12 10:22:50 1.15 @@ -1,4 +1,4 @@ -/* $OpenXM: OpenXM/src/kan96xx/Kan/primitive.c,v 1.13 2004/09/12 02:37:57 takayama Exp $ */ +/* $OpenXM: OpenXM/src/kan96xx/Kan/primitive.c,v 1.14 2004/09/12 08:55:36 takayama Exp $ */ /* primitive.c */ /* The functions in this module were in stackmachine.c */ @@ -745,7 +745,7 @@ int executePrimitive(ob) break; } while (1) { - status = executeExecutableArray(ob1,(char *)NULL); + status = executeExecutableArray(ob1,(char *)NULL,1); if ((status & STATUS_BREAK) || GotoP) break; /* here, do not return 1. Do not propagate exit signal outside of the loop. */ @@ -784,7 +784,7 @@ int executePrimitive(ob) */ for ( ; i<=lim; i += inc) { Kpush(KpoInteger(i)); - status = executeExecutableArray(ob1,(char *)NULL); + status = executeExecutableArray(ob1,(char *)NULL,1); if ((status & STATUS_BREAK) || GotoP) goto xyz; } }else{ @@ -793,7 +793,7 @@ int executePrimitive(ob) */ for ( ; i>=lim; i += inc) { Kpush(KpoInteger(i)); - status = executeExecutableArray(ob1,(char *)NULL); + status = executeExecutableArray(ob1,(char *)NULL,1); if ((status & STATUS_BREAK) || GotoP) goto xyz; } } @@ -825,8 +825,8 @@ int executePrimitive(ob) for (i=0; i 0) { signal(SIGALRM,ctrlC); alarm((unsigned int) n); - status = executeExecutableArray(ob1,(char *)NULL); + status = executeExecutableArray(ob1,(char *)NULL,0); cancelAlarm(); }else{ before_real = time(&before_real); times(&before); - status = executeExecutableArray(ob1,(char *)NULL); + status = executeExecutableArray(ob1,(char *)NULL,0); times(&after); after_real = time(&after_real); ob1 = newObjectArray(3);