From: "Marin David Condic" <dont.bother.mcondic.auntie.spam@[acm.org>
Subject: Re: Package instance???
Date: Thu, 14 Feb 2002 09:32:44 -0500
Date: 2002-02-14T14:32:45+00:00 [thread overview]
Message-ID: <a4ghqd$fib$1@nh.pace.co.uk> (raw)
In-Reply-To: 50c1a1b.0202131828.61cc30db@posting.google.com
"Zach Swanson" <x24702@usma.edu> wrote in message
news:50c1a1b.0202131828.61cc30db@posting.google.com...
>
> Nope that fails even if its a generic because the syntax is incorrect.
> The declaration should be
> p1 : my_package is new some_other_package
> to be correct.
Maybe you meant "package My_Package is new Some_Other_Package ;"
From ARM 12.3 (2):
generic_instantiation ::=
package defining_program_unit_name is
new generic_package_name [generic_actual_part];
| procedure defining_program_unit_name is
new generic_procedure_name [generic_actual_part];
| function defining_designator is
new generic_function_name [generic_actual_part];
MDC
--
Marin David Condic
Senior Software Engineer
Pace Micro Technology Americas www.pacemicro.com
Enabling the digital revolution
e-Mail: marin.condic@pacemicro.com
Web: http://www.mcondic.com/
next prev parent reply other threads:[~2002-02-14 14:32 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-13 19:48 Package instance??? Yates
2002-02-13 22:25 ` Zach Swanson
2002-02-13 22:31 ` Jeffrey Carter
2002-02-14 2:28 ` Zach Swanson
2002-02-14 14:32 ` Marin David Condic [this message]
2002-02-14 2:04 ` Bobby D. Bryant
2002-02-14 2:54 ` Steve Doiel
2002-02-14 14:41 ` Marin David Condic
2002-02-15 2:13 ` Steve Doiel
2002-02-14 12:48 ` Marc A. Criley
2002-02-14 15:09 ` Yates
2002-02-14 18:12 ` Matthew Heaney
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox