Whitespace / formatting / bracket cleanup.

This commit is contained in:
Mark Whitley 2001-03-08 19:31:12 +00:00
parent 32f8c170b0
commit 7e5291f111
2 changed files with 14 additions and 10 deletions

View File

@ -1007,12 +1007,14 @@ static int find_match(char *matchBuf, int *len_with_quotes)
/* skip first not quoted '\'' or '"' */
for (i = 0; int_buf[i] == '\'' || int_buf[i] == '"'; i++);
/* collapse quote or unquote // or /~ */
while ((int_buf[i] & ~QUOT) == '/' && (
(int_buf[i + 1] & ~QUOT) == '/'
|| (int_buf[i + 1] & ~QUOT) ==
'~')) i++;
if (i)
while ((int_buf[i] & ~QUOT) == '/' &&
((int_buf[i + 1] & ~QUOT) == '/'
|| (int_buf[i + 1] & ~QUOT) == '~')) {
i++;
}
if (i) {
collapse_pos(0, i);
}
/* set only match and destroy quotes */
j = 0;

View File

@ -1007,12 +1007,14 @@ static int find_match(char *matchBuf, int *len_with_quotes)
/* skip first not quoted '\'' or '"' */
for (i = 0; int_buf[i] == '\'' || int_buf[i] == '"'; i++);
/* collapse quote or unquote // or /~ */
while ((int_buf[i] & ~QUOT) == '/' && (
(int_buf[i + 1] & ~QUOT) == '/'
|| (int_buf[i + 1] & ~QUOT) ==
'~')) i++;
if (i)
while ((int_buf[i] & ~QUOT) == '/' &&
((int_buf[i + 1] & ~QUOT) == '/'
|| (int_buf[i + 1] & ~QUOT) == '~')) {
i++;
}
if (i) {
collapse_pos(0, i);
}
/* set only match and destroy quotes */
j = 0;