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.
This commit is contained in:
parent
d5273b4cbf
commit
da15f8a834
|
@ -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 @@ YHEADER=
|
|||
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}
|
||||
|
|
Loading…
Reference in New Issue