cvs commit: fptools/ghc/includes Block.h Bytecodes.h ClosureMacros.h ClosureTypes.h Closures.h Cmm.h Constants.h GranSim.h Hooks.h HsFFI.h InfoTables.h Linker.h MachRegs.h Makefile Parallel.h README Regs.h RtsExternal.h RtsFlags.h ...

Sven Panne Sven.Panne at aedion.de
Fri Apr 1 02:01:44 EST 2005


Simon Marlow wrote:
> Actually I would have gone the other way and converted them all to //.
> I rather like //, especially since /*...*/ doesn't nest properly.  The
> coding style document (in the commentary) also mentions that the use of
> // is encouraged. [...]

Hmmm, I wasn't aware about that style issue, sorry. But anyway, code like

    #if BLAH
    ...
    #endif // BLAH

simply doesn't work with all CPPs, one has to use /* */ here to avoid
compatibility issues.

Cheers,
    S.


More information about the Cvs-libraries mailing list