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 ...
Simon Marlow
simonmar at microsoft.com
Fri Apr 1 03:25:46 EST 2005
On 01 April 2005 08:02, Sven Panne wrote:
> 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.
That's probably something we ought to mention in the coding style doc
then - would you mind adding a wee note?
Cheers,
Simon
More information about the Cvs-libraries
mailing list