520
|
1 #include <stdio.h>
|
|
2
|
524
|
3 #undef WRONGNUMBER
|
|
4
|
521
|
5 typedef code
|
|
6 (*CCC)( int f1,int f2,int f3,int f4,int f5,int f6,int f7,int f8,int f9,int fa,int fb,int fc,int fd,int fe,int ff,
|
|
7 code(*ret)(int),
|
|
8 void *env);
|
|
9
|
520
|
10 code
|
|
11 tcode2( int f1,int f2,int f3,int f4,int f5,int f6,int f7,int f8,int f9,int fa,int fb,int fc,int fd,int fe,int ff,
|
|
12 code(*ret)(int),
|
|
13 void *env)
|
|
14 {
|
545
|
15 fprintf(stdout,"tcode2: f1=%d,f2=%d,f3=%d,f4=%d,f5=%d,f6=%d,f7=%d,f8=%d,f9=%d,fa=%d,fb=%d,fc=%d,fd=%d,fe=%d,ff=%d\n",
|
520
|
16 f1,f2,f3,f4,f5,f6,f7,f8,f9,fa,fb,fc,fd,fe,ff);
|
|
17 goto ret(0),env;
|
|
18 }
|
|
19
|
519
|
20 code
|
|
21 tcode1(f1,f2,f3,f4,f5,f6,f7,f8,f9,fa,fb,fc,fd,fe,ff,ret,env)
|
|
22 int f1,f2,f3,f4,f5,f6,f7,f8,f9,fa,fb,fc,fd,fe,ff;
|
|
23 code(*ret)(int);
|
|
24 void *env;
|
|
25 {
|
545
|
26 fprintf(stdout,"tcode1: f1=%d,f2=%d,f3=%d,f4=%d,f5=%d,f6=%d,f7=%d,f8=%d,f9=%d,fa=%d,fb=%d,fc=%d,fd=%d,fe=%d,ff=%d\n",
|
520
|
27 f1,f2,f3,f4,f5,f6,f7,f8,f9,fa,fb,fc,fd,fe,ff);
|
519
|
28 goto ret(0),env;
|
|
29 }
|
|
30
|
|
31 code
|
521
|
32 tcode4(int x,int y,CCC junction,code(*ret)(int),void *env)
|
519
|
33 {
|
524
|
34 #ifdef WRONGNUMBER
|
523
|
35 goto junction(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,ret,env);
|
524
|
36 #else
|
|
37 goto junction(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,ret,env);
|
|
38 #endif
|
521
|
39 }
|
|
40
|
|
41 code
|
|
42 tcode0(int x,int y,code(*junction)(int,int,int,int,int,int,int,int,int,int,int,int,int,int,int,code(*)(int),void *),code(*ret)(int),void *env)
|
|
43 {
|
524
|
44 #ifdef WRONGNUMBER
|
523
|
45 goto junction(0,1,2,3,4,5,6,7,8,9,10,11,12,13,ret,env);
|
524
|
46 #else
|
|
47 goto junction(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,ret,env);
|
|
48 #endif
|
519
|
49 }
|
|
50
|
|
51 int
|
520
|
52 main0()
|
|
53 {
|
524
|
54 #ifdef WRONGNUMBER
|
|
55 goto tcode2(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,
|
|
56 return,environment);
|
|
57 #else
|
521
|
58 goto tcode2(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,
|
520
|
59 return,environment);
|
524
|
60 #endif
|
520
|
61 }
|
|
62
|
|
63 int
|
|
64 main1()
|
|
65 {
|
524
|
66 #ifdef WRONGNUMBER
|
|
67 goto tcode1(0,1,2,3,4,5,6,7,8,9,10,11,12,13,
|
|
68 return,environment);
|
|
69 #else
|
521
|
70 goto tcode1(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,
|
520
|
71 return,environment);
|
524
|
72 #endif
|
520
|
73 }
|
|
74
|
|
75 int
|
|
76 main2()
|
519
|
77 {
|
|
78 goto tcode0(0,1,tcode1,return,environment);
|
|
79 }
|
520
|
80
|
|
81 int
|
521
|
82 main4()
|
|
83 {
|
|
84 goto tcode4(0,1,tcode2,return,environment);
|
|
85 }
|
|
86
|
|
87 int
|
520
|
88 main()
|
|
89 {
|
542
|
90 printf("#0089:main4\n");
|
521
|
91 main4();
|
542
|
92 printf("#0091:main2\n");
|
521
|
93 main2();
|
542
|
94 printf("#0093:main0\n");
|
520
|
95 main0();
|
542
|
96 printf("#0095:main1\n");
|
520
|
97 main1();
|
|
98 }
|
524
|
99
|
|
100 //
|