Improve comments and fix ascii_* attributes

This commit is contained in:
Felipe Oliveira Carvalho
2015-04-23 00:03:36 -03:00
parent bcfc37ea98
commit c96b933acc
6 changed files with 34 additions and 28 deletions

View File

@@ -7138,9 +7138,10 @@ int highlight_changed(void)
*/
attr = 0;
bool colon = false;
for (; *p && *p != ','; ++p) { /* parse upto comma */
if (ascii_iswhite(*p)) /* ignore white space */
for (; *p && *p != ','; ++p) { // parse upto comma
if (ascii_iswhite(*p)) { // ignore white space
continue;
}
if (colon) /* Combination with ':' is not allowed. */
return FAIL;