23 typedef struct { Tentidt tag; } *entidt;
26 Tentidt tentidt(entidt t);
27 extern __inline__ Tentidt tentidt(entidt t)
31 #else /* ! __GNUC__ */
32 extern Tentidt tentidt PROTO((entidt));
33 #endif /* ! __GNUC__ */
67 extern entidt mkentid PROTO((stringId));
70 stringId *Rgentid PROTO((struct Sentid *));
72 extern __inline__ stringId *Rgentid(struct Sentid *t)
76 fprintf(stderr,"gentid: illegal selection; was %d\n", t -> tag);
77 #endif /* UGEN_DEBUG */
78 return(& t -> Xgentid);
80 #else /* ! __GNUC__ */
81 extern stringId *Rgentid PROTO((struct Sentid *));
82 #endif /* ! __GNUC__ */
84 #define gentid(xyzxyz) (*Rgentid((struct Sentid *) (xyzxyz)))
86 extern entidt mkenttype PROTO((stringId));
89 stringId *Rgitentid PROTO((struct Senttype *));
91 extern __inline__ stringId *Rgitentid(struct Senttype *t)
94 if(t -> tag != enttype)
95 fprintf(stderr,"gitentid: illegal selection; was %d\n", t -> tag);
96 #endif /* UGEN_DEBUG */
97 return(& t -> Xgitentid);
99 #else /* ! __GNUC__ */
100 extern stringId *Rgitentid PROTO((struct Senttype *));
101 #endif /* ! __GNUC__ */
103 #define gitentid(xyzxyz) (*Rgitentid((struct Senttype *) (xyzxyz)))
105 extern entidt mkenttypeall PROTO((stringId));
108 stringId *Rgatentid PROTO((struct Senttypeall *));
110 extern __inline__ stringId *Rgatentid(struct Senttypeall *t)
113 if(t -> tag != enttypeall)
114 fprintf(stderr,"gatentid: illegal selection; was %d\n", t -> tag);
115 #endif /* UGEN_DEBUG */
116 return(& t -> Xgatentid);
118 #else /* ! __GNUC__ */
119 extern stringId *Rgatentid PROTO((struct Senttypeall *));
120 #endif /* ! __GNUC__ */
122 #define gatentid(xyzxyz) (*Rgatentid((struct Senttypeall *) (xyzxyz)))
124 extern entidt mkenttypecons PROTO((stringId, list));
127 stringId *Rgctentid PROTO((struct Senttypecons *));
129 extern __inline__ stringId *Rgctentid(struct Senttypecons *t)
132 if(t -> tag != enttypecons)
133 fprintf(stderr,"gctentid: illegal selection; was %d\n", t -> tag);
134 #endif /* UGEN_DEBUG */
135 return(& t -> Xgctentid);
137 #else /* ! __GNUC__ */
138 extern stringId *Rgctentid PROTO((struct Senttypecons *));
139 #endif /* ! __GNUC__ */
141 #define gctentid(xyzxyz) (*Rgctentid((struct Senttypecons *) (xyzxyz)))
144 list *Rgctentcons PROTO((struct Senttypecons *));
146 extern __inline__ list *Rgctentcons(struct Senttypecons *t)
149 if(t -> tag != enttypecons)
150 fprintf(stderr,"gctentcons: illegal selection; was %d\n", t -> tag);
151 #endif /* UGEN_DEBUG */
152 return(& t -> Xgctentcons);
154 #else /* ! __GNUC__ */
155 extern list *Rgctentcons PROTO((struct Senttypecons *));
156 #endif /* ! __GNUC__ */
158 #define gctentcons(xyzxyz) (*Rgctentcons((struct Senttypecons *) (xyzxyz)))
160 extern entidt mkentclass PROTO((stringId, list));
163 stringId *Rgcentid PROTO((struct Sentclass *));
165 extern __inline__ stringId *Rgcentid(struct Sentclass *t)
168 if(t -> tag != entclass)
169 fprintf(stderr,"gcentid: illegal selection; was %d\n", t -> tag);
170 #endif /* UGEN_DEBUG */
171 return(& t -> Xgcentid);
173 #else /* ! __GNUC__ */
174 extern stringId *Rgcentid PROTO((struct Sentclass *));
175 #endif /* ! __GNUC__ */
177 #define gcentid(xyzxyz) (*Rgcentid((struct Sentclass *) (xyzxyz)))
180 list *Rgcentops PROTO((struct Sentclass *));
182 extern __inline__ list *Rgcentops(struct Sentclass *t)
185 if(t -> tag != entclass)
186 fprintf(stderr,"gcentops: illegal selection; was %d\n", t -> tag);
187 #endif /* UGEN_DEBUG */
188 return(& t -> Xgcentops);
190 #else /* ! __GNUC__ */
191 extern list *Rgcentops PROTO((struct Sentclass *));
192 #endif /* ! __GNUC__ */
194 #define gcentops(xyzxyz) (*Rgcentops((struct Sentclass *) (xyzxyz)))
196 extern entidt mkentmod PROTO((stringId));
199 stringId *Rgmentid PROTO((struct Sentmod *));
201 extern __inline__ stringId *Rgmentid(struct Sentmod *t)
204 if(t -> tag != entmod)
205 fprintf(stderr,"gmentid: illegal selection; was %d\n", t -> tag);
206 #endif /* UGEN_DEBUG */
207 return(& t -> Xgmentid);
209 #else /* ! __GNUC__ */
210 extern stringId *Rgmentid PROTO((struct Sentmod *));
211 #endif /* ! __GNUC__ */
213 #define gmentid(xyzxyz) (*Rgmentid((struct Sentmod *) (xyzxyz)))