Skip to content

Commit 36e9b19

Browse files
authored
Merge pull request #806 from RolandMarchand/ansi-c-comments
Convert C++ comments to ANSI C style
2 parents 0d7ea70 + 864b4ea commit 36e9b19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/unity.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2037,7 +2037,7 @@ static enum UnityLengthModifier UnityLengthModifierGet(const char *pch, int *len
20372037
}
20382038
case 'h':
20392039
{
2040-
// short and char are converted to int
2040+
/* short and char are converted to int */
20412041
length_mod = UNITY_LENGTH_MODIFIER_NONE;
20422042
if (pch[1] == 'h')
20432043
{
@@ -2054,7 +2054,7 @@ static enum UnityLengthModifier UnityLengthModifierGet(const char *pch, int *len
20542054
case 't':
20552055
case 'L':
20562056
{
2057-
// Not supported, but should gobble up the length specifier anyway
2057+
/* Not supported, but should gobble up the length specifier anyway */
20582058
length_mod = UNITY_LENGTH_MODIFIER_NONE;
20592059
*length = 1;
20602060
break;
@@ -2515,7 +2515,7 @@ static int IsStringInBiggerString(const char* longstring, const char* shortstrin
25152515
}
25162516
}
25172517

2518-
// If we didn't match and we're on strict matching, we already know we failed
2518+
/* If we didn't match and we're on strict matching, we already know we failed */
25192519
if (UnityStrictMatch)
25202520
{
25212521
return 0;

0 commit comments

Comments
 (0)