Da haben wir es - ja, irgendwas war da ...
http://docwiki.embarcadero.com/RADSt...o/en/Compiling
Zitat:
Require
$IF
to be terminated by
$IFEND
Enables you to use
$IFEND
(instead of the proper
$ENDIF
) to terminate a
$IF
clause. Without this option enabled, the compilers might emit
E2029. See the
Legacy IFEND (Delphi) compiler directive.
Default = False
http://docwiki.embarcadero.com/RADSt...IFEND_(Delphi)
Zitat:
Allows you to require the $IFEND
directive in order to close the associated $IF
statement in your code.
At the XE4 release, the Delphi compilers were changed to accept either $IFEND
or $ENDIF
to close $IF
statements. Before XE4, only $IFEND
could be used to close $IF
statements. The $LEGACYIFEND
directive allows you to restore the old behavior, which is useful if your code is emitting E2029 related to nested $IF
and $IFDEF
statements.