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:
parent
5cc3e809bb
commit
77e667c14d
@ -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:
|
||||
if (ResolveSym && (Expr = ResolveSym (Expr->V.Sym)) != 0) {
|
||||
printf (" SYM(");
|
||||
if (ResolveSym && (Expr = ResolveSym (Expr->V.Sym)) != 0) {
|
||||
InternalDumpExpr (Expr, ResolveSym);
|
||||
printf (") ");
|
||||
} else {
|
||||
printf ("SYM ");
|
||||
}
|
||||
printf (") ");
|
||||
break;
|
||||
|
||||
case EXPR_SECTION:
|
||||
|
Loading…
x
Reference in New Issue
Block a user