From 95c0f3e7eaf3129e265c2e60959801104459a12b Mon Sep 17 00:00:00 2001 From: Chad Loder Date: Wed, 23 Nov 2005 20:36:42 +0000 Subject: "inline" is a c99 keyword, so support it unless tflag is selected. OK and input from millert, earlier version looked at by deraadt --- usr.bin/xlint/lint1/scan.l | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/xlint') 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 @@ -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 }, -- cgit v1.2.3