X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FSDCCast.h;h=3e5f763231dd49cd9c1f7c316b97c5e0a8f4b29c;hb=f990f58fc49fae4c5a24d18f1206cc37bdbf1ccc;hp=da7572583f0f4e2097d6cf6325a17056da3b602c;hpb=d3c8a80cbdfd4c0164f89465a4278ec9b426ac4d;p=fw%2Fsdcc diff --git a/src/SDCCast.h b/src/SDCCast.h index da757258..3e5f7632 100644 --- a/src/SDCCast.h +++ b/src/SDCCast.h @@ -43,7 +43,6 @@ typedef struct ast unsigned type:3; unsigned decorated:1; - unsigned hasVargs:1; unsigned isError:1; unsigned funcName:1; unsigned rvalue:1; @@ -66,6 +65,7 @@ typedef struct ast union { char *inlineasm; /* pointer to inline assembler code */ + literalList *constlist; /* init list for array initializer. */ symbol *sym; /* if block then -> symbols */ value *args; /* if function then args */ /* if switch then switch values */ @@ -100,8 +100,6 @@ typedef struct ast sym_link *ftype; /* start of type chain for this subtree */ sym_link *etype; /* end of type chain for this subtree */ - symbol *argSym; /* argument symbols */ - value *args; /* args of a function */ struct ast *left; /* pointer to left tree */ struct ast *right; /* pointer to right tree */ symbol *trueLabel; /* if statement trueLabel */ @@ -171,7 +169,7 @@ ast; /* forward declarations for global variables */ extern ast *staticAutos; extern FILE *codeOutFile; -extern memmap *GcurMemmap; +extern struct memmap *GcurMemmap; /* forward definitions for functions */ ast *newAst_VALUE (value * val);