comp.lang.ada
 help / color / mirror / Atom feed
From: linnig@skvax1.csc.ti.com
Subject: trouble with separate();
Date: 13 Jan 89 17:48:13 GMT	[thread overview]
Message-ID: <8901131806.AA19832@ti.com> (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

                 reply	other threads:[~1989-01-13 17:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox