X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fld65%2Fexpr.h;h=a810d0228f55204a3d8b660c6ffd83c493889ad3;hb=3e887bd9dd06b89177bff864b50fc58c8dadc8bf;hp=6305e9ee449187d2a173728e29ea7cfdc5db36fd;hpb=53dd513176425872128ef26031d00952ef7a0628;p=cc65 diff --git a/src/ld65/expr.h b/src/ld65/expr.h index 6305e9ee4..a810d0228 100644 --- a/src/ld65/expr.h +++ b/src/ld65/expr.h @@ -38,8 +38,10 @@ -#include "../common/exprdefs.h" +/* common */ +#include "exprdefs.h" +/* ld65 */ #include "objdata.h" #include "exports.h" #include "config.h" @@ -78,6 +80,9 @@ ExprNode* LiteralExpr (long Val, ObjData* O); ExprNode* MemExpr (Memory* Mem, long Offs, ObjData* O); /* Return an expression tree that encodes an offset into the memory area */ +ExprNode* SegExpr (Section* Sec, long Offs, ObjData* O); +/* Return an expression tree that encodes an offset into a segment */ + void DumpExpr (const ExprNode* Expr); /* Dump an expression tree to stdout */