Mercurial > hg > CbC > old > device
diff test/arg.c @ 725:3f1f6c0610c1
goto with enviornment syntax changed.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 20 Aug 2009 16:39:02 +0900 |
parents | 6b7372e17970 |
children | c2c709727221 |
line wrap: on
line diff
--- a/test/arg.c Sat Nov 08 15:11:06 2008 +0900 +++ b/test/arg.c Thu Aug 20 16:39:02 2009 +0900 @@ -1,5 +1,9 @@ #include "stdio.h" +#define __environment _CbC_environment +#define __return _CbC_return + + struct arg { int a0;int a1;int a2;int a3;int a4; }; @@ -33,7 +37,7 @@ args0.a0,args0.a1,args0.a2,args0.a3,args0.a4, exit1==exit___code,env==exit_env); // goto exit1(321),env; - goto (*exit1)(0),env; + goto (*exit1)(0,env); }