tobeye@NORTHSTAR.DARTMOUTH.EDU (Anthony Edwards) (02/28/91)
I just wrote this piece of code: for (runner= 0; buff[runner]; runner++) { if (buff[runner]=='"') { /* double quoted string token */ i++; while (buff[i] && buff[i] !='"') i++; } } I pasted the underlined code block into place (note block starts just after the '{' of the if() line). I need the variable 'runner' in place of the 'i' in this block, so I selected Rename Identifier from the C-text menu card. When I'm done, I notice that the very last 'i' was not changed: for (runner= 0; buff[runner]; runner++) { if (buff[runner]=='"') { /* double quoted string token */ runner++; while (buff[runner] && buff[runner] !='"') i++; } } I've actually been bitten by this bug before, having assumed that all the identifiers had been changed as implied. This is just a bug report for your information and for the Andrew community to watch out for. - Anthony