From c96b933acc4d9ec7382d451055e44c85959772b9 Mon Sep 17 00:00:00 2001 From: Felipe Oliveira Carvalho Date: Thu, 23 Apr 2015 00:03:36 -0300 Subject: Improve comments and fix ascii_* attributes --- src/nvim/syntax.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/nvim/syntax.c') diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c index 7e6e247bba..2df0e72f8f 100644 --- a/src/nvim/syntax.c +++ b/src/nvim/syntax.c @@ -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; -- cgit