1 Apr 2005 09:01
Re: 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>
2005-04-01 07:01:44 GMT
2005-04-01 07:01:44 GMT
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.
RSS Feed