From: cuz Date: Wed, 31 Dec 2003 09:55:18 +0000 (+0000) Subject: Better debug output X-Git-Tag: V2.12.0~956 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=77e667c14d3715f09771e78593c7ba59347e2b30;p=cc65 Better debug output git-svn-id: svn://svn.cc65.org/cc65/trunk@2863 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/common/exprdefs.c b/src/common/exprdefs.c index 78b686360..9c959f32e 100644 --- a/src/common/exprdefs.c +++ b/src/common/exprdefs.c @@ -59,17 +59,15 @@ static void InternalDumpExpr (const ExprNode* Expr, const ExprNode* (*ResolveSym case EXPR_LITERAL: case EXPR_ULABEL: - printf (" $%04lX", Expr->V.Val & 0xFFFF); + printf (" $%04lX", Expr->V.Val); break; case EXPR_SYMBOL: + printf (" SYM("); if (ResolveSym && (Expr = ResolveSym (Expr->V.Sym)) != 0) { - printf (" SYM ("); InternalDumpExpr (Expr, ResolveSym); - printf (") "); - } else { - printf ("SYM "); } + printf (") "); break; case EXPR_SECTION: