From 12726c0065b8a313a0fc89b3fb390a07220c508e Mon Sep 17 00:00:00 2001 From: rillig Date: Tue, 16 Nov 2021 18:37:24 +0000 Subject: [PATCH] lint: remove outdated comment The bug has been fixed in cgram.y 1.369 a few minutes ago. --- usr.bin/xlint/lint1/mem1.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/usr.bin/xlint/lint1/mem1.c b/usr.bin/xlint/lint1/mem1.c index e2f1d84c3815..1cacb436cfc5 100644 --- a/usr.bin/xlint/lint1/mem1.c +++ b/usr.bin/xlint/lint1/mem1.c @@ -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 #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 @@ -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"));