* trouble with separate();
@ 1989-01-13 17:48 linnig
0 siblings, 0 replies; only message in thread
From: linnig @ 1989-01-13 17:48 UTC (permalink / 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); <-- error here??
> procedure B is
> procedure C is separate;
> begin [...] end B;
If you are submiting these examples to your compiler I'd be
surprised if it didn't balk:
You should not have a semicolon after "SEPARATE(A)"
This is something I usually forget too. Once I removed the extra semicolons
and changed the elipsis to "NULL;" your example program compiled without
error (under Tartan Ada). I agree... your compiler should be able to handle
such nestings.
Mike Linnig,
Texas Instruments
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1989-01-13 17:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1989-01-13 17:48 trouble with separate(); linnig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox