Peter Gerwinski wrote:
You can, however, disable `class' with `--standard-pascal' or `--borland-pascal'.
And `--extended-pascal' without `--object-pascal'? Not to mention `--standard-pascal-level-0', `--ucsd-pascal' and other very frequently used options. ;-) -- Oh, I just see, we don't have `--ucsd-pascal' yet...
The question is whether a separate switch, specifically for enabling/disabling keywords, makes sense.
[...] I mean something like `--disable-keyword="Class"'.
Perhaps accept a list of keywords, e.g. `--disable-keywords="class,object"'. I think such an option would be good. This could perhaps give us "justification" to make `initialization' and `finalization' (Delphi) keywords by default. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html