[m-dev.] fix for bytecode generator
Fergus Henderson
fjh at cs.mu.oz.au
Thu Mar 20 02:46:55 AEDT 1997
Bert Thompson, you wrote:
>
> Is it possible to avoid the test "FunctorList = [Char]" by changing
> the declaration of sym_name prog_data.m to:
>
> :- type sym_name ----> unqualified(string) % Can remove?
> ; qualified(module_specifier, string)
> ; char_const(char). % Added
The answer to your question "Can remove?" is no.
You'd have to have two different types, `sym_name' and
`fully_qualified_sym_name'. But this would cause severe difficulty,
because the same data structure may be unqualified or fully qualified
depending on what stage of compilation you're up to.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
More information about the developers
mailing list