Vinzent Höfler wrote:
Marco van de Voort wrote:
Marco van de Voort wrote:
new keywords.
Other compilers will give you warnings about illegal compiler directives.
Bad assumption, the only one that matters, Delphi errors on unknown compiler
directives. So
you will have to ifdef anyway. (tested D6)
Does Delphi support FPC style macros? In that case, perhaps as sort of
include file to map "cobegin" or whatever to normal ones ...
No. There is not much that can be done about this. Except postprocessing FPC
source and stripping out paralel syntax. Be it directives or keywords.
In that case directives don't make any sense like they'd do in a C-version.
So it'll have to be syntax. :)
Ok. Beaten. :)
But at least it provoked discussion on it.
--
Sly
This message and its attachments may contain legally privileged or confidential
information. This message is intended for the use of the individual or entity
to which it is addressed. If you are not the addressee indicated in this
message, or the employee or agent responsible for delivering the message to the
intended recipient, you may not copy or deliver this message or its attachments
to anyone. Rather, you should permanently delete this message and its
attachments and kindly notify the sender by reply e-mail. Any content of this
message and its attachments, which does not relate to the official business of
the sending company must be taken not to have been sent or endorsed by the
sending company or any of its related entities. No warranty is made that the
e-mail or attachment(s) are free from computer virus or other defect.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal