purge broken line continuation parsing
it would have taken only the last line, which is clearly wrong. as nobody noticed this, the handling is clearly not needed. Change-Id: I6f4f45ce8c90cb9b0ef60abbaa5ed49b54d8b47d Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
parent
393fcf69dc
commit
d1965abaa1
@ -195,12 +195,6 @@ sub classNames {
|
||||
chomp $line;
|
||||
chop $line if ($line =~ /\r$/);
|
||||
if($line =~ /^\#/) {
|
||||
if($line =~ /\\$/) {
|
||||
while($line = <F>) {
|
||||
chomp $line;
|
||||
last unless($line =~ /\\$/);
|
||||
}
|
||||
}
|
||||
return @ret if($line =~ m/^#pragma qt_sync_stop_processing/);
|
||||
push(@ret, $1) if($line =~ m/^#pragma qt_class\(([^)]*)\)[\r\n]*$/);
|
||||
$line = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user