bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Questionable line number in a message "missing separator"?


From: Philip Guenther
Subject: Re: Questionable line number in a message "missing separator"?
Date: Sat, 17 Jan 2015 11:47:45 -0800

On Sat, Jan 17, 2015 at 11:06 AM, SF Markus Elfring
<address@hidden> wrote:
> But the software tool "make 4.1-2.2" does not like
> a specific place in this file at the moment.
>
>
> parallel-inc.make:247: *** missing separator.  Stop.
>
>
> The mentioned line has got a leading tab character
> for the beginning of a recipe.
> How can this syntax difficulty be resolved now?

A line starting with a tab is only interpreted as part of a recipe if
the previous non-comment line was either a rule or another recipe
line.  If the previous line was an include, a variable assignment, a
vpath setting, etc then the previous recipe is closed and you can't
add another recipe line to it.

Of course, if you had actually quoted the relevant lines from your
Makefile, we could be more precise.


Philip Guenther



reply via email to

[Prev in Thread] Current Thread [Next in Thread]