hello, there seems to be a problem when parsing multi-line strings: in the first string there is no space after the \, while in the second there is. i tried this on linux, with the july version of hugs.
probelm = "hello \ \world"
noproblem = "hello \ \world"
the error i get is: "Illegal character escape sequence "\w" bye iavor -- ================================================== | Iavor S. Diatchki, Ph.D. student | | Department of Computer Science and Engineering | | School of OGI at OHSU | | http://www.cse.ogi.edu/~diatchki | ==================================================
[trawling through old bug reports] On Wed, Jul 30, 2003 at 06:44:52PM +0000, Iavor Diatchki wrote:
there seems to be a problem when parsing multi-line strings: in the first string there is no space after the \, while in the second there is. i tried this on linux, with the july version of hugs.
probelm = "hello \ \world"
noproblem = "hello \ \world"
the error i get is: "Illegal character escape sequence "\w"
I think this one is also due to your use of the C preprocessor. The treatment of backslashes by cpp changed in recent versions of gcc. Adding the space is now a necessary workaround. People who don't use -F to run each source file through cpp are unaffected, of course.
participants (2)
-
Iavor Diatchki -
Ross Paterson