From f3473a2b441ef291c123d1dbccd63afe83bab52d Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Thu, 20 Sep 2007 13:33:17 +0000 Subject: INTEGRATION: CWS os2port01 (1.5.12); FILE MERGED 2007/08/08 08:29:10 obr 1.5.12.2: RESYNC: (1.5-1.6); FILE MERGED 2006/12/28 14:54:32 ydario 1.5.12.1: OS/2 initial import. --- dmake/expand.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'dmake/expand.c') diff --git a/dmake/expand.c b/dmake/expand.c index 08f6a3736bd5..5dfcec0f5a03 100644 --- a/dmake/expand.c +++ b/dmake/expand.c @@ -1,6 +1,6 @@ /* $RCSfile: expand.c,v $ --- $Revision: 1.6 $ --- last change: $Author: vg $ $Date: 2006-09-25 09:39:30 $ +-- $Revision: 1.7 $ +-- last change: $Author: vg $ $Date: 2007-09-20 14:33:17 $ -- -- SYNOPSIS -- Macro expansion code. @@ -365,7 +365,7 @@ char *src; /* delete the extra white space, it looks ugly */ for( s = src, e = NIL(char); *s; s++ ) - if( *s == ' ' || *s == '\t' || *s == '\n' ) { + if( *s == ' ' || *s == '\t' || *s == '\n' || *s == '\r' ) { if( e == NIL(char) ) e = s; } @@ -511,6 +511,7 @@ int doexpand; case ' ': case '\t': case '\n': + case '\r': case '\0': { char *tmp; -- cgit