diff options
author | Pixel <> | 2001-04-16 02:24:51 +0000 |
---|---|---|
committer | Pixel <> | 2001-04-16 02:24:51 +0000 |
commit | c4084cde0b64dfa49fdab5eb347e0eac696ec254 (patch) | |
tree | 8638ea7d3ff9b8db451bca3edf0bda38b59b1a0c | |
parent | 86106738c9bb543a1308a1e0f36755052aabf598 (diff) |
bug fixes
-rw-r--r-- | lib/assembler.c | 12 | ||||
-rw-r--r-- | po/ProjetArchi.pot | 3 | ||||
-rw-r--r-- | 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 <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\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(); |