Frank Heckenbach wrote:
We could try to make `class' conditionally reserved only in the outermost scope, but I don't know how hard this would be (Peter?),
The problem is that the parser always reads one token in advance, so at the moment where it knows that the keyword must be disabled now, it might be read already.
and it wouldn't solve the issue completely. So I think I'd prefer `disable-keyword' as well...
I agree. I once hacked the `protected' keyword such that it can be used simultaneously with its meaning in Extended Pascal and as a new identifier: procedure Foo (protected protected); But this caused more confusion than good. 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