|
@@ -2838,7 +2838,7 @@ sub process {
|
|
|
$dstat !~ /^(?:$Ident|-?$Constant)$/ && # 10 // foo()
|
|
|
$dstat !~ /$exceptions/ &&
|
|
|
$dstat !~ /^\.$Ident\s*=/ && # .foo =
|
|
|
- $dstat !~ /^do\s*$Constant\s*while\s*$Constant;$/ && # do {...} while (...);
|
|
|
+ $dstat !~ /^do\s*$Constant\s*while\s*$Constant;?$/ && # do {...} while (...); // do {...} while (...)
|
|
|
$dstat !~ /^for\s*$Constant$/ && # for (...)
|
|
|
$dstat !~ /^for\s*$Constant\s+(?:$Ident|-?$Constant)$/ && # for (...) bar()
|
|
|
$dstat !~ /^do\s*{/ && # do {...
|