summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorChad Loder <cloder@cvs.openbsd.org>2005-11-23 20:36:42 +0000
committerChad Loder <cloder@cvs.openbsd.org>2005-11-23 20:36:42 +0000
commit95c0f3e7eaf3129e265c2e60959801104459a12b (patch)
tree1bb5fa2adcc46a0693cc5c11cc182f9578a47e5c /usr.bin
parent2e0f0fc10334e37bb0960503f22d705ef5f7ee16 (diff)
"inline" is a c99 keyword, so support it unless tflag is selected.
OK and input from millert, earlier version looked at by deraadt
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/xlint/lint1/scan.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/xlint/lint1/scan.l b/usr.bin/xlint/lint1/scan.l
index a122444cf38..67e19cc8e81 100644
--- a/usr.bin/xlint/lint1/scan.l
+++ b/usr.bin/xlint/lint1/scan.l
@@ -1,5 +1,5 @@
%{
-/* $OpenBSD: scan.l,v 1.10 2005/11/23 18:47:41 cloder Exp $ */
+/* $OpenBSD: scan.l,v 1.11 2005/11/23 20:36:41 cloder Exp $ */
/* $NetBSD: scan.l,v 1.8 1995/10/23 13:38:51 jpo Exp $ */
/*
@@ -34,7 +34,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: scan.l,v 1.10 2005/11/23 18:47:41 cloder Exp $";
+static char rcsid[] = "$OpenBSD: scan.l,v 1.11 2005/11/23 20:36:41 cloder Exp $";
#endif
#include <stdlib.h>
@@ -211,7 +211,7 @@ static struct kwtab {
{ "for", T_FOR, 0, 0, 0, 0, 0 },
{ "goto", T_GOTO, 0, 0, 0, 0, 0 },
{ "if", T_IF, 0, 0, 0, 0, 0 },
- { "inline", T_SCLASS, INLINE, 0, 0, 0, 1 },
+ { "inline", T_SCLASS, INLINE, 0, 0, 1, 0 },
{ "__inline__", T_SCLASS, INLINE, 0, 0, 0, 0 },
{ "__inline", T_SCLASS, INLINE, 0, 0, 0, 0 },
{ "int", T_TYPE, 0, INT, 0, 0, 0 },