From 2071eacb0e147f44232dc779c892751999176dbc Mon Sep 17 00:00:00 2001 From: ronny Date: Thu, 29 Apr 2004 13:16:49 +0000 Subject: bug fix: always print ';' in function descriptor names git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1495 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d --- backendC/CleanCompilerSources/checksupport.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'backendC/CleanCompilerSources') diff --git a/backendC/CleanCompilerSources/checksupport.c b/backendC/CleanCompilerSources/checksupport.c index b3e23f4..3b654f2 100644 --- a/backendC/CleanCompilerSources/checksupport.c +++ b/backendC/CleanCompilerSources/checksupport.c @@ -382,7 +382,7 @@ void PrintSymbolOfIdent (Ident sid, unsigned line_nr, File file) next_char = PrintName (name, next_char, line_nr, file); - if ((*next_char) == cTypeDelimiter && next_char[1] != '\0') + if ((*next_char) == cTypeDelimiter) { next_char++; if (isdigit (* next_char)) @@ -405,7 +405,8 @@ void PrintSymbolOfIdent (Ident sid, unsigned line_nr, File file) } next_char = end_name + 1; - } + } else + FPutC (cTypeDelimiter, file); FPutS (next_char, file); } -- cgit v1.2.3