Eike Lange wrote:
You mean something like --no-class ?
No, I mean something like `--disable-keyword="Class"'.
"Class" is a thing only used by Delphi (please correct me, if its not true).
It's also used in ANSI Object Pascal.
What do you think about --no-delphi which disables Delphi dialect support without affecting the rest for this special purpose?
No, thanks. ;-) Right now, it's already terribly complicated to handle restrictions to certain Pascal dialects everywhere. You do not really want to know how many places will have to be changed in the compiler in order to make GPC accept everything which is either in ISO Extended Pascal or in Borland's Delphi, but not the stuff from Borland Pascal 7.0 with the exception of the UCSD Pascal extensions, which should be accepted ... I think that GPC's behaviour to accept a mixture of _everything_ by default with switches to restrict it to certain dialects and more switches for dialect-independent fine-tuning is quite reasonable. Peter -- http://home.pages.de/~Peter.Gerwinski/ - G-N-U GmbH: http://www.g-n-u.de Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-20010308 GnuPG key fingerprint: 9E7C 0FC4 8A62 5536 1730 A932 9834 65DB 2143 9422 keys: http://www.gerwinski.de/pubkeys/ - AntiSpam: http://spam.abuse.net