Index: dmake/parse.c =================================================================== RCS file: /cvs/tools/dmake/parse.c,v retrieving revision 1.4 diff -u -r1.4 parse.c --- dmake/parse.c 8 Sep 2004 16:06:58 -0000 1.4 +++ dmake/parse.c 30 May 2005 18:23:25 -0000 @@ -152,8 +152,8 @@ if( Parse_macro(pTmpBuf, M_DEFAULT) ) break;/* it's a macro def*/ if( Parse_rule_def( &State ) ) break;/* it's a rule def */ - /* if just blank line then ignore it */ - if( *DmStrSpn( Buffer, " \t\r\n" ) == '\0' ) break; + /* if it is an empty or blank line then ignore it */ + if( *Buffer || *DmStrSpn( Buffer, " \t\r\n" ) == '\0' ) break; /* otherwise assume it was a line of unrecognized input, or a * recipe line out of place so print a message */