parse.c (254194) | parse.c (255253) |
---|---|
1/* $NetBSD: parse.c,v 1.189 2013/06/18 19:31:27 sjg Exp $ */ | 1/* $NetBSD: parse.c,v 1.191 2013/08/28 21:56:49 sjg Exp $ */ |
2 3/* 4 * Copyright (c) 1988, 1989, 1990, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * Adam de Boor. 9 * --- 54 unchanged lines hidden (view full) --- 64 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 65 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 66 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 67 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 68 * SUCH DAMAGE. 69 */ 70 71#ifndef MAKE_NATIVE | 2 3/* 4 * Copyright (c) 1988, 1989, 1990, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * Adam de Boor. 9 * --- 54 unchanged lines hidden (view full) --- 64 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 65 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 66 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 67 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 68 * SUCH DAMAGE. 69 */ 70 71#ifndef MAKE_NATIVE |
72static char rcsid[] = "$NetBSD: parse.c,v 1.189 2013/06/18 19:31:27 sjg Exp $"; | 72static char rcsid[] = "$NetBSD: parse.c,v 1.191 2013/08/28 21:56:49 sjg Exp $"; |
73#else 74#include <sys/cdefs.h> 75#ifndef lint 76#if 0 77static char sccsid[] = "@(#)parse.c 8.3 (Berkeley) 3/19/94"; 78#else | 73#else 74#include <sys/cdefs.h> 75#ifndef lint 76#if 0 77static char sccsid[] = "@(#)parse.c 8.3 (Berkeley) 3/19/94"; 78#else |
79__RCSID("$NetBSD: parse.c,v 1.189 2013/06/18 19:31:27 sjg Exp $"); | 79__RCSID("$NetBSD: parse.c,v 1.191 2013/08/28 21:56:49 sjg Exp $"); |
80#endif 81#endif /* not lint */ 82#endif 83 84/*- 85 * parse.c -- 86 * Functions to parse a makefile. 87 * --- 1658 unchanged lines hidden (view full) --- 1746 continue; 1747 } 1748 if (level != 0) 1749 continue; 1750 while (ch == ' ' || ch == '\t') { 1751 ch = *line++; 1752 wasSpace = TRUE; 1753 } | 80#endif 81#endif /* not lint */ 82#endif 83 84/*- 85 * parse.c -- 86 * Functions to parse a makefile. 87 * --- 1658 unchanged lines hidden (view full) --- 1746 continue; 1747 } 1748 if (level != 0) 1749 continue; 1750 while (ch == ' ' || ch == '\t') { 1751 ch = *line++; 1752 wasSpace = TRUE; 1753 } |
1754#ifdef SUNSHCMD 1755 if (ch == ':' && strncmp(line, "sh", 2) == 0) { 1756 line += 2; 1757 continue; 1758 } 1759#endif |
|
1754 if (ch == '=') 1755 return TRUE; 1756 if (*line == '=' && ISEQOPERATOR(ch)) 1757 return TRUE; 1758 if (wasSpace) 1759 return FALSE; 1760 } 1761 --- 1391 unchanged lines hidden --- | 1760 if (ch == '=') 1761 return TRUE; 1762 if (*line == '=' && ISEQOPERATOR(ch)) 1763 return TRUE; 1764 if (wasSpace) 1765 return FALSE; 1766 } 1767 --- 1391 unchanged lines hidden --- |