/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1982-2010 AT&T Intellectual Property *
* and is licensed under the *
* Common Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* David Korn <dgk@research.att.com> *
* *
***********************************************************************/
#pragma prototyped
/*
* break [n]
* continue [n]
* return [n]
* exit [n]
*
* David Korn
* AT&T Labs
* dgk@research.att.com
*
*/
#include "defs.h"
#include <ast.h>
#include <error.h>
#include "shnodes.h"
#include "builtins.h"
/*
* return and exit
*/
#if 0
/* for the dictionary generator */
#endif
{
register char *arg;
{
case ':':
goto done;
case '?':
return(2);
}
done:
if(error_info.errors)
/* return outside of function, dotscript and profile is exit */
return(1);
}
/*
* break and continue
*/
#if 0
/* for the dictionary generator */
#endif
{
char *arg;
{
case ':':
break;
case '?':
return(2);
}
if(error_info.errors)
n=1;
{
if(n<=0 || *arg)
}
{
if(cont)
}
return(0);
}