Subject: bin/24420: make(1) doesn't fail even if reading .else twice
To: None <>
From: None <>
List: netbsd-bugs
Date: 02/14/2004 16:42:22
>Number:         24420
>Category:       bin
>Synopsis:       make(1) doesn't fail even if reading .else twice
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 14 07:43:00 UTC 2004
>Originator:     Masao Uebayashi
>Release:        NetBSD 1.6ZH
Pultek Corp.
System: NetBSD oratosquilla.PLALA-ADSL 1.6ZH NetBSD 1.6ZH (ORATOSQUILLA) #1: Sat Jan 24 17:08:16 JST 2004 uebayasi@oratosquilla.PLALA-ADSL:/sys/arch/i386/compile/ORATOSQUILLA i386
Architecture: i386
Machine: i386
	make(1) doesn't fail/warn even if a conditional context has two .else,
	where the second .else is senseless.  I think it'd be better make(1)
	reports such a situation as an error.

	% cat
	.if defined(X)
	% make -f
	Sat Feb 14 16:39:19 JST 2004
	% echo $?