Module Name:    src
Committed By:   rillig
Date:           Mon May  3 08:03:45 UTC 2021

Modified Files:
        src/usr.bin/xlint/lint1: lex.c

Log Message:
lint: undefine macros for defining keywords after use

No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/usr.bin/xlint/lint1/lex.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/xlint/lint1/lex.c
diff -u src/usr.bin/xlint/lint1/lex.c:1.35 src/usr.bin/xlint/lint1/lex.c:1.36
--- src/usr.bin/xlint/lint1/lex.c:1.35	Mon May  3 07:30:19 2021
+++ src/usr.bin/xlint/lint1/lex.c	Mon May  3 08:03:45 2021
@@ -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 */

Reply via email to