Subject: Re: imake, Solaris, Xrender
To: Hubert Feyrer <email@example.com>
From: Johnny C. Lam <jlam@NetBSD.org>
Date: 06/15/2005 13:53:47
Hubert Feyrer wrote:
> rfhpc8317% cat -ve d
> rfhpc8317% make -f d bla
> make: Fatal error in reader: d, line 4: Unexpected end of line seen
The error isn't blank lines in general, it's a blank line as the first
"command" for a target. I think it's wrong to strip every blank line.
That would break if the Makefile ever had something like:
which I imagine is possible in a machine-generated Makefile. The
problem can be fixed much more simply by modifying the Imakefile that
imake-check writes to avoid generating a blank line for the first
command of a target.
-- Johnny Lam <jlam@NetBSD.org>