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:
Peter Berg Larsen 2004-12-20 16:50:35 +00:00 committed by Alexandre Julliard
parent 853f79bdad
commit 5b2159c460
1 changed files with 1 additions and 1 deletions

View File

@ -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) {