This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Chill vs. Pascal sets
David Starner wrote:
>
> > If these problems cannot be solved, there is no point using
> > `SET_TYPE' nodes for Pascal sets. In that case, we would have
> > to introduce a `LANG_TYPE' and need a hook in `expand_expr()' to
> > handle values of that type. I suspect that such a hook exists
> > already, but I did not find it yet.
>
> That would be a shame as it would make new languages that needed to
> use similar sets (e.g. Modula 3) duplicate the Pascal code.
>
> > Anyway, I would prefer to have
> ?
Ah - sorry, I forgot to complete this.
Anysay, I would prefer to have Chill and Pascal use the same
SET_TYPE, thus having binary compatibility etc. It's cleaner,
and it makes the routines handling set tree nodes easier to
read.
Peter
--
http://home.pages.de/~Peter.Gerwinski/ - G-N-U GmbH: http://www.g-n-u.de
Maintainer GNU Pascal - http://home.pages.de/~GNU-Pascal/ - gpc-19990118
GnuPG key fingerprint: 9E7C 0FC4 8A62 5536 1730 A932 9834 65DB 2143 9422
keys: ftp://ftp.gerwinski.de/pub/keys/ - AntiSpam: http://spam.abuse.net