From owner-cvs-all@FreeBSD.ORG Thu Apr 7 14:39:38 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E657E16A4CE; Thu, 7 Apr 2005 14:39:38 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB3CA43D5A; Thu, 7 Apr 2005 14:39:38 +0000 (GMT) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j37Edc0t050985; Thu, 7 Apr 2005 14:39:38 GMT (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j37Edcb0050984; Thu, 7 Apr 2005 14:39:38 GMT (envelope-from harti) Message-Id: <200504071439.j37Edcb0050984@repoman.freebsd.org> From: Hartmut Brandt Date: Thu, 7 Apr 2005 14:39:38 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/make parse.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2005 14:39:39 -0000 harti 2005-04-07 14:39:38 UTC FreeBSD src repository Modified files: usr.bin/make parse.c Log: When Parse_Error is called after the top-level Makefile is closed we have no CURFILE anymore so we cannot print a file name or line number. When ParseSkipLine() returns NULL (it does this when it has detected an EOF in an .if block) try to pop the input stack and process the next line Revision Changes Path 1.93 +7 -3 src/usr.bin/make/parse.c