[DGD] lf in #define

Felix A. Croes felix at dworkin.nl
Thu Jan 8 12:42:49 CET 2004


"Robert Forshaw" <iouswuoibev at hotmail.com> wrote:

> I am trying to do a #define statement spanning several lines, by using 
> backslash to represent where the line ends. Unfortunately, this doesn't 
> work! I keep getting syntax errors! How should I do it?

DGD doesn't like \r\n newlines.  Oh, and

    # define FOO "bar \
    gnu"

does what you want (in spite of what other postings have said), but

    # define FOO "bar \
		 gnu"

doesn't.

Regards,
Dworkin
_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list