From 758f4da316eb38b9c80ba34c27f86c04ebf7ad53 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 15 Jan 2004 13:32:12 +0100 Subject: [PATCH] - no C++ comments in .c files, please... --- mysys/default.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mysys/default.c b/mysys/default.c index d9099a9e505..81e1fd06374 100644 --- a/mysys/default.c +++ b/mysys/default.c @@ -461,7 +461,8 @@ static char *remove_end_comment(char *ptr) else if (quote == *ptr) quote= 0; } - if (!quote && (*ptr == '#' || *ptr == ';')) // We are not inside a comment + /* We are not inside a comment */ + if (!quote && (*ptr == '#' || *ptr == ';')) { *ptr= 0; return ptr;