comp.lang.ada
 help / color / mirror / Atom feed
From: Jesper Quorning <jesper.quorning@gmail.com>
Subject: Re: Package procedure as program entry in GPR project
Date: Fri, 25 Jan 2019 17:47:30 -0800 (PST)
Date: 2019-01-25T17:47:30-08:00	[thread overview]
Message-ID: <5928e2f5-d826-4bc0-9073-c22f0782a931@googlegroups.com> (raw)
In-Reply-To: <q2fvrk$nbp$1@franka.jacob-sparre.dk>

I just wanted a way to avoid the trivial main file.

I also considered

package simple is
   procedure main
end simple;

package body simple is
   procedure main is
   begin
      ...
   end main;
private
   main;
end simple;

But GPR would not do that either. I will stick to the simple procedure file.


Thanks
Jesper

  reply	other threads:[~2019-01-26  1:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-25 15:12 Package procedure as program entry in GPR project Jesper Quorning
2019-01-25 17:05 ` Jere
2019-01-25 21:42 ` Randy Brukardt
2019-01-26  1:47   ` Jesper Quorning [this message]
2019-01-26 12:05   ` Simon Wright
2019-01-26 12:08     ` Simon Wright
replies disabled

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