Skip to content

Commit 385959b

Browse files
committed
Fix terminology in comment and message
Should be "bracket" not "brace" for [].
1 parent 0787646 commit 385959b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/interfaces/ecpg/preproc/variable.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ find_struct_member(const char *name, char *str, struct ECPGstruct_member *member
6060
int count;
6161

6262
/*
63-
* We don't care about what's inside the array braces so
63+
* We don't care about what's inside the array brackets so
6464
* just eat up the character
6565
*/
6666
for (count = 1, end = next + 1; count; end++)
@@ -203,8 +203,8 @@ find_variable(const char *name)
203203
if (*next == '[')
204204
{
205205
/*
206-
* We don't care about what's inside the array braces so just eat
207-
* up the characters
206+
* We don't care about what's inside the array brackets so just
207+
* eat up the characters
208208
*/
209209
for (count = 1, end = next + 1; count; end++)
210210
{
@@ -217,7 +217,7 @@ find_variable(const char *name)
217217
count--;
218218
break;
219219
case '\0':
220-
mmfatal(PARSE_ERROR, "unmatched brace in variable \"%s\"", name);
220+
mmfatal(PARSE_ERROR, "unmatched bracket in variable \"%s\"", name);
221221
break;
222222
default:
223223
break;

0 commit comments

Comments
 (0)