1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-10 19:29:45 +00:00

Better debug output

git-svn-id: svn://svn.cc65.org/cc65/trunk@2863 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-12-31 09:55:18 +00:00
parent 5cc3e809bb
commit 77e667c14d

View File

@ -59,17 +59,15 @@ static void InternalDumpExpr (const ExprNode* Expr, const ExprNode* (*ResolveSym
case EXPR_LITERAL: case EXPR_LITERAL:
case EXPR_ULABEL: case EXPR_ULABEL:
printf (" $%04lX", Expr->V.Val & 0xFFFF); printf (" $%04lX", Expr->V.Val);
break; break;
case EXPR_SYMBOL: case EXPR_SYMBOL:
printf (" SYM(");
if (ResolveSym && (Expr = ResolveSym (Expr->V.Sym)) != 0) { if (ResolveSym && (Expr = ResolveSym (Expr->V.Sym)) != 0) {
printf (" SYM (");
InternalDumpExpr (Expr, ResolveSym); InternalDumpExpr (Expr, ResolveSym);
printf (") ");
} else {
printf ("SYM ");
} }
printf (") ");
break; break;
case EXPR_SECTION: case EXPR_SECTION: