diff --git a/src/compiler/fb.bas b/src/compiler/fb.bas index 4d1ae6d3c..d3ff1c6d5 100644 --- a/src/compiler/fb.bas +++ b/src/compiler/fb.bas @@ -1325,11 +1325,14 @@ sub fbCompile _ fbParsePreDefines() fbParsePreIncludes() + if (fbShouldContinue()) then cProgram() end if - fbMainEnd( ) + if (fbShouldContinue()) then + fbMainEnd( ) + end if '' compiling only, not cross-compiling? if( fbGetOption( FB_COMPOPT_OBJINFO ) and _