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: undefine macros for defining keywo...



details:   https://anonhg.NetBSD.org/src/rev/d1b4248aff59
branches:  trunk
changeset: 379000:d1b4248aff59
user:      rillig <rillig%NetBSD.org@localhost>
date:      Mon May 03 08:03:45 2021 +0000

description:
lint: undefine macros for defining keywords after use

No functional change.

diffstat:

 usr.bin/xlint/lint1/lex.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r c6f8819780d7 -r d1b4248aff59 usr.bin/xlint/lint1/lex.c
--- a/usr.bin/xlint/lint1/lex.c Mon May 03 07:43:31 2021 +0000
+++ b/usr.bin/xlint/lint1/lex.c Mon May 03 08:03:45 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lex.c,v 1.35 2021/05/03 07:30:19 rillig Exp $ */
+/* $NetBSD: lex.c,v 1.36 2021/05/03 08:03:45 rillig Exp $ */
 
 /*
  * Copyright (c) 1996 Christopher G. Demetriou.  All Rights Reserved.
@@ -38,7 +38,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: lex.c,v 1.35 2021/05/03 07:30:19 rillig Exp $");
+__RCSID("$NetBSD: lex.c,v 1.36 2021/05/03 08:03:45 rillig Exp $");
 #endif
 
 #include <ctype.h>
@@ -243,6 +243,8 @@ static      struct  kwtab {
 #undef kwdef_sclass
 #undef kwdef_type
 #undef kwdef_tqual
+#undef kwdef_keyword
+#undef kwdef_gcc_attr
 };
 
 /* Symbol table */



Home | Main Index | Thread Index | Old Index