summaryrefslogtreecommitdiff
path: root/usr.sbin/config/scan.l
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2006-04-27 18:09:53 +0000
committerMarc Espie <espie@cvs.openbsd.org>2006-04-27 18:09:53 +0000
commit17eb13c151eb29a4a105173e61a3c689ddc93077 (patch)
tree803c7da0d68393eac185fb8573ca5a87a0e6c5d4 /usr.sbin/config/scan.l
parent0a36ba41132d2b40e19e6d4f385275484c9b8c85 (diff)
lint(1) support in config:
- LINTS variables to hold the list of *.ln files. - OBJS derives from it, since it can contain more files. - add set of explicit rules for each .ln file. - add a lint-with keyword that duplicates compile-with functionality to special-case linting instead of compilation. Full linting is dependent on LINT_* macros in the arch dependent template files. As is, doesn't break normal build. Just creates larger Makefiles. Review/ok miod@, cloder@, deraadt@
Diffstat (limited to 'usr.sbin/config/scan.l')
-rw-r--r--usr.sbin/config/scan.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/config/scan.l b/usr.sbin/config/scan.l
index 302a0716dd0..00e58bd186b 100644
--- a/usr.sbin/config/scan.l
+++ b/usr.sbin/config/scan.l
@@ -1,5 +1,5 @@
%{
-/* $OpenBSD: scan.l,v 1.18 2006/03/10 07:54:44 otto Exp $ */
+/* $OpenBSD: scan.l,v 1.19 2006/04/27 18:09:52 espie Exp $ */
/* $NetBSD: scan.l,v 1.13 1997/02/02 21:12:37 thorpej Exp $ */
/*
@@ -84,6 +84,7 @@ at return AT;
attach return ATTACH;
build return BUILD;
compile-with return COMPILE_WITH;
+lint-with return LINT_WITH;
config return CONFIG;
define return DEFINE;
defopt return DEFOPT;