mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 21:23:03 +01:00
We have two "blr_table" arrays that keep related but different information. Kill the ambiguity.
This commit is contained in:
parent
421154bb73
commit
f5a21bc4a4
@ -23,7 +23,7 @@ static const struct
|
||||
{
|
||||
const char* blr_string;
|
||||
const UCHAR* blr_operators;
|
||||
} blr_table[] =
|
||||
} blr_print_table[] =
|
||||
{
|
||||
{NULL, NULL},
|
||||
{"assignment", two},
|
||||
|
@ -2766,7 +2766,7 @@ static void blr_print_blr(gds_ctl* control, UCHAR blr_operator)
|
||||
**************************************/
|
||||
const char* p;
|
||||
|
||||
if (blr_operator >= FB_NELEM(blr_table) || !(p = blr_table[blr_operator].blr_string))
|
||||
if (blr_operator >= FB_NELEM(blr_print_table) || !(p = blr_print_table[blr_operator].blr_string))
|
||||
{
|
||||
blr_error(control, "*** blr operator %d is undefined ***", (int) blr_operator);
|
||||
}
|
||||
@ -3195,7 +3195,7 @@ static void blr_print_verb(gds_ctl* control, SSHORT level)
|
||||
|
||||
blr_print_blr(control, blr_operator);
|
||||
level++;
|
||||
const UCHAR* ops = blr_table[blr_operator].blr_operators;
|
||||
const UCHAR* ops = blr_print_table[blr_operator].blr_operators;
|
||||
SSHORT n;
|
||||
|
||||
while (*ops)
|
||||
|
Loading…
Reference in New Issue
Block a user