add kludge for handling { and } on the same line
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10174 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -31,6 +31,9 @@ while(<>) {
|
||||
next;
|
||||
}
|
||||
if(/\{/){
|
||||
if (!/\}/) {
|
||||
$brace++;
|
||||
}
|
||||
$_ = $line;
|
||||
while(s/\*\//\ca/){
|
||||
s/\/\*(.|\n)*\ca//;
|
||||
@@ -77,7 +80,6 @@ while(<>) {
|
||||
}
|
||||
}
|
||||
$line = "";
|
||||
$brace++;
|
||||
}
|
||||
if(/\}/){
|
||||
$brace--;
|
||||
|
Reference in New Issue
Block a user