From 385959bdeafb2e4c4b02adb55b78bde6eac616f7 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 25 Apr 2025 16:26:28 +0200 Subject: Fix terminology in comment and message Should be "bracket" not "brace" for []. --- src/interfaces/ecpg/preproc/variable.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/interfaces') diff --git a/src/interfaces/ecpg/preproc/variable.c b/src/interfaces/ecpg/preproc/variable.c index f2e6218d761..2c67e33e92e 100644 --- a/src/interfaces/ecpg/preproc/variable.c +++ b/src/interfaces/ecpg/preproc/variable.c @@ -60,7 +60,7 @@ find_struct_member(const char *name, char *str, struct ECPGstruct_member *member int count; /* - * We don't care about what's inside the array braces so + * We don't care about what's inside the array brackets so * just eat up the character */ for (count = 1, end = next + 1; count; end++) @@ -203,8 +203,8 @@ find_variable(const char *name) if (*next == '[') { /* - * We don't care about what's inside the array braces so just eat - * up the characters + * We don't care about what's inside the array brackets so just + * eat up the characters */ for (count = 1, end = next + 1; count; end++) { @@ -217,7 +217,7 @@ find_variable(const char *name) count--; break; case '\0': - mmfatal(PARSE_ERROR, "unmatched brace in variable \"%s\"", name); + mmfatal(PARSE_ERROR, "unmatched bracket in variable \"%s\"", name); break; default: break; -- cgit v1.2.3