parent
d53df4e879
commit
5d5041ee0f
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: parse.c,v 1.703 2023/06/21 14:33:36 rillig Exp $ */
|
||||
/* $NetBSD: parse.c,v 1.704 2023/06/23 06:08:56 rillig Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1989, 1990, 1993
|
||||
|
@ -105,7 +105,7 @@
|
|||
#include "pathnames.h"
|
||||
|
||||
/* "@(#)parse.c 8.3 (Berkeley) 3/19/94" */
|
||||
MAKE_RCSID("$NetBSD: parse.c,v 1.703 2023/06/21 14:33:36 rillig Exp $");
|
||||
MAKE_RCSID("$NetBSD: parse.c,v 1.704 2023/06/23 06:08:56 rillig Exp $");
|
||||
|
||||
/* Detects a multiple-inclusion guard in a makefile. */
|
||||
typedef enum {
|
||||
|
@ -133,7 +133,7 @@ typedef struct IncludedFile {
|
|||
|
||||
Buffer buf; /* the file's content or the body of the .for
|
||||
* loop; either empty or ends with '\n' */
|
||||
char *buf_ptr; /* next char to be read */
|
||||
char *buf_ptr; /* next char to be read from buf */
|
||||
char *buf_end; /* buf_end[-1] == '\n' */
|
||||
|
||||
GuardState guardState;
|
||||
|
@ -426,8 +426,8 @@ IsEscaped(const char *line, const char *p)
|
|||
}
|
||||
|
||||
/*
|
||||
* Add the filename and lineno to the GNode so that we remember where it
|
||||
* was first defined.
|
||||
* Add the filename and lineno to the GNode so that we remember where its
|
||||
* last command was added or where it was mentioned in a .depend file.
|
||||
*/
|
||||
static void
|
||||
RememberLocation(GNode *gn)
|
||||
|
|
Loading…
Reference in New Issue