In line 2335 I think I see the problem: You have a string that is being worked on and it's on two lines. I'm pretty sure it has to be all on one line (at least up until the comma after the string I think)
Code:
ch_printf( ch, "Unknown error #%d - %s (immortal data). Report to Thoric\n\r",
Now, I am using syn to look at this file. I have my line length set to 120 to as to prevent any word wrapping as far as I can tell.
Make sure all your string lines are on one line if this is actually the case.
I don't program often in C, so I could have my head up my ass - anyone care to correct me on this?