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/fde219da6388
branches:  trunk
changeset: 983103:fde219da6388
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 fd4a56fcd853 -r fde219da6388 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 @@
 #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