i'm currently writing a precompiler. If it found an error in a sourcecode and it ended with an exitcode <> 0, it would be useful if the IDE doesn't compile the sourcecode. e.g:
My Precompiler:
Code: Select all
;...
Procedure CheckCode(file.s)
;...
If (error)
MessageRequester("MyPrecompiler", "Syntax error")
End 1 ; says the IDE, it shouldn't compile
EndIf
EndProcedure
;...