X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FSDCCast.h;h=d46ad5f18c9076023ae5d1c96c556625bc9f39ad;hb=67613b6eceb41c8a242c2556a0f59311adb0b388;hp=2054e1df6413db89ceda06e36b71bf0a37f30c38;hpb=390778daf6c7d78a63950d9429a9a70be5f90675;p=fw%2Fsdcc diff --git a/src/SDCCast.h b/src/SDCCast.h index 2054e1df..d46ad5f1 100644 --- a/src/SDCCast.h +++ b/src/SDCCast.h @@ -51,6 +51,7 @@ typedef struct ast unsigned initMode:1; int level; /* level for expr */ int block; /* block number */ + int seqPoint; /* sequence point */ /* union of values expression can have */ union { @@ -191,11 +192,11 @@ ast *createFunction (symbol *, ast *); ast *createBlock (symbol *, ast *); ast *createLabel (symbol *, ast *); ast *createCase (ast *, ast *, ast *); -ast *createDefault (ast *, ast *); +ast *createDefault (ast *, ast *, ast *); ast *forLoopOptForm (ast *); ast *argAst (ast *); ast *resolveSymbols (ast *); -ast *decorateType (ast *); +ast *decorateType (ast *, RESULT_TYPE); ast *createWhile (symbol *, symbol *, symbol *, ast *, ast *); ast *createIf (ast *, ast *, ast *); ast *createDo (symbol *, symbol *, symbol *, ast *, ast *); @@ -211,6 +212,8 @@ bool hasSEFcalls (ast *); void addSymToBlock (symbol *, ast *); void freeStringSymbol(symbol *); DEFSETFUNC(resetParmKey); +int astErrors(ast *); +RESULT_TYPE getResultTypeFromType (sym_link *); // exported variables extern set *operKeyReset;