Dear Juhana,
the result of a short Email discussion within the TTCN-3 maintenance
group is that we cannot remember why we didn't delete the sentence:
> "All definitions
> that are imported from one module shall be referenced in one import
> statement only."
However, we will write a CR, that proposes the deletion of this
sentence.
Best regards
Jens Grabowski
Juhana Britschgi schrieb:
>
> Greetings all,
>
> In clause 7.5.0 of the core language spec v2.2.1 it says: "All definitions
> that are imported from one module shall be referenced in one import
> statement only." In other words, in a certain module (e.g. ModuleA) there
> cannot be two
> import statements which import definitions from the same module (ModuleB).
> Correct so far?
>
> Now, if I'm reading the BNF correctly it would seem that it's not possible
> to import some things
> recursively and other things nonrecursively from the same module, since the
> recursive keyword seems
> to apply to the entire import statement.
>
> Question (well, more like a question tree, actually): Am I correct, and if
> so, is this restriction intentional, and
> if so, what is the reasoning behind it? And even if I'm correct I don't see
> any major reason for updating
> the spec, but the issue is likely to come up during TTCN-3 courses and I'd
> really like to be able to give
> a good answer...
>
> Best regards,
> Juhana Britschgi
>
>
>
> -
> Juhana Britschgi
> Software Trainer and Consultant
> Telelogic Finland Oy, Mikonkatu 8 A, FIN-00100 Helsinki, Finland
> Phone: +358 9 2310 1301
> Fax: +358 9 2310 1351
> Mobile phone: +358 40 541 8234
> <
This email address is being protected from spambots. You need JavaScript enabled to view it.>
> <
www.telelogic.com>
>
> Telelogic - Putting you ahead in development!
>
--
======================================================================
Dr. Jens Grabowski
Institute for Telematics phone: +49 451 500 3723
University of Luebeck fax: +49 451 500 3722
Ratzeburger Allee 160 eMail:
This email address is being protected from spambots. You need JavaScript enabled to view it.
D-23538 Luebeck or
This email address is being protected from spambots. You need JavaScript enabled to view it.
(Germany) WWW:
www.itm.mu-luebeck.de
======================================================================