It is currently Fri May 24, 2013 12:54 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: IDE + Tools + StopCompile
PostPosted: Wed May 02, 2012 10:49 am 
Offline
User
User

Joined: Thu Sep 09, 2010 2:47 pm
Posts: 11
Hi,
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:
;...
Procedure CheckCode(file.s)
  ;...
  If (error)
    MessageRequester("MyPrecompiler", "Syntax error")
    End 1 ; says the IDE, it shouldn't compile
  EndIf
EndProcedure
;...

lg Kevin

_________________
Image Image Image


Top
 Profile  
 
 Post subject: Re: IDE + Tools + StopCompile
PostPosted: Wed May 02, 2012 2:56 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Apr 26, 2003 8:26 am
Posts: 1290
CSHW89 wrote:
Hi,
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:

This has been requested before, can't find the topic now.

Yes, it would be useful. For now, you can output the following file to the compiler (instead the real preprocessed file):
Code:
CompilerError("your own error message")


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye