diff test/basic-code.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 76761a18703b
children c2c709727221
line wrap: on
line diff
--- a/test/basic-code.c	Sat Nov 08 15:11:06 2008 +0900
+++ b/test/basic-code.c	Thu Aug 20 16:39:02 2009 +0900
@@ -1,3 +1,6 @@
+#define __environment _CbC_environment
+#define __return _CbC_return
+
 int printf(const char *format, ...);
 
 __code 
@@ -62,7 +65,7 @@
 __code
 exit0()
 {
-    goto (*ret)(0),env;
+    goto (*ret)(0,env);
 }