From: dvdeug@x8b4e53cd.dhcp.okstate.edu (David Starner)
Subject: Re: Announce: OpenToken 2.0 released
Date: 2000/02/01
Date: 2000-02-01T00:00:00+00:00 [thread overview]
Message-ID: <87799k$aai1@news.cis.okstate.edu> (raw)
In-Reply-To: t790146b69.fsf@calumny.jyacc.com
On 01 Feb 2000 13:16:14 -0500, Hyman Rosen <hymie@prolifics.com> wrote:
>By the way, the normal C/C++ style for handling EOF is to have the
>return type of the character reader be such that it can hold any
>value of the character set, plus an out-of-band value representing
>EOF. The usual is '#define EOF -1' and 'int getchar()'.
Which means that c: Character; c := getchar(); is illegal (at least
in Ada; in C it would get silently truncated.) It's a major pain
in C, and a well known source of bugs. How about making it like
procedure GetChar (EOF: in out boolean; Char: in out character);?
--
David Starner - dstarner98@aasaa.ofe.org
If you wish to strive for peace of soul then believe;
if you wish to be a devotee of truth, then inquire.
-- Friedrich Nietzsche
next prev parent reply other threads:[~2000-02-01 0:00 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-27 0:00 Announce: OpenToken 2.0 released Ted Dennison
2000-01-28 0:00 ` Jürgen Pfeifer
2000-01-28 0:00 ` Ted Dennison
2000-01-31 0:00 ` Hyman Rosen
2000-02-01 0:00 ` Ted Dennison
2000-02-01 0:00 ` Hyman Rosen
2000-02-01 0:00 ` David Starner [this message]
2000-02-01 0:00 ` Brian Rogoff
2000-02-01 0:00 ` Hyman Rosen
2000-02-01 0:00 ` Brian Rogoff
2000-02-02 0:00 ` Hyman Rosen
2000-02-02 0:00 ` Jeff Carter
2000-02-02 0:00 ` Vladimir Olensky
2000-02-01 0:00 ` Hyman Rosen
2000-02-02 0:00 ` Ted Dennison
2000-02-04 0:00 ` Ted Dennison
2000-02-05 0:00 ` Ehud Lamm
2000-02-04 0:00 ` Florian Weimer
2000-02-07 0:00 ` Hyman Rosen
2000-02-07 0:00 ` Florian Weimer
2000-02-07 0:00 ` Hyman Rosen
2000-02-09 0:00 ` Robert A Duff
2000-02-09 0:00 ` Hyman Rosen
2000-02-09 0:00 ` Larry Kilgallen
2000-02-17 0:00 ` Robert A Duff
2000-02-17 0:00 ` Hyman Rosen
2000-02-17 0:00 ` Hyman Rosen
2000-02-17 0:00 ` Robert A Duff
2000-02-17 0:00 ` Hyman Rosen
2000-02-17 0:00 ` Robert A Duff
[not found] ` <88iuk2$s6d3@ftp.kvaerner.com>
2000-03-05 0:00 ` [OT] C and in-band signalling (was: Re: Announce: OpenToken 2.0 released) Florian Weimer
2000-03-06 0:00 ` Tarjei T. Jensen
2000-03-06 0:00 ` Keith Thompson
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox