From 273d146ee1e3ed13ae9370a1aa069ea40333b55f Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Wed, 23 May 2007 05:17:03 +0000 Subject: [PATCH] Oh, err. Fixed a small problem where errors 100-119 could be shown as fatal rather than normal error messages. --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40849 --- sourcepawn/compiler/sc5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sourcepawn/compiler/sc5.c b/sourcepawn/compiler/sc5.c index 4bbc3f62..c310d836 100644 --- a/sourcepawn/compiler/sc5.c +++ b/sourcepawn/compiler/sc5.c @@ -81,7 +81,7 @@ static short lastfile; * the error reporting is enabled only in the second pass (and only when * actually producing output). Fatal errors may never be ignored. */ - if ((errflag || sc_status!=statWRITE) && (number<100 || number>=200)) + if ((errflag || sc_status!=statWRITE) && (number<120 || number>=200)) return 0; /* also check for disabled warnings */