X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FyaccParser%2Fentidt.h;h=d2c356c02621c4b70e7e4b0f029440282a104fb6;hb=b52838bcf54a3d5d07cf29f17f3af6f584fc0f4e;hp=e376a72f0dd9abc94972566e9cedd346fc9fe211;hpb=e7d21ee4f8ac907665a7e170c71d59e13a01da09;p=ghc-hetmet.git diff --git a/ghc/compiler/yaccParser/entidt.h b/ghc/compiler/yaccParser/entidt.h index e376a72..d2c356c 100644 --- a/ghc/compiler/yaccParser/entidt.h +++ b/ghc/compiler/yaccParser/entidt.h @@ -23,6 +23,7 @@ typedef enum { typedef struct { Tentidt tag; } *entidt; #ifdef __GNUC__ +Tentidt tentidt(entidt t); extern __inline__ Tentidt tentidt(entidt t) { return(t -> tag); @@ -66,6 +67,8 @@ struct Sentmod { extern entidt mkentid PROTO((stringId)); #ifdef __GNUC__ +stringId *Rgentid PROTO((struct Sentid *)); + extern __inline__ stringId *Rgentid(struct Sentid *t) { #ifdef UGEN_DEBUG @@ -83,6 +86,8 @@ extern stringId *Rgentid PROTO((struct Sentid *)); extern entidt mkenttype PROTO((stringId)); #ifdef __GNUC__ +stringId *Rgitentid PROTO((struct Senttype *)); + extern __inline__ stringId *Rgitentid(struct Senttype *t) { #ifdef UGEN_DEBUG @@ -100,6 +105,8 @@ extern stringId *Rgitentid PROTO((struct Senttype *)); extern entidt mkenttypeall PROTO((stringId)); #ifdef __GNUC__ +stringId *Rgatentid PROTO((struct Senttypeall *)); + extern __inline__ stringId *Rgatentid(struct Senttypeall *t) { #ifdef UGEN_DEBUG @@ -117,6 +124,8 @@ extern stringId *Rgatentid PROTO((struct Senttypeall *)); extern entidt mkenttypecons PROTO((stringId, list)); #ifdef __GNUC__ +stringId *Rgctentid PROTO((struct Senttypecons *)); + extern __inline__ stringId *Rgctentid(struct Senttypecons *t) { #ifdef UGEN_DEBUG @@ -132,6 +141,8 @@ extern stringId *Rgctentid PROTO((struct Senttypecons *)); #define gctentid(xyzxyz) (*Rgctentid((struct Senttypecons *) (xyzxyz))) #ifdef __GNUC__ +list *Rgctentcons PROTO((struct Senttypecons *)); + extern __inline__ list *Rgctentcons(struct Senttypecons *t) { #ifdef UGEN_DEBUG @@ -149,6 +160,8 @@ extern list *Rgctentcons PROTO((struct Senttypecons *)); extern entidt mkentclass PROTO((stringId, list)); #ifdef __GNUC__ +stringId *Rgcentid PROTO((struct Sentclass *)); + extern __inline__ stringId *Rgcentid(struct Sentclass *t) { #ifdef UGEN_DEBUG @@ -164,6 +177,8 @@ extern stringId *Rgcentid PROTO((struct Sentclass *)); #define gcentid(xyzxyz) (*Rgcentid((struct Sentclass *) (xyzxyz))) #ifdef __GNUC__ +list *Rgcentops PROTO((struct Sentclass *)); + extern __inline__ list *Rgcentops(struct Sentclass *t) { #ifdef UGEN_DEBUG @@ -181,6 +196,8 @@ extern list *Rgcentops PROTO((struct Sentclass *)); extern entidt mkentmod PROTO((stringId)); #ifdef __GNUC__ +stringId *Rgmentid PROTO((struct Sentmod *)); + extern __inline__ stringId *Rgmentid(struct Sentmod *t) { #ifdef UGEN_DEBUG