mirror of
https://github.com/cc65/cc65.git
synced 2025-08-09 13:25:06 +00:00
changed return code to -99
This commit is contained in:
@@ -238,7 +238,8 @@ int main (int argc, char* argv[])
|
|||||||
ExecuteInsn ();
|
ExecuteInsn ();
|
||||||
if (MaxCycles && (GetCycles () >= MaxCycles)) {
|
if (MaxCycles && (GetCycles () >= MaxCycles)) {
|
||||||
Error ("Maximum number of cycles reached.");
|
Error ("Maximum number of cycles reached.");
|
||||||
exit (EXIT_FAILURE);
|
exit (-99); /* do not ues EXIT_FAILURE to avoid conflicts with the
|
||||||
|
same value being used in a test program */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user