mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-11 05:13:04 +00:00
* src/reader.c (parse_dquoted_param): Rename variable index' to i'.
This one shadowed a global parameter.
This commit is contained in:
@@ -883,7 +883,7 @@ parse_dquoted_param (const char *from)
|
||||
{
|
||||
char buff[32];
|
||||
int c;
|
||||
int index;
|
||||
int i;
|
||||
|
||||
c = skip_white_space ();
|
||||
|
||||
@@ -895,7 +895,7 @@ parse_dquoted_param (const char *from)
|
||||
}
|
||||
|
||||
c = getc (finput);
|
||||
for (index = 0; (c >= '!') && (c <= '~'); index++)
|
||||
for (i = 0; (c >= '!') && (c <= '~'); i++)
|
||||
{
|
||||
if (c == '"')
|
||||
break;
|
||||
@@ -907,10 +907,10 @@ parse_dquoted_param (const char *from)
|
||||
break;
|
||||
}
|
||||
|
||||
buff[index] = c;
|
||||
buff[i] = c;
|
||||
c = getc (finput);
|
||||
}
|
||||
buff[index] = '\0';
|
||||
buff[i] = '\0';
|
||||
|
||||
if (c != '"')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user