From: ceriel Date: Mon, 31 Oct 1988 14:10:00 +0000 (+0000) Subject: fixed bug in preprocessor part: X-Git-Tag: release-5-5~2768 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=4f11f3c3fd74d526bf9243d2afd9af76c7b21823;p=ack.git fixed bug in preprocessor part: #define aap(a) a did not work if the actual argument was spread over multiple lines --- diff --git a/lang/cem/cemcom/scan.c b/lang/cem/cemcom/scan.c index 60aa3cc71..6e89228ee 100644 --- a/lang/cem/cemcom/scan.c +++ b/lang/cem/cemcom/scan.c @@ -160,7 +160,7 @@ copyact(ch1, ch2, lvl) } PushBack(); - copy('\n'); + copy(' '); break; case '/': diff --git a/util/cpp/scan.c b/util/cpp/scan.c index 677f3a0c4..5f5f96491 100644 --- a/util/cpp/scan.c +++ b/util/cpp/scan.c @@ -159,7 +159,7 @@ copyact(ch1, ch2, level) } PushBack(); - copy('\n'); + copy(' '); break; case '/':