From 01e7d333890a89b0fcf4a17e30ce8347ce1b5209 Mon Sep 17 00:00:00 2001 From: borutr Date: Thu, 19 Jun 2003 20:54:22 +0000 Subject: [PATCH] code cleaning, // comments replaced with /* */ git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2709 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/SDCC.lex | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/SDCC.lex b/src/SDCC.lex index d7c7e570..93593591 100644 --- a/src/SDCC.lex +++ b/src/SDCC.lex @@ -79,8 +79,6 @@ char *asmp ; static int check_type(void); static int isTargetKeyword(char *s); static int checkCurrFile (char *s); -//extern int processPragma (char *); -//extern int printListing (int ); struct optimize save_optimize; struct options save_options; %} @@ -102,7 +100,7 @@ struct options save_options; } . { if (asmp-asmbuff >= asmbuffSize-2) { - // increase the buffersize with 50% + /* increase the buffersize with 50% */ int size=asmp-asmbuff; asmbuffSize=asmbuffSize*3/2; asmbuff = realloc (asmbuff, asmbuffSize); @@ -113,7 +111,7 @@ struct options save_options; \n { count(); if (asmp-asmbuff >= asmbuffSize-3) { - // increase the buffersize with 50% + /* increase the buffersize with 50% */ int size=asmp-asmbuff; asmbuffSize=asmbuffSize*3/2; asmbuff = realloc (asmbuff, asmbuffSize); @@ -243,7 +241,7 @@ struct options save_options; \\ { char ch=input(); if (ch!='\n') { - // that could have been removed by the preprocessor anyway + /* that could have been removed by the preprocessor anyway */ werror (W_STRAY_BACKSLASH, column); my_unput(ch); } -- 2.47.2