From dee62718aea4304124dc1051a3a6f9bb4467d292 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Tue, 20 Nov 2018 20:54:02 +0100 Subject: [PATCH] remove ancient lint directives * data/c++.m4, data/yacc.c: Remove surprising remains of lint directives. --- data/c++.m4 | 2 +- data/yacc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/c++.m4 b/data/c++.m4 index 07899bd8..023f3736 100644 --- a/data/c++.m4 +++ b/data/c++.m4 @@ -604,7 +604,7 @@ m4_define([b4_yylloc_default_define], { \ (Current).begin = (Current).end = YYRHSLOC (Rhs, 0).end; \ } \ - while (/*CONSTCOND*/ false) + while (false) # endif ]]) diff --git a/data/yacc.c b/data/yacc.c index dc8d38e7..c3782333 100644 --- a/data/yacc.c +++ b/data/yacc.c @@ -1780,8 +1780,8 @@ yyerrorlab: /* Pacify compilers like GCC when the user code never invokes YYERROR and the label yyerrorlab therefore never appears in user code. */ - if (/*CONSTCOND*/ 0) - goto yyerrorlab; + if (0) + goto yyerrorlab; /* Do not reclaim the symbols of the rule whose action triggered this YYERROR. */