version 1.34, 2011/06/16 08:17:15 |
version 1.36, 2014/08/09 06:08:11 |
|
|
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* |
* |
* $OpenXM: OpenXM_contrib2/asir2000/parse/parse.y,v 1.33 2008/09/01 06:20:33 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/parse/parse.y,v 1.35 2012/12/17 07:20:45 noro Exp $ |
*/ |
*/ |
%{ |
%{ |
#define malloc(x) GC_malloc(x) |
#define malloc(x) Risa_GC_malloc(x) |
#define realloc(x,y) GC_realloc(x,y) |
#define realloc(x,y) Risa_GC_realloc(x,y) |
#define free(x) GC_free(x) |
#define free(x) Risa_GC_free(x) |
|
|
#if defined(TOWNS) |
#if defined(TOWNS) |
#include <alloca.h> |
#include <alloca.h> |
|
|
if ( f ) |
if ( f ) |
$$ = mkfnode(2,I_FUNC,f,mkfnode(1,I_LIST,NULLP)); |
$$ = mkfnode(2,I_FUNC,f,mkfnode(1,I_LIST,NULLP)); |
else { |
else { |
gen_searchf_searchonly($1,(FUNC *)&f); |
gen_searchf_searchonly($1,(FUNC *)&f,1); |
if ( f ) |
if ( f ) |
makesrvar(f,(P *)&val); |
makesrvar(f,(P *)&val); |
else |
else |