On 16 Oct 2001, at 10:27, da Silva, Joe wrote:
As far as I'm concerned, ISO-10206 is the standard to which GPC aspires, so why should GPC regard the above as an error, when this is clearly permitted by ISO-10206.
It should be reported as a violation if --standard-pascal is specified and should be permitted if --extended-pascal is specified.
(Apologies for being pedantic, but note that the EP standard defines an "error" as "A violation by a program of the requirements of this standard that a processor is permitted to leave undetected." Errors are enumerated in Appendix D of the standard. This case isn't an "error" by that definition.)
IMHO, ISO-7185 should not be regarded as if it's the one and only Pascal standard.
I don't believe anyone is suggesting that. It appears to me that we've been discussing various violations in the context of their applicable standards.
-- Dave