Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Compiler chokes on backslashes: (4 Items)
   
Compiler chokes on backslashes  
I seem to be getting error messages like this one every place I have a macro that uses '\' to split the macro across 
multiple lines:

Multiple markers at this line
	-stray '\' in program
	-parse error before `.'

Anybody ever see this before, or know what to do about it?
Re: Compiler chokes on backslashes  
On Wed, May 28, 2008 at 02:34:26PM -0400, Jonathan Juniman wrote:
> I seem to be getting error messages like this one every place I have a macro that uses '\' to split the macro across 
multiple lines:
> 
> Multiple markers at this line
> 	-stray '\' in program
> 	-parse error before `.'
> 
> Anybody ever see this before, or know what to do about it?

Make sure there's no whitespace after the \

-seanb
Re: Compiler chokes on backslashes  
Already did that. There is no whitespace. I just had a thought, though. These source files probably use DOS line 
termination. I'm gonna try dos2unix and see what happens.
Re: Compiler chokes on backslashes  
Yep, that's it. Looks like the compiler can handle <CR> characters but the preprocessor can't.