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 ++++++------ po/ProjetArchi.pot | 3 ++- src/compilo.c | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) 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(); diff --git a/po/ProjetArchi.pot b/po/ProjetArchi.pot index 324a70d..1a3d23d 100644 --- a/po/ProjetArchi.pot +++ b/po/ProjetArchi.pot @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2001-04-16 03:54+0200\n" +"POT-Creation-Date: 2001-04-16 04:18+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -471,6 +471,7 @@ msgstr "" msgid "Signal received: segfault" msgstr "" +#. signal(SIGSEGV, segfaulthand); #: src/compilo.c:54 msgid "" "\n" diff --git a/src/compilo.c b/src/compilo.c index 278f339..883bd81 100644 --- a/src/compilo.c +++ b/src/compilo.c @@ -49,7 +49,7 @@ void segfaulthand(int i) { int main(void) { invite(); - signal(SIGSEGV, segfaulthand); +/* signal(SIGSEGV, segfaulthand); */ fprintf(stderr, _("\nPerforming initialisation...\n\n")); init_all(); -- cgit v1.2.3