git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2635
4a8a32a2-be11-0410-ad9d-
d568d2c75423
unsigned int addr ;
context *ctxt;
int rv;
unsigned int addr ;
context *ctxt;
int rv;
top:
if ( userinterrupt )
{
top:
if ( userinterrupt )
{
static FILE *actualcmdfile=NULL ;
static char *actualcmds=NULL;
static FILE *actualcmdfile=NULL ;
static char *actualcmds=NULL;
/*-----------------------------------------------------------------*/
/* getNextCmdLine get additional lines used by special commands */
/*-----------------------------------------------------------------*/
/*-----------------------------------------------------------------*/
/* getNextCmdLine get additional lines used by special commands */
/*-----------------------------------------------------------------*/
+void stopCommandList()
+{
+ stopcmdlist = 1;
+}
+
/*-----------------------------------------------------------------*/
/* commandLoop - the main command loop or loop over command file */
/*-----------------------------------------------------------------*/
/*-----------------------------------------------------------------*/
/* commandLoop - the main command loop or loop over command file */
/*-----------------------------------------------------------------*/
{
strcpy(cmdbuff,actualcmds);
actualcmds = NULL;
{
strcpy(cmdbuff,actualcmds);
actualcmds = NULL;
for ( line = cmdbuff; *line ; line = s )
{
if ( (s=strchr(line ,'\n')))
for ( line = cmdbuff; *line ; line = s )
{
if ( (s=strchr(line ,'\n')))
+ if ( stopcmdlist )
+ break;
char *searchDirsFname (char *);
char *getNextCmdLine(void );
void setCmdLine( char * );
char *searchDirsFname (char *);
char *getNextCmdLine(void );
void setCmdLine( char * );
+void stopCommandList( void );