added missing sanity check

git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@408 4df02467-bbd4-4a76-a152-e7ce94205b78
This commit is contained in:
marcobaye 2024-08-29 21:02:25 +00:00
parent 5f8918c774
commit a6a43015a8
2 changed files with 2 additions and 4 deletions

View File

@ -434,10 +434,8 @@ static void do_actual_work(void)
undefs_before = pass.counters.undefineds; undefs_before = pass.counters.undefineds;
perform_pass(0); perform_pass(0);
if (--sanity.passes_left < 0) { if (--sanity.passes_left < 0) {
// FIXME - exit with error throw_serious_error("Exceeded maximum number of passes, please see docs.");
// ...or maybe do one additional pass where all errors are reported, including "not defined" and "value has changed". // ...or maybe do one additional pass where all errors are reported, including "not defined" and "value has changed".
//puts("Exceeded maximum number of passes, please check your sources.");
//break;
} }
} }

View File

@ -9,7 +9,7 @@
#define RELEASE "0.97" // update before release FIXME #define RELEASE "0.97" // update before release FIXME
#define CODENAME "Zem" // update before release #define CODENAME "Zem" // update before release
#define CHANGE_DATE "10 Aug" // update before release FIXME #define CHANGE_DATE "11 Aug" // update before release FIXME
#define CHANGE_YEAR "2024" // update before release #define CHANGE_YEAR "2024" // update before release
//#define HOME_PAGE "http://home.pages.de/~mac_bacon/smorbrod/acme/" //#define HOME_PAGE "http://home.pages.de/~mac_bacon/smorbrod/acme/"
#define HOME_PAGE "http://sourceforge.net/p/acme-crossass/" // FIXME #define HOME_PAGE "http://sourceforge.net/p/acme-crossass/" // FIXME