CBFalconer wrote:
Frank Heckenbach wrote:
CBFalconer wrote:
"Gloria, Jing" wrote:
<<< line 226 Class is a GPC reserve word.
I think if you use --extended-pascal or --standard-pascal that will go away. Info gpc should lead you straight to the applicable documentation.
Indeed.
Also, in the particular case of `view', I've disabled it as a reserved word in general contexts, so if you use the most current GPC, it should also work without these options.
Which brings me to the subject of defaults. In PascalP, after much discussion with myself, I concluded that the proper default was pure standard syntax, with access to extension standard procedures. Such source, if compiled elsewhere, could always be satisfied by providing the missing procedures/functions. If any extended syntax was desired it was necessary to specifically enable them.
Maybe the appropriate default for GPC is --extended-pascal. Then either compile time options or pseudo-comments could further refine it. The user could always select a --gpc-pascal option (which has no standard).
No, sorry. This has been discussed and decided long time ago. The default is `--gnu-pascal' (which also exists as an option and compiler directive to reset any previous settings) which means all features allowed (only some evil Borland features warned about).
If you like pure EP, use `--extended-pascal' as your default option, fine. I (and others) have come to the conclusion that EP is not fully sufficient for our needs -- you've probably seen the recent discussion in c.l.p.a-i where I stated some opinions. (And even where it is, I might prefer other alternatives; e.g., I prefer UCSD/Borland style units over EP style modules in most cases.)
Frank