From: ceriel Date: Fri, 10 Aug 1990 17:57:32 +0000 (+0000) Subject: fixed bug concerning back-slashes within strings X-Git-Tag: release-5-5~1599 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=c7a5b07da7f6a52dcc1a922ecc625abcd480a7d5;p=ack.git fixed bug concerning back-slashes within strings --- diff --git a/util/cpp/preprocess.c b/util/cpp/preprocess.c index 34c076981..4fd7bcf34 100644 --- a/util/cpp/preprocess.c +++ b/util/cpp/preprocess.c @@ -163,7 +163,7 @@ preprocess(fn) ++LineNumber; lineno++; } - else if (c == '\'') escaped = 1; + else escaped = 1; } } while (escaped || c != stopc); echo(c);