Convert C++ comments to ANSI C style

This commit is contained in:
Roland Marchand
2025-09-25 21:22:51 -04:00
parent 0d7ea70b55
commit 864b4ea554

View File

@ -2037,7 +2037,7 @@ static enum UnityLengthModifier UnityLengthModifierGet(const char *pch, int *len
} }
case 'h': case 'h':
{ {
// short and char are converted to int /* short and char are converted to int */
length_mod = UNITY_LENGTH_MODIFIER_NONE; length_mod = UNITY_LENGTH_MODIFIER_NONE;
if (pch[1] == 'h') if (pch[1] == 'h')
{ {
@ -2054,7 +2054,7 @@ static enum UnityLengthModifier UnityLengthModifierGet(const char *pch, int *len
case 't': case 't':
case 'L': 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_mod = UNITY_LENGTH_MODIFIER_NONE;
*length = 1; *length = 1;
break; 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) if (UnityStrictMatch)
{ {
return 0; return 0;