From: wtwolfe@hubcap.UUCP (Bill Wolfe)
Subject: Nested separate compilations
Date: 12 Jan 89 19:45:58 GMT [thread overview]
Message-ID: <4079@hubcap.UUCP> (raw)
I have now run into two compilers which balk at nested separate
compilations, as per the following example:
procedure A is
procedure B is separate;
begin [...] end A;
------------ in another file... ---------------
separate (A);
procedure B is
procedure C is separate;
begin [...] end B;
------------ in another file... ----------------
separate (A.B);
procedure C is begin [...] end C;
Now according to the LRM,
subunit ::= [...] proper_body
proper_body ::= subprogram_body [...]
subprogram_body ::= [...] declarative_part [...]
declarative_part ::= [...] later_declarative_item
later_declarative_item ::= body [...]
body ::= [...] body_stub
and so nested separate compilation should be perfectly legal. If there's
anything in the LRM prohibiting this, I don't see it. Is nested separate
compilation legal? If so, when will it be incorporated into the ACVC?
Bill Wolfe
wtwolfe@hubcap.clemson.edu
next reply other threads:[~1989-01-12 19:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1989-01-12 19:45 Bill Wolfe [this message]
1989-01-13 18:58 ` Nested separate compilations William Thomas Wolfe,2847,
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox