Module Name:    src
Committed By:   rillig
Date:           Tue Nov 16 18:37:24 UTC 2021

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

Log Message:
lint: remove outdated comment

The bug has been fixed in cgram.y 1.369 a few minutes ago.


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/usr.bin/xlint/lint1/mem1.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/mem1.c
diff -u src/usr.bin/xlint/lint1/mem1.c:1.53 src/usr.bin/xlint/lint1/mem1.c:1.54
--- src/usr.bin/xlint/lint1/mem1.c:1.53	Tue Nov 16 06:55:03 2021
+++ src/usr.bin/xlint/lint1/mem1.c	Tue Nov 16 18:37:24 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: mem1.c,v 1.53 2021/11/16 06:55:03 rillig Exp $	*/
+/*	$NetBSD: mem1.c,v 1.54 2021/11/16 18:37:24 rillig Exp $	*/
 
 /*
  * Copyright (c) 1994, 1995 Jochen Pohl
@@ -37,7 +37,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: mem1.c,v 1.53 2021/11/16 06:55:03 rillig Exp $");
+__RCSID("$NetBSD: mem1.c,v 1.54 2021/11/16 18:37:24 rillig Exp $");
 #endif
 
 #include <sys/param.h>
@@ -364,11 +364,6 @@ expr_zalloc_tnode(void)
 	 * typically contain generated code that cannot be influenced, such
 	 * as a flex lexer or a yacc parser.
 	 */
-	/*
-	 * FIXME: At this point, it is too late to check in_system_header.
-	 * That must already be done at the beginning of the token.
-	 * See the test d_c99_bool_strict.c, 'stdio_stdout'.
-	 */
 	tn->tn_relaxed = in_system_header ||
 			 (curr_pos.p_file != csrc_pos.p_file &&
 			  str_endswith(curr_pos.p_file, ".c"));

Reply via email to