summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/indent/lexi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/indent/lexi.c b/usr.bin/indent/lexi.c
index 5970451..7c3892c 100644
--- a/usr.bin/indent/lexi.c
+++ b/usr.bin/indent/lexi.c
@@ -261,6 +261,8 @@ lexi()
return (casestmt);
case 3: /* a "struct" */
+ if (ps.p_l_follow)
+ break; /* inside parens: cast */
/*
* Next time around, we may want to know that we have had a
* 'struct'
OpenPOWER on IntegriCloud