aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2025-04-25 16:26:28 +0200
committerPeter Eisentraut <peter@eisentraut.org>2025-04-25 16:26:28 +0200
commit385959bdeafb2e4c4b02adb55b78bde6eac616f7 (patch)
tree623a062d2db323d9821e26fe97aab0c69fe8237a /src/interfaces
parent0787646e1dce966395f211fb9475dcab32daae70 (diff)
downloadpostgresql-385959bdeafb2e4c4b02adb55b78bde6eac616f7.tar.gz
postgresql-385959bdeafb2e4c4b02adb55b78bde6eac616f7.zip
Fix terminology in comment and message
Should be "bracket" not "brace" for [].
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/ecpg/preproc/variable.c8
1 files changed, 4 insertions, 4 deletions
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;