Commit 5b2159c4 authored by Peter Berg Larsen's avatar Peter Berg Larsen Committed by Alexandre Julliard

Warzone 2100 has in a header a definition that ends with a slash. As

'.' does not include '\n' winedump keeps looking ahead until eof.
parent 853f79bd
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment