You have a trailing space on the end of a line, after the final backslash. It thinks you're trying to escape a space, not join lines.
edit: I'll even tell you how I knew, so you know for next time. From the error text, '040' is an octal number. Convert to decimal, 4 * 8 = 32, and ASCII 32 = space. A space is not a valid escape character. Some editors have a 'show whitespace' mode which'll show you tabs and spaces to help weed out issues like this.