X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FyaccParser%2Fatype.h;fp=ghc%2Fcompiler%2FyaccParser%2Fatype.h;h=0651a70aa7ee47d45bc19ac6679f15a2e44f801f;hb=ed7464364646a28aaf27d1dbc2ceaf7a9d9ce62f;hp=49ef6bb48348a517150ca9d6911ed19f35c177ea;hpb=10521d8418fd3a1cf32882718b5bd28992db36fd;p=ghc-hetmet.git diff --git a/ghc/compiler/yaccParser/atype.h b/ghc/compiler/yaccParser/atype.h index 49ef6bb..0651a70 100644 --- a/ghc/compiler/yaccParser/atype.h +++ b/ghc/compiler/yaccParser/atype.h @@ -18,6 +18,7 @@ typedef enum { typedef struct { Tatype tag; } *atype; #ifdef __GNUC__ +Tatype tatype(atype t); extern __inline__ Tatype tatype(atype t) { return(t -> tag); @@ -36,6 +37,8 @@ struct Satc { extern atype mkatc PROTO((unkId, list, long)); #ifdef __GNUC__ +unkId *Rgatcid PROTO((struct Satc *)); + extern __inline__ unkId *Rgatcid(struct Satc *t) { #ifdef UGEN_DEBUG @@ -51,6 +54,8 @@ extern unkId *Rgatcid PROTO((struct Satc *)); #define gatcid(xyzxyz) (*Rgatcid((struct Satc *) (xyzxyz))) #ifdef __GNUC__ +list *Rgatctypel PROTO((struct Satc *)); + extern __inline__ list *Rgatctypel(struct Satc *t) { #ifdef UGEN_DEBUG @@ -66,6 +71,8 @@ extern list *Rgatctypel PROTO((struct Satc *)); #define gatctypel(xyzxyz) (*Rgatctypel((struct Satc *) (xyzxyz))) #ifdef __GNUC__ +long *Rgatcline PROTO((struct Satc *)); + extern __inline__ long *Rgatcline(struct Satc *t) { #ifdef UGEN_DEBUG