1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-18 15:05:14 +00:00

changed return code to -99

This commit is contained in:
mrdudz 2014-11-20 14:49:35 +01:00
parent c0567eb8b7
commit d5844bd63b

View File

@ -238,7 +238,8 @@ int main (int argc, char* argv[])
ExecuteInsn ();
if (MaxCycles && (GetCycles () >= MaxCycles)) {
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 */
}
}