Added FORchk.c
This commit is contained in:
parent
286acd933c
commit
617f210cf8
8
lang/m2/libm2/FORchk.c
Normal file
8
lang/m2/libm2/FORchk.c
Normal file
|
@ -0,0 +1,8 @@
|
|||
static char m[] = "Warning: FOR-loop control variable was changed in the body";
|
||||
_forloopchk(a,b)
|
||||
unsigned a, b;
|
||||
{
|
||||
if (a != b) {
|
||||
Traps_Message(m , 0, sizeof(m) - 2, 1);
|
||||
}
|
||||
}
|
|
@ -16,6 +16,7 @@ Semaphores.mod
|
|||
random.mod
|
||||
Strings.mod
|
||||
catch.c
|
||||
FORchk.c
|
||||
Traps.mod
|
||||
Arguments.c
|
||||
LtoUset.e
|
||||
|
|
Loading…
Reference in a new issue