From: Gautier <Gautier.deMontmollin@Maths.UniNe.CH>
Subject: Re: Improving P2Ada (2)
Date: 1999/08/27
Date: 1999-08-27T00:00:00+00:00 [thread overview]
Message-ID: <37C656A2.3E26678B@Maths.UniNe.CH> (raw)
In-Reply-To: 7q5cih$msg$1@scharff.fys.ku.dk
> >- outputs "WHEN others=> Null;" when no else part
> I know this is the correct translation, but would it be
> possible to have a flag that disables this feature?
It is - by enclosing the Text_IO.Put(...) in pascal.y
with an if flag then...end if;
But is it not complicating uselessly the tool ?
My arguments are:
- it's easier to remove a "WHEN others=> Null;" than
to add it
- the cases when "WHEN others=> Null;" is needed are
much more frequent than when it isn't
--
Gautier
--------
http://members.xoom.com/gdemont/
next prev parent reply other threads:[~1999-08-27 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-19 0:00 Improving P2Ada Gautier
1999-08-19 0:00 ` Gautier
1999-08-26 0:00 ` Improving P2Ada (2) Gautier
[not found] ` <7q5cih$msg$1@scharff.fys.ku.dk>
1999-08-27 0:00 ` Gautier [this message]
[not found] ` <7q5vuc$u3i$1@scharff.fys.ku.dk>
1999-08-27 0:00 ` Gautier
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox