This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH]: windres and strings spanning more that one line
- From: Mark Blackburn <marklist at fangorn dot ca>
- To: binutils at sources dot redhat dot com
- Date: Sun, 09 Feb 2003 15:03:28 -0500
- Subject: [PATCH]: windres and strings spanning more that one line
This is an attempt to fix windres choking on multi-line strings like this:
ID RCDATA
BEGIN
"string1"
"string2"
END
--- binutils-cvs/src/binutils/rclex.l 2002-05-05 19:19:32.000000000 -0400
+++ binutils-me/src/binutils/rclex.l 2003-02-09 14:55:07.000000000 -0500
@@ -196,7 +196,7 @@
MAYBE_RETURN (NUMBER);
}
-("\""[^\"\n]*"\""[ \t]*)+ {
+("\""[^\"\n]*"\""[ \t\n]*)+ {
char *s;
unsigned long length;