On Thu, 4 Dec 2014 18:22:30 -0800 "H. S. Teoh via Digitalmars-d" <[email protected]> wrote:
> On Fri, Dec 05, 2014 at 03:39:07AM +0200, ketmar via Digitalmars-d wrote: > [...] > > also, it's worth noting that Delphi's IFDEF/ENDIF completely ignores > > everything inbetwee if condition is false, but D `version` and `static > > if` requires ignored code to be correct D code nevertheless. > [...] > > That's not completely true. All that's required is that the code can be > parsed successfully. It can be semantically nonsense and the compiler > wouldn't care, for example this will compile, even though it's complete > garbage: ah, sure, thanks. it was a bad wording from my side.
signature.asc
Description: PGP signature
