nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] more on color syntax highlighting


From: Ken Tyler
Subject: Re: [Nano-devel] more on color syntax highlighting
Date: Wed, 9 Oct 2002 03:59:43 +1000

Hi,

One high light problem I've found (and tried to fix but not managed to) is
multi-line #defines, try this, colours get out of sync from the
second line until the #endif.

#define SCSI_DONE(cmd)  { \
        DEB(DEB_CMND, printk("scsi%d: Complete %08x\n", \
                host->host_no, cmd->result)); \
        if (cmd->result) \
            hostdata->negotiate |= (1 << cmd->target); \
        cmd->scsi_done(cmd); \
    }

#define MAXBOARDS 2     /* Increase this and the sizes of the
                           arrays below, if you need more.. */

#ifdef MODULE

char *sim710;           /* command line passed by insmod */

MODULE_AUTHOR("Richard Hirst");
MODULE_DESCRIPTION("Simple NCR53C710 driver");
MODULE_LICENSE("GPL");
MODULE_PARM(sim710, "s");
#endif

Ken.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]