From 2b52de9a37422058bdd9f292e507cbd4f577d52e Mon Sep 17 00:00:00 2001 From: "Ellinger, Wesley M" Date: Wed, 3 Feb 2016 20:49:53 -0500 Subject: [PATCH 1/1] RT4070: Improve struct/union regexp Reviewed-by: Andy Polyakov --- util/su-filter.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/su-filter.pl b/util/su-filter.pl index 8975af64f9..3715ba263d 100644 --- a/util/su-filter.pl +++ b/util/su-filter.pl @@ -47,7 +47,7 @@ while(<>) { do_output($out); $in_su = 0; } - } elsif($incomm <= 0 && /( *)(static )?(const )?(union|struct) ([^\s]+ )?\{/) { + } elsif($incomm <= 0 && /( *)(static )?(const )?(union|struct) ([a-zA-Z_\$][\$0-9a-zA-Z_]+ )?\{/) { $in_su = 1; $indent = $1; $out = $_; -- 2.34.1