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: remove outdated comment
details: https://anonhg.NetBSD.org/src/rev/adf8d0a8985f
branches: trunk
changeset: 1026291:adf8d0a8985f
user: rillig <rillig%NetBSD.org@localhost>
date: Tue Nov 16 18:37:24 2021 +0000
description:
lint: remove outdated comment
The bug has been fixed in cgram.y 1.369 a few minutes ago.
diffstat:
usr.bin/xlint/lint1/mem1.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diffs (30 lines):
diff -r 90a630d8ffbb -r adf8d0a8985f usr.bin/xlint/lint1/mem1.c
--- a/usr.bin/xlint/lint1/mem1.c Tue Nov 16 18:33:14 2021 +0000
+++ b/usr.bin/xlint/lint1/mem1.c Tue Nov 16 18:37:24 2021 +0000
@@ -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 @@
* 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"));
Home |
Main Index |
Thread Index |
Old Index