Module Name: src
Committed By: rillig
Date: Mon Sep 14 16:27:07 UTC 2020
Modified Files:
src/usr.bin/make: parse.c
Log Message:
make(1): fix type of parseKeywords.op
To generate a diff of this commit:
cvs rdiff -u -r1.311 -r1.312 src/usr.bin/make/parse.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/make/parse.c
diff -u src/usr.bin/make/parse.c:1.311 src/usr.bin/make/parse.c:1.312
--- src/usr.bin/make/parse.c:1.311 Mon Sep 14 16:23:32 2020
+++ src/usr.bin/make/parse.c Mon Sep 14 16:27:07 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: parse.c,v 1.311 2020/09/14 16:23:32 rillig Exp $ */
+/* $NetBSD: parse.c,v 1.312 2020/09/14 16:27:07 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -131,7 +131,7 @@
#include "pathnames.h"
/* "@(#)parse.c 8.3 (Berkeley) 3/19/94" */
-MAKE_RCSID("$NetBSD: parse.c,v 1.311 2020/09/14 16:23:32 rillig Exp $");
+MAKE_RCSID("$NetBSD: parse.c,v 1.312 2020/09/14 16:27:07 rillig Exp $");
/* types and constants */
@@ -273,7 +273,7 @@ Lst defIncPath; /* default for sysIncPa
static const struct {
const char *name; /* Name of keyword */
ParseSpecial spec; /* Type when used as a target */
- int op; /* Operator when used as a source */
+ GNodeType op; /* Operator when used as a source */
} parseKeywords[] = {
{ ".BEGIN", Begin, 0 },
{ ".DEFAULT", Default, 0 },