From e488e31e0000329645043a182f96928c8360e972 Mon Sep 17 00:00:00 2001 From: Ali Gholami Rudi Date: Sun, 22 May 2011 12:25:19 +0430 Subject: [PATCH] cpp: merge cur++'s in readarg() --- cpp.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cpp.c b/cpp.c index 7c02841..c5819eb 100644 --- a/cpp.c +++ b/cpp.c @@ -250,21 +250,17 @@ static void readarg(char *s) while (cur < len && (depth || buf[cur] != ',' && buf[cur] != ')')) { if (!jumpstr() || !jumpcomment()) continue; - switch (buf[cur]) { + switch (buf[cur++]) { case '(': case '[': case '{': - cur++; depth++; break; case ')': case ']': case '}': - cur++; depth--; break; - default: - cur++; } } if (s) { -- 2.11.4.GIT