R: error: stray '\' in program

Gabriele Caracausi gabriele@caracausi.it
Tue Aug 26 16:20:00 GMT 2003


> Neil Booth <neil@daikokuya.co.uk> writes:
> >Philipp Thomas wrote:-
> >
> >> * Gabriele Caracausi (gabriele@caracausi.it) [20030824 13:56]:
> >> 
> >> > I'm trying to recompile under linux GCC 3.3 sources but an 
> error occurs:
> >> > 
> >> > regclass.c:78: stray '\' in program
> >> > 
> >> > but the line in regclass.c is:
> >> > static const char initial_fixed_regs[] = };
> >I doubt it's a bug - I imagine it comes from FIXED_REGISTERS.
> 
> Possibly \ at "end" of a CRLF terminated line is not seen as 
> line-continued?

Yes. I bad wrote "\}" instead of "}" at the end of definition of FIXED_REGISTERS array.

Bye. Gabriele




More information about the Gcc mailing list