From cf6bc52fb1ddc7420501ead114a222ec4799225c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net>
Date: Fri, 27 Feb 1998 10:11:07 -0800
Subject: [PATCH] bugfix in SKIPWHITE

Rev: src/cpp.c:1.18
---
 src/cpp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/cpp.c b/src/cpp.c
index 76c01e2fbf..f333e80097 100644
--- a/src/cpp.c
+++ b/src/cpp.c
@@ -260,10 +260,10 @@ static void simple_add_define(struct cpp *this,
   } while(0)
 
 #define SKIPWHITE() do {					\
-    if(!isspace(((unsigned char *)data)[pos])) break;				\
+    if(!isspace(((unsigned char *)data)[pos])) break;		\
     if(data[pos]=='\n') { PUTNL(); this->current_line++; }	\
     pos++;							\
-  } while(0)
+  } while(1)
 
 #define SKIPSPACE() \
   do { while(isspace(((unsigned char *)data)[pos]) && data[pos]!='\n') pos++; \
-- 
GitLab