From 864b4ea554d75e63d1b96e1d8bf0c92ac35fa122 Mon Sep 17 00:00:00 2001 From: Roland Marchand Date: Thu, 25 Sep 2025 21:22:51 -0400 Subject: [PATCH] Convert C++ comments to ANSI C style --- src/unity.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/unity.c b/src/unity.c index 3ea455d..9e8b3a1 100644 --- a/src/unity.c +++ b/src/unity.c @@ -2037,7 +2037,7 @@ static enum UnityLengthModifier UnityLengthModifierGet(const char *pch, int *len } case 'h': { - // short and char are converted to int + /* short and char are converted to int */ length_mod = UNITY_LENGTH_MODIFIER_NONE; if (pch[1] == 'h') { @@ -2054,7 +2054,7 @@ static enum UnityLengthModifier UnityLengthModifierGet(const char *pch, int *len case 't': case 'L': { - // Not supported, but should gobble up the length specifier anyway + /* Not supported, but should gobble up the length specifier anyway */ length_mod = UNITY_LENGTH_MODIFIER_NONE; *length = 1; break; @@ -2515,7 +2515,7 @@ static int IsStringInBiggerString(const char* longstring, const char* shortstrin } } - // If we didn't match and we're on strict matching, we already know we failed + /* If we didn't match and we're on strict matching, we already know we failed */ if (UnityStrictMatch) { return 0;