This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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;
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]