Warzone 2100 has in a header a definition that ends with a slash. As
'.' does not include '\n' winedump keeps looking ahead until eof.
This commit is contained in:
parent
853f79bdad
commit
5b2159c460
|
@ -92,7 +92,7 @@ foreach my $file (@files) {
|
|||
|
||||
# remove preprocessor directives
|
||||
if(s/^\s*\#/\#/m) {
|
||||
if(/^\#.*?\\$/m) {
|
||||
if(/^\#[.\n\r]*?\\$/m) {
|
||||
$lookahead = 1;
|
||||
next;
|
||||
} elsif(s/^\#\s*(.*?)(\s+(.*?))?\s*$//m) {
|
||||
|
|
Loading…
Reference in New Issue