[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #46400] *** missing separator, when expanding empty define'd variab
From: |
anonymous |
Subject: |
[bug #46400] *** missing separator, when expanding empty define'd variable |
Date: |
Sat, 07 Nov 2015 20:24:44 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2547.0 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?46400>
Summary: *** missing separator, when expanding empty define'd
variable
Project: make
Submitted by: None
Submitted on: Sat 07 Nov 2015 08:24:43 PM UTC
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 4.1
Operating System: MS Windows
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
When I run make-4.1 with the attached makefile I get the following error
bug7.mk:5: *** missing separator. Stop.
This behavior looks inconsistent, because expanding variable D should give two
empty lines, which should then be ignored by make.
Such problem could be avoided by inserting a continue statement at
read.c:1509, as shown below.
/* If the line doesn't begin with a tab, test to see if it introduces
another define, or ends one. Stop if we find an 'endef' */
if (line[0] != cmd_prefix)
{
p = next_token (line);
len = strlen (p);
if (!len) continue; /* skip empty lines */
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat 07 Nov 2015 08:24:43 PM UTC Name: bug7.mk Size: 20B By: None
same behavior on Ubuntu
<http://savannah.gnu.org/bugs/download.php?file_id=35413>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46400>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #46400] *** missing separator, when expanding empty define'd variable,
anonymous <=