diff options
Diffstat (limited to 'runoff')
-rwxr-xr-x | runoff | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -127,9 +127,8 @@ perl -e ' next; } - if (/^([0-9]+) (((static|struct|extern|union|enum) +)*([A-Za-z0-9_]+))( .*)? +([A-Za-z_][A-Za-z0-9_]*)[,;]/) { - - print "$1 $7\n" + if (/^([0-9]+) (((static|struct|extern|union|enum) +)*([A-Za-z0-9_]+))( .*)? +([A-Za-z_][A-Za-z0-9_]*)(,|;|=| =)/) { + print "$1 $7\n"; } elsif(/^([0-9]+) (enum|struct|union) +([A-Za-z0-9_]+) +{/){ |