X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FSDCCsymt.h;h=da96ada5c5d6ed6b1ed15fb56a846e6f920c3847;hb=58deec918b073f3c97ef83aa63e6893b25947f8d;hp=be2c19b9de189b7991c327d058b3add1c7f3a372;hpb=5cf0eb5778feb28c1f94a996c444ade546d3f44a;p=fw%2Fsdcc diff --git a/src/SDCCsymt.h b/src/SDCCsymt.h index be2c19b9..da96ada5 100644 --- a/src/SDCCsymt.h +++ b/src/SDCCsymt.h @@ -132,7 +132,7 @@ typedef struct specifier unsigned _stack; /* stack offset for stacked v */ unsigned _bitStart; /* bit start position */ int _bitLength; /* bit length */ - + int argreg; /* reg no for regparm */ union { /* Values if constant or enum */ short int v_int; /* int and char values */ @@ -264,7 +264,9 @@ typedef struct symbol ACCUSE_A and ACCUSE_HL as the idea is quite similar. */ - + unsigned dptr; /* 8051 variants with multiple DPTRS + currently implemented in DS390 only + */ int allocreq ; /* allocation is required for this variable */ int stack; /* offset on stack */ int xstack; /* offset on xternal stack */ @@ -380,6 +382,7 @@ symbol; #define SPEC_STRUCT(x) x->select.s.v_struct #define SPEC_TYPEDEF(x) x->select.s._typedef #define SPEC_REGPARM(x) x->select.s._isregparm +#define SPEC_ARGREG(x) x->select.s.argreg /* type check macros */ #define IS_DECL(x) ( x && x->class == DECLARATOR )