New DumpExpr signature
git-svn-id: svn://svn.cc65.org/cc65/trunk@2640 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -86,9 +86,6 @@ ExprNode* SegmentExpr (Segment* Seg, long Offs, ObjData* O);
|
|||||||
ExprNode* SectionExpr (Section* Sec, long Offs, ObjData* O);
|
ExprNode* SectionExpr (Section* Sec, long Offs, ObjData* O);
|
||||||
/* Return an expression tree that encodes an offset into a section */
|
/* Return an expression tree that encodes an offset into a section */
|
||||||
|
|
||||||
void DumpExpr (const ExprNode* Expr);
|
|
||||||
/* Dump an expression tree to stdout */
|
|
||||||
|
|
||||||
ExprNode* ReadExpr (FILE* F, ObjData* O);
|
ExprNode* ReadExpr (FILE* F, ObjData* O);
|
||||||
/* Read an expression from the given file */
|
/* Read an expression from the given file */
|
||||||
|
|
||||||
|
|||||||
@@ -385,13 +385,13 @@ void SegDump (void)
|
|||||||
case FRAG_EXPR:
|
case FRAG_EXPR:
|
||||||
printf (" Expression (%u bytes):\n", F->Size);
|
printf (" Expression (%u bytes):\n", F->Size);
|
||||||
printf (" ");
|
printf (" ");
|
||||||
DumpExpr (F->Expr);
|
DumpExpr (F->Expr, 0);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case FRAG_SEXPR:
|
case FRAG_SEXPR:
|
||||||
printf (" Signed expression (%u bytes):\n", F->Size);
|
printf (" Signed expression (%u bytes):\n", F->Size);
|
||||||
printf (" ");
|
printf (" ");
|
||||||
DumpExpr (F->Expr);
|
DumpExpr (F->Expr, 0);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case FRAG_FILL:
|
case FRAG_FILL:
|
||||||
|
|||||||
Reference in New Issue
Block a user