From 5d55647a3cbcddb490163e61307ff4edb13f7546 Mon Sep 17 00:00:00 2001 From: grischka Date: Sun, 6 Mar 2011 19:13:12 +0100 Subject: [PATCH] tccpp: fix problem in preprocess_skip with empty # for example: #ifdef stuff # /* some comment */ #endif --- tccpp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tccpp.c b/tccpp.c index 3afee3f..feb533a 100644 --- a/tccpp.c +++ b/tccpp.c @@ -746,6 +746,8 @@ redo_start: a--; else if( tok == TOK_ERROR || tok == TOK_WARNING) in_warn_or_error = 1; + else if (tok == TOK_LINEFEED) + goto redo_start; } break; _default: