From: millert Date: Tue, 30 Nov 2021 15:50:06 +0000 (+0000) Subject: Fix indentation of return in yy_try_NUL_trans(). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f185ba58eb4e17172f33aba354b7b635e52cea2c;p=openbsd 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@ --- 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; }