From c4084cde0b64dfa49fdab5eb347e0eac696ec254 Mon Sep 17 00:00:00 2001 From: Pixel <> Date: Mon, 16 Apr 2001 02:24:51 +0000 Subject: bug fixes --- lib/assembler.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/assembler.c') diff --git a/lib/assembler.c b/lib/assembler.c index 646d48f..71f1b6c 100644 --- a/lib/assembler.c +++ b/lib/assembler.c @@ -1900,8 +1900,8 @@ void asm_eof(FILE * f) nbsymbols++; writeword(0, f2, 1); writeword(ttext->offset, f2, 1); - writeword(strlen(ttext->Expr->symbol), f2, 1); - writestring(ttext->Expr->symbol, f2); + writeword(strlen(ttext->Label), f2, 1); + writestring(ttext->Label, f2); } } popcontext(); @@ -1974,8 +1974,8 @@ void asm_eof(FILE * f) nbsymbols++; writeword(0, f2, 1); writeword(tdata->offset + s_text, f2, 1); - writeword(strlen(tdata->Expr->symbol), f2, 1); - writestring(tdata->Expr->symbol, f2); + writeword(strlen(tdata->Label), f2, 1); + writestring(tdata->Label, f2); } } popcontext(); @@ -1995,8 +1995,8 @@ void asm_eof(FILE * f) nbsymbols++; writeword(0, f2, 1); writeword(tbss->offset + s_text + s_data, f2, 1); - writeword(strlen(tbss->Expr->symbol), f2, 1); - writestring(tbss->Expr->symbol, f2); + writeword(strlen(tbss->Label), f2, 1); + writestring(tbss->Label, f2); } } popcontext(); -- cgit v1.2.3