Mercurial > hg > CbC > old > device
diff test/fact.c @ 172:096559f07a70
some check
author | kono |
---|---|
date | Tue, 25 Nov 2003 11:47:41 +0900 |
parents | e2c2c0fe0785 |
children | 0c256ea2a97e |
line wrap: on
line diff
--- a/test/fact.c Mon Nov 24 20:28:19 2003 +0900 +++ b/test/fact.c Tue Nov 25 11:47:41 2003 +0900 @@ -6,7 +6,8 @@ char *av[]; { int n; - n = atoi(av[1]); + // n = atoi(av[1]); + n = 10; goto factorial(n,1,n,print,return,environment); } @@ -16,7 +17,7 @@ void *exit1env; { printf("%d! = %d\n",n, result); - goto (*exit1)(1),exit1env; + goto (*exit1)(0),exit1env; } code factorial(n,result,orig,print,exit1,exit1env)