[winedump 2/2] Fix bug for defines over several lines.
Peter Berg Larsen
pebl at math.ku.dk
Fri Dec 17 10:31:35 CST 2004
Changelog:
Warzone 2100 has in a header a definition that ends with a slash. As
'.' does not include '\n' winedump keeps looking ahead until eof.
Peter
diff -u -r wine-20041201-org/tools/winedump/function_grep.pl wine-20041201/tools/winedump/function_grep.pl
--- wine-20041201-org/tools/winedump/function_grep.pl 2004-10-25 23:50:50.000000000 +0200
+++ wine-20041201/tools/winedump/function_grep.pl 2004-12-16 23:27:27.000000000 +0100
@@ -92,7 +92,7 @@
# remove preprocessor directives
if(s/^\s*\#/\#/m) {
- if(/^\#.*?\\$/m) {
+ if(/^\#[.\n\r]*?\\$/m) {
$lookahead = 1;
next;
} elsif(s/^\#\s*(.*?)(\s+(.*?))?\s*$//m) {
More information about the wine-patches
mailing list