1 #ifndef pbinding_defined
2 #define pbinding_defined
18 typedef struct { Tpbinding tag; } *pbinding;
21 extern __inline__ Tpbinding tpbinding(pbinding t)
25 #else /* ! __GNUC__ */
26 extern Tpbinding tpbinding PROTO((pbinding));
27 #endif /* ! __GNUC__ */
38 extern pbinding mkpgrhs PROTO((tree, list, binding, stringId, long));
41 extern __inline__ tree *Rggpat(struct Spgrhs *t)
45 fprintf(stderr,"ggpat: illegal selection; was %d\n", t -> tag);
46 #endif /* UGEN_DEBUG */
47 return(& t -> Xggpat);
49 #else /* ! __GNUC__ */
50 extern tree *Rggpat PROTO((struct Spgrhs *));
51 #endif /* ! __GNUC__ */
53 #define ggpat(xyzxyz) (*Rggpat((struct Spgrhs *) (xyzxyz)))
56 extern __inline__ list *Rggdexprs(struct Spgrhs *t)
60 fprintf(stderr,"ggdexprs: illegal selection; was %d\n", t -> tag);
61 #endif /* UGEN_DEBUG */
62 return(& t -> Xggdexprs);
64 #else /* ! __GNUC__ */
65 extern list *Rggdexprs PROTO((struct Spgrhs *));
66 #endif /* ! __GNUC__ */
68 #define ggdexprs(xyzxyz) (*Rggdexprs((struct Spgrhs *) (xyzxyz)))
71 extern __inline__ binding *Rggbind(struct Spgrhs *t)
75 fprintf(stderr,"ggbind: illegal selection; was %d\n", t -> tag);
76 #endif /* UGEN_DEBUG */
77 return(& t -> Xggbind);
79 #else /* ! __GNUC__ */
80 extern binding *Rggbind PROTO((struct Spgrhs *));
81 #endif /* ! __GNUC__ */
83 #define ggbind(xyzxyz) (*Rggbind((struct Spgrhs *) (xyzxyz)))
86 extern __inline__ stringId *Rggfuncname(struct Spgrhs *t)
90 fprintf(stderr,"ggfuncname: illegal selection; was %d\n", t -> tag);
91 #endif /* UGEN_DEBUG */
92 return(& t -> Xggfuncname);
94 #else /* ! __GNUC__ */
95 extern stringId *Rggfuncname PROTO((struct Spgrhs *));
96 #endif /* ! __GNUC__ */
98 #define ggfuncname(xyzxyz) (*Rggfuncname((struct Spgrhs *) (xyzxyz)))
101 extern __inline__ long *Rggline(struct Spgrhs *t)
104 if(t -> tag != pgrhs)
105 fprintf(stderr,"ggline: illegal selection; was %d\n", t -> tag);
106 #endif /* UGEN_DEBUG */
107 return(& t -> Xggline);
109 #else /* ! __GNUC__ */
110 extern long *Rggline PROTO((struct Spgrhs *));
111 #endif /* ! __GNUC__ */
113 #define ggline(xyzxyz) (*Rggline((struct Spgrhs *) (xyzxyz)))