From f185ba58eb4e17172f33aba354b7b635e52cea2c Mon Sep 17 00:00:00 2001 From: millert Date: Tue, 30 Nov 2021 15:50:06 +0000 Subject: [PATCH] Fix indentation of return in yy_try_NUL_trans(). M4_YY_NOOP_GUTS_VAR is a no-op in most cases but its indentation remains, leading to double indentation of the return statement. This fixes "misleading indentation" warnings from clang. OK tb@ --- usr.bin/lex/flex.skl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/lex/flex.skl b/usr.bin/lex/flex.skl index c5861646d2e..12a78ba58f1 100644 --- a/usr.bin/lex/flex.skl +++ b/usr.bin/lex/flex.skl @@ -1,4 +1,4 @@ -/* $OpenBSD: flex.skl,v 1.17 2020/08/06 17:23:29 deraadt Exp $ */ +/* $OpenBSD: flex.skl,v 1.18 2021/11/30 15:50:06 millert Exp $ */ %# -*-C-*- vi: set ft=c: %# This file is processed in several stages. @@ -1806,7 +1806,7 @@ m4_ifdef( [[M4_YY_USES_REJECT]], M4_YY_DECL_GUTS_VAR(); /* This var may be unused depending upon options. */ %% [17.0] code to find the next state, and perhaps do backing up, goes here - M4_YY_NOOP_GUTS_VAR(); + M4_YY_NOOP_GUTS_VAR(); return yy_is_jam ? 0 : yy_current_state; } -- 2.20.1