Add .assert actions that aren't evaluated at assembly time.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4321 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2009-10-04 12:40:19 +00:00
parent a3529cd048
commit 1efebb9024
10 changed files with 170 additions and 51 deletions

View File

@@ -6,10 +6,10 @@
/* */
/* */
/* */
/* (C) 2003 Ullrich von Bassewitz */
/* R<EFBFBD>merstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* (C) 2003-2009, Ullrich von Bassewitz */
/* Roemerstrasse 52 */
/* D-70794 Filderstadt */
/* EMail: uz@cc65.org */
/* */
/* */
/* This software is provided 'as-is', without any expressed or implied */
@@ -51,15 +51,11 @@
/* Assertion object */
/* Assertion object forward decl */
typedef struct Assertion Assertion;
struct Assertion {
FilePos Pos; /* File position of assertion */
struct ExprNode* Expr; /* Expression to evaluate */
unsigned Action; /* What to do */
unsigned Msg; /* Message to print */
struct ObjData* Obj; /* Object file containing the assertion */
};
/* ObjData forward decl */
struct ObjData;