Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/lint1 lint: include scan.c in 'make lint'
details: https://anonhg.NetBSD.org/src/rev/66bc3b598afe
branches: trunk
changeset: 984344:66bc3b598afe
user: rillig <rillig%NetBSD.org@localhost>
date: Sun Jul 04 08:49:41 2021 +0000
description:
lint: include scan.c in 'make lint'
This theoretically enables strict bool mode for the few remaining code
in scan.l. Since scan.l is not yet detected as generated code, all
interesting errors have to be suppressed though.
diffstat:
usr.bin/xlint/lint1/Makefile | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff -r 0064de7e2f07 -r 66bc3b598afe usr.bin/xlint/lint1/Makefile
--- a/usr.bin/xlint/lint1/Makefile Sun Jul 04 08:19:05 2021 +0000
+++ b/usr.bin/xlint/lint1/Makefile Sun Jul 04 08:49:41 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.75 2021/06/29 07:37:34 rillig Exp $
+# $NetBSD: Makefile,v 1.76 2021/07/04 08:49:41 rillig Exp $
.include <bsd.own.mk>
@@ -18,8 +18,8 @@
CWARNFLAGS.clang+= -Wno-error=implicit-int-float-conversion
LINTFLAGS+= -T
LOBJS.${PROG}+= ${SRCS:M*.y:.y=.ln}
-#LOBJS.${PROG}+= ${SRCS:M*.l:.l=.ln}
-LINTFLAGS.scan.c= -X 107,330,331,333
+LOBJS.${PROG}+= ${SRCS:M*.l:.l=.ln}
+LINTFLAGS.scan.c= -X 107,126,330,331,332,333
CPPFLAGS+= -DIS_LINT1
CPPFLAGS+= -I${.CURDIR}
Home |
Main Index |
Thread Index |
Old Index