summaryrefslogtreecommitdiff
path: root/usr.bin/lex
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2021-11-30 15:50:07 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2021-11-30 15:50:07 +0000
commit285beba3466aaf200e7bb7400b163c98e40ad643 (patch)
tree0434d8f5ffb4c9d1c79d79ddcb01d3a56b34bd36 /usr.bin/lex
parentd954077040923176d79f1647ce493b6009819501 (diff)
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@
Diffstat (limited to 'usr.bin/lex')
-rw-r--r--usr.bin/lex/flex.skl4
1 files 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;
}