From a83e2234aadeca49b942b996fb367149875b7aa3 Mon Sep 17 00:00:00 2001 From: borutr Date: Thu, 12 Jun 2003 20:08:54 +0000 Subject: [PATCH] C++ style comments // changed to C style /* */ git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2692 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- support/Util/SDCCerr.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/support/Util/SDCCerr.c b/support/Util/SDCCerr.c index 9fefee39..f28e1506 100644 --- a/support/Util/SDCCerr.c +++ b/support/Util/SDCCerr.c @@ -32,7 +32,7 @@ static struct { ERROR_LOG_LEVEL logLevel; FILE *out; - int style; // 1=MSVC + int style; /* 1=MSVC */ } _SDCCERRG; extern char *filename ; @@ -463,7 +463,7 @@ void vwerror (int errNum, va_list marker) fprintf(_SDCCERRG.out, "\n"); } else { - // Below the logging level, drop. + /* Below the logging level, drop. */ } } /* @@ -473,12 +473,12 @@ werror - Output a standard eror message with variable number of arguements ------------------------------------------------------------------------------- */ -void werror (int errNum, ... ) +void werror (int errNum, ...) { - va_list marker; + va_list marker; va_start(marker,errNum); vwerror(errNum, marker); - va_end( marker ); + va_end(marker); } @@ -488,12 +488,12 @@ fatal - Output a standard eror message with variable number of arguements and call exit() ------------------------------------------------------------------------------- */ -void fatal (int exitCode, int errNum, ... ) +void fatal (int exitCode, int errNum, ...) { - va_list marker; + va_list marker; va_start(marker,errNum); vwerror(errNum, marker); - va_end( marker ); + va_end(marker); exit(exitCode); } @@ -506,5 +506,5 @@ style - Change the output error style to MSVC void MSVC_style (int style) { - _SDCCERRG.style=style; + _SDCCERRG.style = style; } -- 2.47.2