|
@@ -4550,7 +4550,7 @@ sub process {
|
|
|
# Flatten any parentheses and braces
|
|
|
while ($dstat =~ s/\([^\(\)]*\)/1/ ||
|
|
|
$dstat =~ s/\{[^\{\}]*\}/1/ ||
|
|
|
- $dstat =~ s/\[[^\[\]]*\]/1/)
|
|
|
+ $dstat =~ s/.\[[^\[\]]*\]/1/)
|
|
|
{
|
|
|
}
|
|
|
|
|
@@ -4570,7 +4570,8 @@ sub process {
|
|
|
union|
|
|
|
struct|
|
|
|
\.$Ident\s*=\s*|
|
|
|
- ^\"|\"$
|
|
|
+ ^\"|\"$|
|
|
|
+ ^\[
|
|
|
}x;
|
|
|
#print "REST<$rest> dstat<$dstat> ctx<$ctx>\n";
|
|
|
if ($dstat ne '' &&
|