mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-24 12:58:40 +00:00
entered into RCS
This commit is contained in:
parent
0ef3708713
commit
b24a026b02
1 changed files with 8 additions and 1 deletions
9
expand.c
9
expand.c
|
@ -341,7 +341,14 @@ variable_expand (line)
|
|||
/* Look up the value of the variable. */
|
||||
end = index (beg, closeparen);
|
||||
if (end == 0)
|
||||
return initialize_variable_output ();
|
||||
{
|
||||
/* Unterminated variable reference. */
|
||||
if (reading_filename != 0)
|
||||
makefile_fatal (reading_filename, *reading_lineno_ptr,
|
||||
"unterminated variable reference");
|
||||
else
|
||||
fatal ("unterminated variable reference");
|
||||
}
|
||||
o = reference_variable (o, beg, end - beg);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue