1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-28 15:31:18 +00:00

Increased upper limit of allowed errors before aborting.

This commit is contained in:
acqn 2020-08-03 01:15:57 +08:00 committed by Oliver Schmidt
parent 00c16d34a4
commit 44e3080ea9

View File

@ -184,7 +184,7 @@ static void IntError (const char* Filename, unsigned LineNo, const char* Msg, va
Print (stderr, 1, "Input: %.*s\n", (int) SB_GetLen (Line), SB_GetConstBuf (Line)); Print (stderr, 1, "Input: %.*s\n", (int) SB_GetLen (Line), SB_GetConstBuf (Line));
} }
++ErrorCount; ++ErrorCount;
if (ErrorCount > 10) { if (ErrorCount > 20) {
Fatal ("Too many errors"); Fatal ("Too many errors");
} }
} }